generated from mrsimonemms/new
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
57 lines (57 loc) · 1.57 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
repos:
- repo: https://github.com/mrsimonemms/pre-commit-hooks
rev: v1.2.0
hooks:
- id: license-eye
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: pretty-format-json
args:
- --autofix
- --no-sort-keys
- id: check-json
- id: check-yaml
args:
- --allow-multiple-documents
- id: end-of-file-fixer
- id: trailing-whitespace
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.2.0
hooks:
- id: conventional-pre-commit
stages:
- commit-msg
- repo: https://github.com/trussworks/pre-commit-hooks
rev: v1.1.1
hooks:
- id: markdown-toc
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.13.0
hooks:
- id: markdownlint-cli2
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
args:
- --plugin
- prettier-plugin-svelte
- --plugin
- prettier-plugin-organize-imports
stages:
- pre-commit
- repo: https://github.com/pre-commit/mirrors-eslint
# Pin to v8 until TS support is in GA
# @link https://github.com/typescript-eslint/typescript-eslint/issues/8211
rev: 'v8.56.0'
hooks:
- id: eslint
files: \.([jt]sx?|svelte)$ # *.js, *.jsx *.ts, *.tsx and *.svelte
types: [file]
- repo: https://github.com/mrsimonemms/toodaloo
rev: v0.2.2
hooks:
- id: scan