-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
53 lines (53 loc) · 1.32 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-merge-conflict
- id: check-toml
- id: end-of-file-fixer
- id: mixed-line-ending
args:
- "--fix=lf"
- id: trailing-whitespace
- repo: local
hooks:
- id: isort
name: isort
entry: isort
language: python
types: [python]
- id: black
name: black
entry: black
language: python
types: [python]
- id: pylint
name: pylint
entry: pylint
language: python
types: [python]
args: ["--score=n", "--verbose"]
- id: curlylint
name: curlylint
entry: curlylint
language: python
types: [html]
- id: prettier
name: prettier
entry: npx prettier
language: node
types_or: [javascript, scss, markdown, yaml, json]
args: ["--write", "--list-different"]
- id: eslint
name: eslint
entry: npx eslint
language: node
types: [javascript]
- id: stylelint
name: stylelint
entry: npx stylelint
language: node
types: [scss]
args: ["--fix"]