Skip to content

Commit

Permalink
chore: add names to eslint config sections
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored and JounQin committed Jan 16, 2025
1 parent 3f527c5 commit b603d4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand All @@ -21,6 +22,7 @@ module.exports = [
eslintPluginMdx.flatCodeBlocks,
eslintPluginPrettierRecommended,
{
name: 'eslint-plugin overrides',
rules: {
'eslint-plugin/report-message-format': ['error', '^[^a-z].*\\.$'],
},
Expand All @@ -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',
Expand Down

0 comments on commit b603d4f

Please sign in to comment.