Skip to content

Commit bdbf9b1

Browse files
committed
refactor(reviewer-basic): remove post review configuration options
1 parent e927626 commit bdbf9b1

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

reviewer-basic/basic.go

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -179,25 +179,6 @@ func (r *Reviewer) ConfigFields() []plugin.ConfigField {
179179
},
180180
},
181181
},
182-
{
183-
Name: "review_post_all",
184-
Type: plugin.ConfigTypeSwitch,
185-
Title: plugin.MakeTranslator(i18n.ConfigReviewPostTitle),
186-
UIOptions: plugin.ConfigFieldUIOptions{
187-
Label: plugin.MakeTranslator(i18n.ConfigReviewPostLabelAll),
188-
FieldClassName: "mb-0",
189-
},
190-
Value: r.Config.PostAllNeedReview,
191-
},
192-
{
193-
Name: "review_post",
194-
Type: plugin.ConfigTypeSwitch,
195-
Description: plugin.MakeTranslator(i18n.ConfigReviewPostDescription),
196-
UIOptions: plugin.ConfigFieldUIOptions{
197-
Label: plugin.MakeTranslator(i18n.ConfigReviewPostLabelFirst),
198-
},
199-
Value: r.Config.PostNeedReview,
200-
},
201182
{
202183
Name: "review_post_keywords",
203184
Type: plugin.ConfigTypeTextarea,

0 commit comments

Comments
 (0)