meta: allow a maximum of 0 warnings for the lint script (as intended)
This commit is contained in:
parent
cc0e584f5b
commit
6e87ffc36c
|
@ -34,7 +34,7 @@
|
||||||
"test": "electron-mocha --config .mocharc.json",
|
"test": "electron-mocha --config .mocharc.json",
|
||||||
"coverage": "nyc npm run test",
|
"coverage": "nyc npm run test",
|
||||||
"prelint": "eslint-config-prettier src/main.ts",
|
"prelint": "eslint-config-prettier src/main.ts",
|
||||||
"lint": "eslint ./**/*.* --max-warnings 1",
|
"lint": "eslint ./**/*.* --max-warnings 0",
|
||||||
"lint:fix": "eslint ./**/*.* --fix",
|
"lint:fix": "eslint ./**/*.* --fix",
|
||||||
"prettier": "prettier -c **/*.*",
|
"prettier": "prettier -c **/*.*",
|
||||||
"prettier:fix": "prettier --write **/*.*",
|
"prettier:fix": "prettier --write **/*.*",
|
||||||
|
|
Loading…
Reference in New Issue