Skip to content

Commit 998b2e9

Browse files
colebemisCole Bemis
authored andcommitted
chore: Add lint script
1 parent 0e70a99 commit 998b2e9

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
src_files := src/*.js
22
src_dir := src
33

4-
.PHONY: all build
4+
.PHONY: all lint build
55

6-
all: build
6+
all: lint build
7+
8+
lint: dist/icons.json
9+
./node_modules/.bin/eslint .
710

811
build: dist/feather.js dist/feather.min.js
912

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"dist"
88
],
99
"scripts": {
10+
"all": "make",
11+
"lint": "make lint",
1012
"build": "make build",
1113
"commitmsg": "validate-commit-msg",
1214
"cm": "git-cz",

0 commit comments

Comments
 (0)