kirushik/critical_chain

View on GitHub
Guardfile

Summary

Maintainability
Test Coverage

Showing 17 of 17 total issues

Block has too many lines. [26/25]
Open

guard :rspec, cmd: "bundle exec rspec -f doc" do
require "guard/rspec/dsl"
dsl = Guard::RSpec::Dsl.new(self)
 
# Feel free to open issues for suggestions and improvements
Severity: Minor
Found in Guardfile by rubocop

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

watch ("Guardfile") do
Severity: Minor
Found in Guardfile by rubocop

Missing frozen string literal comment.
Open

# A sample Guardfile
Severity: Minor
Found in Guardfile by rubocop

Prefer the use of rspec.spec.call("controllers/#{m[1]}_controller") over rspec.spec.("controllers/#{m[1]}_controller").
Open

rspec.spec.("controllers/#{m[1]}_controller"),
Severity: Minor
Found in Guardfile by rubocop

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

rails = dsl.rails(view_extensions: %w(erb haml slim))
Severity: Minor
Found in Guardfile by rubocop

Extra blank line detected.
Open

guard 'migrate', rails_env: 'test', run_on_start: true do
Severity: Minor
Found in Guardfile by rubocop

Annotation keywords like Note should be all upper case, followed by a colon, and a space, then a note describing the problem.
Open

# Note: The cmd option is now required due to the increasing number of ways
Severity: Minor
Found in Guardfile by rubocop

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

guard :rspec, cmd: "bundle exec rspec -f doc" do
Severity: Minor
Found in Guardfile by rubocop

Prefer the use of rspec.spec.call("features/#{m[1]}") over rspec.spec.("features/#{m[1]}").
Open

watch(rails.view_dirs) { |m| rspec.spec.("features/#{m[1]}") }
Severity: Minor
Found in Guardfile by rubocop

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

require "guard/rspec/dsl"
Severity: Minor
Found in Guardfile by rubocop

Unnecessary spacing detected.
Open

watch(rails.view_dirs) { |m| rspec.spec.("features/#{m[1]}") }
Severity: Minor
Found in Guardfile by rubocop

Prefer the use of rspec.spec.call("acceptance/#{m[1]}") over rspec.spec.("acceptance/#{m[1]}").
Open

rspec.spec.("acceptance/#{m[1]}")
Severity: Minor
Found in Guardfile by rubocop

Final newline missing.
Open

end
Severity: Minor
Found in Guardfile by rubocop

("Guardfile") interpreted as grouped expression.
Open

watch ("Guardfile") do
Severity: Minor
Found in Guardfile by rubocop

Prefer the use of rspec.spec.call("routing/#{m[1]}_routing") over rspec.spec.("routing/#{m[1]}_routing").
Open

rspec.spec.("routing/#{m[1]}_routing"),
Severity: Minor
Found in Guardfile by rubocop

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

UI.info "Exiting because Guard must be restarted for changes to take effect"
Severity: Minor
Found in Guardfile by rubocop

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

Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance"
Severity: Minor
Found in Guardfile by rubocop
Category
Status