Skip to content

Commit d32b98a

Browse files
committed
fix: lint failure
1 parent 009d2bc commit d32b98a

File tree

1 file changed

+0
-9
lines changed
  • lib/slack-ruby-bot-server/config

1 file changed

+0
-9
lines changed

lib/slack-ruby-bot-server/config/pagy.rb

-9
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,17 @@
44
# Customize only what you really need and notice that the core Pagy works also without any of the following lines.
55
# Should you just cherry pick part of this file, please maintain the require-order of the extras
66

7-
87
# Pagy DEFAULT Variables
98
# See https://ddnexus.github.io/pagy/docs/api/pagy#variables
109
# All the Pagy::DEFAULT are set for all the Pagy instances but can be overridden per instance by just passing them to
1110
# Pagy.new|Pagy::Countless.new|Pagy::Calendar::*.new or any of the #pagy* controller methods
1211

13-
1412
# Instance variables
1513
# See https://ddnexus.github.io/pagy/docs/api/pagy#instance-variables
1614
# Pagy::DEFAULT[:page] = 1 # default
1715
# Pagy::DEFAULT[:items] = 20 # default
1816
# Pagy::DEFAULT[:outset] = 0 # default
1917

20-
2118
# Other Variables
2219
# See https://ddnexus.github.io/pagy/docs/api/pagy#other-variables
2320
# Pagy::DEFAULT[:size] = [1,4,4,1] # default
@@ -30,11 +27,9 @@
3027
# Pagy::DEFAULT[:cycle] = true # example
3128
# Pagy::DEFAULT[:request_path] = "/foo" # example
3229

33-
3430
# Extras
3531
# See https://ddnexus.github.io/pagy/docs/extras
3632

37-
3833
# Backend Extras
3934

4035
# Array extra: Paginate arrays efficiently, avoiding expensive array-wrapping and without overriding
@@ -118,7 +113,6 @@
118113
# uncomment if you are going to use Searchkick.pagy_search
119114
# Searchkick.extend Pagy::Searchkick
120115

121-
122116
# Frontend Extras
123117

124118
# Bootstrap extra: Add nav, nav_js and combo_nav_js helpers and templates for Bootstrap pagination
@@ -155,7 +149,6 @@
155149
# See https://ddnexus.github.io/pagy/docs/extras/navs#steps
156150
# Pagy::DEFAULT[:steps] = { 0 => [2,3,3,2], 540 => [3,5,5,3], 720 => [5,7,7,5] } # example
157151

158-
159152
# Feature Extras
160153

161154
# Gearbox extra: Automatically change the number of items per page depending on the page number
@@ -232,7 +225,6 @@
232225
# filepath: 'path/to/pagy-xyz.yml',
233226
# pluralize: lambda{ |count| ... } )
234227

235-
236228
# I18n extra: uses the standard i18n gem which is ~18x slower using ~10x more memory
237229
# than the default pagy internal i18n (see above)
238230
# See https://ddnexus.github.io/pagy/docs/extras/i18n
@@ -241,6 +233,5 @@
241233
# Default i18n key
242234
# Pagy::DEFAULT[:i18n_key] = 'pagy.item_name' # default
243235

244-
245236
# When you are done setting your own default freeze it, so it will not get changed accidentally
246237
Pagy::DEFAULT.freeze

0 commit comments

Comments
 (0)