-
Notifications
You must be signed in to change notification settings - Fork 0
/
.restyled.yaml
110 lines (99 loc) · 2.27 KB
/
.restyled.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# Default Restyler Configuration
#
# Overall notes:
#
# - All keys are optional and default as shown
# - The entire config can also be just a list of values, which will be
# interpreted as specifying the restylers key
#
####
# Do anything at all?
enabled: true
# Push the style fixes directly to the original PR
#
# This setting implies pull_requests: false for origin PRs, and has no effect on
# forked PRs (since we can't push to those).
#
auto: false
# Download remote files before restyling
#
# Example:
#
# remote_files:
# - url: https://raw.github.com/.../hlint.yaml
# path: .hlint.yaml
#
# Files must be publicly accessible.
#
remote_files: []
# Open Restyle PRs?
pull_requests: true
# Leave comments on the original PR linking to the Restyle PR?
comments: false
# Set commit statuses on the original PR?
statuses:
# Red status in the case of differences found
differences: true
# Green status in the case of no differences found
no_differences: true
# Red status if we encounter errors restyling
error: true
# Request review on the Restyle PR?
#
# Possible values:
#
# author: From the author of the original PR
# owner: From the owner of the repository
#
# One value will apply to origin and forked PRs, but you can also specify
# separate values.
#
request_review: none
# Add labels to any created Restyle PRs
#
# These can be used to tell other automation to avoid our PRs.
#
labels: []
# Labels to ignore
#
# PRs with any of these labels will be ignored by Restyled.
#
ignore_labels:
- restyled-ignore
# Which restylers to run
#
# See restyled-io/restylers repository for their defaults.
#
restylers:
# - astyle
- autopep8
- black
# - brittany
- dfmt
- elm-format
# - google-java-format
# - hindent
# - hlint
# - jdt
- pg_format
- php-cs-fixer
- prettier
- prettier-markdown
- prettier-yaml
- prettier-ruby
- reorder-python-imports
- rubocop
- rustfmt
- shellharden
- shfmt
- stylish-haskell
- terraform
- yapf
# Version of the set of Restylers to run
#
# This should correspond to a ref on the restyled-io/restylers repository,
# usually it's a tag that is a date of when that set was released. You could
# re-specify the default in your own config if you prefer to avoid update
# surprises.
#
restylers_version: "20190910"