forked from brettz9/eslint-config-ash-nazg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
great-eye.js
33 lines (29 loc) · 896 Bytes
/
great-eye.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
module.exports = {
extends: ["./sauron"],
settings: {
preferredTypes: {
number: {
message: "Use `Integer` or `Float`"
}
}
},
rules: {
"capitalized-comments": ["warn"],
"complexity": ["warn"],
"max-statements": ["warn"],
"max-statements-per-line": ["warn"],
"no-magic-numbers": ["warn"],
"no-plusplus": ["warn"],
"no-warning-comments": ["warn"],
"import/no-unused-modules": ["warn", {missingExports: true, unusedExports: true}],
"jsdoc/check-alignment": ["warn"],
"jsdoc/check-indentation": ["warn"],
"jsdoc/require-description": ["warn"],
"jsdoc/require-param-description": ["warn"],
"jsdoc/require-returns-description": ["warn"],
"jsdoc/require-example": ["warn"],
"jsdoc/require-jsdoc": ["error"],
"sonarjs/cognitive-complexity": "warn",
"unicorn/prevent-abbreviations": "error"
}
};