chore: use prettier instead of lint:fix for 'npm run fix'
All checks were successful
Build / build (pull_request) Successful in 4m40s
All checks were successful
Build / build (pull_request) Successful in 4m40s
e.g., eslint can't fix prettier problems in .json files
This commit is contained in:
parent
96a15e25df
commit
ed7cc1afc8
@ -22,7 +22,7 @@
|
|||||||
"lint:fix": "eslint --fix --ext .ts .",
|
"lint:fix": "eslint --fix --ext .ts .",
|
||||||
"prettier": "prettier --write .",
|
"prettier": "prettier --write .",
|
||||||
"update-translations": "cd scripts && node update-translations.cjs",
|
"update-translations": "cd scripts && node update-translations.cjs",
|
||||||
"fix": "npm run update-translations && npm run lint:fix"
|
"fix": "npm run update-translations && npm run prettier"
|
||||||
},
|
},
|
||||||
"license": "GNU",
|
"license": "GNU",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user