|
@@ -3,12 +3,31 @@ require('@rushstack/eslint-patch/modern-module-resolution')
|
|
|
|
|
|
module.exports = {
|
|
|
root: true,
|
|
|
- 'extends': [
|
|
|
+ extends: [
|
|
|
'plugin:vue/vue3-essential',
|
|
|
'eslint:recommended',
|
|
|
- '@vue/eslint-config-prettier/skip-formatting'
|
|
|
+ '@vue/eslint-config-prettier/skip-formatting',
|
|
|
+ './.eslintrc-auto-import.json'
|
|
|
],
|
|
|
parserOptions: {
|
|
|
ecmaVersion: 'latest'
|
|
|
+ },
|
|
|
+ rules: {
|
|
|
+ 'vue/multi-word-component-names': 0,
|
|
|
+ 'max-len': [
|
|
|
+ 'warn',
|
|
|
+ {
|
|
|
+ code: 200
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ 'prettier/prettier': [
|
|
|
+ 'warn',
|
|
|
+ {
|
|
|
+ singleQuote: true,
|
|
|
+ bracketSpacing: true,
|
|
|
+ jsxBracketSameLine: true,
|
|
|
+ printWidth: 200
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
}
|