-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc.json
More file actions
47 lines (47 loc) · 1.36 KB
/
Copy path.eslintrc.json
File metadata and controls
47 lines (47 loc) · 1.36 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"jest": true
},
"rules": {
"quote-props": [2, "as-needed"],
"comma-dangle": "error",
"no-console": ["warn", {
"allow": ["warn", "error"]
}],
"no-debugger": "error",
"react/prop-types": 0,
"import/no-extraneous-dependencies": ["error", {
"devDependencies": true
}],
"object-curly-newline": ["error", {
"multiline": true
}],
"no-underscore-dangle": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/anchor-is-valid": 0,
"no-await-in-loop": 0,
"no-unused-expressions": ["error", {
"allowShortCircuit": true,
"allowTernary": true
}],
"arrow-parens": ["error", "as-needed"],
"no-unused-vars": ["error", {
"argsIgnorePattern": "^_"
}],
"import/prefer-default-export": 0,
"react/no-find-dom-node": 0,
"no-shadow": 0,
"max-len": 0,
"consistent-return": 0,
"no-plusplus": 0,
"spaced-comment": 0,
"react/react-in-jsx-scope": 0,
"react/jsx-filename-extension": 0,
"indent": ["error", 4],
"react/jsx-indent": ["error", 4],
"react/jsx-indent-props": ["error", 4]
}
}