forked from LiskArchive/lisk-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
75 lines (75 loc) · 1.74 KB
/
.eslintrc.json
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"extends": ["lisk-base"],
"plugins": ["mocha"],
"rules": {
"array-callback-return": "off",
"camelcase": "off",
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}
],
"consistent-return": "off",
"eqeqeq": "off",
"func-names": "off",
"global-require": "off",
"guard-for-in": "off",
"generator-star-spacing": ["error", { "before": false, "after": false }],
"max-len": "off",
"new-cap": "off",
"no-bitwise": "off",
"no-nested-ternary": "off",
"no-new": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-prototype-builtins": "off",
"no-restricted-globals": "off",
"no-restricted-syntax": "off",
"no-shadow": "off",
"no-template-curly-in-string": "off",
"no-throw-literal": "off",
"no-underscore-dangle": "off",
"no-unused-expressions": "off",
"no-use-before-define": "off",
"no-var": "off",
"prefer-destructuring": "off",
"prefer-rest-params": "off",
"radix": "off",
"require-jsdoc": [
"error",
{
"require": {
"FunctionDeclaration": false,
"MethodDefinition": false,
"ClassDeclaration": false,
"ArrowFunctionExpression": false,
"FunctionExpression": false
}
}
],
"strict": "off",
"space-before-function-paren": ["error", "never"],
"vars-on-top": "off",
"wrap-iife": "off",
// To keep
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"test/**",
"tasks/**",
"scripts/**",
"webpack.config.js",
"Gruntfile.js"
]
}
],
"no-console": ["error", { "allow": ["trace", "error", "info", "warn"] }],
"no-restricted-properties": "off"
}
}