|
| 1 | +{ |
| 2 | + "env": { |
| 3 | + "es6": true, |
| 4 | + "browser": true, |
| 5 | + "commonjs": true |
| 6 | + }, |
| 7 | + "extends": [ |
| 8 | + "airbnb-base", |
| 9 | + "plugin:vue/recommended" |
| 10 | + ], |
| 11 | + "plugins": [ |
| 12 | + "vue" |
| 13 | + ], |
| 14 | + "parser": "vue-eslint-parser", |
| 15 | + "parserOptions": { |
| 16 | + "requireConfigFile": false, |
| 17 | + "babelOptions": { |
| 18 | + "presets": ["@babel/preset-env"] |
| 19 | + }, |
| 20 | + "ecmaVersion": 2021, |
| 21 | + "sourceType": "module" |
| 22 | + }, |
| 23 | + "settings": { |
| 24 | + "import/resolver": { |
| 25 | + "alias": { |
| 26 | + "extensions": [".js", ".vue"] |
| 27 | + } |
| 28 | + } |
| 29 | + }, |
| 30 | + "rules": { |
| 31 | + "class-methods-use-this": ["off"], |
| 32 | + "indent": ["error", 4, { |
| 33 | + "SwitchCase": 1 |
| 34 | + }], |
| 35 | + "max-len": ["off"], |
| 36 | + "new-cap": ["error", { "properties": false }], |
| 37 | + "no-alert": ["off"], |
| 38 | + "no-param-reassign": ["error", { |
| 39 | + "props": false |
| 40 | + }], |
| 41 | + "no-plusplus": ["off"], |
| 42 | + "no-continue": ["off"], |
| 43 | + "vue/html-indent": ["error", 4], |
| 44 | + "vue/html-self-closing": ["error", { |
| 45 | + "html": { |
| 46 | + "void": "never", |
| 47 | + "normal": "any", |
| 48 | + "component": "any" |
| 49 | + }, |
| 50 | + "svg": "always", |
| 51 | + "math": "always" |
| 52 | + }], |
| 53 | + "vue/no-v-html": ["off"], |
| 54 | + "vue/multi-word-component-names": ["off"], |
| 55 | + "vue/no-mutating-props": ["off"], |
| 56 | + "vue/require-v-for-key": ["off"], |
| 57 | + "vue/valid-v-for": ["off"], |
| 58 | + "vue/first-attribute-linebreak": ["off"], |
| 59 | + "vue/max-attributes-per-line": ["off"], |
| 60 | + "vue/require-prop-types": ["off"] |
| 61 | + } |
| 62 | +} |
0 commit comments