mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #7092 from overleaf/mf-prettier-ts-tsx
[web] add ts and tsx extension to the prettier scripts and execute it GitOrigin-RevId: 22d1bcff978b46664668ea93462271ec4a2dddfe
This commit is contained in:
parent
65e71714b8
commit
0dcdc511a9
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@
|
|||
"webpack": "webpack-dev-server --config webpack.config.dev.js",
|
||||
"webpack:production": "webpack --config webpack.config.prod.js",
|
||||
"webpack:profile": "webpack --config webpack.config.prod.js --profile --json > stats.json",
|
||||
"format": "prettier --list-different $PWD/'**/*.js'",
|
||||
"format:fix": "prettier --write $PWD/'**/*.js'",
|
||||
"format": "prettier --list-different $PWD/'**/*.{js,ts,tsx}'",
|
||||
"format:fix": "prettier --write $PWD/'**/*.{js,ts,tsx}'",
|
||||
"format:styles": "prettier --list-different $PWD/'**/*.less'",
|
||||
"format:styles:fix": "prettier --write $PWD/'**/*.less'",
|
||||
"lint": "eslint --max-warnings 0 --format unix .",
|
||||
|
|
Loading…
Reference in a new issue