@@ -137,7 +137,7 @@ const index = {
137
137
/**
138
138
* @param {"warn"|"error" } warnOrError
139
139
* @param {string } [flatName]
140
- * @returns {import('eslint').Linter.FlatConfig }
140
+ * @returns {import('eslint').Linter.Config }
141
141
*/
142
142
const createRecommendedRuleset = ( warnOrError , flatName ) => {
143
143
return {
@@ -216,7 +216,7 @@ const createRecommendedRuleset = (warnOrError, flatName) => {
216
216
/**
217
217
* @param {"warn"|"error" } warnOrError
218
218
* @param {string } [flatName]
219
- * @returns {import('eslint').Linter.FlatConfig }
219
+ * @returns {import('eslint').Linter.Config }
220
220
*/
221
221
const createRecommendedTypeScriptRuleset = ( warnOrError , flatName ) => {
222
222
const ruleset = createRecommendedRuleset ( warnOrError , flatName ) ;
@@ -244,7 +244,7 @@ const createRecommendedTypeScriptRuleset = (warnOrError, flatName) => {
244
244
/**
245
245
* @param {"warn"|"error" } warnOrError
246
246
* @param {string } [flatName]
247
- * @returns {import('eslint').Linter.FlatConfig }
247
+ * @returns {import('eslint').Linter.Config }
248
248
*/
249
249
const createRecommendedTypeScriptFlavorRuleset = ( warnOrError , flatName ) => {
250
250
const ruleset = createRecommendedRuleset ( warnOrError , flatName ) ;
@@ -267,7 +267,7 @@ const createStandaloneRulesetFactory = (ruleNames) => {
267
267
/**
268
268
* @param {"warn"|"error" } warnOrError
269
269
* @param {string } [flatName]
270
- * @returns {import('eslint').Linter.FlatConfig }
270
+ * @returns {import('eslint').Linter.Config }
271
271
*/
272
272
return ( warnOrError , flatName ) => {
273
273
return {
@@ -411,7 +411,7 @@ index.configs['flat/stylistic-typescript-error'] = createStylisticTypeScriptRule
411
411
index . configs [ 'flat/stylistic-typescript-flavor' ] = createStylisticTypeScriptFlavorRuleset ( 'warn' , 'flat/stylistic-typescript-flavor' ) ;
412
412
index . configs [ 'flat/stylistic-typescript-flavor-error' ] = createStylisticTypeScriptFlavorRuleset ( 'error' , 'flat/stylistic-typescript-error-flavor' ) ;
413
413
414
- index . configs . examples = /** @type {import('eslint').Linter.FlatConfig [] } */ ( [
414
+ index . configs . examples = /** @type {import('eslint').Linter.Config [] } */ ( [
415
415
{
416
416
files : [
417
417
'**/*.js' ,
@@ -465,7 +465,7 @@ index.configs.examples = /** @type {import('eslint').Linter.FlatConfig[]} */ ([
465
465
} ,
466
466
] ) ;
467
467
468
- index . configs [ 'default-expressions' ] = /** @type {import('eslint').Linter.FlatConfig [] } */ ( [
468
+ index . configs [ 'default-expressions' ] = /** @type {import('eslint').Linter.Config [] } */ ( [
469
469
{
470
470
files : [
471
471
'**/*.js' ,
@@ -502,7 +502,7 @@ index.configs['default-expressions'] = /** @type {import('eslint').Linter.FlatCo
502
502
} ,
503
503
] ) ;
504
504
505
- index . configs [ 'examples-and-default-expressions' ] = /** @type {import('eslint').Linter.FlatConfig [] } */ ( [
505
+ index . configs [ 'examples-and-default-expressions' ] = /** @type {import('eslint').Linter.Config [] } */ ( [
506
506
{
507
507
name : 'jsdoc/examples-and-default-expressions' ,
508
508
plugins : {
0 commit comments