-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
30 lines (29 loc) · 896 Bytes
/
.pre-commit-config.yaml
File metadata and controls
30 lines (29 loc) · 896 Bytes
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
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-json
- repo: https://github.com/returntocorp/semgrep
rev: v1.69.0
hooks:
- id: semgrep
name: Semgrep Typescript
types: [javascript, ts, tsx]
args: ["--config", "p/typescript", "--error"]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: "v9.1.1" # Use the sha / tag you want to point at
hooks:
- id: eslint
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
types: [file]
additional_dependencies:
- eslint
- "@typescript-eslint/parser"
- "@typescript-eslint/eslint-plugin"