diff --git a/web3.js/.eslintignore b/web3.js/.eslintignore index e69de29bb2..e17bf5e6ed 100644 --- a/web3.js/.eslintignore +++ b/web3.js/.eslintignore @@ -0,0 +1,3 @@ +/doc +/flow-typed +/lib diff --git a/web3.js/package.json b/web3.js/package.json index a52630ed94..e511e8ab8f 100644 --- a/web3.js/package.json +++ b/web3.js/package.json @@ -33,7 +33,7 @@ "codecov": "npm run test:cover && cat ./coverage/lcov.info | codecov", "flow": "flow-typed install jest@22 && flow", "flow:watch": "watch 'flow' . --wait=1 --ignoreDirectoryPattern=/doc/", - "lint": "eslint src test examples", + "lint": "eslint .", "lint:fix": "npm run lint --fix", "lint:watch": "watch 'npm run lint:fix' . --wait=1 --ignoreDirectoryPattern=/doc/", "prepublish": "npm run clean && npm run test && npm run flow && npm run lint && npm run doc && npm run build"