diff options
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 78c0cd0c..99c1e669 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -3,7 +3,11 @@ module.exports = { env: { node: true, }, - extends: ['plugin:vue/recommended', 'eslint:recommended', '@vue/prettier'], + extends: [ + 'plugin:vue/vue3-recommended', + 'eslint:recommended', + '@vue/prettier', + ], rules: { 'no-console': 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', @@ -11,10 +15,14 @@ module.exports = { 'error', { singleQuote: true, + trailingComma: 'all', }, ], 'vue/component-name-in-template-casing': ['error', 'kebab-case'], 'vue/multi-word-component-names': 'off', + 'vue/no-deprecated-filter': 'off', + 'vue/no-useless-template-attributes': 'off', + 'vue/no-deprecated-props-default-this': 'off', }, parser: 'vue-eslint-parser', overrides: [ |