BenMusch/nu-tab

View on GitHub

Showing 121 of 137 total issues

Prefer using placeholder selectors (e.g. %some-placeholder) with @extend
Open

@extend .img-fluid;

Prefer using placeholder selectors (e.g. %some-placeholder) with @extend
Open

@extend .btn-lg;

Properties should be ordered list-style-type, padding
Open

padding: 0;

Add an empty line after magic comments.
Open

module Pairing

Add an empty line after magic comments.
Open

module Pairing

%w-literals should be delimited by [ and ].
Open

%w(update check).each do |command|
Severity: Minor
Found in lib/tasks/bundler_audit.rake by rubocop

Prefer using placeholder selectors (e.g. %some-placeholder) with @extend
Open

@extend .row;

Add an empty line after magic comments.
Open

class TeamsController < ApplicationController
Severity: Minor
Found in app/controllers/teams_controller.rb by rubocop

Add an empty line after magic comments.
Open

class SchoolsController < ApplicationController

Use %i or %I for an array of symbols.
Open

before_action :set_scratch, only: [:show, :destroy]

Put empty method definitions on a single line.
Open

def show
end

Missing magic comment # frozen_string_literal: true.
Open

if Rails.env.development? || Rails.env.test?
Severity: Minor
Found in lib/tasks/bundler_audit.rake by rubocop

Rule declaration should be followed by an empty line
Open

}

Add an empty line after magic comments.
Open

module CheckInnable

Add an empty line after magic comments.
Open

module Pairing

Missing magic comment # frozen_string_literal: true.
Open

module FlashesHelper
Severity: Minor
Found in app/helpers/flashes_helper.rb by rubocop

Keep a blank line before and after private.
Open

private
Severity: Minor
Found in app/controllers/rooms_controller.rb by rubocop

Put empty method definitions on a single line.
Open

def show
end

Align map with teams.chunk { |team| team.stats.wins }. on line 28.
Open

map { |bracket| bracket[1] }

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

task prime: "db:setup" do
Severity: Minor
Found in lib/tasks/dev.rake by rubocop
Severity
Category
Status
Source
Language