forked from iden3/iden3js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
31 lines (31 loc) · 893 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
{
"parser": "babel-eslint",
"extends": [
"airbnb-base",
"plugin:flowtype/recommended"
],
"env": {
"browser": true,
"node": true,
"mocha": true
},
"plugins": [
"mocha",
"flowtype"
],
"rules": {
"mocha/no-exclusive-tests": "error",
"max-len": ["error", { "code": 140, "comments": 200, "ignoreStrings": true, "ignoreTemplateLiterals": true }],
"no-unused-vars": [2, { "varsIgnorePattern": "export^" }],
"no-return-assign": [0],
"no-underscore-dangle": [0],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"func-names": [0],
"class-methods-use-this": [0],
"no-bitwise": [0],
"no-param-reassign": "off",
"no-console": [2, { "allow": ["warn", "error"] }],
"import/prefer-default-export": [0],
"lines-between-class-members": [ "error", "always", { "exceptAfterSingleLine": true }]
}
}