2024-02-25 19:29:00 +01:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
2024-03-08 00:08:07 +01:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-02-25 19:29:00 +01:00
|
|
|
rev: v4.4.0
|
|
|
|
hooks:
|
2024-03-08 00:08:07 +01:00
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-toml
|
|
|
|
- id: check-yaml
|
2024-02-25 19:29:00 +01:00
|
|
|
args:
|
2024-03-08 00:08:07 +01:00
|
|
|
- --unsafe
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
2024-02-25 19:29:00 +01:00
|
|
|
rev: v0.2.2
|
|
|
|
hooks:
|
2024-03-08 00:08:07 +01:00
|
|
|
- id: ruff
|
2024-02-25 19:29:00 +01:00
|
|
|
args:
|
2024-03-08 00:08:07 +01:00
|
|
|
- --fix
|
|
|
|
- id: ruff-format
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
|
|
rev: v3.1.0
|
|
|
|
hooks:
|
|
|
|
- id: prettier
|
|
|
|
additional_dependencies:
|
|
|
|
- prettier@3.2.5
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
|
|
|
rev: v8.56.0
|
|
|
|
hooks:
|
|
|
|
- id: eslint
|
|
|
|
files: \.(js|jsx|ts|tsx)$
|
|
|
|
additional_dependencies:
|
|
|
|
- eslint@8.57.0
|
|
|
|
- eslint-config-standard-with-typescript@43.0.1
|
|
|
|
- eslint-plugin-import@2.29.1
|
|
|
|
- eslint-plugin-n@16.6.2
|
|
|
|
- eslint-plugin-promise@6.1.1
|
|
|
|
- eslint-plugin-react@7.34.0
|
|
|
|
- eslint-plugin-react-hooks@4.6.0
|
|
|
|
- eslint-plugin-react-refresh@0.4.4
|
|
|
|
- "@typescript-eslint/eslint-plugin@6.21.0"
|
|
|
|
- "@typescript-eslint/parser@6.10.0"
|
|
|
|
|
2024-02-25 19:29:00 +01:00
|
|
|
ci:
|
2024-03-08 00:08:07 +01:00
|
|
|
autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
|
|
|
|
autoupdate_commit_msg: ⬆ [pre-commit.ci] pre-commit autoupdate
|