vue2 to vue3 migration
This commit is contained in:
34
.eslintrc.js
Normal file
34
.eslintrc.js
Normal file
@@ -0,0 +1,34 @@
|
||||
module.exports = {
|
||||
extends: [
|
||||
// add more generic rulesets here, such as:
|
||||
// 'eslint:recommended',
|
||||
"plugin:vue/vue3-recommended",
|
||||
// 'plugin:vue/recommended' // Use this if you are using Vue.js 2.x.
|
||||
],
|
||||
rules: {
|
||||
// override/add rules settings here, such as:
|
||||
// 'vue/no-unused-vars': 'error'
|
||||
"vue/no-mutating-props": 1,
|
||||
"vue/html-indent": 0,
|
||||
"vue/html-self-closing": ["warn", {
|
||||
"html": {
|
||||
"void": "any",
|
||||
"normal": "always",
|
||||
"component": "always"
|
||||
},
|
||||
"svg": "always",
|
||||
"math": "always"
|
||||
}],
|
||||
"vue/max-attributes-per-line": [
|
||||
"warn",
|
||||
{
|
||||
singleline: {
|
||||
max: 2,
|
||||
},
|
||||
multiline: {
|
||||
max: 2,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user