forked from tyrchen/json_data_faker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
32 lines (32 loc) · 842 Bytes
/
.pre-commit-config.yaml
File metadata and controls
32 lines (32 loc) · 842 Bytes
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 19.3b0
hooks:
- id: black
- repo: local
hooks:
- id: mix-fmt
name: mix format
description: Format files with mix.
entry: mix format
language: node
files: \.exs{0,1}$
pass_filenames: false
- id: mix-credo
name: mix credo
description: Check the package for errors.
entry: mix credo
language: node
files: \.exs{0,1}$
pass_filenames: false