feat(lint) treat warnings as errors
This commit is contained in:
parent
c5920bb8a5
commit
896e752113
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue