forked from Open-EO/openeo-js-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
85 lines (84 loc) · 2.86 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
76
77
78
79
80
81
82
83
84
85
{
"env": {
"browser": true,
"commonjs": true,
"node": true,
"es6": true
},
"extends": [
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 2017
},
"plugins": [
"jsdoc"
],
"rules": {
"no-constant-condition": ["error", { "checkLoops": false }],
"no-template-curly-in-string": "error",
"block-scoped-var": "error",
"no-unreachable-loop": "error",
"require-atomic-updates": "error",
"max-classes-per-file": "error",
"no-alert": "error",
"no-caller": "error",
"eqeqeq": "error",
"no-constructor-return": "error",
"no-eval": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-implicit-coercion": "error",
"no-invalid-this": "error",
"no-multi-spaces": "error",
"no-multi-str": "error",
"no-return-assign": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-throw-literal": "error",
"no-unmodified-loop-condition": "error",
"no-unused-expressions": "error",
"no-useless-call": "error",
"no-useless-concat": "error",
"no-useless-return": "error",
"no-void": "error",
"no-warning-comments": "error",
"radix": "error",
"no-shadow": "error",
"no-use-before-define": ["error", { "functions": false }],
"arrow-spacing": "error",
"no-confusing-arrow": "error",
"no-duplicate-imports": "error",
"no-var": "error",
"jsdoc/check-access": 1,
"jsdoc/check-alignment": 1, // Recommended
"jsdoc/check-examples": 1,
"jsdoc/check-indentation": 1,
"jsdoc/check-param-names": 1, // Recommended
"jsdoc/check-syntax": 1,
"jsdoc/check-tag-names": 1, // Recommended
"jsdoc/check-types": 1, // Recommended
"jsdoc/implements-on-classes": 1, // Recommended
"jsdoc/match-description": 1,
"jsdoc/no-undefined-types": 0, // Recommended
"jsdoc/require-description": 1,
"jsdoc/require-hyphen-before-param-description": 1,
"jsdoc/require-jsdoc": ["error", {
"require": {
"ArrowFunctionExpression": false,
"ClassDeclaration": true,
"ClassExpression": true,
"FunctionDeclaration": true,
"FunctionExpression": true,
"MethodDefinition": true
}
}],
"jsdoc/require-param": 1, // Recommended
"jsdoc/require-param-name": 1, // Recommended
"jsdoc/require-param-type": 1, // Recommended
"jsdoc/require-returns": 1, // Recommended
"jsdoc/require-returns-check": 1, // Recommended
"jsdoc/require-returns-type": 1, // Recommended
"jsdoc/valid-types": 1 // Recommended
}
}