We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4e509c commit d97cf02Copy full SHA for d97cf02
1 file changed
foundev/.pre-commit-config.yaml
@@ -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
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
24
+ - id: black
25
+ language_version: python3.9
26
+```
0 commit comments