Skip to content

Commit

Permalink
Add "env": [ "mocha" ] to standard
Browse files Browse the repository at this point in the history
Avoids, e.g.

test/functional/index.js:250:7: 'afterEach' is not defined.
  • Loading branch information
rgarner committed Nov 19, 2023
1 parent 84909c6 commit 84f5558
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
"iOS >= 9"
],
"standard": {
"parser": "babel-eslint"
"parser": "babel-eslint",
"env": [ "mocha" ]
}
}

0 comments on commit 84f5558

Please sign in to comment.