mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Don't format md files by default
Since markdown files can be easily edited in the Github UI by non-tech people, we shouldn't fail the CI when they are not formatted with Prettier. We still want to format them "manually" form time to time, so a new command `yarn run format-docs` is added.
This commit is contained in:
parent
56c23a107b
commit
2983b4ecb1
1 changed files with 3 additions and 2 deletions
|
|
@ -57,8 +57,9 @@
|
|||
"clean": "rm -rf build/*",
|
||||
"dev": "sharetribe-scripts start",
|
||||
"build": "sharetribe-scripts build",
|
||||
"format": "prettier --write '**/*.{js,css,md}'",
|
||||
"format-ci": "prettier --list-different '**/*.{js,css,md}'",
|
||||
"format": "prettier --write '**/*.{js,css}'",
|
||||
"format-ci": "prettier --list-different '**/*.{js,css}'",
|
||||
"format-docs": "prettier --write 'docs/**/*.md'",
|
||||
"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