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 Jun 13, 2024
1 parent a936f2a commit accabf4
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 accabf4

Please sign in to comment.