Skip to content

Commit

Permalink
Add name to flat configs
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli authored and lo1tuma committed Jul 29, 2024
1 parent 883930c commit 6c43a85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,13 @@ const mod = {

mod.configs.flat = {
all: {
name: 'mocha/all',
plugins: { mocha: mod },
languageOptions: { globals: globals.mocha },
rules: allRules
},
recommended: {
name: 'mocha/recommended',
plugins: { mocha: mod },
languageOptions: { globals: globals.mocha },
rules: recommendedRules
Expand Down

0 comments on commit 6c43a85

Please sign in to comment.