diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e3f8701bb2..942462eb9e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,49 +1,10 @@ -# exclude: > -# (?x)^( -# test\.tsx\.snap$ -# )$ -# repos: -# - repo: local -# hooks: -# - id: prettier -# name: Prettier -# language: script -# entry: ./.bin/pre-commit-format.sh -# stages: [commit] -# - repo: local -# hooks: -# - id: eslint -# name: ESLint -# language: system -# files: \.(j|t)sx?$ -# entry: ./.bin/pre-commit-lint.sh -# - repo: https://github.com/pre-commit/pre-commit-hooks -# rev: v2.3.0 -# hooks: -# - id: check-added-large-files -# - id: check-case-conflict -# - id: check-executables-have-shebangs -# - id: check-json -# - id: check-vcs-permalinks -# - id: check-yaml -# exclude: (^chart/.*/templates/|^database_backup_test/.*/templates/) -# - id: end-of-file-fixer -# exclude: current_version\.txt -# - id: trailing-whitespace -# exclude: .*/__snapshots__/.*|app/schema/.* - repos: - repo: https://github.com/pre-commit/mirrors-prettier rev: v3.0.3 # Use the sha or tag you want to point at hooks: - id: prettier - # - repo: local - # hooks: - # - id: prettier - # name: Prettier - # language: script - # entry: ./.bin/pre-commit-format.sh - # stages: [commit] + name: Prettier + stages: [commit] - repo: local hooks: - id: eslint @@ -52,11 +13,6 @@ repos: files: \.(j|t)sx?$ entry: ./.bin/pre-commit-lint.sh - # - repo: https://github.com/pre-commit/mirrors-eslint - # rev: v8.48.0 # Use the sha / tag you want to point at - # hooks: - # - id: eslint - - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.3.0 hooks: