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-27 11:50:17 +02:00
committed by Copybot
parent 638fbd5510
commit 4b996c53d3
6 changed files with 14 additions and 6 deletions

View File

@@ -11,7 +11,8 @@
"repository": "github:overleaf/redis-wrapper",
"license": "ISC",
"scripts": {
"lint": "eslint --max-warnings 0 .",
"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": "mocha --recursive test/unit/src/",