Skip to content

Commit

Permalink
Configure ESLint using a JS file instead of JSON
Browse files Browse the repository at this point in the history
The file is meant to be written by humans.
  • Loading branch information
matthiask committed Jan 3, 2024
1 parent 075d38b commit a8290dd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .eslintrc.json → .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
module.exports = {
root: true,
"env": {
"browser": true,
"es6": true
"es6": true,
node: true,
},
"extends": "eslint:recommended",
"parserOptions": {
Expand All @@ -17,4 +19,4 @@
"prefer-const": "error",
"semi": "error"
}
}
};

0 comments on commit a8290dd

Please sign in to comment.