Lipis
feb41a5516
Richer markdown example in the playground ( #4176 )
...
* Richer markdown example in the playground
* Link is back
2018-03-19 16:32:06 +02:00
Evilebot Tnawi
31530259a1
feat: indent in discriminant switch ( #4165 )
2018-03-19 23:50:24 +11:00
Ika
23cd5d44f7
fix(playground): no undefined parsers ( #4159 )
2018-03-16 11:37:08 -03:00
Alexander Kachkaev
328d91f030
Add elm plugin ( #4161 )
...
* Add a link to prettier-plugin-elm
* Order community plugins alphabetically, thus making it easier to find a particular language
2018-03-16 11:27:47 -03:00
Ika
0c09e150ba
feat(markdown): support fenced codeblock lang followed by attributes ( #4153 )
...
* test: add tests
* feat(markdown): support fenced codeblock lang followed by attributes
ref: https://shd101wyy.github.io/markdown-preview-enhanced/#/code-chunk
* refactor: set limit
2018-03-16 00:25:39 +08:00
Evilebot Tnawi
5537140296
fix: don't lowercase variable in css modules ( #4152 )
2018-03-15 18:16:28 +03:00
Evilebot Tnawi
e2373206bc
fix(html): support comment on top ( #4141 )
2018-03-13 19:47:48 +03:00
Evilebot Tnawi
8686653433
tests(html): aurelia non standard attributes ( #4142 )
2018-03-13 19:03:44 +03:00
Lucas Duailibe
4c363a7a2f
Add docs on new pragma infrastructure ( #4121 )
2018-03-08 23:02:41 -03:00
Lucas Duailibe
13103101eb
Move pragma detection/insertion to plugins ( #3685 )
...
New pragma infrastructure, only JS and JSON has detection/insertion implemented
2018-03-08 13:50:33 -03:00
Lucas Duailibe
bb1c354453
Update yarn.lock
2018-03-08 10:44:30 -03:00
Evilebot Tnawi
94ec29dac7
fix: handle `unicode-range` ( #4117 )
2018-03-07 21:15:06 +03:00
Ika
836fd1ddcf
fix(markdown): correct html indentation ( #4115 )
...
* test: add test case
* fix(markdown): correct html indentation
2018-03-08 00:06:22 +08:00
Lucas Duailibe
f6f6f2e2ea
Fix self-closing style tags in vue ( #4108 )
2018-03-06 13:06:09 -03:00
Lucas Duailibe
550904d588
Fix self-closing style tags in vue
2018-03-06 09:38:15 -03:00
Simon Lydell
8ab09cc753
Add playground examples for all languages ( #4107 )
...
* playground: Add GraphQL example
* playground: Add markdown example
* playground: Add Flow example
* playground: Add Less example
* playground: Add Vue example
2018-03-06 20:09:16 +11:00
Lipis
6fea2f4745
chore: Upgrade some dependencies ( #4104 )
2018-03-05 21:52:26 +02:00
Simon Lydell
9ad1f80221
Add more stuff to the Rationale page ( #4101 )
...
* Add no-semi rationale
* Add rationale for import statements
* Add rationale for JSX
* Add prettier-ignore comments
2018-03-05 17:43:22 +01:00
Wesley Abbey
f224087cef
Add Drizly to users ( #4105 )
2018-03-05 11:12:45 -03:00
Lipis
8e6b9dd5d9
New links for plugin URLs ( #4099 )
...
They were renamed
2018-03-05 01:57:59 +02:00
Warren Seine
faee16a5b4
Fix typos in plugin documentation. ( #4098 )
2018-03-04 18:00:47 +02:00
Lipis
9103cd227e
More than 80,000 dependent repositories ( #4096 )
2018-03-03 17:45:16 +02:00
Anthony Sottile
2e59f178aa
No longer need to clarify that `pre-commit` is "Python version" ( #4089 )
2018-03-02 10:14:20 -05:00
Lucas Duailibe
41098a06b5
Prevent "over-indenting" class properties values ( #4085 )
2018-03-02 11:28:27 -03:00
Anthony Sottile
a02094961a
pre-commit.com is now served on https ( #4088 )
2018-03-02 07:26:36 -05:00
Evilebot Tnawi
19d7d881a7
chore: update `postcss-scss` to latest version ( #4084 )
2018-03-01 21:00:51 +03:00
Lucas Duailibe
240f09794b
Fix printing ignored files with --debug-check ( #4066 )
2018-03-01 13:03:54 -03:00
Ika
2b283908cf
fix(markdown): print literalline for newline instead of hardline ( #4083 )
...
* test: add tests
* fix(markdown): print literalline for newline instead of hardline
* test: add tests
2018-03-01 14:42:20 +02:00
suchipi
6d4ffa181f
Update CHANGELOG.md
2018-02-28 15:51:26 -07:00
Kai Cataldo
8265b0e874
Fix typo on on landing page of site ( #4075 )
2018-02-28 19:39:11 -03:00
Stephen Scott
6f6d974d27
Bump own prettier dependency version to 1.11.1
2018-02-28 15:26:27 -07:00
Stephen Scott
0f1757a834
Bump version to 1.11.1
2018-02-28 15:21:37 -07:00
Simon Lydell
2897c950f8
Try to clarify when to use the issue template ( #4059 )
2018-02-28 18:53:08 +01:00
Ika
0ce4ce3138
fix(api): no regression for deprecated parser ( #4072 )
2018-03-01 00:14:30 +08:00
Christian Zosel
d05a29da05
Allow plugins to override default options ( #3991 )
...
* refactor(cli): defer default value applying
* Allow plugins to override default options
* Move "defaultOptions" to top level of plugin
* Simplify implementation
* Attach plugin name
* Add pluginOptions to cli help
* Update snapshots
* Code review (immutable style)
* Add test for help output
* Use snapshot test, fix Object.assign
* Refactor to immutable style
* Add test case for automatic plugin resolution
* Add tests for applying and overriding default opts
* Remove "since" option
* Only set defaults for CLI args when no pluginDefaults are present
* Revert workaround, rebase to #4045
* Add basic documentation for `options` and `defaultOptions`
2018-02-28 00:20:02 +11:00
Lipis
23f032f348
Fix @orta's link ( #4060 )
2018-02-27 06:15:45 -05:00
suchipi
74a132c4ba
Bump own prettier dependency version to 1.11.0 ( #4058 )
2018-02-26 22:03:56 -07:00
Stephen Scott
51202f4b6e
Format 2-26 blog post with prettier
2018-02-26 18:47:55 -07:00
Stephen Scott
82492deb94
Bump version to 1.11.0
2018-02-26 18:28:33 -07:00
suchipi
b1b504fc96
1.11 Release Notes and Changelog ( #4035 )
...
* Add blog post with changelog
* Add release notes link to CHANGELOG.md
* Fix typo in tab ternary fix code block
* Fix an unfinished edit
* Add missing parens
* Update 2018-02-23-1.11.0.md
* Update 2018-02-23-1.11.0.md
* Add more release notes
* Update 2018-02-23-1.11.0.md
* prettier -> Prettier
* Update date
* cleaner
* casing
* Update CHANGELOG.md
* Update 2018-02-26-1.11.0.md
* Update 2018-02-26-1.11.0.md
* Update 2018-02-26-1.11.0.md
2018-02-26 18:17:38 -07:00
Evilebot Tnawi
4ddf1a6e84
fix: don't lowercase nesting selector ( #4048 )
2018-02-26 18:13:02 -07:00
Eric Anderson
efd5bde713
Fix(typescript) non-null identifier same line in chain ( #4052 )
2018-02-26 15:12:03 -03:00
Evilebot Tnawi
65b988a989
feat: ignore non standard IE filter values ( #4028 )
2018-02-26 14:58:38 +03:00
Ika
b6c27893cc
fix(markdown): list prefix alignment: count spaces from correct place ( #4041 )
...
* test: add tests
* fix(markdown): list prefix alignment: count spaces from correct place
* docs: codeblock -> code block
2018-02-26 08:53:09 +08:00
Ika
ca81bef73e
fix(markdown): list prefix: no unnecessary trailing spaces ( #4042 )
...
* fix(markdown): list prefix: no unnecessary trailing spaces
* refactor
2018-02-26 08:52:49 +08:00
Lucas Azzola
79196030a7
Webpack -> webpack
2018-02-25 22:06:03 +00:00
Lucas Azzola
9ee113cd2e
webpack/webpack now uses Prettier ( #4039 )
2018-02-25 16:12:36 +11:00
Ika
c1107a86dd
feat(markdown): respect tabWidth for list items ( #3990 )
...
* feat(markdown): respect tabWidth for list items
* test: ensure no regression for #3459
2018-02-24 19:13:02 +11:00
Milen Igrachev
29ef3f0033
Enhancing pre-commit bash script documentation. ( #3638 )
...
* Enhancing pre-commit bash script documentation.
* Correcting typo.
* attempt to correct lint problem
* Grammar clarification.
* Further styling correction
Mark .git/hooks/post-commit as ```code```
* Remove redundant exit 0 from post-install script.
* Insert newline
2018-02-24 19:12:25 +11:00
Joseph Frazier
5153b15245
Respect EditorConfig when `--config` is passed ( #3992 )
...
* Respect EditorConfig when `--config` is passed
* Clarify config-resolution test file
See https://github.com/prettier/prettier/pull/3255#issuecomment-348420546
* Update test snapshots
2018-02-24 19:11:23 +11:00