-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
52 lines (52 loc) · 1.35 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
46
47
48
49
50
51
52
{
parserOptions: {
ecmaVersion: 6,
sourceType: "module"
},
extends: [
"airbnb-base",
"plugin:flowtype/recommended"
],
plugins: [
"chai-expect",
"flowtype",
"prefer-object-spread",
"prettier"
],
env: {
es6: true,
node: true,
mocha: true
},
rules: {
arrow-body-style: 0,
chai-expect/missing-assertion: 2,
chai-expect/no-inner-compare: 1,
comma-dangle: [2, "always-multiline"],
consistent-return: 0,
curly: [2, "all"],
flowtype/space-after-type-colon: [2, "always", { "allowLineBreak": true } ],
flowtype/space-before-type-colon: [2, "never"],
generator-star-spacing: 0,
global-require: 0,
import/newline-after-import: 0,
import/no-extraneous-dependencies: 0,
import/no-named-as-default-member: 0,
import/no-unresolved: 0,
import/prefer-default-export: 0,
no-console: 2,
no-continue: 0,
no-duplicate-imports: 0,
no-param-reassign: [2, { "props": false }],
no-plusplus: ["error", { "allowForLoopAfterthoughts": true }],
no-underscore-dangle: 0,
no-unused-vars: [2, { "args": "none" }],
no-use-before-define: [2, "nofunc"],
no-warning-comments: [2, { "terms": ["todo"] }],
prefer-object-spread/prefer-object-spread: 2,
prettier/prettier: 2,
require-yield: 0,
space-before-function-paren: 0,
vars-on-top: 0
}
}