forked from SKempin/Lyrics-King-React-Native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
42 lines (42 loc) · 950 Bytes
/
.eslintrc.json
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
{
"extends": "airbnb",
"env": {
"browser": true,
"es6": true,
"jest/globals": true
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".android.js", ".ios.js"]
}
}
},
"plugins": ["jest"],
"parser": "babel-eslint",
"rules": {
"no-use-before-define": 0,
"import/prefer-default-export": 0,
"react/jsx-filename-extension": [
"error",
{
"extensions": [".js", ".jsx"]
}
],
"react/prefer-stateless-function": 0,
"react/jsx-indent-props": ["error", 2],
"react/jsx-indent": ["error", 2],
"consistent-return": 0,
"max-len": 0,
"react/forbid-prop-types": 0,
"no-nested-ternary": 0,
"no-console": 0,
"no-mixed-operators": 0,
"react/no-array-index-key": 0,
"camelcase": 0,
"no-underscore-dangle": 0,
"react/sort-comp": 0,
"no-return-assign": 0,
"comma-dangle": ["error", "never"]
}
}