File tree Expand file tree Collapse file tree 6 files changed +13
-18
lines changed
packages/eslint-config-eslint Expand file tree Collapse file tree 6 files changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const { ConfigArraySymbol } = require("@humanwhocodes/config-array");
33
33
/** @typedef {import("../shared/types").Parser } Parser */
34
34
/** @typedef {import("../shared/types").LanguageOptions } LanguageOptions */
35
35
36
- /* eslint-disable jsdoc/valid-types -- https://github.com/jsdoc-type-pratt-parser/jsdoc-type-pratt-parser/issues/4#issuecomment-778805577 */
36
+
37
37
/**
38
38
* A test case that is expected to pass lint.
39
39
* @typedef {Object } ValidTestCase
@@ -72,7 +72,6 @@ const { ConfigArraySymbol } = require("@humanwhocodes/config-array");
72
72
* @property {number } [endLine] The 1-based line number of the reported end location.
73
73
* @property {number } [endColumn] The 1-based column number of the reported end location.
74
74
*/
75
- /* eslint-enable jsdoc/valid-types -- https://github.com/jsdoc-type-pratt-parser/jsdoc-type-pratt-parser/issues/4#issuecomment-778805577 */
76
75
77
76
//------------------------------------------------------------------------------
78
77
// Private Members
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ const { SourceCode } = require("../source-code");
63
63
64
64
/** @typedef {import("../shared/types").Parser } Parser */
65
65
66
- /* eslint-disable jsdoc/valid-types -- https://github.com/jsdoc-type-pratt-parser/jsdoc-type-pratt-parser/issues/4#issuecomment-778805577 */
66
+
67
67
/**
68
68
* A test case that is expected to pass lint.
69
69
* @typedef {Object } ValidTestCase
@@ -108,7 +108,6 @@ const { SourceCode } = require("../source-code");
108
108
* @property {number } [endLine] The 1-based line number of the reported end location.
109
109
* @property {number } [endColumn] The 1-based column number of the reported end location.
110
110
*/
111
- /* eslint-enable jsdoc/valid-types -- https://github.com/jsdoc-type-pratt-parser/jsdoc-type-pratt-parser/issues/4#issuecomment-778805577 */
112
111
113
112
//------------------------------------------------------------------------------
114
113
// Private Members
Original file line number Diff line number Diff line change 115
115
"eslint-plugin-eslint-comments" : " ^3.2.0" ,
116
116
"eslint-plugin-eslint-plugin" : " ^5.1.0" ,
117
117
"eslint-plugin-internal-rules" : " file:tools/internal-rules" ,
118
- "eslint-plugin-jsdoc" : " ^38.1.6 " ,
118
+ "eslint-plugin-jsdoc" : " ^46.2.5 " ,
119
119
"eslint-plugin-n" : " ^16.0.0" ,
120
120
"eslint-plugin-unicorn" : " ^42.0.0" ,
121
121
"eslint-release" : " ^3.2.0" ,
Original file line number Diff line number Diff line change @@ -101,16 +101,15 @@ module.exports = {
101
101
"generator-star-spacing" : "error" ,
102
102
"grouped-accessor-pairs" : "error" ,
103
103
"guard-for-in" : "error" ,
104
- "jsdoc/check-line-alignment" : [ "error" , "never" ] ,
105
104
"jsdoc/check-syntax" : "error" ,
106
105
"jsdoc/check-values" : [
107
106
"error" ,
108
107
{
109
108
allowedLicenses : true
110
109
}
111
110
] ,
112
- "jsdoc/newline-after-description" : [ "error" , "never" ] ,
113
111
"jsdoc/no-bad-blocks" : "error" ,
112
+ "jsdoc/no-defaults" : "off" ,
114
113
"jsdoc/require-asterisk-prefix" : "error" ,
115
114
"jsdoc/require-description" : [
116
115
"error" ,
@@ -138,8 +137,10 @@ module.exports = {
138
137
fileoverview : {
139
138
lines : "any"
140
139
}
141
- }
140
+ } ,
141
+ startLines : 0
142
142
}
143
+
143
144
] ,
144
145
"jsdoc/no-undefined-types" : "off" ,
145
146
"jsdoc/require-yields" : "off" ,
Original file line number Diff line number Diff line change @@ -312,11 +312,10 @@ const jsdocConfigs = [jsdoc.configs.recommended, {
312
312
}
313
313
} ,
314
314
rules : {
315
- "jsdoc/check-line-alignment" : [ "error" , "never" ] ,
316
315
"jsdoc/check-syntax" : "error" ,
317
316
"jsdoc/check-values" : [ "error" , { allowedLicenses : true } ] ,
318
- "jsdoc/newline-after-description" : [ "error" , "never" ] ,
319
317
"jsdoc/no-bad-blocks" : "error" ,
318
+ "jsdoc/no-defaults" : "off" ,
320
319
"jsdoc/require-asterisk-prefix" : "error" ,
321
320
"jsdoc/require-description" : [ "error" , { checkConstructors : false } ] ,
322
321
"jsdoc/require-hyphen-before-param-description" : [ "error" , "never" ] ,
@@ -330,13 +329,10 @@ const jsdocConfigs = [jsdoc.configs.recommended, {
330
329
"jsdoc/tag-lines" : [ "error" , "never" ,
331
330
{
332
331
tags : {
333
- example : {
334
- lines : "always"
335
- } ,
336
- fileoverview : {
337
- lines : "any"
338
- }
339
- }
332
+ example : { lines : "always" } ,
333
+ fileoverview : { lines : "any" }
334
+ } ,
335
+ startLines : 0
340
336
}
341
337
] ,
342
338
"jsdoc/no-undefined-types" : "off" ,
Original file line number Diff line number Diff line change 22
22
"dependencies" : {
23
23
"@eslint/js" : " ^8.42.0" ,
24
24
"eslint-plugin-eslint-comments" : " ^3.2.0" ,
25
- "eslint-plugin-jsdoc" : " ^38.1.6 " ,
25
+ "eslint-plugin-jsdoc" : " ^46.2.5 " ,
26
26
"eslint-plugin-n" : " ^16.0.0" ,
27
27
"eslint-plugin-unicorn" : " ^42.0.0"
28
28
},
You can’t perform that action at this time.
0 commit comments