@@ -6,6 +6,9 @@ const eslintCommentsPluginConfigs = require("@eslint-community/eslint-plugin-esl
66const unicorn = require ( "eslint-plugin-unicorn" ) ;
77
88// extends eslint recommended config
9+ /**
10+ * @type {import("eslint").Linter.Config[] }
11+ */
912const jsConfigs = [ js . configs . recommended , {
1013 name : "eslint-config-eslint/js" ,
1114 rules : {
@@ -142,6 +145,9 @@ const jsConfigs = [js.configs.recommended, {
142145} ] ;
143146
144147// extends eslint-plugin-jsdoc's recommended config
148+ /**
149+ * @type {import("eslint").Linter.Config[] }
150+ */
145151const jsdocConfigs = [ jsdoc . configs [ "flat/recommended" ] , {
146152 name : "eslint-config-eslint/jsdoc" ,
147153 settings : {
@@ -234,6 +240,9 @@ const jsdocConfigs = [jsdoc.configs["flat/recommended"], {
234240} ] ;
235241
236242// extends eslint-plugin-unicorn's config
243+ /**
244+ * @type {import("eslint").Linter.Config[] }
245+ */
237246const unicornConfigs = [ {
238247 name : "eslint-config-eslint/unicorn" ,
239248 plugins : { unicorn } ,
@@ -253,6 +262,9 @@ const unicornConfigs = [{
253262} ] ;
254263
255264// extends @eslint -community/eslint-plugin-eslint-comments's recommended config
265+ /**
266+ * @type {import("eslint").Linter.Config[] }
267+ */
256268const eslintCommentsConfigs = [ eslintCommentsPluginConfigs . recommended , {
257269 name : "eslint-config-eslint/eslint-comments" ,
258270 rules : {
@@ -262,6 +274,9 @@ const eslintCommentsConfigs = [eslintCommentsPluginConfigs.recommended, {
262274 }
263275} ] ;
264276
277+ /**
278+ * @type {import("eslint").Linter.Config[] }
279+ */
265280module . exports = [
266281 { name : "eslint-config-eslint/base" , linterOptions : { reportUnusedDisableDirectives : "error" } } ,
267282 ...jsConfigs ,
0 commit comments