forked from fkhadra/react-contexify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
31 lines (31 loc) · 889 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
{
"parser": "babel-eslint",
"rules": {
"react/require-extension": "off",
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/sort-comp": 0,
"arrow-parens": [2, "as-needed"],
"max-len": [1, 120, 2, {"ignoreComments": true}],
"quote-props": [1, "consistent-as-needed"],
"no-cond-assign": [2, "except-parens"],
"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,
"class-methods-use-this": 0,
"no-plusplus": 0,
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }],
"consistent-return": ["warn"]
},
"extends": [
"eslint:recommended",
"airbnb"
],
"env": {
"browser": true
}
}