forked from ndujaLabs/everdragons2-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
36 lines (36 loc) · 1.03 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
{
"parser": "babel-eslint",
"env": {
// in CommonJS
"node": true,
// browser
"browser": true,
// mocha
"mocha": true
},
"globals": {},
"rules": {
"semi": [ 2, "never" ],
"quotes": [ 2, "single", "avoid-escape" ],
"strict": [2, "never"],
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"no-unused-vars": [ 2, {"vars": "all", "args": "none"} ],
"eqeqeq": [ 2, "smart" ],
"key-spacing": [ 2, { "beforeColon": false, "afterColon": true } ],
"no-console": ["error", { "allow": ["debug", "info", "warn", "error"] }],
"no-empty": ["error", { "allowEmptyCatch": true }],
"react/react-in-jsx-scope": "off"
// "object-curly-spacing": [ 2, "always" ]
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"react"
],
"extends": ["eslint:recommended", "plugin:react/recommended"]
}