-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test offenses #186
base: master
Are you sure you want to change the base?
Test offenses #186
Changes from all commits
7c65c67
bac0be6
3f6f6b0
6fb2758
d39dd33
2dc58be
d29d622
d049d4b
ffb161d
7bee063
8a3c6bd
408490b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -171,7 +171,7 @@ def single_heading? | |||||||||
end | ||||||||||
|
||||||||||
def heading_price(heading) | ||||||||||
heading_ids.include?(heading.id) ? heading.price : -1 | ||||||||||
heading_ids.include?( heading.id) ? heading.price : -1 | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Layout/SpaceAroundOperators: Operator
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Layout/ExtraSpacing: Unnecessary spacing detected.
Suggested change
|
||||||||||
end | ||||||||||
|
||||||||||
def formatted_amount(amount) | ||||||||||
|
@@ -187,7 +187,7 @@ def formatted_heading_price(heading) | |||||||||
|
||||||||||
def investments_orders | ||||||||||
case phase | ||||||||||
when "accepting", "reviewing", "finished" | ||||||||||
when 'accepting', 'reviewing', "finished" | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. (https://rubystyle.guide#consistent-string-literals)
Suggested change
|
||||||||||
%w[random] | ||||||||||
when "publishing_prices", "balloting", "reviewing_ballots" | ||||||||||
hide_money? ? %w[random] : %w[random price] | ||||||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:base" | ||
], | ||
"ignorePaths": ["Gemfile", ".github/workflows/*"] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/SpaceInsideParens: Space inside parentheses detected. (https://rubystyle.guide#spaces-braces)