diff --git a/eslint.config.js b/eslint.config.js index 9e1eff1..d99243d 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -11,6 +11,7 @@ module.exports = [ // eslint-community/eslint-comments does not expose a reusable flat config, // so create one from its legacy config { + name: '@eslint-community/eslint-comments', plugins: { '@eslint-community/eslint-comments': eslintPluginEslintComments, }, @@ -21,6 +22,7 @@ module.exports = [ eslintPluginMdx.flatCodeBlocks, eslintPluginPrettierRecommended, { + name: 'eslint-plugin overrides', rules: { 'eslint-plugin/report-message-format': ['error', '^[^a-z].*\\.$'], }, @@ -29,6 +31,7 @@ module.exports = [ // If a config block only contains an `ignores` key, then the globs are // ignored globally { + name: 'global ignores', ignores: [ 'CHANGELOG.md', '.github/ISSUE_TEMPLATE.md', diff --git a/recommended.js b/recommended.js index e20a959..2e8885e 100644 --- a/recommended.js +++ b/recommended.js @@ -4,6 +4,7 @@ const eslintPluginPrettier = require('./eslint-plugin-prettier'); // Merge the contents of eslint-config-prettier into every module.exports = { ...eslintConfigPrettier, + name: 'prettier/recommended', plugins: { ...eslintConfigPrettier.plugins, prettier: eslintPluginPrettier,