From 428e6eb95804d455af3944c825db092a2673023c Mon Sep 17 00:00:00 2001 From: Jelle van Snik Date: Mon, 2 May 2022 17:35:34 +0200 Subject: [PATCH] update linting config --- .github/workflows/linting.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 6f02b962..4120bd3c 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -26,4 +26,4 @@ jobs: run: yarn install - name: Run linters - run: yarn lint + run: yarn lint:strict diff --git a/package.json b/package.json index c706ce7f..eba69296 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "scripts": { "start": "react-scripts start", "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": { "production": [