-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.eslintrc.js
57 lines (57 loc) · 1.56 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'plugin:vue/vue3-recommended',
'plugin:@typescript-eslint/recommended',
'airbnb-base',
],
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaVersion: 'esnext',
sourceType: 'module',
},
plugins: [
'vue',
],
settings: {
'import/resolver': {
'node': {
'extensions': ['.js', '.jsx', '.ts', '.tsx', '.vue'],
},
},
},
rules: {
indent: ['error', 4],
'quote-props': 'off',
'func-names': 'off',
'object-shorthand': 'off',
'no-plusplus': 'off',
'eqeqeq': 'off',
'max-len': 'off',
'prefer-destructuring': 'off',
'no-restricted-syntax': 'off',
'guard-for-in': 'off',
'no-underscore-dangle': 'off',
'no-param-reassign': 'off',
'no-alert': 'off',
'consistent-return': 'off',
'no-shadow': 'off',
'no-unused-vars': 'off',
'no-return-assign': 'off',
'no-unused-expressions': 'off',
'radix': 'off',
'no-mixed-operators': 'off',
'no-else-return': 'off',
'camelcase': 'off',
'no-restricted-properties': 'off',
'import/no-extraneous-dependencies': 'off',
'@typescript-eslint/no-empty-function': ['off'],
'@typescript-eslint/no-var-requires': ['off'],
'import/extensions': 'off',
},
ignorePatterns: ['!.config'],
};