eslint-plugin-crisp 1.0.40 → 1.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/recommended-vue.js +97 -78
- package/recommended.js +131 -102
package/package.json
CHANGED
package/recommended-vue.js
CHANGED
|
@@ -16,95 +16,121 @@ module.exports = {
|
|
|
16
16
|
],
|
|
17
17
|
|
|
18
18
|
settings: {
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
jsdoc: {
|
|
20
|
+
tagNamePreference: {
|
|
21
|
+
returns: "return"
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
preferredTypes: {
|
|
25
|
+
Function: "function",
|
|
26
|
+
Array: "array",
|
|
27
|
+
Integer: "number"
|
|
28
|
+
}
|
|
21
29
|
}
|
|
22
30
|
},
|
|
23
31
|
|
|
24
32
|
rules: {
|
|
25
33
|
// General JS rules
|
|
26
|
-
"no-eval": "error",
|
|
27
|
-
"no-console": "warn",
|
|
28
|
-
"no-debugger": "warn",
|
|
29
|
-
"no-unused-vars": "warn",
|
|
30
34
|
"arrow-parens": ["error", "always"],
|
|
31
35
|
"comma-dangle": ["error", "never"],
|
|
32
|
-
"
|
|
36
|
+
"comma-style": ["error", "last"],
|
|
37
|
+
"curly": "error",
|
|
33
38
|
"computed-property-spacing": ["error", "never"],
|
|
34
39
|
"default-param-last": "error",
|
|
35
40
|
"default-case-last": "error",
|
|
36
41
|
"dot-notation": "error",
|
|
37
42
|
"eqeqeq": "error",
|
|
43
|
+
"eol-last": "error",
|
|
44
|
+
"for-direction": "error",
|
|
38
45
|
"linebreak-style": ["error", "unix"],
|
|
46
|
+
"no-console": "warn",
|
|
47
|
+
"no-debugger": "warn",
|
|
48
|
+
"no-eval": "error",
|
|
49
|
+
"no-multi-str": "error",
|
|
39
50
|
"no-multiple-empty-lines": ["error", { max: 1 }],
|
|
40
|
-
"no-
|
|
51
|
+
"no-mixed-spaces-and-tabs": "error",
|
|
41
52
|
"no-tabs": "error",
|
|
53
|
+
"no-trailing-spaces": "error",
|
|
54
|
+
"no-unused-vars": "warn",
|
|
55
|
+
"no-unsafe-optional-chaining": "error",
|
|
42
56
|
"object-curly-spacing": ["error", "always"],
|
|
57
|
+
"padded-blocks": ["error", "never"],
|
|
43
58
|
"prefer-arrow-callback": "error",
|
|
59
|
+
"quote-props": ["error", "as-needed"],
|
|
44
60
|
"semi": ["error", "always"],
|
|
45
61
|
"semi-style": ["error", "last"],
|
|
46
62
|
"semi-spacing": ["error", { "before": false, "after": true }],
|
|
47
|
-
"space-before-blocks":
|
|
63
|
+
"space-before-blocks": "error",
|
|
48
64
|
"space-in-parens": ["error", "never"],
|
|
49
65
|
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"parameters": "off"
|
|
54
|
-
},
|
|
55
|
-
"FunctionExpression": {
|
|
56
|
-
"parameters": "off"
|
|
57
|
-
},
|
|
58
|
-
"CallExpression": {
|
|
59
|
-
"arguments": "off"
|
|
60
|
-
},
|
|
61
|
-
"VariableDeclarator": "first",
|
|
62
|
-
"outerIIFEBody": 0,
|
|
63
|
-
"ArrayExpression": "first",
|
|
64
|
-
"ObjectExpression": "first",
|
|
65
|
-
"ImportDeclaration": "first",
|
|
66
|
-
"flatTernaryExpressions": false,
|
|
67
|
-
"ignoredNodes": [
|
|
68
|
-
"BinaryExpression",
|
|
69
|
-
"ConditionalExpression",
|
|
70
|
-
"IfStatement *",
|
|
71
|
-
"VariableDeclarator",
|
|
72
|
-
"VariableDeclarator > CallExpression",
|
|
73
|
-
"CallExpression > ArrayExpression"
|
|
74
|
-
]
|
|
75
|
-
}],
|
|
76
|
-
|
|
77
|
-
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
|
|
78
|
-
"padded-blocks": ["error", "never"],
|
|
79
|
-
"no-mixed-spaces-and-tabs": "error",
|
|
80
|
-
"no-multi-str": "error",
|
|
81
|
-
"quote-props": ["error", "as-needed"],
|
|
82
|
-
"for-direction": "error",
|
|
83
|
-
"comma-style": ["error", "last"],
|
|
84
|
-
"eol-last": "error",
|
|
85
|
-
"object-curly-newline": ["error", { "multiline": true, "consistent": true }],
|
|
66
|
+
"brace-style": [
|
|
67
|
+
"error",
|
|
68
|
+
"1tbs",
|
|
86
69
|
|
|
70
|
+
{
|
|
71
|
+
"allowSingleLine": true
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"indent": [
|
|
75
|
+
"error",
|
|
76
|
+
2,
|
|
77
|
+
|
|
78
|
+
{
|
|
79
|
+
"SwitchCase": 1,
|
|
80
|
+
"FunctionDeclaration": {
|
|
81
|
+
"parameters": "off"
|
|
82
|
+
},
|
|
83
|
+
"FunctionExpression": {
|
|
84
|
+
"parameters": "off"
|
|
85
|
+
},
|
|
86
|
+
"CallExpression": {
|
|
87
|
+
"arguments": "off"
|
|
88
|
+
},
|
|
89
|
+
"VariableDeclarator": "first",
|
|
90
|
+
"outerIIFEBody": 0,
|
|
91
|
+
"ArrayExpression": "first",
|
|
92
|
+
"ObjectExpression": "first",
|
|
93
|
+
"ImportDeclaration": "first",
|
|
94
|
+
"flatTernaryExpressions": false,
|
|
95
|
+
"ignoredNodes": [
|
|
96
|
+
"BinaryExpression",
|
|
97
|
+
"ConditionalExpression",
|
|
98
|
+
"IfStatement *",
|
|
99
|
+
"VariableDeclarator",
|
|
100
|
+
"VariableDeclarator > CallExpression",
|
|
101
|
+
"CallExpression > ArrayExpression"
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"object-curly-newline": [
|
|
106
|
+
"error",
|
|
87
107
|
|
|
108
|
+
{
|
|
109
|
+
"multiline": true, "consistent": true
|
|
110
|
+
}
|
|
111
|
+
],
|
|
88
112
|
"padding-line-between-statements": [
|
|
89
113
|
"error",
|
|
90
114
|
|
|
91
|
-
{ blankLine: "always", prev: "let", next: "*" },
|
|
92
|
-
{ blankLine: "any", prev: "let", next: "let" },
|
|
93
|
-
{ blankLine: "always", prev: "const", next: "*" },
|
|
94
|
-
{ blankLine: "any", prev: "const", next: "const" },
|
|
95
|
-
{ blankLine: "always", prev: "block-like", next: "*" },
|
|
96
|
-
{ blankLine: "always", prev: "*", next: "break" },
|
|
97
|
-
{ blankLine: "any", prev: "empty", next: "break" },
|
|
98
|
-
{ blankLine: "always", prev: "*", next: "block-like" },
|
|
99
|
-
{ blankLine: "any", prev: "case", next: "case" },
|
|
100
|
-
{ blankLine: "always", prev: "continue", next: "*" },
|
|
101
|
-
{ blankLine: "always", prev: "break", next: "*" }
|
|
115
|
+
{ "blankLine": "always", "prev": "let", "next": "*" },
|
|
116
|
+
{ "blankLine": "any", "prev": "let", "next": "let" },
|
|
117
|
+
{ "blankLine": "always", "prev": "const", "next": "*" },
|
|
118
|
+
{ "blankLine": "any", "prev": "const", "next": "const" },
|
|
119
|
+
{ "blankLine": "always", "prev": "block-like", "next": "*" },
|
|
120
|
+
{ "blankLine": "always", "prev": "*", "next": "break" },
|
|
121
|
+
{ "blankLine": "any", "prev": "empty", "next": "break" },
|
|
122
|
+
{ "blankLine": "always", "prev": "*", "next": "block-like" },
|
|
123
|
+
{ "blankLine": "any", "prev": "case", "next": "case" },
|
|
124
|
+
{ "blankLine": "always", "prev": "continue", "next": "*" },
|
|
125
|
+
{ "blankLine": "always", "prev": "break", "next": "*" }
|
|
102
126
|
],
|
|
103
127
|
"quotes": [
|
|
104
128
|
"error",
|
|
105
129
|
"double",
|
|
106
130
|
|
|
107
|
-
{
|
|
131
|
+
{
|
|
132
|
+
"avoidEscape": true, "allowTemplateLiterals": true
|
|
133
|
+
}
|
|
108
134
|
],
|
|
109
135
|
|
|
110
136
|
// Crisp JS rules
|
|
@@ -116,15 +142,22 @@ module.exports = {
|
|
|
116
142
|
"crisp/no-async": "error",
|
|
117
143
|
"crisp/no-var-in-blocks": "error",
|
|
118
144
|
"crisp/no-useless-template-literals": "error",
|
|
119
|
-
"crisp/one-space-after-operator": ["error", { "checkColon": false }],
|
|
120
145
|
"crisp/regex-in-constructor": "error",
|
|
121
146
|
"crisp/ternary-parenthesis": "error",
|
|
122
147
|
"crisp/variable-names": "error",
|
|
148
|
+
|
|
149
|
+
"crisp/one-space-after-operator": [
|
|
150
|
+
"error",
|
|
151
|
+
|
|
152
|
+
{
|
|
153
|
+
"checkColon": false
|
|
154
|
+
}
|
|
155
|
+
],
|
|
123
156
|
"crisp/no-short-parameters": [
|
|
124
157
|
"error",
|
|
125
158
|
|
|
126
159
|
{
|
|
127
|
-
exceptions: ["_", "$", "x", "y"]
|
|
160
|
+
"exceptions": ["_", "$", "x", "y"]
|
|
128
161
|
}
|
|
129
162
|
],
|
|
130
163
|
|
|
@@ -136,11 +169,11 @@ module.exports = {
|
|
|
136
169
|
|
|
137
170
|
{
|
|
138
171
|
require: {
|
|
139
|
-
FunctionDeclaration: true,
|
|
140
|
-
MethodDefinition: true,
|
|
141
|
-
ClassDeclaration: true,
|
|
142
|
-
ArrowFunctionExpression: false,
|
|
143
|
-
FunctionExpression: false
|
|
172
|
+
"FunctionDeclaration": true,
|
|
173
|
+
"MethodDefinition": true,
|
|
174
|
+
"ClassDeclaration": true,
|
|
175
|
+
"ArrowFunctionExpression": false,
|
|
176
|
+
"FunctionExpression": false
|
|
144
177
|
}
|
|
145
178
|
}
|
|
146
179
|
],
|
|
@@ -228,19 +261,5 @@ module.exports = {
|
|
|
228
261
|
"crisp/vue-html-quotes": "error",
|
|
229
262
|
"crisp/vue-no-regex-data": "error",
|
|
230
263
|
"crisp/vue-props-declaration-order": "error"
|
|
231
|
-
},
|
|
232
|
-
|
|
233
|
-
settings: {
|
|
234
|
-
jsdoc: {
|
|
235
|
-
tagNamePreference: {
|
|
236
|
-
returns: "return"
|
|
237
|
-
},
|
|
238
|
-
|
|
239
|
-
preferredTypes: {
|
|
240
|
-
Function: "function",
|
|
241
|
-
Array: "array",
|
|
242
|
-
Integer: "number"
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
264
|
}
|
|
246
265
|
}
|
package/recommended.js
CHANGED
|
@@ -4,20 +4,8 @@ module.exports = {
|
|
|
4
4
|
node: true
|
|
5
5
|
},
|
|
6
6
|
|
|
7
|
-
settings: {
|
|
8
|
-
jsdoc: {
|
|
9
|
-
tagNamePreference: {
|
|
10
|
-
returns: "return"
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
preferredTypes: {
|
|
14
|
-
Function: "function"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
|
|
19
7
|
plugins: [
|
|
20
|
-
"eslint-plugin-jsdoc"
|
|
8
|
+
"eslint-plugin-jsdoc"
|
|
21
9
|
],
|
|
22
10
|
|
|
23
11
|
extends: [
|
|
@@ -25,91 +13,155 @@ module.exports = {
|
|
|
25
13
|
],
|
|
26
14
|
|
|
27
15
|
settings: {
|
|
28
|
-
|
|
29
|
-
|
|
16
|
+
jsdoc: {
|
|
17
|
+
tagNamePreference: {
|
|
18
|
+
returns: "return"
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
preferredTypes: {
|
|
22
|
+
Function: "function",
|
|
23
|
+
Array: "array",
|
|
24
|
+
Integer: "number"
|
|
25
|
+
}
|
|
30
26
|
}
|
|
31
27
|
},
|
|
32
28
|
|
|
33
29
|
rules: {
|
|
34
30
|
// General JS rules
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"indent": ["error", 2, {
|
|
47
|
-
"SwitchCase": 1,
|
|
48
|
-
"FunctionDeclaration": {
|
|
49
|
-
"parameters": "off"
|
|
50
|
-
},
|
|
51
|
-
"FunctionExpression": {
|
|
52
|
-
"parameters": "off"
|
|
53
|
-
},
|
|
54
|
-
"CallExpression": {
|
|
55
|
-
"arguments": "off"
|
|
56
|
-
},
|
|
57
|
-
"VariableDeclarator": "first",
|
|
58
|
-
"outerIIFEBody": 0,
|
|
59
|
-
"ArrayExpression": "first",
|
|
60
|
-
"ObjectExpression": "first",
|
|
61
|
-
"ImportDeclaration": "first",
|
|
62
|
-
"flatTernaryExpressions": false,
|
|
63
|
-
"ignoredNodes": [
|
|
64
|
-
"BinaryExpression",
|
|
65
|
-
"ConditionalExpression",
|
|
66
|
-
"IfStatement *",
|
|
67
|
-
"VariableDeclarator",
|
|
68
|
-
"VariableDeclarator > CallExpression",
|
|
69
|
-
"CallExpression > ArrayExpression"
|
|
70
|
-
]
|
|
71
|
-
}],
|
|
72
|
-
|
|
31
|
+
"arrow-parens": ["error", "always"],
|
|
32
|
+
"comma-dangle": ["error", "never"],
|
|
33
|
+
"comma-style": ["error", "last"],
|
|
34
|
+
"curly": "error",
|
|
35
|
+
"default-param-last": "error",
|
|
36
|
+
"default-case-last": "error",
|
|
37
|
+
"dot-notation": "error",
|
|
38
|
+
"eqeqeq": "error",
|
|
39
|
+
"eol-last": "error",
|
|
40
|
+
"for-direction": "error",
|
|
73
41
|
"linebreak-style": ["error", "unix"],
|
|
74
|
-
"semi": ["error", "always"],
|
|
75
42
|
"max-len": ["error", 80],
|
|
43
|
+
"no-console": "warn",
|
|
44
|
+
"no-debugger": "warn",
|
|
45
|
+
"no-eval": "error",
|
|
46
|
+
"no-multi-str": "error",
|
|
47
|
+
"no-mixed-spaces-and-tabs": "error",
|
|
48
|
+
"no-tabs": "error",
|
|
76
49
|
"no-trailing-spaces": "error",
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
|
|
50
|
+
"no-unused-vars": "warn",
|
|
51
|
+
"no-unsafe-optional-chaining": "error",
|
|
52
|
+
"object-curly-spacing": ["error", "always"],
|
|
81
53
|
"padded-blocks": ["error", "never"],
|
|
82
|
-
"curly": "error",
|
|
83
|
-
"no-mixed-spaces-and-tabs": "error",
|
|
84
|
-
"no-multi-str": "error",
|
|
85
54
|
"quote-props": ["error", "as-needed"],
|
|
86
|
-
"
|
|
87
|
-
"
|
|
55
|
+
"semi": ["error", "always"],
|
|
56
|
+
"semi-style": ["error", "last"],
|
|
88
57
|
"space-before-blocks": "error",
|
|
89
|
-
"
|
|
90
|
-
"eol-last": "error",
|
|
91
|
-
"object-curly-newline": ["error", { "multiline": true, "consistent": true }],
|
|
58
|
+
"space-in-parens": ["error", "never"],
|
|
92
59
|
|
|
60
|
+
"brace-style": [
|
|
61
|
+
"error",
|
|
62
|
+
"1tbs",
|
|
63
|
+
|
|
64
|
+
{
|
|
65
|
+
"allowSingleLine": true
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"indent": [
|
|
69
|
+
"error",
|
|
70
|
+
2,
|
|
71
|
+
|
|
72
|
+
{
|
|
73
|
+
"SwitchCase": 1,
|
|
74
|
+
"FunctionDeclaration": {
|
|
75
|
+
"parameters": "off"
|
|
76
|
+
},
|
|
77
|
+
"FunctionExpression": {
|
|
78
|
+
"parameters": "off"
|
|
79
|
+
},
|
|
80
|
+
"CallExpression": {
|
|
81
|
+
"arguments": "off"
|
|
82
|
+
},
|
|
83
|
+
"VariableDeclarator": "first",
|
|
84
|
+
"outerIIFEBody": 0,
|
|
85
|
+
"ArrayExpression": "first",
|
|
86
|
+
"ObjectExpression": "first",
|
|
87
|
+
"ImportDeclaration": "first",
|
|
88
|
+
"flatTernaryExpressions": false,
|
|
89
|
+
"ignoredNodes": [
|
|
90
|
+
"BinaryExpression",
|
|
91
|
+
"ConditionalExpression",
|
|
92
|
+
"IfStatement *",
|
|
93
|
+
"VariableDeclarator",
|
|
94
|
+
"VariableDeclarator > CallExpression",
|
|
95
|
+
"CallExpression > ArrayExpression"
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"no-magic-numbers": [
|
|
100
|
+
"error",
|
|
101
|
+
|
|
102
|
+
{
|
|
103
|
+
"ignore": [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100],
|
|
104
|
+
"ignoreArrayIndexes": true,
|
|
105
|
+
"ignoreDefaultValues": true
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"object-curly-newline": [
|
|
109
|
+
"error",
|
|
110
|
+
|
|
111
|
+
{
|
|
112
|
+
"multiline": true, "consistent": true
|
|
113
|
+
}
|
|
114
|
+
],
|
|
93
115
|
"padding-line-between-statements": [
|
|
94
116
|
"error",
|
|
95
117
|
|
|
96
|
-
{ blankLine: "always", prev: "let", next: "*" },
|
|
97
|
-
{ blankLine: "any", prev: "let", next: "let" },
|
|
98
|
-
{ blankLine: "always", prev: "const", next: "*" },
|
|
99
|
-
{ blankLine: "any", prev: "const", next: "const" },
|
|
100
|
-
{ blankLine: "always", prev: "block-like", next: "*" },
|
|
101
|
-
{ blankLine: "always", prev: "*", next: "break" },
|
|
102
|
-
{ blankLine: "any", prev: "empty", next: "break" },
|
|
103
|
-
{ blankLine: "always", prev: "*", next: "block-like" },
|
|
104
|
-
{ blankLine: "any", prev: "case", next: "case" },
|
|
105
|
-
{ blankLine: "always", prev: "continue", next: "*" },
|
|
106
|
-
{ blankLine: "always", prev: "break", next: "*" }
|
|
118
|
+
{ "blankLine": "always", "prev": "let", "next": "*" },
|
|
119
|
+
{ "blankLine": "any", "prev": "let", "next": "let" },
|
|
120
|
+
{ "blankLine": "always", "prev": "const", "next": "*" },
|
|
121
|
+
{ "blankLine": "any", "prev": "const", "next": "const" },
|
|
122
|
+
{ "blankLine": "always", "prev": "block-like", "next": "*" },
|
|
123
|
+
{ "blankLine": "always", "prev": "*", "next": "break" },
|
|
124
|
+
{ "blankLine": "any", "prev": "empty", "next": "break" },
|
|
125
|
+
{ "blankLine": "always", "prev": "*", "next": "block-like" },
|
|
126
|
+
{ "blankLine": "any", "prev": "case", "next": "case" },
|
|
127
|
+
{ "blankLine": "always", "prev": "continue", "next": "*" },
|
|
128
|
+
{ "blankLine": "always", "prev": "break", "next": "*" }
|
|
107
129
|
],
|
|
108
130
|
"quotes": [
|
|
109
131
|
"error",
|
|
110
132
|
"double",
|
|
111
133
|
|
|
112
|
-
{
|
|
134
|
+
{
|
|
135
|
+
"avoidEscape": true, "allowTemplateLiterals": true
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
|
|
139
|
+
// Crisp JS rules
|
|
140
|
+
"crisp/align-consecutive-class-assignements": "error",
|
|
141
|
+
"crisp/align-one-var": "error",
|
|
142
|
+
"crisp/align-requires": "error",
|
|
143
|
+
"crisp/const": "error",
|
|
144
|
+
"crisp/constructor-variables": "error"
|
|
145
|
+
"crisp/header-check": "error",
|
|
146
|
+
"crisp/header-comments-check": "error",
|
|
147
|
+
"crisp/methods-naming": "error",
|
|
148
|
+
"crisp/methods-ordering": "error",
|
|
149
|
+
"crisp/multiline-comment-end-backslash": "error",
|
|
150
|
+
"crisp/no-async": "error",
|
|
151
|
+
"crisp/no-var-in-blocks": "error",
|
|
152
|
+
"crisp/no-space-in-optional-arguments": "error",
|
|
153
|
+
"crisp/one-space-after-operator": "error",
|
|
154
|
+
"crisp/regex-in-constructor": "error",
|
|
155
|
+
"crisp/ternary-parenthesis": "error",
|
|
156
|
+
"crisp/two-lines-between-class-members": "error",
|
|
157
|
+
"crisp/variable-names": "error",
|
|
158
|
+
|
|
159
|
+
"crisp/no-short-parameters": [
|
|
160
|
+
"error",
|
|
161
|
+
|
|
162
|
+
{
|
|
163
|
+
"exceptions": ["_", "$"]
|
|
164
|
+
}
|
|
113
165
|
],
|
|
114
166
|
|
|
115
167
|
// JSDoc rules
|
|
@@ -155,29 +207,6 @@ module.exports = {
|
|
|
155
207
|
// Crisp JSDoc rules
|
|
156
208
|
"crisp/jsdoc-align-params": "error",
|
|
157
209
|
"crisp/jsdoc-check-indentation": "error",
|
|
158
|
-
"crisp/jsdoc-enforce-classdesc": "error"
|
|
159
|
-
|
|
160
|
-
// Crisp JS rules
|
|
161
|
-
"crisp/align-one-var": "error",
|
|
162
|
-
"crisp/multiline-comment-end-backslash": "error",
|
|
163
|
-
"crisp/const": "error",
|
|
164
|
-
"crisp/header-check": "error",
|
|
165
|
-
"crisp/header-comments-check": "error",
|
|
166
|
-
"crisp/regex-in-constructor": "error",
|
|
167
|
-
"crisp/align-requires": "error",
|
|
168
|
-
"crisp/two-lines-between-class-members": "error",
|
|
169
|
-
"crisp/no-async": "error",
|
|
170
|
-
"crisp/no-var-in-blocks": "error",
|
|
171
|
-
"crisp/no-space-in-optional-arguments": "error",
|
|
172
|
-
"crisp/no-short-parameters": ["error", {
|
|
173
|
-
"exceptions": ["_", "$"]
|
|
174
|
-
}],
|
|
175
|
-
"crisp/methods-naming": "error",
|
|
176
|
-
"crisp/methods-ordering": "error",
|
|
177
|
-
"crisp/one-space-after-operator": "error",
|
|
178
|
-
"crisp/ternary-parenthesis": "error",
|
|
179
|
-
"crisp/align-consecutive-class-assignements": "error",
|
|
180
|
-
"crisp/variable-names": "error",
|
|
181
|
-
"crisp/constructor-variables": "error"
|
|
210
|
+
"crisp/jsdoc-enforce-classdesc": "error"
|
|
182
211
|
}
|
|
183
212
|
}
|