mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-26 04:55:07 +01:00
Fix Style/PercentLiteralDelimiters
cop (#30006)
This commit is contained in:
parent
d24462c81a
commit
8d47ba893a
@ -197,13 +197,6 @@ Style/OptionalBooleanParameter:
|
|||||||
- 'app/workers/unfollow_follow_worker.rb'
|
- 'app/workers/unfollow_follow_worker.rb'
|
||||||
- 'lib/mastodon/redis_config.rb'
|
- 'lib/mastodon/redis_config.rb'
|
||||||
|
|
||||||
# This cop supports safe autocorrection (--autocorrect).
|
|
||||||
# Configuration parameters: PreferredDelimiters.
|
|
||||||
Style/PercentLiteralDelimiters:
|
|
||||||
Exclude:
|
|
||||||
- 'config/deploy.rb'
|
|
||||||
- 'config/initializers/doorkeeper.rb'
|
|
||||||
|
|
||||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||||
# Configuration parameters: EnforcedStyle.
|
# Configuration parameters: EnforcedStyle.
|
||||||
# SupportedStyles: short, verbose
|
# SupportedStyles: short, verbose
|
||||||
|
@ -13,8 +13,8 @@ set :migration_role, :app
|
|||||||
append :linked_files, '.env.production', 'public/robots.txt'
|
append :linked_files, '.env.production', 'public/robots.txt'
|
||||||
append :linked_dirs, 'vendor/bundle', 'node_modules', 'public/system'
|
append :linked_dirs, 'vendor/bundle', 'node_modules', 'public/system'
|
||||||
|
|
||||||
SYSTEMD_SERVICES = %i[sidekiq streaming web].freeze
|
SYSTEMD_SERVICES = %i(sidekiq streaming web).freeze
|
||||||
SERVICE_ACTIONS = %i[reload restart status].freeze
|
SERVICE_ACTIONS = %i(reload restart status).freeze
|
||||||
|
|
||||||
namespace :systemd do
|
namespace :systemd do
|
||||||
SYSTEMD_SERVICES.each do |service|
|
SYSTEMD_SERVICES.each do |service|
|
||||||
|
@ -150,7 +150,7 @@ Doorkeeper.configure do
|
|||||||
#
|
#
|
||||||
# You can use this option in order to forbid URI's with 'javascript' scheme
|
# You can use this option in order to forbid URI's with 'javascript' scheme
|
||||||
# for example.
|
# for example.
|
||||||
forbid_redirect_uri { |uri| %w[data vbscript javascript].include?(uri.scheme.to_s.downcase) }
|
forbid_redirect_uri { |uri| %w(data vbscript javascript).include?(uri.scheme.to_s.downcase) }
|
||||||
|
|
||||||
# Specify what grant flows are enabled in array of Strings. The valid
|
# Specify what grant flows are enabled in array of Strings. The valid
|
||||||
# strings and the flows they enable are:
|
# strings and the flows they enable are:
|
||||||
|
Loading…
Reference in New Issue
Block a user