@perfective/eslint-config 0.29.2 → 0.30.0
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/LICENSE +1 -1
- package/README.adoc +24 -18
- package/README.md +20 -16
- package/config/node.d.ts +7 -0
- package/config/node.js +7 -11
- package/config/plugin.d.ts +9 -0
- package/config/plugin.js +22 -26
- package/config.js +1 -6
- package/cypress.d.ts +5 -0
- package/cypress.js +31 -56
- package/index.d.ts +46 -12
- package/index.js +100 -144
- package/jest-dom.js +8 -11
- package/jest.d.ts +6 -0
- package/jest.js +29 -24
- package/package.json +18 -17
- package/rules/array-func/index.d.ts +1 -2
- package/rules/array-func/index.js +14 -50
- package/rules/cypress/index.d.ts +11 -3
- package/rules/cypress/index.js +23 -57
- package/rules/eslint/index.js +6 -9
- package/rules/eslint/layout-formatting.js +64 -67
- package/rules/eslint/possible-problems.js +96 -99
- package/rules/eslint/suggestions.js +181 -182
- package/rules/eslint-comments/best-practices.js +8 -11
- package/rules/eslint-comments/index.d.ts +1 -2
- package/rules/eslint-comments/index.js +9 -45
- package/rules/eslint-comments/stylistic-issues.js +9 -18
- package/rules/import/helpful-warnings.js +11 -14
- package/rules/import/index.js +11 -14
- package/rules/import/module-systems.js +10 -13
- package/rules/import/rules/no-extraneous-dependencies.d.ts +3 -0
- package/rules/import/rules/no-extraneous-dependencies.js +20 -21
- package/rules/import/static-analysis.js +26 -29
- package/rules/import/style-guide.js +33 -36
- package/rules/jest/index.js +98 -72
- package/rules/jest/typescript-eslint.js +5 -8
- package/rules/jest-dom/index.js +19 -55
- package/rules/jsdoc/index.d.ts +1 -1
- package/rules/jsdoc/index.js +158 -344
- package/rules/n/index.d.ts +1 -1
- package/rules/n/index.js +64 -98
- package/rules/prefer-arrow/index.d.ts +1 -2
- package/rules/prefer-arrow/index.js +14 -50
- package/rules/promise/index.d.ts +1 -2
- package/rules/promise/index.js +35 -73
- package/rules/rxjs/index.d.ts +1 -1
- package/rules/rxjs/index.js +60 -96
- package/rules/security/index.d.ts +1 -2
- package/rules/security/index.js +22 -58
- package/rules/simple-import-sort/index.js +12 -48
- package/rules/simple-import-sort/rules/imports.d.ts +11 -0
- package/rules/simple-import-sort/rules/imports.js +18 -32
- package/rules/stylistic/js/index.d.ts +9 -2
- package/rules/stylistic/js/index.js +198 -236
- package/rules/stylistic/jsx/index.d.ts +8 -2
- package/rules/stylistic/jsx/index.js +81 -117
- package/rules/stylistic/plus/index.d.ts +6 -2
- package/rules/stylistic/plus/index.js +14 -50
- package/rules/stylistic/ts/index.d.ts +8 -2
- package/rules/stylistic/ts/index.js +135 -169
- package/rules/testing-library/index.js +41 -77
- package/rules/typescript-eslint/extension-rules.js +113 -116
- package/rules/typescript-eslint/index.d.ts +2 -0
- package/rules/typescript-eslint/index.js +9 -45
- package/rules/typescript-eslint/rules/typescript-eslint-naming-convention.d.ts +5 -0
- package/rules/typescript-eslint/rules/typescript-eslint-naming-convention.js +24 -30
- package/rules/typescript-eslint/supported-rules.d.ts +2 -0
- package/rules/typescript-eslint/supported-rules.js +256 -319
- package/rules/unicorn/index.d.ts +7 -2
- package/rules/unicorn/index.js +178 -209
- package/rules/unicorn/rules/prevent-abbreviations.d.ts +8 -0
- package/rules/unicorn/rules/prevent-abbreviations.js +30 -8
- package/rules.js +4 -14
- package/rxjs.d.ts +5 -0
- package/rxjs.js +21 -57
- package/testing-library.js +8 -11
package/rules/jsdoc/index.js
CHANGED
|
@@ -1,347 +1,161 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
1
|
+
import eslintPluginJsdoc from 'eslint-plugin-jsdoc';
|
|
2
|
+
export const jsdocConfig = {
|
|
3
|
+
plugins: {
|
|
4
|
+
jsdoc: {
|
|
5
|
+
rules: eslintPluginJsdoc.configs['flat/recommended'].plugins['jsdoc'].rules
|
|
7
6
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.jsdocConfig = void 0;
|
|
37
|
-
const eslintPluginJsdoc = __importStar(require("eslint-plugin-jsdoc"));
|
|
38
|
-
exports.jsdocConfig = {
|
|
39
|
-
plugins: {
|
|
40
|
-
jsdoc: {
|
|
41
|
-
rules: eslintPluginJsdoc.default.configs['flat/recommended'].plugins['jsdoc'].rules,
|
|
7
|
+
},
|
|
8
|
+
settings: {
|
|
9
|
+
jsdoc: {
|
|
10
|
+
tagNamePreference: {
|
|
11
|
+
augments: {
|
|
12
|
+
message: '@extends is to be used over @augments as it is more evocative of classes than @augments',
|
|
13
|
+
replacement: 'extends'
|
|
42
14
|
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
jsdoc: {
|
|
46
|
-
tagNamePreference: {
|
|
47
|
-
augments: {
|
|
48
|
-
message: '@extends is to be used over @augments as it is more evocative of classes than @augments',
|
|
49
|
-
replacement: 'extends',
|
|
50
|
-
},
|
|
51
|
-
todo: {
|
|
52
|
-
message: 'Use TODO for comments',
|
|
53
|
-
},
|
|
54
|
-
fires: {
|
|
55
|
-
replacement: 'emits',
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
ignoreReplacesDocs: true,
|
|
59
|
-
overrideReplacesDocs: true,
|
|
60
|
-
augmentsExtendsReplacesDocs: false,
|
|
61
|
-
implementsReplacesDoc: false,
|
|
15
|
+
todo: {
|
|
16
|
+
message: 'Use TODO for comments'
|
|
62
17
|
},
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
'desc',
|
|
208
|
-
'description',
|
|
209
|
-
'classdesc',
|
|
210
|
-
'tutorial',
|
|
211
|
-
'copyright',
|
|
212
|
-
'license',
|
|
213
|
-
],
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
tags: [
|
|
217
|
-
'const',
|
|
218
|
-
'constant',
|
|
219
|
-
'final',
|
|
220
|
-
'global',
|
|
221
|
-
'readonly',
|
|
222
|
-
'abstract',
|
|
223
|
-
'virtual',
|
|
224
|
-
'var',
|
|
225
|
-
'member',
|
|
226
|
-
'memberof',
|
|
227
|
-
'memberof!',
|
|
228
|
-
'inner',
|
|
229
|
-
'instance',
|
|
230
|
-
'inheritdoc',
|
|
231
|
-
'inheritDoc',
|
|
232
|
-
'override',
|
|
233
|
-
'hideconstructor',
|
|
234
|
-
],
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
tags: [
|
|
238
|
-
'param',
|
|
239
|
-
'arg',
|
|
240
|
-
'argument',
|
|
241
|
-
'prop',
|
|
242
|
-
'property',
|
|
243
|
-
],
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
tags: [
|
|
247
|
-
'async',
|
|
248
|
-
'generator',
|
|
249
|
-
'default',
|
|
250
|
-
'defaultvalue',
|
|
251
|
-
'enum',
|
|
252
|
-
'augments',
|
|
253
|
-
'extends',
|
|
254
|
-
'return',
|
|
255
|
-
'returns',
|
|
256
|
-
'throws',
|
|
257
|
-
'exception',
|
|
258
|
-
'yield',
|
|
259
|
-
'yields',
|
|
260
|
-
'event',
|
|
261
|
-
'fires',
|
|
262
|
-
'emits',
|
|
263
|
-
'listens',
|
|
264
|
-
'this',
|
|
265
|
-
],
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
tags: [
|
|
269
|
-
'static',
|
|
270
|
-
'private',
|
|
271
|
-
'protected',
|
|
272
|
-
'public',
|
|
273
|
-
'access',
|
|
274
|
-
'package',
|
|
275
|
-
],
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
tags: [
|
|
279
|
-
'see',
|
|
280
|
-
'example',
|
|
281
|
-
],
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
tags: [
|
|
285
|
-
'closurePrimitive',
|
|
286
|
-
'customElement',
|
|
287
|
-
'expose',
|
|
288
|
-
'hidden',
|
|
289
|
-
'idGenerator',
|
|
290
|
-
'meaning',
|
|
291
|
-
'ngInject',
|
|
292
|
-
'owner',
|
|
293
|
-
'wizaction',
|
|
294
|
-
],
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
tags: [
|
|
298
|
-
'define',
|
|
299
|
-
'dict',
|
|
300
|
-
'export',
|
|
301
|
-
'externs',
|
|
302
|
-
'implicitCast',
|
|
303
|
-
'noalias',
|
|
304
|
-
'nocollapse',
|
|
305
|
-
'nocompile',
|
|
306
|
-
'noinline',
|
|
307
|
-
'nosideeffects',
|
|
308
|
-
'polymer',
|
|
309
|
-
'polymerBehavior',
|
|
310
|
-
'preserve',
|
|
311
|
-
'struct',
|
|
312
|
-
'suppress',
|
|
313
|
-
'unrestricted',
|
|
314
|
-
],
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
tags: [
|
|
318
|
-
'category',
|
|
319
|
-
],
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
tags: [
|
|
323
|
-
'ignore',
|
|
324
|
-
'author',
|
|
325
|
-
'version',
|
|
326
|
-
'variation',
|
|
327
|
-
'since',
|
|
328
|
-
'deprecated',
|
|
329
|
-
'todo',
|
|
330
|
-
],
|
|
331
|
-
},
|
|
332
|
-
],
|
|
333
|
-
alphabetizeExtras: false,
|
|
334
|
-
linesBetween: 1,
|
|
335
|
-
reportTagGroupSpacing: true,
|
|
336
|
-
reportIntraTagGroupSpacing: true,
|
|
337
|
-
}],
|
|
338
|
-
'jsdoc/tag-lines': ['warn', 'always', {
|
|
339
|
-
count: 0,
|
|
340
|
-
startLines: 1,
|
|
341
|
-
endLines: 0,
|
|
342
|
-
applyToEndTag: false,
|
|
343
|
-
tags: {},
|
|
344
|
-
}],
|
|
345
|
-
'jsdoc/valid-types': 'error',
|
|
346
|
-
},
|
|
347
|
-
};
|
|
18
|
+
fires: {
|
|
19
|
+
replacement: 'emits'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
ignoreReplacesDocs: true,
|
|
23
|
+
overrideReplacesDocs: true,
|
|
24
|
+
augmentsExtendsReplacesDocs: false,
|
|
25
|
+
implementsReplacesDoc: false
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
rules: {
|
|
29
|
+
'jsdoc/check-access': 'off',
|
|
30
|
+
'jsdoc/check-alignment': 'error',
|
|
31
|
+
'jsdoc/check-examples': 'off',
|
|
32
|
+
'jsdoc/check-indentation': 'off',
|
|
33
|
+
'jsdoc/check-line-alignment': ['off', 'never'],
|
|
34
|
+
'jsdoc/check-param-names': ['error', {
|
|
35
|
+
allowExtraTrailingParamDocs: false,
|
|
36
|
+
checkDestructured: true,
|
|
37
|
+
checkRestProperty: false,
|
|
38
|
+
disableExtraPropertyReporting: false,
|
|
39
|
+
disableMissingParamChecks: false,
|
|
40
|
+
enableFixer: true,
|
|
41
|
+
useDefaultObjectProperties: false
|
|
42
|
+
}],
|
|
43
|
+
'jsdoc/check-property-names': ['error', {
|
|
44
|
+
enableFixer: true
|
|
45
|
+
}],
|
|
46
|
+
'jsdoc/check-syntax': 'error',
|
|
47
|
+
'jsdoc/check-tag-names': ['error', {
|
|
48
|
+
definedTags: ['final', 'flags', 'sealed', 'workaround'],
|
|
49
|
+
jsxTags: true
|
|
50
|
+
}],
|
|
51
|
+
'jsdoc/check-template-names': 'error',
|
|
52
|
+
'jsdoc/check-types': ['error', {
|
|
53
|
+
noDefaults: false
|
|
54
|
+
}],
|
|
55
|
+
'jsdoc/check-values': 'error',
|
|
56
|
+
'jsdoc/convert-to-jsdoc-comments': 'off',
|
|
57
|
+
'jsdoc/empty-tags': ['error', {
|
|
58
|
+
tags: ['final', 'flags', 'sealed']
|
|
59
|
+
}],
|
|
60
|
+
'jsdoc/implements-on-classes': 'error',
|
|
61
|
+
'jsdoc/imports-as-dependencies': 'error',
|
|
62
|
+
'jsdoc/lines-before-block': 'off',
|
|
63
|
+
'jsdoc/match-description': 'error',
|
|
64
|
+
'jsdoc/match-name': 'off',
|
|
65
|
+
'jsdoc/multiline-blocks': ['warn', {
|
|
66
|
+
noZeroLineText: true,
|
|
67
|
+
noFinalLineText: true,
|
|
68
|
+
noSingleLineBlocks: true,
|
|
69
|
+
singleLineTags: ['lends', 'type', 'deprecated'],
|
|
70
|
+
noMultilineBlocks: false,
|
|
71
|
+
multilineTags: ['*'],
|
|
72
|
+
allowMultipleTags: true
|
|
73
|
+
}],
|
|
74
|
+
'jsdoc/no-bad-blocks': ['error', {
|
|
75
|
+
ignore: ['ts-check', 'ts-expect-error', 'ts-ignore', 'ts-nocheck', 'typescript-eslint'],
|
|
76
|
+
preventAllMultiAsteriskBlocks: false
|
|
77
|
+
}],
|
|
78
|
+
'jsdoc/no-blank-blocks': 'warn',
|
|
79
|
+
'jsdoc/no-blank-block-descriptions': 'off',
|
|
80
|
+
'jsdoc/no-defaults': 'error',
|
|
81
|
+
'jsdoc/no-missing-syntax': 'off',
|
|
82
|
+
'jsdoc/no-multi-asterisks': ['error', {
|
|
83
|
+
allowWhitespace: false,
|
|
84
|
+
preventAtMiddleLines: true,
|
|
85
|
+
preventAtEnd: true
|
|
86
|
+
}],
|
|
87
|
+
'jsdoc/no-restricted-syntax': 'off',
|
|
88
|
+
'jsdoc/no-types': 'error',
|
|
89
|
+
'jsdoc/no-undefined-types': 'error',
|
|
90
|
+
'jsdoc/require-asterisk-prefix': ['error', 'always'],
|
|
91
|
+
'jsdoc/require-description': ['error', {
|
|
92
|
+
exemptedBy: ['inheritdoc', 'package', 'private', 'see', 'deprecated']
|
|
93
|
+
}],
|
|
94
|
+
'jsdoc/require-description-complete-sentence': 'warn',
|
|
95
|
+
'jsdoc/require-example': 'off',
|
|
96
|
+
'jsdoc/require-file-overview': 'off',
|
|
97
|
+
'jsdoc/require-hyphen-before-param-description': ['warn', 'always'],
|
|
98
|
+
'jsdoc/require-jsdoc': 'off',
|
|
99
|
+
'jsdoc/require-param': 'off',
|
|
100
|
+
'jsdoc/require-param-description': 'error',
|
|
101
|
+
'jsdoc/require-param-name': 'error',
|
|
102
|
+
'jsdoc/require-param-type': 'off',
|
|
103
|
+
'jsdoc/require-property': 'error',
|
|
104
|
+
'jsdoc/require-property-description': 'error',
|
|
105
|
+
'jsdoc/require-property-name': 'error',
|
|
106
|
+
'jsdoc/require-property-type': 'error',
|
|
107
|
+
'jsdoc/require-returns': 'off',
|
|
108
|
+
'jsdoc/require-returns-check': 'error',
|
|
109
|
+
'jsdoc/require-returns-description': 'error',
|
|
110
|
+
'jsdoc/require-returns-type': 'off',
|
|
111
|
+
'jsdoc/require-template': ['off', {
|
|
112
|
+
requireSeparateTemplates: false
|
|
113
|
+
}],
|
|
114
|
+
'jsdoc/require-throws': 'error',
|
|
115
|
+
'jsdoc/require-yields': 'error',
|
|
116
|
+
'jsdoc/require-yields-check': 'error',
|
|
117
|
+
'jsdoc/sort-tags': ['warn', {
|
|
118
|
+
tagSequence: [{
|
|
119
|
+
tags: ['summary', 'typeSummary']
|
|
120
|
+
}, {
|
|
121
|
+
tags: ['module', 'exports', 'file', 'fileoverview', 'overview']
|
|
122
|
+
}, {
|
|
123
|
+
tags: ['typedef', 'interface', 'record', 'template', 'name', 'kind', 'type', 'alias', 'external', 'host', 'callback', 'func', 'function', 'method', 'class', 'constructor']
|
|
124
|
+
}, {
|
|
125
|
+
tags: ['modifies', 'mixes', 'mixin', 'mixinClass', 'mixinFunction', 'namespace', 'borrows', 'constructs', 'lends', 'implements', 'requires']
|
|
126
|
+
}, {
|
|
127
|
+
tags: ['desc', 'description', 'classdesc', 'tutorial', 'copyright', 'license']
|
|
128
|
+
}, {
|
|
129
|
+
tags: ['const', 'constant', 'final', 'global', 'readonly', 'abstract', 'virtual', 'var', 'member', 'memberof', 'memberof!', 'inner', 'instance', 'inheritdoc', 'inheritDoc', 'override', 'hideconstructor']
|
|
130
|
+
}, {
|
|
131
|
+
tags: ['param', 'arg', 'argument', 'prop', 'property']
|
|
132
|
+
}, {
|
|
133
|
+
tags: ['async', 'generator', 'default', 'defaultvalue', 'enum', 'augments', 'extends', 'return', 'returns', 'throws', 'exception', 'yield', 'yields', 'event', 'fires', 'emits', 'listens', 'this']
|
|
134
|
+
}, {
|
|
135
|
+
tags: ['static', 'private', 'protected', 'public', 'access', 'package']
|
|
136
|
+
}, {
|
|
137
|
+
tags: ['see', 'example']
|
|
138
|
+
}, {
|
|
139
|
+
tags: ['closurePrimitive', 'customElement', 'expose', 'hidden', 'idGenerator', 'meaning', 'ngInject', 'owner', 'wizaction']
|
|
140
|
+
}, {
|
|
141
|
+
tags: ['define', 'dict', 'export', 'externs', 'implicitCast', 'noalias', 'nocollapse', 'nocompile', 'noinline', 'nosideeffects', 'polymer', 'polymerBehavior', 'preserve', 'struct', 'suppress', 'unrestricted']
|
|
142
|
+
}, {
|
|
143
|
+
tags: ['category']
|
|
144
|
+
}, {
|
|
145
|
+
tags: ['ignore', 'author', 'version', 'variation', 'since', 'deprecated', 'todo']
|
|
146
|
+
}],
|
|
147
|
+
alphabetizeExtras: false,
|
|
148
|
+
linesBetween: 1,
|
|
149
|
+
reportTagGroupSpacing: true,
|
|
150
|
+
reportIntraTagGroupSpacing: true
|
|
151
|
+
}],
|
|
152
|
+
'jsdoc/tag-lines': ['warn', 'always', {
|
|
153
|
+
count: 0,
|
|
154
|
+
startLines: 1,
|
|
155
|
+
endLines: 0,
|
|
156
|
+
applyToEndTag: false,
|
|
157
|
+
tags: {}
|
|
158
|
+
}],
|
|
159
|
+
'jsdoc/valid-types': 'error'
|
|
160
|
+
}
|
|
161
|
+
};
|
package/rules/n/index.d.ts
CHANGED