mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-25 20:31:49 +01:00
update linting config
This commit is contained in:
parent
1fd59b7ef2
commit
428e6eb958
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 New Issue
Block a user