forked from jvalen/pixel-art-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
35 lines (35 loc) · 1.06 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
{
"extends": ["airbnb"],
"env": {
"browser": true,
"node": true,
"jest": true
},
"parserOptions": {
"ecmaFeatures": {
"forOf": true,
"jsx": true,
"es6": true
}
},
"rules": {
"comma-dangle": 0,
"indent": [2, 2, {"SwitchCase": 1}],
"react/prop-types": 0,
"func-names": 0,
"arrow-body-style": [2, "as-needed"],
"no-underscore-dangle": ["error", { "allow": ["__INITIAL_STATE__"] }],
"new-cap": ["error", {"capIsNewExceptions": ["Map", "List"]}],
"react/prefer-es6-class": 1,
"no-restricted-syntax": 0,
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
"quote-props": ["error", "consistent"],
"no-console": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"jsx-a11y/no-static-element-interactions": 0
},
"globals": {
"$": true
}
}