30 lines
688 B
YAML
30 lines
688 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: 'v2.7.1'
|
|
hooks:
|
|
- id: prettier
|
|
types_or: [ javascript, ts ]
|
|
files: |
|
|
(?x)^(
|
|
src/.*|
|
|
)$
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs
|
|
rev: v1.1.2
|
|
hooks:
|
|
- id: markdown-toc
|
|
name: README.md
|
|
files: ^README.md$
|
|
- repo: local
|
|
hooks:
|
|
- id: no-plus-in-core
|
|
name: No "plus" in core
|
|
language: pygrep
|
|
entry: 'plus'
|
|
files: |
|
|
(?x)^(
|
|
src/api/.*|
|
|
src/core/.*|
|
|
src/structures/.*|
|
|
src/config.service.ts|
|
|
)$
|