generated from operate-first/probot-template
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.pre-commit-config.yaml
37 lines (33 loc) · 978 Bytes
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
exclude: ".patch|test/fixtures/mock-cert.pem"
repos:
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.11
hooks:
- id: remove-tabs
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
- id: check-merge-conflict
- id: end-of-file-fixer
- id: check-added-large-files
- id: check-case-conflict
- id: detect-private-key
- id: check-yaml
args: [--allow-multiple-documents]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.13.0
hooks:
- id: eslint
additional_dependencies:
- "eslint@8.13.0"
- "@typescript-eslint/eslint-plugin@5.19.0"
- "@typescript-eslint/parser@5.19.0"
- "eslint-config-prettier@8.5.0"
- "typescript@4.6.3"
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.2
hooks:
- id: prettier
files: \.[jt]s$