update linting config

This commit is contained in:
Jelle van Snik 2022-05-02 17:35:34 +02:00
parent 1fd59b7ef2
commit 428e6eb958
2 changed files with 3 additions and 2 deletions

View File

@ -26,4 +26,4 @@ jobs:
run: yarn install run: yarn install
- name: Run linters - name: Run linters
run: yarn lint run: yarn lint:strict

View File

@ -27,7 +27,8 @@
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",
"build": "react-scripts build", "build": "react-scripts build",
"lint": "eslint --ext .tsx,.ts src" "lint": "eslint --ext .tsx,.ts src",
"lint:strict": "eslint --ext .tsx,.ts --max-warnings 0 src"
}, },
"browserslist": { "browserslist": {
"production": [ "production": [