forked from bikranttripathi/react-native-credit-card-input
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
40 lines (40 loc) · 1012 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
{
"extends": "airbnb",
"plugins": [
"react"
],
"parser": "babel-eslint",
"globals": {
"it": false,
"before": false,
"after": false,
"beforeEach": false,
"afterEach": false,
"describe": false,
"stub": false,
"spy": false,
"mock": false,
"clock": false,
"ErrorUtils": false,
"expect": false,
"fail": false
},
"rules": {
"react/jsx-filename-extension": 0,
"no-underscore-dangle": 0,
"no-console": 0,
"react/self-closing-comp": 0,
"no-unused-expressions": 0,
"max-len": [2, 150, 4, {"ignoreUrls": true}],
"new-cap": [2, { "capIsNewExceptions": ["Map", "List", "Stack", "Record"]}],
"func-names": 0,
"quotes": [2, "double"],
"react/jsx-indent-props": [2, 2],
"react/jsx-closing-bracket-location": [2, "after-props"],
"no-use-before-define": [2, { "functions": false }],
"react/prefer-stateless-function": 0,
"arrow-body-style": 0,
"no-nested-ternary": 0,
"react/prop-types": 2
}
}