Ika
fa40f2ddd3
docs(blog): 1.15 release ( #5296 )
2018-11-07 09:09:04 +08:00
Calum Lind
b8ebcd910c
Add YAML file extensions to pre-commit hooks config ( #5182 )
...
- Prettier support YAML but pre-commit hook was not checking those
files so added file extensions to hooks config.
- Used double-quoted flow scalar style to make the list of file
extensions easier to read. Backslash for regex needed escaping and
backslash each line to prevent YAML including spaces.
- Added alternative markdown file extensions.
2018-11-02 00:21:51 +08:00
Chris Adams
4cc0363b40
Remove HTML from pre-commit hooks until available ( #5274 )
...
The pre-commit hook registers for HTML files but that will always fail until #5098 is completed. This means that anyone following [the instructions](https://prettier.io/docs/en/precommit.html#option-3-pre-commit-https-githubcom-pre-commit-pre-commit ) will have the hook fail any time they attempt to commit an HTML file.
2018-10-17 08:40:04 +08:00
Mark Larah
d298c51cba
Add support for markdown with pre-commit ( #4021 )
...
Prettier now runs on markdown files! Let's let pre-commit run on those files!
2018-02-21 12:10:25 -05:00
Anthony Sottile
4d68faf195
Use `files:` over `types:` in pre-commit configuration ( #2759 )
...
See https://github.com/prettier/prettier/issues/2745
2017-09-05 12:17:02 -07:00
Anthony Sottile
19cd7d3227
Add pre-commit metadata directly to prettier ( #2414 )
2017-07-06 20:13:52 +02:00