Merge pull request #5574 from overleaf/jpa-bulk-lint-format
[misc] set up bulk lint/format in dev-env GitOrigin-RevId: 6f7939c4c732bca72c9b658491e2c4c851c82b44
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
"scripts": {
|
||||
"test": "npm run lint && npm run format && npm run test:unit",
|
||||
"test:unit": "mocha",
|
||||
"lint": "eslint src test *.js",
|
||||
"lint": "eslint --max-warnings 0 --format unix .",
|
||||
"lint:fix": "eslint --fix .",
|
||||
"format": "prettier-eslint $PWD'/**/*.js' --list-different",
|
||||
"format:fix": "prettier-eslint $PWD'/**/*.js' --write",
|
||||
"test:ci": "npm run test:unit"
|
||||
|
||||
Reference in New Issue
Block a user