Skip to content

Commit 4ca3a66

Browse files
committed
Add linting run script and run with tests
1 parent 9942929 commit 4ca3a66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "JSONAPI support for loopback",
55
"main": "lib/index.js",
66
"scripts": {
7-
"test": "mocha --reporter=spec ./test/**/*"
7+
"test": "npm run lint && mocha --reporter=spec ./test/**/*",
8+
"lint": "eslint ."
89
},
910
"repository": {
1011
"type": "git",

0 commit comments

Comments
 (0)