feat(lint) treat warnings as errors

This commit is contained in:
Saúl Ibarra Corretgé 2021-11-26 09:14:23 +01:00 committed by Saúl Ibarra Corretgé
parent c5920bb8a5
commit 896e752113
1 changed files with 2 additions and 2 deletions

View File

@ -170,8 +170,8 @@
},
"license": "Apache-2.0",
"scripts": {
"lint": "eslint . && flow",
"lint-fix": "eslint --fix .",
"lint": "eslint --max-warnings 0 . && flow",
"lint-fix": "eslint --max-warnings 0 --fix .",
"postinstall": "patch-package && jetify",
"validate": "npm ls",
"start": "make dev",