12345678910111213141516171819202122232425262728293031323334 |
- module.exports = {
- root: true,
- env: {
- node: true,
- "vue/setup-compiler-macros": true
- },
- extends: [
- "plugin:vue/vue3-essential",
- "eslint:recommended",
- "@vue/typescript/recommended",
- "@vue/prettier"
- ],
- parserOptions: {
- ecmaVersion: 2020,
- ecmaFeatures: {
- jsx: true
- }
- },
- rules: {
- "no-console": "off",
- "no-debugger": "off",
- "@typescript-eslint/no-this-alias": [
- "error",
- {
- allowDestructuring: false, // Disallow `const { props, state } = this`; true by default
- allowedNames: ["that"] // Allow `const self = this`; `[]` by default
- }
- ],
- "@typescript-eslint/no-explicit-any": ["off"],
- "@typescript-eslint/no-var-requires": 0,
- "vue/multi-word-component-names": "off"
- }
- };
|