vue 2 to 3 #1
10
.eslintrc.js
10
.eslintrc.js
@ -6,11 +6,21 @@ module.exports = {
|
||||
extends: [
|
||||
// add more generic rulesets here, such as:
|
||||
"eslint:recommended",
|
||||
"plugin:vue/vue3-essential",
|
||||
"plugin:vue/vue3-strongly-recommended",
|
||||
"plugin:vue/vue3-recommended",
|
||||
"prettier",
|
||||
],
|
||||
rules: {
|
||||
// override/add rules settings here, such as:
|
||||
// 'vue/no-unused-vars': 'error'
|
||||
'vue/match-component-import-name': 'warn',
|
||||
'vue/no-ref-object-destructure': 'warn',
|
||||
'vue/no-required-prop-with-default': 'warn',
|
||||
'vue/no-restricted-class': 'warn',
|
||||
'vue/no-template-target-blank' : 'warn',
|
||||
'vue/no-this-in-before-route-enter' : 'warn',
|
||||
'vue/prefer-prop-type-boolean-first' : 'warn',
|
||||
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user