Skip to content

Commit 066f321

Browse files
committed
Add yarn lint
1 parent 9a49645 commit 066f321

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
@@ -12,8 +12,9 @@
1212
"build": "yarn clean && BABEL_ENV=production babel --out-dir=dist lib/*.js",
1313
"clean": "rm -f dist/lib/*.js",
1414
"examples": "cd examples && BABEL_ENV=development babel --out-dir=dist *.js && cd ..",
15+
"lint": "./node_modules/.bin/eslint lib/*js test/*js examples/*js",
1516
"prepare": "yarn build",
16-
"test": "ava"
17+
"test": "yarn lint && ava"
1718
},
1819
"repository": {
1920
"type": "git",

0 commit comments

Comments
 (0)