forked from jineshshah36/react-native-nav
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
33 lines (33 loc) · 864 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"rules": {
"semi": [ 2, "never" ],
"no-console": [ 0 ],
"no-underscore-dangle": [ 0 ],
"no-unused-vars": [ 2 ],
"no-undef": [ 2 ],
"no-use-before-define": [2, { "functions": false, "classes": true }],
"flowtype/require-parameter-type": 1,
"flowtype/require-return-type": [ 1, "always", { "annotateUndefined": "never" }],
"flowtype/space-after-type-colon": [ 1, "always" ],
"flowtype/space-before-type-colon": [ 1, "never" ],
},
"env": {
"node": true,
"es6": true,
"mongo": true,
"mocha": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"templateStrings": true
},
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"flowtype"
]
}