forked from WorkPlusFE/mui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
68 lines (63 loc) · 1.75 KB
/
.eslintrc
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
58
59
60
61
62
63
64
65
66
67
68
{
"extends": ["airbnb-base", "plugin:vue/recommended"],
"parserOptions": {
"parser": "@typescript-eslint/parser",
"ecmaVersion": 2018,
"sourceType": "module",
"extraFileExtensions": [".vue"]
},
"plugins": ["@typescript-eslint"],
"env": {
"es6": true,
"node": true,
"jest": true,
"browser": true
},
"globals": {
"window": false,
"document": false,
"navigator": false
},
"rules": {
"no-new": 0,
"no-shadow": 0,
"camelcase": 1,
"no-bitwise": 0,
"func-names": 0,
"no-console": 0,
"no-plusplus": 0,
"arrow-parens": 0,
"comma-dangle": 0,
"default-case": 0,
"prefer-template": 0,
"consistent-return": 0,
"no-param-reassign": 0,
"no-nested-ternary": 0,
"operator-linebreak": 0,
"object-curly-newline": 0,
"no-underscore-dangle": 1,
"no-unused-expressions": 0,
"no-restricted-globals": 0,
"function-paren-newline": 0,
"class-methods-use-this": 0,
"implicit-arrow-linebreak": 0,
"space-before-function-paren": 0,
"max-len": ["error", { "code": 150 }],
"prefer-destructuring": ["error", { "object": true, "array": false }],
"import/order": 0,
"import/no-unresolved": 0,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0,
"vue/no-v-html": 0,
"vue/attributes-order": 0,
"vue/require-v-for-key": 0,
"vue/require-default-prop": 0,
"vue/no-unused-components": 0,
"vue/max-attributes-per-line": 0,
"vue/singleline-html-element-content-newline": 0,
"vue/name-property-casing": ["error", "kebab-case"],
"vue/component-name-in-template-casing": ["error", "kebab-case"],
"vue/html-closing-bracket-newline": 2,
"@typescript-eslint/no-unused-vars": ["error"]
}
}