Skip to content

Commit

Permalink
Merge pull request #356 from voxpelli/patch-1
Browse files Browse the repository at this point in the history
Add name to flat configs
  • Loading branch information
lo1tuma authored Jul 29, 2024
2 parents a936f2a + accabf4 commit 7dd6952
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 7dd6952

Please sign in to comment.