forked from fkhadra/react-on-screen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 936 Bytes
/
.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
{
"settings": {
"react": {
"pragma": "React", // Pragma to use, default to "React"
"version": "15.0" // React version, default to the latest React stable release
}
},
"extends": [
"eslint:recommended",
"airbnb"
],
"parserOptions":{
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"rules": {
"max-len": [1, 120, 2, {"ignoreComments": true}],
"quote-props": [1, "consistent-as-needed"],
"no-cond-assign": [2, "except-parens"],
"radix": 0,
"space-infix-ops": 0,
"no-unused-vars": [1, {"vars": "local", "args": "none"}],
"default-case": 0,
"no-else-return": 0,
"no-param-reassign": 0,
"quotes": 0,
"comma-dangle": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }],
"consistent-return": ["warn"]
}
}