Skip to content

Commit d97cf02

Browse files
feat(phase-1): update foundev/.pre-commit-config.yaml
1 parent e4e509c commit d97cf02

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

foundev/.pre-commit-config.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
11. Finally, let's create the pre-commit configuration:
2+
3+
```yaml
4+
repos:
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v4.3.0
7+
hooks:
8+
- id: trailing-whitespace
9+
- id: end-of-file-fixer
10+
- id: check-yaml
11+
- id: check-added-large-files
12+
13+
- repo: https://github.com/pre-commit/mirrors-eslint
14+
rev: v8.21.0
15+
hooks:
16+
- id: eslint
17+
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
18+
types: [file]
19+
args: [--fix]
20+
21+
- repo: https://github.com/psf/black
22+
rev: 22.10.0
23+
hooks:
24+
- id: black
25+
language_version: python3.9
26+
```

0 commit comments

Comments
 (0)