Skip to content

Commit

Permalink
feat: add name to flat configs
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Apr 8, 2024
1 parent a424b27 commit 301eb88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Object.assign(
Object.keys(configFilters).reduce((configs, configName) => {
return Object.assign(configs, {
[`flat/${configName}`]: {
name: `eslint-plugin/flat/${configName}`,
plugins: { 'eslint-plugin': plugin },
rules: Object.fromEntries(
Object.keys(allRules)
Expand Down

0 comments on commit 301eb88

Please sign in to comment.