diff options
author | Eug-VS <eug-vs@keemail.me> | 2020-02-06 19:49:29 +0300 |
---|---|---|
committer | Eug-VS <eug-vs@keemail.me> | 2020-02-06 19:49:29 +0300 |
commit | 584ec386700fed0aa704819e55ae8d12ed265937 (patch) | |
tree | 6125158bdf2d94e04844da5dd9e6b67ff884eb4c | |
parent | d50ac5ba261d1da6f367bd0e9e02da11f9de5921 (diff) | |
download | react-benzin-584ec386700fed0aa704819e55ae8d12ed265937.tar.gz |
feat!: configure lint script to fail on warnings
-rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
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" |