diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..b9470778 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,2 @@ +node_modules/ +dist/ diff --git a/bids-validator/.eslintrc.json b/.eslintrc.json similarity index 100% rename from bids-validator/.eslintrc.json rename to .eslintrc.json diff --git a/package.json b/package.json index 68efc9d2..892d0a9d 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ "bids-validator-web" ], "scripts": { - "lint": "./node_modules/eslint/bin/eslint.js ./bids-validator/**/*.js", - "coverage": "./node_modules/.bin/jest --coverage", - "codecov": "./node_modules/.bin/codecov", + "lint": "eslint \"./bids-validator/**/*.js\"", + "coverage": "jest --coverage", + "codecov": "codecov", "test": "node bids-validator/bin/test-submodule-exists && jest", "postversion": "lerna version prerelease --preid dev --ignore-scripts --yes --force-publish=*", "prepublishOnly": "npm run prepublishOnly -w bids-validator",