Georgii Dolzhykov
37a7e9cd42
Merge branch 'master' into next
2020-01-22 14:55:22 +02:00
Chad Carbert
aa248378e6
handlebars: Add prettier-ignore ( #7275 )
2020-01-20 12:19:09 +02:00
Georgii Dolzhykov
7e3c0c73b3
Merge branch 'master' into next
2020-01-14 20:36:21 +02:00
Jed Fox
0a5ace2c25
Remove the beta label from the plugin docs ( #5594 )
2020-01-10 03:18:46 +02:00
Panayiotis Lipiridis
35fe9ccada
Merge with master
2020-01-08 14:43:19 +02:00
Christian Boehlke
7537f21b1b
docs: Fix broken links ( #7222 )
2020-01-05 18:37:26 +02:00
Ahmad Al Maaz
f280cc13b5
Fixed ALE installation instruction ( #7166 )
...
* Fixed ALE installation instruction
Since the author of the Vim plugin ALE moved the repository to an organization account, the command used to download the plugin has changed from `Plug 'w0rp/ale'` to `Plug 'dense-analysis/ale'`
* Fixed ALE urls
Fixed all ALE urls in this document
2019-12-23 16:32:44 +02:00
fisker Cheung
791996df7b
Set trailingComma default value to es5 ( #6963 )
...
* Set `trailingComma` default value to `es5`
* Update `options` documentation
* Update tests
* style
* fix js code style
* change options order
* update tests_integration snap
* disable es5 for __ng_interpolation
* fix angular tests
* fix scss test
* fix `css_trailing_comma` snap
* fix css_scss snapshot
2019-11-18 11:39:12 +01:00
fisker Cheung
b2c3baf008
Fix a code example in docs ( #6890 )
2019-11-16 12:27:31 +01:00
Kevin Deisz
a3078a4a61
Add the XML plugin to the docs ( #6944 )
2019-11-13 09:51:11 +01:00
Simon Lydell
95b8e54d1a
Release 1.19.1
2019-11-09 13:20:32 +01:00
Simon Lydell
4eb3e2650a
Blog post, changelog and docs for 1.19 ( #6787 )
2019-11-09 01:23:57 +01:00
Simon Lydell
98d27c7de2
Bump Prettier dependency to 1.19.0
2019-11-09 01:14:31 +01:00
Simon Lydell
e788e8d3d5
Release 1.19.0
2019-11-09 01:09:19 +01:00
fisker Cheung
d05be09406
Fix unpkg links in docs ( #6872 )
2019-11-08 17:33:28 +01:00
fisker Cheung
304acbea01
Change external links to https ( #6874 )
2019-11-08 14:49:32 +03:00
Shinigami
f059d7a31b
JSDoc type added in src/common/util.js ( #6788 )
...
* JSDoc type added in `src/common/util.js`
* skip can return false
* Add TBD for false - 1 not allowed
* Define typedef SkipOptions
* Use method generic for node param
* Define node param for setLocStart and setLocEnd
* Copy idx param to local variable
* Add @returns false
* Update Utility functions docs
* hasNewline param index: allow only number
* Add condition
* Add function keyword to docs
* Add prettier-ignore
* Improve condition
* Remove TBD comment
* Use single quotes
* Add type to oldIndex
* Use singleline JSDocs
2019-11-05 13:28:44 +02:00
Christian Oliff
65563e0a55
HTTPS external links ( #6811 )
...
safer and saves a HTTP requests :-)
2019-11-05 14:25:28 +03:00
fisker Cheung
545a712dc0
Revert #6333 ( #6721 )
2019-11-02 09:47:16 +01:00
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: https://github.com/prettier/prettier/blob/3805034bdfe45722e31a1abf019d4368dfb8ae11/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 and Jed Fox
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