-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (32 loc) · 1.02 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
33 lines (32 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
# Hooks to use in this repository
repos:
########################################
# Javascript Beautifiers and Linters
########################################
# Looks like a great tool, but it errors because it isn't installed
# - repo: https://github.com/biomejs/pre-commit
# rev: v0.6.1
# hooks:
# - id: biome-check
- repo: https://github.com/standard/standard
rev: v17.1.2
hooks:
- id: standard
args: [--fix, --no-ignore]
########################################
# Linters to validate beautifiers output
########################################
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-case-conflict
- id: check-illegal-windows-names
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: no-commit-to-branch
args: [--branch, main, --branch, master]
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]