Showing 121 of 137 total issues
Prefer using placeholder selectors (e.g. %some-placeholder) with @extend Open
@extend .img-fluid;
- Create a ticketCreate a ticket
- Exclude checks
Prefer using placeholder selectors (e.g. %some-placeholder) with @extend Open
@extend .btn-lg;
- Create a ticketCreate a ticket
- Exclude checks
Properties should be ordered list-style-type, padding Open
padding: 0;
- Create a ticketCreate a ticket
- Exclude checks
Add an empty line after magic comments. Open
module Pairing
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Add an empty line after magic comments. Open
module Pairing
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
%w
-literals should be delimited by [
and ]
. Open
%w(update check).each do |command|
- 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
class TeamsController < ApplicationController
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Add an empty line after magic comments. Open
class SchoolsController < ApplicationController
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Use %i
or %I
for an array of symbols. Open
before_action :set_scratch, only: [:show, :destroy]
- 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
Missing magic comment # frozen_string_literal: true
. Open
if Rails.env.development? || Rails.env.test?
- 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
Add an empty line after magic comments. Open
module CheckInnable
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Add an empty line after magic comments. Open
module Pairing
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Missing magic comment # frozen_string_literal: true
. Open
module FlashesHelper
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Keep a blank line before and after private
. Open
private
- 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
Align map
with teams.chunk { |team| team.stats.wins }.
on line 28. Open
map { |bracket| bracket[1] }
- 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