Skip to content

Commit

Permalink
style: Move mocha env directive to only apply during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyJones committed Dec 22, 2022
1 parent 2c170b5 commit 4374416
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"airbnb-typescript/base",
"prettier"
],
"env": {
"mocha": true
},
"settings": {
"import/resolver": {
"typescript": {
Expand Down Expand Up @@ -41,6 +38,9 @@
{
"files": ["**/*.spec.ts"],
"extends": ["plugin:mocha/recommended"],
"env": {
"mocha": true
},
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off",
Expand Down

0 comments on commit 4374416

Please sign in to comment.