-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
34 lines (34 loc) · 1 KB
/
.eslintrc.js
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
let path = require('path')
module.exports = {
"extends": [
"airbnb-base"
],
"rules": {
"arrow-parens": 0,
"comma-dangle": ["error", "never"],
"consistent-return": 0,
"func-names": 0,
"generator-star-spacing": 0,
"import/no-extraneous-dependencies": ["error", {
"devDependencies": ["**/tests/**/*", "**/scripts/**/*", "rollup.config.js"]
}],
"import/no-named-as-default-member": 0,
"indent": ["error", 2],
"max-len": ["error", { "code": 120 }],
"no-await-in-loop": 0,
"no-case-declarations": 0,
"no-cond-assign": ["error", "except-parens"],
"no-console": 0,
"no-continue": 0,
"no-param-reassign": 0,
"no-restricted-syntax": ["off", "BinaryExpression[operator='of']"],
"no-underscore-dangle": 0,
"no-unused-vars": ["warn", { "argsIgnorePattern": "next|reject" }],
"no-use-before-define": ["error", { "functions": false }],
"padded-blocks": 0,
"semi": ["error", "never"]
},
"globals": {
"nordnetPublicKey": true
}
}