projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add vim-lastplace
[webi-installers/.git]
/
prettier
/
README.md
diff --git
a/prettier/README.md
b/prettier/README.md
index 2eb64ed1116c4750bdfbc03c0c02dcd060f461a5..b54347f5cf7cc593c054bd6e0c3f5042f3bc83fb 100644
(file)
--- a/
prettier/README.md
+++ b/
prettier/README.md
@@
-20,13
+20,13
@@
npm install -g prettier@latest
Prettify all web files in a project, recursively:
```bash
Prettify all web files in a project, recursively:
```bash
-prettier --write '**/*{.md,.js,.html,.css}'
--ignore ./dist
+prettier --write '**/*{.md,.js,.html,.css}'
```
Tell Prettier which files to ignore every time
```bash
```
Tell Prettier which files to ignore every time
```bash
-echo "
./dist
" >> .prettierignore
+echo "
dist/
" >> .prettierignore
```
Tell Prettier which settings to use - do NOT use `package.json` when it's not
```
Tell Prettier which settings to use - do NOT use `package.json` when it's not