Skip to content

Commit

Permalink
Lint top-level directory
Browse files Browse the repository at this point in the history
Ensures errors in e.g. webpack.config.js are flagged
  • Loading branch information
aduth committed Mar 24, 2017
1 parent fa8cd1c commit e161dca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
build
docs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"test-unit": "cross-env NODE_ENV=test webpack && mocha build --require bootstrap-test.js",
"build": "cross-env NODE_ENV=production webpack",
"lint": "eslint editor blocks element",
"lint": "eslint .",
"dev": "webpack --watch",
"test": "npm run lint && npm run test-unit"
},
Expand Down

0 comments on commit e161dca

Please sign in to comment.