-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.pre-commit-config.yaml
53 lines (49 loc) · 1.69 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.4"
hooks:
- id: prettier
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.4.0
hooks:
- id: add-trailing-comma
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: "v1.3.1"
hooks:
- id: remove-crlf
# - repo: https://github.com/codespell-project/codespell
# rev: "v2.2.2"
# hooks:
# - id: codespell
# files: ^.*\.(yml|dart)$
# args: ["--ignore-words-list"]
# - repo: https://github.com/Cretezy/flutter-format-pre-commit
# rev: "4a1df675bb74dea371c17934933e257e46f8dd98"
# hooks:
# - id: flutter-format
# files: lib/*
# exclude: lib/src/avatar.dart
# - repo: https://github.com/Cretezy/dart-format-pre-commit
# rev: "fa83c73f40014f9e268bd0e62374eaa581fe3540"
# hooks:
# - id: dart-format
# files: lib/*
# exclude: lib/src/utils.dart
- repo: https://github.com/dluksza/flutter-analyze-pre-commit
rev: "0bfdb7415bb2d02794a884bf2b763a92772001eb"
hooks:
- id: flutter-analyze
- repo: https://github.com/fluttercommunity/import_sorter
rev: "f350497a11b1285c695595049e95a420068e7a9f"
hooks:
- id: dart-import-sorter
- id: flutter-import-sorter
- repo: https://github.com/guid-empty/flutter-dependency-validation-pre-commit
rev: "4663b743f807eaa0ee1309016f5a6d20b9bb1b13"
hooks:
- id: flutter-dependency-validation