2022-01-09 11:47:18 +01:00
|
|
|
module.exports = {
|
2022-11-29 17:23:37 +01:00
|
|
|
env: {
|
|
|
|
node: true, // remove
|
|
|
|
es2021: true,
|
|
|
|
},
|
2022-01-09 11:47:18 +01:00
|
|
|
extends: [
|
|
|
|
// add more generic rulesets here, such as:
|
2022-11-29 17:31:01 +01:00
|
|
|
"eslint:recommended",
|
2022-12-01 12:02:42 +01:00
|
|
|
"plugin:vue/vue3-essential",
|
|
|
|
"plugin:vue/vue3-strongly-recommended",
|
2022-11-29 17:31:01 +01:00
|
|
|
"plugin:vue/vue3-recommended",
|
|
|
|
"prettier",
|
2022-01-09 11:47:18 +01:00
|
|
|
],
|
|
|
|
rules: {
|
|
|
|
// override/add rules settings here, such as:
|
|
|
|
// 'vue/no-unused-vars': 'error'
|
2022-12-01 12:02:42 +01:00
|
|
|
'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',
|
|
|
|
|
2022-11-29 17:31:01 +01:00
|
|
|
},
|
|
|
|
};
|