Merge pull request #6909 from adullact/feature/6867-rubocop-sort-cops
Tri alphabétique des règles Rubocop
This commit is contained in:
commit
7705fdd164
1 changed files with 54 additions and 37 deletions
91
.rubocop.yml
91
.rubocop.yml
|
@ -674,15 +674,24 @@ Performance/UnfreezeString:
|
|||
Performance/UriDefaultParser:
|
||||
Enabled: true
|
||||
|
||||
Rails:
|
||||
Enabled: true
|
||||
|
||||
Rails/ActionFilter:
|
||||
Enabled: true
|
||||
|
||||
Rails/ActiveRecordAliases:
|
||||
Enabled: true
|
||||
|
||||
Rails/ActiveRecordCallbacksOrder:
|
||||
Enabled: false
|
||||
|
||||
Rails/ActiveSupportAliases:
|
||||
Enabled: true
|
||||
|
||||
Rails/AfterCommitOverride:
|
||||
Enabled: true
|
||||
|
||||
Rails/ApplicationJob:
|
||||
Enabled: true
|
||||
|
||||
|
@ -692,8 +701,8 @@ Rails/ApplicationRecord:
|
|||
Rails/ApplicationController:
|
||||
Enabled: false
|
||||
|
||||
Rails/RakeEnvironment:
|
||||
Enabled: false
|
||||
Rails/AttributeDefaultBlockValue:
|
||||
Enabled: true
|
||||
|
||||
Rails/Blank:
|
||||
Enabled: true
|
||||
|
@ -739,6 +748,9 @@ Rails/FilePath:
|
|||
Rails/FindBy:
|
||||
Enabled: true
|
||||
|
||||
Rails/FindById:
|
||||
Enabled: true
|
||||
|
||||
Rails/FindEach:
|
||||
Enabled: true
|
||||
|
||||
|
@ -754,12 +766,24 @@ Rails/HttpPositionalArguments:
|
|||
Rails/HttpStatus:
|
||||
Enabled: false
|
||||
|
||||
Rails/Inquiry:
|
||||
Enabled: true
|
||||
|
||||
Rails/InverseOf:
|
||||
Enabled: true
|
||||
|
||||
Rails/LexicallyScopedActionFilter:
|
||||
Enabled: false
|
||||
|
||||
Rails/MailerName:
|
||||
Enabled: true
|
||||
|
||||
Rails/MatchRoute:
|
||||
Enabled: true
|
||||
|
||||
Rails/NegateInclude:
|
||||
Enabled: false
|
||||
|
||||
Rails/NotNullColumn:
|
||||
Enabled: false
|
||||
|
||||
|
@ -769,6 +793,12 @@ Rails/Output:
|
|||
Rails/OutputSafety:
|
||||
Enabled: true
|
||||
|
||||
Rails/Pluck:
|
||||
Enabled: false
|
||||
|
||||
Rails/PluckInWhere:
|
||||
Enabled: true
|
||||
|
||||
Rails/PluralizationGrammar:
|
||||
Enabled: true
|
||||
|
||||
|
@ -778,6 +808,9 @@ Rails/Presence:
|
|||
Rails/Present:
|
||||
Enabled: true
|
||||
|
||||
Rails/RakeEnvironment:
|
||||
Enabled: false
|
||||
|
||||
Rails/ReadWriteAttribute:
|
||||
Enabled: false
|
||||
|
||||
|
@ -790,6 +823,12 @@ Rails/RedundantReceiverInWithOptions:
|
|||
Rails/RelativeDateConstant:
|
||||
Enabled: true
|
||||
|
||||
Rails/RenderInline:
|
||||
Enabled: true
|
||||
|
||||
Rails/RenderPlainText:
|
||||
Enabled: true
|
||||
|
||||
Rails/RequestReferer:
|
||||
Enabled: true
|
||||
|
||||
|
@ -802,9 +841,15 @@ Rails/SaveBang:
|
|||
Rails/ScopeArgs:
|
||||
Enabled: true
|
||||
|
||||
Rails/ShortI18n:
|
||||
Enabled: true
|
||||
|
||||
Rails/SkipsModelValidations:
|
||||
Enabled: false
|
||||
|
||||
Rails/SquishedSQLHeredocs:
|
||||
Enabled: true
|
||||
|
||||
Rails/TimeZone:
|
||||
EnforcedStyle: strict
|
||||
|
||||
|
@ -820,7 +865,13 @@ Rails/UnknownEnv:
|
|||
Rails/Validation:
|
||||
Enabled: true
|
||||
|
||||
Rails:
|
||||
Rails/WhereEquals:
|
||||
Enabled: true
|
||||
|
||||
Rails/WhereExists:
|
||||
Enabled: true
|
||||
|
||||
Rails/WhereNot:
|
||||
Enabled: true
|
||||
|
||||
RSpec/Focused:
|
||||
|
@ -1323,37 +1374,3 @@ Style/YodaCondition:
|
|||
Style/ZeroLengthPredicate:
|
||||
Enabled: true
|
||||
|
||||
Rails/ActiveRecordCallbacksOrder:
|
||||
Enabled: false
|
||||
Rails/AfterCommitOverride:
|
||||
Enabled: true
|
||||
Rails/AttributeDefaultBlockValue:
|
||||
Enabled: true
|
||||
Rails/FindById:
|
||||
Enabled: true
|
||||
Rails/Inquiry:
|
||||
Enabled: true
|
||||
Rails/MailerName:
|
||||
Enabled: true
|
||||
Rails/MatchRoute:
|
||||
Enabled: true
|
||||
Rails/NegateInclude:
|
||||
Enabled: false
|
||||
Rails/Pluck:
|
||||
Enabled: false
|
||||
Rails/PluckInWhere:
|
||||
Enabled: true
|
||||
Rails/RenderInline:
|
||||
Enabled: true
|
||||
Rails/RenderPlainText:
|
||||
Enabled: true
|
||||
Rails/ShortI18n:
|
||||
Enabled: true
|
||||
Rails/SquishedSQLHeredocs:
|
||||
Enabled: true
|
||||
Rails/WhereEquals:
|
||||
Enabled: true
|
||||
Rails/WhereExists:
|
||||
Enabled: true
|
||||
Rails/WhereNot:
|
||||
Enabled: true
|
||||
|
|
Loading…
Reference in a new issue