Makes tsx files checked by the formatters.
This commit is contained in:
parent
0f449aa702
commit
6ad43c3f5c
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@
|
|||
"scripts": {
|
||||
"dev": "http-server ./ -p 7000 -c-1 --cors",
|
||||
"server": "http-server ./ -p 7000 --cors",
|
||||
"lint:check": "eslint **/*.mjs",
|
||||
"lint:fix": "eslint \"**/*.{js,mjs,jsx,ts}\" --fix",
|
||||
"lint:check": "eslint **/*.{js,mjs,jsx,ts,tsx}",
|
||||
"lint:fix": "eslint \"**/*.{js,mjs,jsx,ts,tsx}\" --fix",
|
||||
"pretty:check": "prettier --check ./",
|
||||
"pretty:fix": "prettier --write ./",
|
||||
"format": "npm run pretty:fix ; npm run lint:fix",
|
||||
|
|
|
|||
Loading…
Reference in a new issue