eslint检查所有文件
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
/* eslint-env node */
|
||||
require('@rushstack/eslint-patch/modern-module-resolution')
|
||||
require('@rushstack/eslint-patch/modern-module-resolution');
|
||||
|
||||
module.exports = {
|
||||
root: true,
|
||||
'extends': [
|
||||
'plugin:vue/vue3-essential',
|
||||
'eslint:recommended',
|
||||
'@vue/eslint-config-typescript',
|
||||
'@vue/eslint-config-prettier/skip-formatting'
|
||||
],
|
||||
parserOptions: {
|
||||
ecmaVersion: 'latest'
|
||||
}
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
'vue/multi-word-component-names': 0
|
||||
},
|
||||
'ignorePatterns': ['vite.config.js', 'mobile-select.js']
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user