From 584ec386700fed0aa704819e55ae8d12ed265937 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Thu, 6 Feb 2020 19:49:29 +0300 Subject: feat!: configure lint script to fail on warnings --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 0ad0d02..8755a79 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ ], "scripts": { "start": "react-scripts start", - "lint": "eslint . --ext ts,tsx", + "lint": "eslint . --ext ts,tsx --max-warnings 0", "test": "npm run lint && tsc", "build": "rm -rf dist && tsc --project ts-compile-config.json", "deploy": "npm run lint && npm run build && npm publish --public" -- cgit v1.2.3