-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
44 lines (39 loc) · 999 Bytes
/
.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
40
41
42
43
44
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: 'dist/'
- id: trailing-whitespace
exclude: 'dist/'
- repo: local
hooks:
- id: eslint
name: eslint
entry: npm run lint
types_or: [javascript]
language: node
pass_filenames: false
- id: prettier
name: prettier
entry: npm run prettier:write:path
types_or: [javascript, json, markdown, yaml]
language: node
- id: build
name: build
entry: npm run build
types_or: [javascript]
language: node
pass_filenames: false
- id: test
name: test
entry: npm run test
types_or: [javascript]
language: node
- id: action-docs
name: action-docs
entry: npm run docs
pass_filenames: false
language: node
files: action.yml