1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

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