forked from xvonabur/react-native-meteor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (34 loc) · 979 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
34
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"rules": {
"global-require": 0,
"no-param-reassign": 0,
"import/no-extraneous-dependencies": "off",
"import/extensions": "off",
"max-len": 0,
"prefer-arrow-callback": 0,
"no-underscore-dangle": 0,
"no-restricted-syntax": [2, "WithStatement"],
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }],
"no-plusplus": [2, { "allowForLoopAfterthoughts": true }],
"indent": [2, 4, {
"SwitchCase": 1,
"VariableDeclarator": 1,
"outerIIFEBody": 1,
"FunctionDeclaration": {
"parameters": 2,
"body": 1
},
"FunctionExpression": {
"parameters": 2,
"body": 1
}
}]
}
}