Skip to content

Commit 32e95e9

Browse files
committed
add makefile
1 parent b276f17 commit 32e95e9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

ui/Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
CHECKDIRS := src
2+
3+
4+
# Run checks on all files for the repo
5+
quality:
6+
@echo "Running quality checks";
7+
@# Run eslint checks
8+
npx eslint --max-warnings 10 $(CHECKDIRS)
9+
@# Run TypeScript checks
10+
npx tsc --noEmit
11+
12+
# Style the code according to accepted standards for the repo
13+
style:
14+
@echo "Running styling";
15+
@# Auto fix any eslint issues
16+
npx eslint --fix $(CHECKDIRS)

0 commit comments

Comments
 (0)