-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
39 lines (37 loc) · 1.04 KB
/
.pre-commit-config.yaml
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
34
35
36
37
38
39
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
exclude: \.nova.*/
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: local
hooks:
- id: eslint
name: eslint
description: Hook for a version of eslint that the mirror repo skipped.
language: script
entry: node_modules/.bin/eslint --fix src
args: []
types: [file]
files: \.[jt]s$
- repo: local
hooks:
- id: prettier
name: prettier
description: Hook for a version of prettier that the mirror repo skipped.
language: script
entry: node_modules/.bin/prettier --write --ignore-unknown
args: []
types: [text]
require_serial: false