From f52a8519722e77422fc0d89935b4f3d2fc889d17 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 24 Dec 2017 12:50:44 +0000 Subject: [PATCH] Use an .eslintignore file --- .eslintignore | 3 +++ package.json | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .eslintignore diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..3cfacf15 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,3 @@ +coverage +dist +packages/**/vendor/* diff --git a/package.json b/package.json index 65d328a1..b554dcde 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,7 @@ "fmt:cmd": "prettier --print-width=100 --single-quote --write", "jest": "jest --config ./scripts/jest/config.js", "lint": "yarn lint:check --fix", - "lint:check": "yarn lint:cmd packages scripts website", - "lint:cmd": "eslint --ignore-path .gitignore --ignore-pattern 'packages/**/vendor/*'", + "lint:check": "eslint packages scripts website", "precommit": "lint-staged", "release": "yarn test && yarn build && node ./scripts/release/publish.js && yarn docs:release", "test": "yarn flow && yarn lint:check && yarn jest"