{"id":16910086,"url":"https://github.com/timche/talk-prettier-and-friends","last_synced_at":"2026-04-08T23:32:20.468Z","repository":{"id":98447842,"uuid":"111809270","full_name":"timche/talk-prettier-and-friends","owner":"timche","description":"Slides and examples from my talk at HannoverJS in November 2017","archived":false,"fork":false,"pushed_at":"2017-11-26T20:08:26.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T16:30:03.685Z","etag":null,"topics":["css","husky","javascript","json","less","lint-staged","markdown","prettier","react","scss","talk"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timche.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-23T12:53:44.000Z","updated_at":"2023-03-10T10:07:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"da3183b2-79c5-4351-acd9-047a99128f25","html_url":"https://github.com/timche/talk-prettier-and-friends","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timche%2Ftalk-prettier-and-friends","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timche%2Ftalk-prettier-and-friends/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timche%2Ftalk-prettier-and-friends/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timche%2Ftalk-prettier-and-friends/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timche","download_url":"https://codeload.github.com/timche/talk-prettier-and-friends/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244666421,"owners_count":20490286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","husky","javascript","json","less","lint-staged","markdown","prettier","react","scss","talk"],"created_at":"2024-10-13T18:59:07.890Z","updated_at":"2026-04-08T23:32:15.434Z","avatar_url":"https://github.com/timche.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Talk: Prettier and Friends\n\n\u003e Slides and examples from my talk at HannoverJS in November 2017\n\n## Slides\n\nhttp://slides.com/timche/formatting-code-with-prettier-and-friends\n\n## VOD\n\n[![YouTube](https://img.youtube.com/vi/qOnTh7xwvpY/0.jpg)](https://www.youtube.com/watch?v=qOnTh7xwvpY)\n\n## Examples Usage\n\nThis repository contains two branches `master` and `pre-commit-hook` demonstrating two ways of formatting files in a `examples` folder with [Prettier](https://prettier.io). Checkout `package.json` on both branches for more details.\n\n### `master`\n\nRunning Prettier manually.\n\n```sh\n# Install dependencies\nnpm install\n\n# Run Prettier\nnpm run prettier\n```\n\n### `pre-commit-hook`\n\nRunning [Prettier](https://github.com/prettier/prettier) as a [Git `pre-commit` hook](https://git-scm.com/book/gr/v2/Customizing-Git-Git-Hooks) with [Husky](https://github.com/typicode/husky) and [lint-staged](https://github.com/okonet/lint-staged).\n\n```sh\n# Instal dependencies\nnpm install\n\n# Add `examples/` from `master`\ngit checkout master examples\n\n# Commit\ngit commit -m 'add examples'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimche%2Ftalk-prettier-and-friends","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimche%2Ftalk-prettier-and-friends","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimche%2Ftalk-prettier-and-friends/lists"}