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:
Jakob Ackermann
2021-10-28 08:03:47 +00:00
committed by Copybot
parent 638fbd5510
commit 4b996c53d3
6 changed files with 14 additions and 6 deletions
+2 -1
View File
@@ -33,7 +33,8 @@
"sinon": "^9.0.2"
},
"scripts": {
"lint": "eslint --max-warnings 0 .",
"lint": "eslint --max-warnings 0 --format unix .",
"lint:fix": "eslint --fix .",
"test:unit": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/unit",
"test:acceptance": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/acceptance",
"test": "npm run test:unit && npm run test:acceptance",