Skip to content

Commit

Permalink
pre-commit: add prettier (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
phillco committed Apr 3, 2022
1 parent 8a1de19 commit 0cd560a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
35 changes: 20 additions & 15 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
minimum_pre_commit_version: '2.9.0'
minimum_pre_commit_version: "2.9.0"
repos:
- repo: https://github.com/Zac-HD/shed
rev: 0.9.4
hooks:
- id: shed
# TODO(pcohen): bump to --py310-plus when Talon moves to Python 3.10.
args: [--refactor, --py39-plus]
types_or: [python, markdown, rst]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
- id: check-merge-conflict
- repo: https://github.com/Zac-HD/shed
rev: 0.9.4
hooks:
- id: shed
# TODO(pcohen): bump to --py310-plus when Talon moves to Python 3.10.
args: [--refactor, --py39-plus]
types_or: [python, markdown, rst]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
- id: check-merge-conflict
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.6.2"
hooks:
- id: prettier
files: ".*.(md|json|yaml)$"
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

```
░█████╗░██╗░░██╗██╗░░██╗██╗████████╗
██╔══██╗╚██╗██╔╝██║░██╔╝██║╚══██╔══╝
Expand Down

0 comments on commit 0cd560a

Please sign in to comment.