forked from yarnpkg/berry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
45 lines (45 loc) Β· 1.37 KB
/
.eslintrc.json
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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"plugins": [
"@typescript-eslint",
"arca",
"react"
],
"rules": {
"@typescript-eslint/camelcase": ["error", {"allow": ["__non_webpack_module__", "__non_webpack_require__", "^npm(_[a-z]+)+$"]}],
"@typescript-eslint/class-name-casing": 2,
"@typescript-eslint/indent": ["error", 2, {"SwitchCase": 1}],
"@typescript-eslint/no-unused-vars": [1, {"args": "none", "ignoreRestSiblings": true}],
"arca/curly": 2,
"arca/import-align": [2, {"collapseExtraSpaces": true}],
"arca/import-ordering": 2,
"arca/newline-after-import-section": 2,
"arca/no-default-export": 2,
"array-bracket-spacing": 2,
"arrow-spacing": 2,
"comma-dangle": ["error", "always-multiline"],
"computed-property-spacing": 2,
"generator-star-spacing": ["error", {"before": true, "after": true}],
"space-before-blocks": 2,
"keyword-spacing": 2,
"no-multiple-empty-lines": 2,
"no-tabs": 2,
"no-trailing-spaces": 2,
"no-unused-vars": "off",
"object-curly-spacing": 2,
"padded-blocks": ["error", "never"],
"prefer-template": 2,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"rest-spread-spacing": 2,
"semi": 2,
"template-curly-spacing": 2
}
}