mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Enable unless cops
We discussed the use of `unless` internally and decided to enforce available rules from rubocop to restrict its most problematic uses.
This commit is contained in:
committed by
Loïc Guitaut
parent
87de3c2319
commit
f7c57fbc19
@@ -1027,6 +1027,7 @@ posting:
|
||||
notify_about_queued_posts_after:
|
||||
type: float
|
||||
default: 24
|
||||
min: 0
|
||||
auto_close_messages_post_count:
|
||||
default: 500
|
||||
auto_close_topics_post_count:
|
||||
@@ -1955,6 +1956,7 @@ rate_limits:
|
||||
max_prints_per_hour_per_user:
|
||||
default: 5
|
||||
client: true
|
||||
min: 0
|
||||
max_logins_per_ip_per_hour:
|
||||
min: 1
|
||||
default: 30
|
||||
|
||||
Reference in New Issue
Block a user