forked from js-csp/js-csp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
32 lines (32 loc) · 784 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": ["mocha", "flowtype"],
"env": {
"mocha": true,
"browser": true,
"node": true
},
"rules": {
"max-len": 0,
"no-param-reassign": 0,
"mocha/no-exclusive-tests": 2,
"global-require": 0,
"func-names": 0,
"no-duplicate-imports": 0,
"no-underscore-dangle": 0,
"arrow-parens": 0,
"import/no-extraneous-dependencies": 0,
"import/no-named-as-default": 0,
"flowtype/define-flow-type": 1,
"flowtype/space-after-type-colon": [1, "always"],
"flowtype/space-before-type-colon": [1, "never"],
"flowtype/type-id-match": [1, "^([A-Z][a-z0-9]+)+Type$"],
"flowtype/use-flow-type": 1
},
"settings": {
"import/resolver": {
"webpack": {}
}
}
}