mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-04 04:04:36 +08:00
Updated cop names with the latest version linter-rubocop (2.1.1)
This commit is contained in:
parent
c57589781c
commit
a1aa0e8590
1 changed files with 5 additions and 5 deletions
10
.rubocop.yml
10
.rubocop.yml
|
@ -31,7 +31,7 @@ Style/BracesAroundHashParameters:
|
|||
EnforcedStyle: no_braces
|
||||
|
||||
Style/CaseIndentation:
|
||||
IndentWhenRelativeTo: case
|
||||
EnforcedStyle: case
|
||||
|
||||
Style/ClassAndModuleChildren:
|
||||
EnforcedStyle: nested
|
||||
|
@ -383,16 +383,16 @@ Lint/AssignmentInCondition:
|
|||
AllowSafeAssignment: true
|
||||
|
||||
Lint/BlockAlignment:
|
||||
AlignWith: either
|
||||
EnforcedStyleAlignWith: either
|
||||
|
||||
Lint/EndAlignment:
|
||||
AlignWith: keyword
|
||||
EnforcedStyleAlignWith: keyword
|
||||
|
||||
Lint/DuplicateMethods:
|
||||
Enabled: false
|
||||
|
||||
Lint/DefEndAlignment:
|
||||
AlignWith: start_of_line
|
||||
EnforcedStyleAlignWith: start_of_line
|
||||
|
||||
Lint/UnusedBlockArgument:
|
||||
IgnoreEmptyBlocks: true
|
||||
|
@ -476,7 +476,7 @@ Rails/TimeZone:
|
|||
EnforcedStyle: flexible
|
||||
|
||||
Rails/UniqBeforePluck:
|
||||
EnforcedMode: conservative
|
||||
EnforcedStyle: conservative
|
||||
|
||||
Rails/Validation:
|
||||
Include:
|
||||
|
|
Loading…
Add table
Reference in a new issue