Commit Graph

24 Commits (1916966910d30756073a04426a8b40bab543b148)

Author SHA1 Message Date
fisker Cheung 3dbe4b2038 Docs: add link to `devDependencies` (#6682) 2019-10-18 10:36:24 +02:00
Beau Fabry 2314640485 include renames in git pre-commit hook (#6371) 2019-08-15 12:34:19 +03: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
m-adler e83490a90e Escape spaces within file names in pre-commit hook script (#5721) 2019-01-07 23:30:20 -07:00
Andrey Okonetchnikov 7238ceffab docs: Remove the warning about partially staged files (#5310)
Since partially staged files are now officially supported, this isn't up to date anymore.
2018-10-29 09:16:28 -03:00
Jeremy Kairis 8979b47630 Fix a typo in precommit.md Option 4. (#5196)
* Fix a typo in precommit.md Option 4.

* Remove the a
2018-10-07 07:42:41 -04:00
typicode c8d22c6ed5 docs: remove next tag for husky (#5141)
Husky 1.0 was released and isn't behind a `@next` tag anymore :)
2018-09-24 13:31:50 +08:00
Ika 514fcb835a chore: bump Prettier dependency to 1.14.0 2018-07-29 15:44:21 +08:00
Ika 86614bd16d
docs(precommit): add missing @next for husky 2018-07-28 13:51:18 +08:00
Steven Loria ef7d96e124 Fix precommit configuration in docs (#4817)
The "sha" option has been renamed to "rev"

See https://pre-commit.com/#pre-commit-configyaml---repos
2018-07-10 12:27:25 -07:00
Kevin Peters 975402b285 docs: fix example of husky pre-commit hook to include next version tag (#4812) 2018-07-10 12:23:44 -07:00
Peter Ramsing d4f4edeb96 Adds closing quote to "hooks" in husky config (#4805) 2018-07-04 11:31:49 -04:00
Christian Haug 8ef10b2177 Update docs to be compatible with latest husky version (#4803) 2018-07-04 10:15:46 -03:00
Anthony Sottile 2e59f178aa No longer need to clarify that `pre-commit` is "Python version" (#4089) 2018-03-02 10:14:20 -05:00
Anthony Sottile a02094961a pre-commit.com is now served on https (#4088) 2018-03-02 07:26:36 -05: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
Sam Horton 67bf3e51df docs: add information about precise-commits (#3818)
* docs: add information about precise-commits

* docs: add use case info to precommit documentation
2018-02-02 14:46:17 +11:00
Lucas Azzola eb1096d4af
Add pretty-quick pre-commit docs (#3675) 2018-01-09 02:19:53 +11:00
Jiawen Geng ea4bc9093e fix recursive in script (#3565)
See more here : https://github.com/prettier/prettier/issues/2078.
2017-12-25 20:16:50 +11:00
Jiawen Geng 0a28c7484f Add js version pre-commit (#3541) 2017-12-20 18:08:42 -02:00
Lucas Duailibe c9079926c9
Improve visibility of lint-staged usage warning (#3445) 2017-12-10 00:09:07 -02:00
Maxime Thirouin a9502f0ab7 Add "md" extension in "Pre-commit hook" documentation (#3421)
It's nice to have all extensions so we can easily copy paste :)
2017-12-06 20:34:58 +11: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