mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Add subdir wildcards explicitly in the glob pattern
Prettier has an open bug where it doesn't correctly handle the globstart pattern: https://github.com/jlongster/prettier/issues/145 Listing the subdir globstars explicitly (to a deep enough level) fixes this for now.
This commit is contained in:
parent
b379cc03b2
commit
a1236c66a8
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@
|
|||
"clean": "rm -rf build/*",
|
||||
"dev": "sharetribe-scripts start",
|
||||
"build": "sharetribe-scripts build",
|
||||
"prettier": "prettier --write --print-width 100 --single-quote --trailing-comma src/**/*.js server/*.js",
|
||||
"prettier": "prettier --write --print-width 100 --single-quote --trailing-comma server/*.js src/*.js src/**/*.js src/**/**/*.js",
|
||||
"test": "sharetribe-scripts test --env=jsdom",
|
||||
"test-ci": "sharetribe-scripts test --env=jsdom --runInBand",
|
||||
"eject": "sharetribe-scripts eject",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue