dunamai-action/.pre-commit-config.yaml

19 lines
488 B
YAML

exclude: public
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.6
hooks:
- id: forbid-tabs
- repo: local
hooks:
- id: build
name: build
language: system
entry: npm run build
pass_filenames: false
files: '(\.(tsx?|jsx?)$|^package.json$|^tsconfig.json$)'