Skip to content

Commit

Permalink
prepare linting examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mashpie committed Aug 19, 2020
1 parent 438ecdc commit 4932119
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ test: clean
cover:
npm run test-ci

lint:
npm run lint

.PHONY: test examples
6 changes: 6 additions & 0 deletions examples/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
env: {
node: true,
mocha: true
}
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"node": ">=0.10.0"
},
"scripts": {
"jshint": "jshint --verbose .",
"lint": "eslint '**/*.js' --fix",
"test": "mocha --exit",
"test-ci": "istanbul cover mocha -- --exit"
Expand Down

0 comments on commit 4932119

Please sign in to comment.