Ai
1 Star 0 Fork 0

tucsion/VueStarter

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
eslint.config.js 1.03 KB
Copy Edit Raw Blame History
tucsion authored 2024-09-28 13:12 +08:00 . 更换UI为naive-ui
import globals from 'globals'
import pluginJs from '@eslint/js'
import tseslint from 'typescript-eslint'
import pluginVue from 'eslint-plugin-vue'
export default [
{ files: ['**/*.{js,mjs,cjs,ts,vue}'] },
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
...pluginVue.configs['flat/essential'],
{
files: ['**/*.vue'],
languageOptions: {
parserOptions: { parser: tseslint.parser },
globals: { NodeJS: 'readonly' }
}
},
{
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
'no-empty': ['error', { allowEmptyCatch: true }],
'vue/multi-word-component-names': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{
caughtErrorsIgnorePattern: '^_',
argsIgnorePattern: '^_'
}
]
}
}
]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/tucsion/vue-starter.git
git@gitee.com:tucsion/vue-starter.git
tucsion
vue-starter
VueStarter
master

Search