File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default index;
17
17
* mergeSettings?: boolean,
18
18
* config?: `flat/${import('./index-cjs.js').ConfigGroups}${import('./index-cjs.js').ConfigVariants}${import('./index-cjs.js').ErrorLevelVariants}`,
19
19
* settings?: Partial<import('./iterateJsdoc.js').Settings>,
20
- * rules?: {[key in keyof import('./rules.d.ts').Rules]?: ["error"|"warn"|"off", ... import('./rules.d.ts').Rules[key]] }
20
+ * rules?: {[key in keyof import('./rules.d.ts').Rules]?: import('eslint').Linter.RuleEntry< import('./rules.d.ts').Rules[key]> }
21
21
* }
22
22
* ) => import('eslint').Linter.Config)}
23
23
*/
Original file line number Diff line number Diff line change @@ -540,7 +540,7 @@ export default index;
540
540
* mergeSettings?: boolean,
541
541
* config?: `flat/${ConfigGroups}${ConfigVariants}${ErrorLevelVariants}`,
542
542
* settings?: Partial<import('./iterateJsdoc.js').Settings>,
543
- * rules?: {[key in keyof import('./rules.d.ts').Rules]?: ["error"|"warn"|"off", ... import('./rules.d.ts').Rules[key]] }
543
+ * rules?: {[key in keyof import('./rules.d.ts').Rules]?: import('eslint').Linter.RuleEntry< import('./rules.d.ts').Rules[key]> }
544
544
* }
545
545
* ) => import('eslint').Linter.Config)}
546
546
*/
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ describe('jsdoc()', () => {
16
16
17
17
it ( 'Builds simple plugins config with rules' , ( ) => {
18
18
/* eslint-disable jsdoc/valid-types -- Bug */
19
- const rules = /** @type {{[key in keyof import('../src/rules.d.ts').Rules]?: ["error"|"warn"|"off", ... import('../src/rules.d.ts').Rules[key]] } } */ ( {
19
+ const rules = /** @type {{[key in keyof import('../src/rules.d.ts').Rules]?: import('eslint').Linter.RuleEntry< import('../src/rules.d.ts').Rules[key]> } } */ ( {
20
20
/* eslint-enable jsdoc/valid-types -- Bug */
21
21
'jsdoc/check-alignment' : [
22
22
'error' ,
You can’t perform that action at this time.
0 commit comments