-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.json
More file actions
68 lines (63 loc) · 1.54 KB
/
.eslintrc.json
File metadata and controls
68 lines (63 loc) · 1.54 KB
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
{
"plugins": [ "jsx-a11y", "unicorn" ],
"extends": [
"airbnb",
"plugin:prettier/recommended",
"prettier"
],
"rules": {
"unicorn/filename-case": [
"error",
{ "case": "kebabCase" }
],
"no-unused-vars": [
"error",
{ "varsIgnorePattern": "coreStyles" }
],
"comma-dangle": [ "error", "never" ],
"no-undef": 1,
"no-use-before-define": [
"error",
{
"functions": false,
"classes": true
}
],
"jsx-a11y/img-uses-alt": 0,
"jsx-a11y/redundant-alt": 0,
"jsx-a11y/valid-aria-role": 0,
"react/forbid-prop-types": 0,
"react/jsx-closing-bracket-location": 0,
"react/jsx-filename-extension": 0,
"react/jsx-indent": [ "error", 2 ],
"react/jsx-indent-props": [ "error", 2 ],
"react/no-array-index-key": 0,
"react/require-default-props": 0,
"react/sort-comp": 0,
"prettier/prettier": ["error", {
"singleQuote": true,
"arrowParens": "always"
}],
"indent": [ "error", 2, {"SwitchCase": 1} ],
"import/no-extraneous-dependencies": ["error", {
"devDependencies": [
"scripts/**/*.js",
"**/*.spec.js",
"rollup.config.js",
"test/**"
]
}],
"no-new": 0,
"guard-for-in": 0,
"no-param-reassign": 0,
"no-return-assign": 0,
"max-len": 0,
"linebreak-style": [ "error", "unix" ],
"no-mixed-operators": 0,
"no-plusplus": 0,
"no-restricted-syntax": 0,
"no-tabs": 2,
"import/prefer-default-export": 0
},
"parser": "babel-eslint"
}