diff --git a/.eslintrc.json b/.eslintrc.json index 829e919..1632975 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,5 +8,6 @@ "ecmaVersion": "latest", "sourceType": "module" }, - "extends": ["eslint:recommended", "prettier"] + "extends": ["eslint:recommended", "plugin:node/recommended", "prettier"], + "ignorePatterns": ["docs"] } diff --git a/package.json b/package.json index f26d4ca..5c1525e 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "devDependencies": { "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", + "eslint-plugin-node": "^11.1.0", "jsdoc": "^4.0.2", "npm-run-all": "^4.1.5", "prettier": "3.0.3",