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": [