-
Notifications
You must be signed in to change notification settings - Fork 22
/
.pre-commit-config.yaml
48 lines (43 loc) · 1.02 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
repos:
## PYTHON
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
args: [ --allow-multiple-documents ]
- id: debug-statements
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.0
hooks:
- id: ruff
args:
- '--fix'
- id: ruff-format
## TODO: enable
# - repo: https://github.com/shellcheck-py/shellcheck-py
# rev: v0.10.0.1
# hooks:
# - id: shellcheck
- repo: https://github.com/AleksaC/hadolint-py
rev: v2.12.1b3
hooks:
- id: hadolint
## ES
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.13.0
hooks:
- id: eslint
additional_dependencies:
- eslint@7
- eslint-plugin-cypress
- eslint-plugin-react
- eslint-plugin-import
- "@babel/eslint-parser"
- "@babel/plugin-transform-class-properties"
- "@babel/plugin-transform-private-methods"
- "@babel/plugin-syntax-jsx"
- "@babel/preset-flow"
- "@babel/core"
- "react"