26 lines
726 B
JavaScript
26 lines
726 B
JavaScript
module.exports = {
|
|
env: {
|
|
node: true, // remove
|
|
es2021: true,
|
|
},
|
|
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",
|
|
},
|
|
};
|