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

Commit 892c7ba

Browse files
committed
Meta: Add .pre-commit-config.yaml
This patch adds a basic pre-commit configuration.
1 parent db3b753 commit 892c7ba

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.pre-commit-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
- id: meta-lint-ci
5+
name: Running Meta/lint-ci.sh to ensure changes will pass linting on CI
6+
entry: bash Meta/lint-ci.sh
7+
stages: [ commit ]
8+
language: system
9+
10+
- id: meta-lint-commit
11+
name: Lint commit message to ensure it will pass the commit linting on CI
12+
entry: Meta/lint-commit.sh
13+
stages: [ commit-msg ]
14+
language: system

0 commit comments

Comments
 (0)