set eslint to fail on warnings

This commit is contained in:
Vyrtsev Mikhail
2019-04-20 18:54:23 +03:00
parent fa63b4bc70
commit 0a77baff89
+1 -1
View File
@@ -5,7 +5,7 @@
"build": "webpack --mode production",
"start": "webpack-dev-server --mode development",
"check": "tsc -p tsconfig.json --noEmit --skipLibCheck",
"lint": "eslint --ext=.ts,.tsx,.js,.jsx .",
"lint": "eslint --max-warnings=0 --ext=.ts,.tsx,.js,.jsx .",
"test": "jest",
"test:coverage": "jest --coverage",
"prettier": "prettier --write \"./**/*.{js,jsx,ts,tsx,scss}\""