All Projects → kintoandar → pre-commit

kintoandar / pre-commit

Licence: MIT license
pre-commit hook terraform; pre-commit hook prometheus

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to pre-commit

detect-secrets
A developer-friendly secrets detection tool for CI and pre-commit hooks based on Yelp's detect-secrets
Stars: ✭ 43 (+22.86%)
Mutual labels:  pre-commit, yelp
Husky.Net
Git hooks made easy with Husky.Net internal task runner! 🐶 It brings the dev-dependency concept to the .NET world!
Stars: ✭ 394 (+1025.71%)
Mutual labels:  pre-commit
slackbridge
Bridge between IRC and Slack running on Kubernetes
Stars: ✭ 12 (-65.71%)
Mutual labels:  pre-commit
create-react-redux-app
React boilerplate based on create-react-app
Stars: ✭ 49 (+40%)
Mutual labels:  pre-commit
conventional-pre-commit
A pre-commit hook that checks commit messages for Conventional Commits formatting
Stars: ✭ 66 (+88.57%)
Mutual labels:  pre-commit
Pre Commit
A framework for managing and maintaining multi-language pre-commit hooks.
Stars: ✭ 7,024 (+19968.57%)
Mutual labels:  pre-commit
pre-commit-hooks
Standardizing our code quality tooling 🛠️
Stars: ✭ 44 (+25.71%)
Mutual labels:  pre-commit
salsa
A tool for exporting iOS components into Sketch 📱💎
Stars: ✭ 62 (+77.14%)
Mutual labels:  yelp
blackbricks
Black for Databricks notebooks
Stars: ✭ 40 (+14.29%)
Mutual labels:  pre-commit
mdformat
CommonMark compliant Markdown formatter
Stars: ✭ 90 (+157.14%)
Mutual labels:  pre-commit
hulks
Olist custom linting hooks 💚 👽
Stars: ✭ 25 (-28.57%)
Mutual labels:  pre-commit
NextCommunity.github.io
Join FREE: Community of open-source programmers and software engineers.
Stars: ✭ 29 (-17.14%)
Mutual labels:  pre-commit
Pre Commit Hooks
Some out-of-the-box hooks for pre-commit
Stars: ✭ 2,605 (+7342.86%)
Mutual labels:  pre-commit
template-python
Template repository for Python projects
Stars: ✭ 20 (-42.86%)
Mutual labels:  pre-commit
word-embeddings-from-scratch
Creating word embeddings from scratch and visualize them on TensorBoard. Using trained embeddings in Keras.
Stars: ✭ 22 (-37.14%)
Mutual labels:  yelp
pre-commit-hooks
git pre-commit hooks
Stars: ✭ 71 (+102.86%)
Mutual labels:  pre-commit
Husky
Git hooks made easy 🐶 woof!
Stars: ✭ 25,056 (+71488.57%)
Mutual labels:  pre-commit
casper
Yelp's internal caching proxy, powered by Nginx and OpenResty at its core
Stars: ✭ 81 (+131.43%)
Mutual labels:  yelp
pre-commit-hooks-safety
A pre-commit hook to check your Python dependencies against safety-db
Stars: ✭ 69 (+97.14%)
Mutual labels:  pre-commit
ready
A program to run tasks before a commit.
Stars: ✭ 16 (-54.29%)
Mutual labels:  pre-commit

Table of Contents

pre-commit hooks

Collection of pre-commit hooks to be used with Yelp's pre-commit framework

Available Hooks

  • Terraform format
  • Terraform validate
  • Prometheus rules validation
  • Prometheus configuration validation

Check the hooks manifest to know more

How-To

Step 1

Install the pre-commit package

brew install pre-commit

For operating systems, other than macOS, check the official documentation

Step 2

Step into the repo you want to have the pre-commit hooks installed and run:

cat <<EOF > .pre-commit-config.yaml
- repo: git://github.com/kintoandar/pre-commit.git
  sha: v2.1.2
  hooks:
  - id: terraform_fmt
  - id: terraform_validate
  - id: prometheus_check_rules
  - id: prometheus_check_config
EOF

Step 3

Install the pre-commit hook

pre-commit install

Credits

Made with ♥️ by kintoandar

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].