Skip to content

Commit

Permalink
chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sepehr-Sobhani committed Sep 19, 2023
1 parent f94c0c5 commit aac8635
Showing 1 changed file with 2 additions and 46 deletions.
48 changes: 2 additions & 46 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand Down

0 comments on commit aac8635

Please sign in to comment.