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
- Read upRead up
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
watch ("Guardfile") do
- Read upRead up
- Exclude checks
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"),
- Read upRead up
- Exclude checks
%w
-literals should be delimited by [
and ]
. Open
rails = dsl.rails(view_extensions: %w(erb haml slim))
- Read upRead up
- Exclude checks
Extra blank line detected. Open
guard 'migrate', rails_env: 'test', run_on_start: true do
- Read upRead up
- Exclude checks
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
- Read upRead up
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
guard :rspec, cmd: "bundle exec rspec -f doc" do
- Read upRead up
- Exclude checks
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]}") }
- Read upRead up
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
require "guard/rspec/dsl"
- Read upRead up
- Exclude checks
Unnecessary spacing detected. Open
watch(rails.view_dirs) { |m| rspec.spec.("features/#{m[1]}") }
- Read upRead up
- Exclude checks
Prefer the use of rspec.spec.call("acceptance/#{m[1]}")
over rspec.spec.("acceptance/#{m[1]}")
. Open
rspec.spec.("acceptance/#{m[1]}")
- Read upRead up
- Exclude checks
("Guardfile")
interpreted as grouped expression. Open
watch ("Guardfile") do
- Read upRead up
- Exclude checks
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"),
- Read upRead up
- Exclude checks
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"
- Read upRead up
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance"
- Read upRead up
- Exclude checks