Commit Graph
17 Commits
Author SHA1 Message Date
fisker Cheung 822f354ceb Update docs (#13309) 2022-09-26 19:28:43 +08:00
c50f2bbe30 Please describe what prettier ignores by default (#12626)
Co-authored-by: Szymon Dzialowski <sdzialowski@godaddy.com>
Co-authored-by: Szymon Dzialowski <sdzialowski@gmail.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-04-12 17:47:07 +08:00
Georgii Dolzhykov 285c15ef08 docs: how to ignore files using negative patterns (#10400) 2021-02-24 21:47:07 +02:00
554b15473d Document recommended setup and improve docs overall (#8510)
Co-authored-by: Jed Fox <git@twopointzero.us>
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-06-28 09:47:29 +08:00
Georgii Dolzhykov a081bf812c Close simple docs related issues (#8289)
* close #7805

* close #5571

* close #5121

* partially address #8094
2020-05-12 16:00:28 +03:00
Brad Adams 70da4fa630 docs: fix broken links (#7919) 2020-04-01 03:25:17 +03:00
Chad Carbert aa248378e6 handlebars: Add prettier-ignore (#7275) 2020-01-20 12:19:09 +02:00
Brian Malehorn 9ee56cdcfd ignore.md: add link to gitignore docs (#6168)
Prettier uses the `ignore` package, which implements gitignore syntax.
So add a link to gitignore syntax.
2019-06-02 11:46:17 +02:00
Ika fa40f2ddd3 docs(blog): 1.15 release (#5296) 2018-11-07 09:09:04 +08:00
Karl Horky d5a2f391cd Add GraphQL example to ignore documentation (#4807) 2018-07-04 13:02:07 -03:00
Ika e9b7c7ff9b chore: fix 2 TODOs (#4591) 2018-05-29 22:05:25 +08:00
Ika 1b09fde361 feat(markdown): support top-level prettier-ignore-start/end (#4202)
* test: add tests

* feat(markdown): support top-level `prettier-ignore-start/end`

* docs(ignore): add range ignore
2018-03-27 00:03:28 +08:00
Rory O’Kane 2891db1a3c Make --ignore-path link more specific in docs (#3690) 2018-01-09 20:16:15 -02:00
Roger Sheen 5065608f73 Docs: Add info on ignore file to "Ignoring Code" (#3458)
* docs(ignore): mention ignore file in Ignoring Code

While working on #3321, I needed to ignore an entire file, but the "Ignoring Code" section of the docs only describes how to ignore blocks of code, so I wasn't aware of the default ignore file.

(The `.prettierignore` file is mentioned in the CLI section, but easily overlooked there.)

This commit extends the introduction sentence of the "Ignoring Code" section and adds a new subsection to explain how to ignore files.

https://github.com/prettier/prettier/issues/3321#issuecomment-350072566

* docs(cli): fix nesting error in heading hierarchy

The `--ignore-path` option currently appears as a third-level subsection of `--find-config-path` and `--config`, but this looks like an error.

This commit promotes the `--ignore-path` heading to the same (H2) level as the other CLI options.
2017-12-11 22:23:06 -02:00
Lucas Azzola c7c1d2e7a4 Upgrade Prettier to Prettier 1.9 (#3395)
* Upgrade to prettier@1.9.0

* Run eslint --fix

* Run prettylint --fix

* Fix playground with editorconfig script
2017-12-05 08:14:03 -02:00
Ika 76efb33e75 chore: setup markdown formatting (#3224)
* chore(deps): upgrade prettier to v1.8.2

* chore: setup lint-docs script

* docs: add `<!-- prettier-ignore -->`s

* docs: format docs

* Revert "docs: format docs"

This reverts commit 6dba903987dddc498cb589ca311905f25b6aee53.

* chore(prettierrc): set `--no-prose-wrap`

* docs: format docs

* Revert "docs: format docs"

This reverts commit 139bd744b6921916be8fac4fa3bab83bae5d12df.

* docs: tweak

* docs: format docs

* chore: rename .prettierrc

* chore: rename back to .prettierrc

* chore: split out third-party

* refactor: fix linting

* chore: do not split out third-party on website
2017-11-22 22:27:40 +11:00
Lucas Azzola 71a5533c4e Move all docs to website (#3139)
* Sync README -> docs/options.md

* Sync README -> docs/*.md

* Misc fixups

* Remove markdown-toc

* Remove insert-pragma from ToC

* Never again!

* Move all docs to ./docs

* Remove yarn toc

* Fix inter-doc links

* Fix links in footer

* Clean up README.md

* Add basic description to README.md

* Use flat badges

* Move editor guides to website

* Improve prettier-ignore docs

* Fixup bad find/replace

* Add JSON to README

* Fix custom parser API link

* Fixup GitHub centering, add downloads badge

* Add 1.8 docs

* docs(website): mention markdown on homepage (#1)

* Add intro

* Add watching-files.md

* Fix markdown syntax highlighting

* Switch back to .md links
2017-11-07 14:39:07 +11:00