diff --git a/.eslintrc.js b/.eslintrc.js index 0bb6d1e..c1b1a64 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,6 @@ module.exports = { env: { + node: true, commonjs: true, es2021: true, }, diff --git a/package.json b/package.json index 093cf81..d4787ba 100644 --- a/package.json +++ b/package.json @@ -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",