Kai Cataldo
df45e12c5c
API: add resolveConfig option to getFileInfo() ( #6666 )
...
* Add useConfig option to getFileInfo()
* useConfig -> resolveConfig
2019-10-23 13:56:59 +02:00
fisker Cheung
3dbe4b2038
Docs: add link to `devDependencies` ( #6682 )
2019-10-18 10:36:24 +02:00
Sosuke Suzuki
60d6f139a9
Docs: update docs to follow #6665 ( #6670 )
2019-10-16 18:53:01 +02:00
Georgii Dolzhykov
f8a4a61a62
fix typos ( #6642 )
2019-10-13 21:51:58 +02:00
David Lechner
1435b2756c
docs/configuration: specify order of precedence ( #6638 )
...
This updates the docs to show the search order of the config files.
Order comes from: 3805034bdf/src/config/resolve-config.js (L35-L44)
2019-10-12 19:26:07 +02:00
Evilebot Tnawi
6d4d6a7599
revert: `--only-changed` argument ( #6594 )
2019-10-03 11:21:05 -03:00
Sosuke Suzuki
1aef2b13f4
Website: Update documentation of `resolveConfigFile` ( #6568 )
2019-10-02 17:34:58 +02:00
Andrew Powell
84e7866896
docs: add prettier-plugin-package to community plugins ( #6463 )
2019-09-28 15:22:18 +02:00
Simon Lydell
2827543154
Improve overrides documentation ( #6416 )
...
Refs. #6415 .
2019-08-27 07:09:12 +02:00
Shinigami
2f40dba317
Remove alpha from plugin pug ( #6408 )
2019-08-21 19:18:04 +02:00
Beau Fabry
2314640485
include renames in git pre-commit hook ( #6371 )
2019-08-15 12:34:19 +03:00
Simon Lydell
26c835c60c
Update option philosophy ( #6387 )
...
... to more closely align with what we’ve learned the past 3 years.
Note: These are not my personal opinions. It’s my attempt at distilling
internal core discussions into a short document.
2019-08-12 18:25:45 +03:00
Kepler Sticka-Jones
e773cfbf12
docs: add jest-runner-prettier to related projects ( #6383 )
2019-08-12 10:39:08 -03:00
Dirk Schürjohann
6d6d57f2a4
docs: webstorm info on how to watch partials ( #6384 )
...
Since file watchers ignore partials like `_component.scss` (underscore!) when imported in some `main.scss`, they won’t be prettified. Use the `COMPILE_PARTIAL=true` environment variable to also watch and prettify partials.
2019-08-12 10:38:42 -03:00
kamilic
7d0175ca90
feat: implement --vue-indent-script-and-style mentioned at pr-#… ( #6157 )
...
* feat: implement --vue-indent-script-and-style mentioned at pr-#6077
* docs: --vue-indent-script-and-style
* update new test case
* feat: playground for --vue-indent-script-and-style
* chores: Revert package.json version
* Remove noisy snapshots
2019-08-01 11:06:12 +02:00
Niklas Higi
788bd7afcd
Link to `fast-glob` instead of `glob` in docs ( #6333 )
2019-07-28 09:43:06 +03:00
Gabriel Harel
6fae09b67e
Add --only-changed flag to CLI ( #5910 )
2019-07-22 11:17:24 -03:00
Alexander Kachkaev
26b55a7e33
Add prettier-plugin-packagejson to docs ( #6314 )
2019-07-20 20:43:11 +02:00
Liam Stupid Name Humphreys
9c8d920c17
add Kotlin plugin to plugins doc ( #6309 )
...
* add kotlin-plugin to plugins doc
* maintain alphabetic order in plugins list
* maintain alphabetic order in plugins list
2019-07-18 10:54:39 -04:00
Bruno Quaresma
da0c6faeda
Add ES modules instructions in browser docs ( #6268 )
...
* Add ES6 instructions in browser docs
* Change ES6 to ES6 Modules in browser docs
Co-Authored-By: Jed Fox <git@twopointzero.us>
* Run prettier --write docs/browser.md
2019-07-05 07:41:07 +02:00
Shinigami
9721f88337
Update docs - Plugin pug official ( #6267 )
...
* Change link
* Add to website
2019-07-03 17:46:20 -04:00
Shinigami
5ceb4858ee
Remove not publish from plugin pug ( #6258 )
2019-07-01 13:10:45 +02:00
Lipis
d628d8cd79
Remove Python plugin ( #6255 )
2019-06-28 23:21:53 +02:00
Shinigami
f9c4ca7b38
Add Pug plugin to the list of plugins ( #6246 )
...
ref #6245
2019-06-24 07:29:35 -04: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
James George
ed15b6d04e
Add exit code information to cli docs ( #6049 )
...
* Update docs 👍
Add information regarding exit codes to the cli docs
* Markdown fix 🚧
Docs linting fixes
* Remove extraneous whitespace
2019-04-16 07:40:11 -04:00
Ben Scott
4f6f43dec1
Add stylelint integration docs ( #5153 )
...
* Add stylelint integration docs
* Add an "Integrating With Linters" docs page
This replaces the eslint page
* PR Feedback
* Update docs/integrating-with-linters.md
Co-Authored-By: BPScott <227292+BPScott@users.noreply.github.com>
2019-04-08 08:32:24 +02:00
Lucas Azzola
f32b289032
Support shared Prettier configuration ( #5963 )
...
* Support external configuration
* Document changes
* Update existing snapshots
* Update existing snapshots (2)
* Fix typo in docs
* Add example config repo
2019-03-13 09:34:51 +11:00
Andrey Okonetchnikov
8a8b88f2e6
docs: Add simplified installation instructions for lint-staged ( #5911 )
...
* docs: Add simplified installation instructions for lint-staged
Currently, to install and configure lint-staged you'd need to manually install all packaged and modify the `package.json`.
With `mrm` it's done automatically depending on what version of Prettier is installed and specified in project's dependencies.
* docs: Update according to feedback
* Update docs/precommit.md
Co-Authored-By: okonet <okonet@users.noreply.github.com>
2019-03-12 12:01:13 -04:00
Hugo Alliaume
b38319740a
feat: autoload plugins that are located in `@*/prettier-plugin-* ( #5945 )
...
* add tests
* implement the feature
* update docs
* update changelog
* typo
2019-03-10 20:34:04 +11:00
Lucas Azzola
f526c47b1e
Add an option to modify when Prettier quotes object properties ( #5934 )
...
* Implement quote-props=preserve
* Implement quote-props=consistent
* Add tests
* Enable quoteProps in playground
* Add documentation
* Cache objectHasStringProp calculations
* Fixup changelog
2019-03-06 20:33:08 +11:00
Alan Foster
723a047b91
Remove archived prettier for ruby ( #5906 )
...
https://github.com/iamsolankiamit/prettier-ruby has now been archived and deprecated in favour of https://github.com/prettier/plugin-ruby
Original PR: https://github.com/prettier/prettier/pull/5841
**✨ [Try the playground for this PR](https://prettier.io/playground-redirect )✨ **
2019-02-26 12:00:51 +01:00
jgconway
429da4bc52
Fix spelling/grammar mistakes ( #5873 )
2019-02-16 09:50:56 +01:00
Kevin Deisz
d0dd0329f2
Add @prettier/plugin-ruby package to docs ( #5841 )
...
* Add prettier-ruby package
* Move into the prettier repo
2019-02-08 12:41:36 -05:00
Alon Bukai
bf389fb48e
fix: grammar `if it get` -> `if it goes` ( #5835 )
...
Another possible option is `if it gets`
<!-- Please provide a brief summary of your changes: -->
<!-- Please ensure you’ve done all of these things (if applicable). -->
<!-- You can replace the `[ ]` with `[x]` to mark each task as done. -->
- [ ] I’ve added tests to confirm my change works.
- [ ] (If changing the API or CLI) I’ve documented the changes I’ve made (in the `docs/` directory)
- [ ] (If not an internal change) I’ve added my changes to the `CHANGELOG.unreleased.md` file following the template.
- [x] I’ve read the [contributing guidelines](https://github.com/prettier/prettier/blob/master/CONTRIBUTING.md ).
**✨ [Try the playground for this PR](https://prettier.io/playground-redirect )✨ **
2019-02-06 21:31:47 +11:00
Shahar Soel
038b0d8e85
Update plugins.md ( #5829 )
...
- Added link to toml prettier plugin (alpha version released).
- Changed link and owner of Java plugin as it was moved to the Jhipster org.
2019-02-06 12:07:17 +11:00
James Birtles
ca43aad88a
Add svelte plugin to plugins page ( #5827 )
2019-02-04 09:57:18 +08:00
Nathan Totten
a093bb3f7b
Adds LWC Parser to support unquoted interop attributes ( #5800 )
...
This pull requests adds a new parser option `lwc`. This is the same as the HTML parser, but it adds support for unquoted HTML attributes per the needs of LWC. See: #5627
2019-02-01 13:58:50 +08:00
Franco Victorio
1802ce1d9d
Add tutorials section to plugins doc ( #5805 )
2019-01-30 14:11:03 +08:00
James Henry
1143619600
chore: update typescript-estree to new package name ( #5799 )
2019-01-28 19:46:51 -05:00
Simon Knox
737884341d
Update ext install command to match readme ( #5784 )
...
The previous command opened a list of forks and projects with the same name, it wasn't clear which one to install
2019-01-22 00:27:31 +08:00
Jimmy Gaussen
a8d423b18c
docs: remove redundant "./" from relative links ( #5741 )
...
Fixes #5740
fixed with `sed -i "s#(\./#(#" docs/*.md website/versioned_docs/version-stable/*.md`
2019-01-10 12:06:41 -02:00
m-adler
e83490a90e
Escape spaces within file names in pre-commit hook script ( #5721 )
2019-01-07 23:30:20 -07:00
Franco Victorio
14730106db
Add solidity plugin to list of plugins ( #5726 )
2019-01-07 07:57:09 +08:00
Ika
7c4cebeaa5
feat: add babel-flow ( #5685 )
2018-12-29 21:35:47 +08:00
Wei-Wei Wu
91c20f7fbe
Rename "babylon" with "babel" ( #5647 )
2018-12-27 21:05:19 +08:00
Alexander Kachkaev
a18d80253a
Restore --check option docs ( #5674 )
2018-12-25 16:01:02 +08:00
Alexander Kachkaev
439b1649ff
Temporary remove --check docs until 1.16 is released to avoid confusion ( #5671 )
...
Context: https://github.com/prettier/prettier/pull/5629#issuecomment-448933238
2018-12-21 06:27:17 -05:00
Alexander Kachkaev
711c6d78a8
Add --check option ( #5629 )
2018-12-19 22:03:30 +08:00
Ernesto García
cd141c5347
Fix incorrect grammar ( #5626 )
...
* Fix incorrect grammar
* Update docs/rationale.md
Co-Authored-By: gnapse <gnapse@gmail.com>
2018-12-11 14:10:11 -05:00