Update some rubocop configs
This commit is contained in:
parent
f70600921f
commit
cc42c8a6d8
17
.rubocop.yml
17
.rubocop.yml
@ -94,12 +94,6 @@ Lint/SuppressedException:
|
|||||||
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions'
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions'
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
Lint/InvalidCharacterLiteral:
|
|
||||||
Description: >-
|
|
||||||
Checks for invalid character literals with a non-escaped
|
|
||||||
whitespace character.
|
|
||||||
Enabled: true
|
|
||||||
|
|
||||||
Lint/LiteralAsCondition:
|
Lint/LiteralAsCondition:
|
||||||
Description: 'Checks of literals used in conditions.'
|
Description: 'Checks of literals used in conditions.'
|
||||||
Enabled: true
|
Enabled: true
|
||||||
@ -680,13 +674,13 @@ Layout/IndentationWidth:
|
|||||||
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-indentation'
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-indentation'
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Layout/IndentArray:
|
Layout/FirstArrayElementIdentation:
|
||||||
Description: >-
|
Description: >-
|
||||||
Checks the indentation of the first element in an array
|
Checks the indentation of the first element in an array
|
||||||
literal.
|
literal.
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Layout/IndentHash:
|
Layout/FirstHashElementIdentation:
|
||||||
Description: 'Checks the indentation of the first key in a hash literal.'
|
Description: 'Checks the indentation of the first key in a hash literal.'
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
@ -1084,7 +1078,12 @@ Style/TrailingCommaInArguments:
|
|||||||
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-params-comma'
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-params-comma'
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Style/TrailingCommaInLiteral:
|
Style/TrailingCommaInArrayLiteral:
|
||||||
|
Description: 'Checks for trailing comma in literals.'
|
||||||
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
|
Style/TrailingCommaInHashLiteral:
|
||||||
Description: 'Checks for trailing comma in literals.'
|
Description: 'Checks for trailing comma in literals.'
|
||||||
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user