forked from teambit/bit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
45 lines (45 loc) · 1.23 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
{
"extends": ["airbnb", "plugin:flowtype/recommended"],
"plugins": [
"flowtype",
"flowtype-errors"
],
"rules": {
"no-bitwise": "off",
"arrow-body-style": [0, "as-needed"],
"camelcase": [0],
"no-trailing-spaces": [0],
"import/no-unresolved": [0],
"radix": [0],
"no-underscore-dangle": [0],
"no-param-reassign": [0],
"no-return-assign": [0, "except-parens"],
"array-bracket-spacing": [0],
"class-methods-use-this": [0],
"import/no-dynamic-require": [0],
"global-require": [0],
"function-paren-newline": [0],
"object-curly-newline": [0],
"prefer-arrow-callback": [0],
"prefer-destructuring": [0],
"import/no-extraneous-dependencies": [0],
"comma-dangle": [0, "never"],
"no-use-before-define": [0],
"flowtype-errors/show-errors": [2, 70],
"no-restricted-syntax": [2, "ForInStatement", "LabeledStatement", "WithStatement"],
"no-unused-expressions": [0],
"max-len": [2, 120, 2, {
"ignoreUrls": true,
"ignoreComments": true,
"ignoreRegExpLiterals": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true
}],
"max-lines": [2, 1700],
"func-names": [0]
},
"env": {
"node": true,
"mocha": true
}
}