Showing 121 of 137 total issues
Missing magic comment # frozen_string_literal: true
. Open
#!/usr/bin/env ruby
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
desc "Sample data for local development environment"
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Rule declaration should be followed by an empty line Open
}
- Create a ticketCreate a ticket
- Exclude checks
Prefer using placeholder selectors (e.g. %some-placeholder) with @extend Open
@extend .btn-primary;
- Create a ticketCreate a ticket
- Exclude checks
Use %i
or %I
for an array of symbols. Open
enum result: [:gov_win, :opp_win, :gov_forfeit, :opp_forfeit, :all_drop, :all_win]
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Put empty method definitions on a single line. Open
def show end
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Add an empty line after magic comments. Open
class RoomsController < ApplicationController
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Add an empty line after magic comments. Open
module Stats
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Add an empty line after magic comments. Open
module Stats
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Missing magic comment # frozen_string_literal: true
. Open
# Add your own tasks in files placed in lib/tasks ending in .rake,
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Prefer using placeholder selectors (e.g. %some-placeholder) with @extend Open
@extend .row;
- Create a ticketCreate a ticket
- Exclude checks
Add an empty line after magic comments. Open
module Rankable
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Put empty method definitions on a single line. Open
def edit end
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Use %i
or %I
for an array of symbols. Open
before_action :set_school, only: [:show, :edit, :update, :destroy]
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Add an empty line after magic comments. Open
module Stats
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Align the operands of a condition in an if
statement spanning multiple lines. Open
JudgePolicy.new(judge, round.opp_team).conflicted?
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
task prime: "db:setup" do
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Rule declaration should be followed by an empty line Open
}
- Create a ticketCreate a ticket
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
flash.to_hash.slice("alert", "error", "notice", "success")
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Add an empty line after magic comments. Open
class ScratchesController < ApplicationController
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks