mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Add scripts for running linting
This commit is contained in:
parent
3b3f967198
commit
325f91ed2e
2 changed files with 5 additions and 1 deletions
|
@ -222,6 +222,9 @@ ci:
|
|||
MOCHA_ARGS="--reporter tap" \
|
||||
$(MAKE) test
|
||||
|
||||
lint:
|
||||
npm -q run lint
|
||||
|
||||
.PHONY:
|
||||
all add install update test test_unit test_frontend test_acceptance \
|
||||
test_acceptance_start_service test_acceptance_stop_service \
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
"start": "npm -q run compile && node app.js",
|
||||
"nodemon": "nodemon --config nodemon.json",
|
||||
"nodemon:frontend": "nodemon --config nodemon.frontend.json",
|
||||
"webpack": "webpack-dev-server --config webpack.config.dev.js"
|
||||
"webpack": "webpack-dev-server --config webpack.config.dev.js",
|
||||
"lint": "eslint -f unix ."
|
||||
},
|
||||
"dependencies": {
|
||||
"archiver": "0.9.0",
|
||||
|
|
Loading…
Reference in a new issue