forked from getsentry/sentry-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
32 lines (32 loc) · 939 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
default_language_version:
node: latest
exclude: '\.snap|node_modules$'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.4.0
hooks:
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-xml
- id: check-yaml
- id: detect-private-key
exclude: |
(?x)^(
develop-docs/application/config.mdx|
develop-docs/integrations/github.mdx|
develop-docs/self-hosted/sso.mdx
)$
- id: end-of-file-fixer
- id: trailing-whitespace
- id: debug-statements
- id: flake8
- id: fix-encoding-pragma
args: ["--remove"]
- repo: https://github.com/getsentry/pre-commit-hooks
rev: f3237d2d65af81d435c49dee3593dc8f03d23c2d
hooks:
- id: prettier
entry: node_modules/.bin/prettier
- id: eslint
entry: node_modules/.bin/eslint