explorata/.eslintrc.js

26 lines
726 B
JavaScript
Raw Normal View History

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'
2022-12-01 20:37:03 +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",
},
};