Skip to content
This repository has been archived by the owner on Dec 25, 2022. It is now read-only.

Commit

Permalink
Meta: Add .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
This patch adds a basic pre-commit configuration.
  • Loading branch information
faxe1008 committed Oct 16, 2022
1 parent 1a8b3c6 commit 0ea9f5d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
repos:
- repo: local
hooks:
- id: meta-lint-ci
name: Running Meta/lint-ci.sh to ensure changes will pass linting on CI
entry: bash Meta/lint-ci.sh
stages: [ commit ]
language: system

- id: meta-lint-commit
name: Lint commit message to ensure it will pass the commit linting on CI
entry: Meta/lint-commit.sh
stages: [ commit-msg ]
language: system

0 comments on commit 0ea9f5d

Please sign in to comment.