Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pre commit configuration file #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
repos:
# Websec hook is MANDATORY, DO NOT comment it.
- repo: https://github.com/mercadolibre/fury_websec-git-hooks
rev: v1.0.0
hooks:
- id: pre_commit_hook
stages: [commit]
- id: post_commit_hook
stages: [post-commit]

# Next hooks are Code Quality hooks.
# If you want them to run on each commit, uncomment them
# These are OPTIONAL.

# - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
# rev: v2.3.0
# hooks:
# - id: pretty-format-java
# args: [--autofix]
# - repo: https://github.com/mercadolibre/fury_code-quality-pre-commit-java
# rev: 1.0.1
# hooks:
# - id: checkstyle
# args:
# - -c
# - .code_quality/checkstyle_rules.xml
# - id: pmd
# args:
# - -R
# - .code_quality/pmd_rules.xml