Browse Source

update linting config

pull/76/head
Jelle van Snik 3 years ago
parent
commit
428e6eb958
  1. 2
      .github/workflows/linting.yml
  2. 3
      package.json

2
.github/workflows/linting.yml

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

3
package.json

@ -27,7 +27,8 @@ @@ -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": [

Loading…
Cancel
Save