backend/Gemfile
Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem google-cloud-speech
should appear before graphql
. Open
Open
gem 'google-cloud-speech'
- Read upRead up
- Exclude checks
Gems should be alphabetically sorted within groups.
Example:
# bad
gem 'rubocop'
gem 'rspec'
# good
gem 'rspec'
gem 'rubocop'
# good
gem 'rubocop'
gem 'rspec'
# good only if TreatCommentsAsGroupSeparators is true
# For code quality
gem 'rubocop'
# For tests
gem 'rspec'
Final newline missing. Open
Open
end
- Exclude checks
Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem graphiql-rails
should appear before spring-watcher-listen
. Open
Open
gem 'graphiql-rails'
- Read upRead up
- Exclude checks
Gems should be alphabetically sorted within groups.
Example:
# bad
gem 'rubocop'
gem 'rspec'
# good
gem 'rspec'
gem 'rubocop'
# good
gem 'rubocop'
gem 'rspec'
# good only if TreatCommentsAsGroupSeparators is true
# For code quality
gem 'rubocop'
# For tests
gem 'rspec'
Missing space after #
. Open
Open
#gem 'aws-sdk-rails', '~>2'
- Read upRead up
- Exclude checks
This cop checks whether comments have a leading space after the
#
denoting the start of the comment. The leading space is not
required for some RDoc special syntax, like #++
, #--
,
#:nodoc
, =begin
- and =end
comments, "shebang" directives,
or rackup options.
Example:
# bad
#Some comment
# good
# Some comment
Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem faker
should appear before rspec-rails
. Open
Open
gem 'faker'
- Read upRead up
- Exclude checks
Gems should be alphabetically sorted within groups.
Example:
# bad
gem 'rubocop'
gem 'rspec'
# good
gem 'rspec'
gem 'rubocop'
# good
gem 'rubocop'
gem 'rspec'
# good only if TreatCommentsAsGroupSeparators is true
# For code quality
gem 'rubocop'
# For tests
gem 'rspec'
Missing space after #
. Open
Open
#gem 'aws-sdk-s3', '~>1'
- Read upRead up
- Exclude checks
This cop checks whether comments have a leading space after the
#
denoting the start of the comment. The leading space is not
required for some RDoc special syntax, like #++
, #--
,
#:nodoc
, =begin
- and =end
comments, "shebang" directives,
or rackup options.
Example:
# bad
#Some comment
# good
# Some comment
Line is too long. [100/80] Open
Open
# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible
- Exclude checks
Line is too long. [130/80] Open
Open
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- Exclude checks
Line is too long. [83/80] Open
Open
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
- Exclude checks