Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Added NodeJS as a global ESLint variable to avoid false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed May 5, 2023
1 parent c3fea6d commit 8487029
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"project": ["./tsconfig.json"]
},
"globals": {
"JSX": "readonly"
"JSX": "readonly",
"NodeJS": "readonly"
},
"extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/strict", "plugin:jsx-a11y/strict", "airbnb"],
"plugins": ["@typescript-eslint"],
Expand Down

0 comments on commit 8487029

Please sign in to comment.