Skip to content

Commit

Permalink
Merge pull request #89 from lucasrmendonca/patch-4
Browse files Browse the repository at this point in the history
fix: replace deprecated "env" property with "globals" for mocha config
  • Loading branch information
gajus authored Sep 9, 2024
2 parents ad5fb9c + 0dfb82c commit 0308d1f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions configurations/mocha.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
const globals = require('globals');

module.exports.recommended = {
env: {
mocha: true,
languageOptions: {
globals: globals.mocha,
},
plugins: {
mocha: require('eslint-plugin-mocha'),
Expand Down

0 comments on commit 0308d1f

Please sign in to comment.