mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
Add better lint checking.
Summary: Make the lint checker check more files. Also, make arc run the linter. Test Plan: - `arc lint` - `make lint` Reviewers: kevinb, alpert Reviewed By: alpert Differential Revision: https://phabricator.khanacademy.org/D17509
This commit is contained in:
2
Makefile
2
Makefile
@@ -12,7 +12,7 @@ export UGLIFYJS = $(realpath ./node_modules/.bin/uglifyjs) \
|
||||
setup:
|
||||
npm install
|
||||
|
||||
lint: katex.js $(wildcard src/*.js)
|
||||
lint: katex.js server.js cli.js $(wildcard src/*.js) $(wildcard test/*.js) $(wildcard contrib/*/*.js)
|
||||
./node_modules/.bin/jshint $^
|
||||
|
||||
build/katex.js: katex.js $(wildcard src/*.js)
|
||||
|
Reference in New Issue
Block a user