mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-26 23:09:16 +01:00
fix(scripts): add eslint to format:ts command
This commit is contained in:
parent
b38359f295
commit
4ff8389c92
@ -19,7 +19,7 @@
|
||||
"clean": "rimraf .cache public",
|
||||
"format": "npm run format:ts && npm run format:scss",
|
||||
"format:scss": "stylelint \"src/**/*.scss\" --fix",
|
||||
"format:ts": "prettier --write .",
|
||||
"format:ts": "eslint \"src\" --ext .tsx,.ts --fix && prettier --write .",
|
||||
"lint": "npm run lint:ts && npm run lint:scss",
|
||||
"lint:commit": "commitlint --edit",
|
||||
"lint:scss": "stylelint \"src/**/*.scss\"",
|
||||
|
Loading…
Reference in New Issue
Block a user