mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
update linting config
This commit is contained in:
parent
1fd59b7ef2
commit
428e6eb958
2 changed files with 3 additions and 2 deletions
2
.github/workflows/linting.yml
vendored
2
.github/workflows/linting.yml
vendored
|
@ -26,4 +26,4 @@ jobs:
|
||||||
run: yarn install
|
run: yarn install
|
||||||
|
|
||||||
- name: Run linters
|
- name: Run linters
|
||||||
run: yarn lint
|
run: yarn lint:strict
|
||||||
|
|
|
@ -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": [
|
||||||
|
|
Loading…
Reference in a new issue