diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..d1244a7b --- /dev/null +++ b/.eslintignore @@ -0,0 +1,6 @@ +.github/ +.husky/ +.nyc_output/ +coverage/ +docs/ +node_modules/ diff --git a/package.json b/package.json index 9f8f7038..599b8ca7 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "fix:code": "yarn lint:code --fix", "fix:other": "yarn prettier --write", "lint": "yarn lint:types && yarn lint:code && yarn lint:other", - "lint:code": "eslint --ignore-path .gitignore --ext .js,.jsx,.ts,.tsx .", + "lint:code": "eslint --ext .js,.jsx,.ts,.tsx .", "lint:other": "yarn prettier --list-different", "lint:types": "tsc --noEmit", "postversion": "git push origin && git push origin --tags && npm publish",