Commit 998b2e9a authored by Cole Bemis's avatar Cole Bemis Committed by Cole Bemis

chore: Add lint script

parent 0e70a99e
src_files := src/*.js src_files := src/*.js
src_dir := src src_dir := src
.PHONY: all build .PHONY: all lint build
all: build all: lint build
lint: dist/icons.json
./node_modules/.bin/eslint .
build: dist/feather.js dist/feather.min.js build: dist/feather.js dist/feather.min.js
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
"dist" "dist"
], ],
"scripts": { "scripts": {
"all": "make",
"lint": "make lint",
"build": "make build", "build": "make build",
"commitmsg": "validate-commit-msg", "commitmsg": "validate-commit-msg",
"cm": "git-cz", "cm": "git-cz",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment