Skip to content

Commit

Permalink
Merge pull request #86 from dpobel/proper-eslint
Browse files Browse the repository at this point in the history
Proper eslint configuration
  • Loading branch information
dpobel authored Dec 30, 2023
2 parents 818d916 + c133a8c commit 3ccc425
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
env: {
node: true,
commonjs: true,
es2021: true,
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "npm run lint && mocha tests",
"lint": "prettier -c . && eslint *.js"
"lint": "prettier -c . && eslint ."
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 3ccc425

Please sign in to comment.