From b603d4f21e6ed173ca3aa0274ce351a61993e8d3 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Mon, 4 Nov 2024 17:22:55 +0100 Subject: [PATCH] chore: add names to eslint config sections --- eslint.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eslint.config.js b/eslint.config.js index 9e1eff12..d99243d9 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',