Created
September 27, 2022 13:28
-
-
Save cybersiddhu/59a60bd3de9f1203f54c1b8b8f07134f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://pre-commit.com for more information | |
# See https://pre-commit.com/hooks.html for more hooks | |
repos: | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v3.2.0 | |
hooks: | |
- id: trailing-whitespace | |
- id: end-of-file-fixer | |
- id: check-yaml | |
- id: check-added-large-files | |
- id: check-json | |
- id: check-merge-conflict | |
- repo: https://github.com/pre-commit/mirrors-eslint | |
rev: 30cc0c9e89b4664ab8d69f96c9e1265c6a3fd8ae # Use the sha / tag you want to point at | |
hooks: | |
- id: eslint | |
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx | |
types: [file] | |
- repo: https://github.com/pre-commit/mirrors-prettier | |
rev: d0a4882e1c96eca274f90b273f0f809ab3d98aff # Use the sha / tag you want to point at | |
hooks: | |
- id: prettier | |
types_or: [javascript, jsx, ts, tsx] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment