mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-06 01:05:54 -05:00
commit
6170e0a61a
2 changed files with 6 additions and 6 deletions
|
@ -64,7 +64,7 @@ RUN npm -g --no-cache install \
|
||||||
####################
|
####################
|
||||||
# Run GEM installs #
|
# Run GEM installs #
|
||||||
####################
|
####################
|
||||||
RUN gem install rubocop
|
RUN gem install rubocop rubocop-rails
|
||||||
|
|
||||||
######################
|
######################
|
||||||
# Install shellcheck #
|
# Install shellcheck #
|
||||||
|
|
|
@ -22,10 +22,6 @@ Security/Open:
|
||||||
############################# Metrics Rules ####################################
|
############################# Metrics Rules ####################################
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Commonly used screens these days easily fit more than 80 characters.
|
|
||||||
Metrics/LineLength:
|
|
||||||
Max: 120
|
|
||||||
|
|
||||||
# Too short methods lead to extraction of single-use methods, which can make
|
# Too short methods lead to extraction of single-use methods, which can make
|
||||||
# the code easier to read (by naming things), but can also clutter the class
|
# the code easier to read (by naming things), but can also clutter the class
|
||||||
Metrics/MethodLength:
|
Metrics/MethodLength:
|
||||||
|
@ -73,6 +69,10 @@ Layout/SpaceInsideBlockBraces:
|
||||||
Layout/SpaceInsideHashLiteralBraces:
|
Layout/SpaceInsideHashLiteralBraces:
|
||||||
EnforcedStyle: no_space
|
EnforcedStyle: no_space
|
||||||
|
|
||||||
|
# Commonly used screens these days easily fit more than 80 characters.
|
||||||
|
Layout/LineLength:
|
||||||
|
Max: 120
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
########################### Style Rules ########################################
|
########################### Style Rules ########################################
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -167,7 +167,7 @@ Lint/ShadowingOuterLocalVariable:
|
||||||
# Suppressing exceptions can be perfectly fine, and be it to avoid to
|
# Suppressing exceptions can be perfectly fine, and be it to avoid to
|
||||||
# explicitly type nil into the rescue since that's what you want to return,
|
# explicitly type nil into the rescue since that's what you want to return,
|
||||||
# or suppressing LoadError for optional dependencies
|
# or suppressing LoadError for optional dependencies
|
||||||
Lint/HandleExceptions:
|
Lint/SuppressedException:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Lint/AssignmentInCondition:
|
Lint/AssignmentInCondition:
|
||||||
|
|
Loading…
Reference in a new issue