{"id":16429397,"url":"https://github.com/fishme/jsprinciples","last_synced_at":"2026-05-15T20:31:00.242Z","repository":{"id":151378596,"uuid":"143965362","full_name":"fishme/JSprinciples","owner":"fishme","description":"git hooks for javascript development","archived":false,"fork":false,"pushed_at":"2018-08-08T10:30:23.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-22T15:42:10.843Z","etag":null,"topics":["git","git-hooks"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fishme.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-08-08T05:32:06.000Z","updated_at":"2018-08-08T10:30:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"757bd08a-eef6-4418-99d7-b34132b25b66","html_url":"https://github.com/fishme/JSprinciples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fishme/JSprinciples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fishme%2FJSprinciples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fishme%2FJSprinciples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fishme%2FJSprinciples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fishme%2FJSprinciples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fishme","download_url":"https://codeload.github.com/fishme/JSprinciples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fishme%2FJSprinciples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33078898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["git","git-hooks"],"created_at":"2024-10-11T08:22:38.445Z","updated_at":"2026-05-15T20:31:00.226Z","avatar_url":"https://github.com/fishme.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JS Principles\n\nValidation examples with git hooks.\n\n\n## Getting Started\n\nWell I guess you know that you will need git. :-)\n\n## Installation\n\nBy default .git folder is hidden. \n\n### Visual Studio Code\nIf you use Visual Code then set this setting. That will enable the hidden git folder.\n```\n \"files.exclude\": {\n    \"**/.git\": false\n  }\n```\n\nYou can also open your project in the terminal and run  `open .git/`\n\n## How to use\n\n* select a template from [templates/](https://github.com/fishme/JSprinciples/tree/master/templates)\n\nreplace this with a validation from [hooks/](https://github.com/fishme/JSprinciples/tree/master/hooks)\n```\n   # !!!!!!\n   # paste from hooks/*\n   # !!!!!!\n```\n\n`cp templates/pre-commit ./.git/hooks/pre-commit \u0026\u0026 chmod +x .git/hooks/pre-commit`\n\nIf you want to know more about hooks read the [git documentation](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks)\n\n## None ZSH Users\n\nIf you don't use [zsh](https://ohmyz.sh/) then you have to change the fist 2 lines from the template\n\n```\n#!/bin/zsh\nsource ~/.zshrc\n```\n\nreplace with `#!/bin/sh`\n\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.\n\n\n## Authors\n\n* **David Hohl** - *Initial work* - [Fishme](https://github.com/Fishme)\n\nSee also the list of [contributors](https://github.com/your/project/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the GNU License - see the [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffishme%2Fjsprinciples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffishme%2Fjsprinciples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffishme%2Fjsprinciples/lists"}