Skip to content

Commit

Permalink
Extend ESLint to cover test folder
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Aug 16, 2018
1 parent 29e3ada commit b5db990
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# Ignore compiled files
dist/*
test/dist/*
**/dist/*
**/node_modules/*
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"copy-styles": "node ./copy-styles.js",
"prepublishOnly": "yarn run build",
"test": "yarn run test-eslint && yarn run test-jest",
"test-eslint": "eslint --ext .jsx,.js src/",
"test-eslint": "eslint src/ test/ --ext .jsx,.js",
"test-jest": "jest",
"test-jest-coverage": "jest --coverage"
},
Expand Down

0 comments on commit b5db990

Please sign in to comment.