2017-12-22 16:50:20 +01:00
|
|
|
require:
|
2022-01-05 15:39:23 +01:00
|
|
|
- rubocop-performance
|
|
|
|
- rubocop-rails
|
2021-12-01 10:24:32 +01:00
|
|
|
- rubocop-rspec
|
2021-04-06 15:21:56 +02:00
|
|
|
- ./lib/cops/add_concurrent_index.rb
|
2020-07-23 16:10:51 +02:00
|
|
|
- ./lib/cops/application_name.rb
|
2021-04-06 15:21:56 +02:00
|
|
|
- ./lib/cops/unscoped.rb
|
|
|
|
|
2022-08-31 11:23:25 +02:00
|
|
|
inherit_mode:
|
|
|
|
merge:
|
|
|
|
- Include
|
|
|
|
|
2017-06-13 11:27:41 +02:00
|
|
|
AllCops:
|
2024-04-29 00:16:24 +02:00
|
|
|
TargetRubyVersion: 3.3
|
2022-01-05 15:39:23 +01:00
|
|
|
DisabledByDefault: true
|
|
|
|
SuggestExtensions: false
|
2023-04-19 10:46:36 +02:00
|
|
|
NewCops: enable
|
2022-08-31 11:23:25 +02:00
|
|
|
Include:
|
|
|
|
- "app/**/*.prawn"
|
2017-06-13 11:27:41 +02:00
|
|
|
Exclude:
|
|
|
|
- "db/schema.rb"
|
2019-09-10 16:53:11 +02:00
|
|
|
- "db/migrate/20190730153555_recreate_structure.rb"
|
2018-06-18 13:14:46 +02:00
|
|
|
- "bin/*"
|
2018-07-12 11:50:47 +02:00
|
|
|
- "node_modules/**/*"
|
2021-02-17 19:06:55 +01:00
|
|
|
- "vendor/**/*"
|
2024-04-29 00:16:24 +02:00
|
|
|
- "storage/**/*"
|
|
|
|
- "tmp/**/*"
|
2017-06-13 11:27:41 +02:00
|
|
|
|
2021-04-06 15:21:56 +02:00
|
|
|
DS/AddConcurrentIndex:
|
2020-07-23 16:10:51 +02:00
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
DS/ApplicationName:
|
|
|
|
Enabled: true
|
|
|
|
Exclude:
|
2021-02-24 15:06:33 +01:00
|
|
|
- './config/initializers/01_application_name.rb'
|
2020-07-23 16:10:51 +02:00
|
|
|
- './lib/cops/application_name.rb'
|
|
|
|
- './lib/linters/application_name_linter.rb'
|
|
|
|
- "./spec/**/*"
|
|
|
|
|
2021-04-06 15:21:56 +02:00
|
|
|
DS/Unscoped:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Bundler/DuplicatedGem:
|
2017-06-12 13:34:04 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Bundler/InsecureProtocolSource:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Bundler/OrderedGems:
|
2018-12-21 11:50:52 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Gemspec/DuplicatedAssignment:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Gemspec/OrderedDependencies:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Gemspec/RequiredRubyVersion:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Layout/AccessModifierIndentation:
|
2017-06-12 13:34:04 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Layout/ArrayAlignment:
|
2017-06-12 13:34:19 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Layout/HashAlignment:
|
2017-06-12 13:32:37 +02:00
|
|
|
Enabled: false
|
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Layout/ParameterAlignment:
|
2017-06-12 13:49:51 +02:00
|
|
|
Enabled: true
|
|
|
|
EnforcedStyle: with_fixed_indentation
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-02 16:27:03 +01:00
|
|
|
Layout/BlockAlignment:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Layout/BlockEndNewline:
|
2017-06-12 14:10:49 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/CaseIndentation:
|
2017-06-12 15:05:46 +02:00
|
|
|
Enabled: true
|
|
|
|
EnforcedStyle: end
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Layout/ClassStructure:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Layout/ClosingParenthesisIndentation:
|
2017-06-12 13:34:04 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/CommentIndentation:
|
2017-06-12 15:12:51 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-02 16:27:03 +01:00
|
|
|
Layout/ConditionPosition:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2018-03-02 16:27:03 +01:00
|
|
|
|
|
|
|
Layout/DefEndAlignment:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Layout/DotPosition:
|
2017-06-12 15:16:15 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/ElseAlignment:
|
2017-06-12 13:34:04 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Layout/EmptyComment:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Layout/EmptyLineAfterMagicComment:
|
2017-06-12 13:34:04 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/EmptyLineBetweenDefs:
|
2017-06-12 15:27:16 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/EmptyLines:
|
2017-06-12 15:33:02 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-05-18 18:06:48 +02:00
|
|
|
Layout/EmptyLineAfterGuardClause:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-11-16 11:51:25 +01:00
|
|
|
# FIXME: private should not be a column name on TypeDeChamp
|
2017-06-12 13:32:37 +02:00
|
|
|
Layout/EmptyLinesAroundAccessModifier:
|
2017-06-12 15:35:21 +02:00
|
|
|
Enabled: true
|
2020-03-05 11:03:39 +01:00
|
|
|
EnforcedStyle: around
|
2018-11-16 11:51:25 +01:00
|
|
|
Exclude:
|
|
|
|
- "spec/factories/type_de_champ.rb"
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Layout/EmptyLinesAroundArguments:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Layout/EmptyLinesAroundBeginBody:
|
2017-06-12 13:34:04 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/EmptyLinesAroundBlockBody:
|
2017-06-12 15:58:15 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/EmptyLinesAroundClassBody:
|
2017-06-12 16:01:04 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Layout/EmptyLinesAroundMethodBody:
|
2017-06-12 16:06:07 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/EmptyLinesAroundModuleBody:
|
2017-06-12 16:07:05 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-02 16:27:03 +01:00
|
|
|
Layout/EndAlignment:
|
|
|
|
Enabled: true
|
|
|
|
EnforcedStyleAlignWith: variable
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Layout/EndOfLine:
|
2017-06-12 13:34:04 +02:00
|
|
|
Enabled: true
|
|
|
|
EnforcedStyle: lf
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/ExtraSpacing:
|
2017-06-12 16:12:03 +02:00
|
|
|
Enabled: true
|
|
|
|
Exclude:
|
|
|
|
- "Guardfile"
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/FirstArrayElementLineBreak:
|
2018-01-15 14:42:48 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/FirstHashElementLineBreak:
|
2018-01-15 15:34:26 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/FirstMethodArgumentLineBreak:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Layout/FirstMethodParameterLineBreak:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Layout/FirstParameterIndentation:
|
2018-01-15 18:48:14 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Layout/FirstArrayElementIndentation:
|
2018-01-15 18:54:57 +01:00
|
|
|
Enabled: true
|
2018-01-15 18:56:00 +01:00
|
|
|
EnforcedStyle: consistent
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Layout/AssignmentIndentation:
|
2018-01-15 18:56:00 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Layout/FirstHashElementIndentation:
|
2018-01-15 19:02:12 +01:00
|
|
|
Enabled: true
|
|
|
|
EnforcedStyle: consistent
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Layout/HeredocIndentation:
|
2018-01-15 19:09:08 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/IndentationConsistency:
|
2018-01-15 19:12:15 +01:00
|
|
|
Enabled: true
|
2020-03-05 11:03:39 +01:00
|
|
|
EnforcedStyle: normal
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/IndentationWidth:
|
2017-08-28 11:18:38 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/InitialIndentation:
|
2018-01-15 19:12:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/LeadingCommentSpace:
|
2018-01-15 19:14:09 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/MultilineArrayBraceLayout:
|
2018-01-15 19:17:01 +01:00
|
|
|
Enabled: true
|
|
|
|
EnforcedStyle: new_line
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/MultilineAssignmentLayout:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Layout/MultilineBlockLayout:
|
2018-01-15 19:22:02 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/MultilineHashBraceLayout:
|
2018-01-15 19:24:05 +01:00
|
|
|
Enabled: true
|
|
|
|
EnforcedStyle: new_line
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/MultilineMethodCallBraceLayout:
|
2018-01-15 19:29:44 +01:00
|
|
|
Enabled: true
|
|
|
|
EnforcedStyle: symmetrical
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/MultilineMethodCallIndentation:
|
2018-01-15 19:34:08 +01:00
|
|
|
Enabled: true
|
|
|
|
EnforcedStyle: indented
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/MultilineMethodDefinitionBraceLayout:
|
2018-01-15 19:35:20 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/MultilineOperationIndentation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Layout/RescueEnsureAlignment:
|
2018-01-15 19:38:28 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceAfterColon:
|
2018-01-15 21:43:56 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceAfterComma:
|
2018-12-24 17:37:57 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceAfterMethodName:
|
2018-01-15 21:45:23 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceAfterNot:
|
2018-01-15 21:45:50 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceAfterSemicolon:
|
2018-01-15 21:46:27 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceAroundBlockParameters:
|
2018-01-15 21:46:49 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceAroundEqualsInParameterDefault:
|
2018-01-15 21:47:01 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceAroundKeyword:
|
2018-01-15 21:48:16 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceAroundOperators:
|
2017-08-28 10:56:37 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceBeforeBlockBraces:
|
2018-12-24 17:28:20 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceBeforeComma:
|
2018-01-15 21:49:52 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceBeforeComment:
|
2018-01-15 21:50:46 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceBeforeFirstArg:
|
2018-01-15 21:51:42 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceBeforeSemicolon:
|
2018-01-15 21:52:21 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceInLambdaLiteral:
|
2018-01-15 21:53:30 +01:00
|
|
|
Enabled: true
|
|
|
|
EnforcedStyle: require_space
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceInsideArrayPercentLiteral:
|
2018-01-15 21:54:21 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceInsideBlockBraces:
|
2018-01-15 21:54:40 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceInsideHashLiteralBraces:
|
2018-01-16 13:34:24 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Layout/SpaceInsideArrayLiteralBrackets:
|
2018-12-24 17:29:46 +01:00
|
|
|
Enabled: true
|
|
|
|
EnforcedStyle: no_space
|
2018-01-12 13:16:08 +01:00
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Layout/SpaceInsideParens:
|
2018-01-15 22:10:46 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceInsidePercentLiteralDelimiters:
|
2018-01-15 22:11:18 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/SpaceInsideRangeLiteral:
|
2018-01-15 22:11:37 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 10:42:49 +01:00
|
|
|
Layout/SpaceInsideReferenceBrackets:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Layout/SpaceInsideStringInterpolation:
|
2018-01-15 22:12:00 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-09-24 15:06:39 +02:00
|
|
|
Layout/IndentationStyle:
|
2018-01-15 22:12:58 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Layout/TrailingEmptyLines:
|
2018-01-15 22:13:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Layout/TrailingWhitespace:
|
2018-01-15 22:13:52 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/AmbiguousBlockAssociation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Lint/AmbiguousOperator:
|
2018-03-06 12:09:57 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/AmbiguousRegexpLiteral:
|
2018-03-06 12:09:57 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/AssignmentInCondition:
|
2018-03-06 12:01:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Lint/BigDecimalNew:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Lint/BooleanSymbol:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Lint/CircularArgumentReference:
|
2018-03-06 12:03:32 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/Debugger:
|
2018-03-06 12:03:32 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/DeprecatedClassMethods:
|
2018-03-06 12:03:32 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/DuplicateCaseCondition:
|
2018-03-06 12:03:32 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/DuplicateMethods:
|
2018-03-06 12:03:32 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Lint/DuplicateHashKey:
|
2018-03-06 12:03:32 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/EachWithObjectArgument:
|
2018-03-06 12:03:32 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/ElseLayout:
|
2018-03-06 12:03:32 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/EmptyEnsure:
|
2018-03-06 12:03:32 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/EmptyExpression:
|
2018-03-06 12:03:32 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/EmptyInterpolation:
|
2018-03-06 12:03:32 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/EmptyWhen:
|
2018-03-06 12:03:32 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/EnsureReturn:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Lint/FloatOutOfRange:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/FormatParameterMismatch:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Lint/SuppressedException:
|
2017-06-12 13:32:37 +02:00
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Lint/ImplicitStringConcatenation:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/IneffectiveAccessModifier:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Lint/InheritException:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Lint/InterpolationCheck:
|
|
|
|
Enabled: true
|
|
|
|
|
2018-03-06 10:42:49 +01:00
|
|
|
Lint/LiteralAsCondition:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/LiteralInInterpolation:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/Loop:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Lint/MissingCopEnableDirective:
|
|
|
|
Enabled: true
|
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Lint/MultipleComparison:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/NestedMethodDefinition:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Lint/NestedPercentLiteral:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Lint/NextWithoutAccumulator:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/NonLocalExitFromIterator:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Lint/NumberConversion:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Lint/OrderedMagicComments:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Lint/ParenthesesAsGroupedExpression:
|
2018-12-24 17:36:18 +01:00
|
|
|
Enabled: true
|
|
|
|
Exclude:
|
|
|
|
- "spec/**/*"
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/PercentStringArray:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Lint/PercentSymbolArray:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Lint/RandOne:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Lint/RedundantWithIndex:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Lint/RedundantWithObject:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Lint/RegexpAsCondition:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Lint/RequireParentheses:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Lint/RescueException:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/RescueType:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/ReturnInVoidContext:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Lint/SafeNavigationChain:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/ScriptPermission:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Lint/ShadowedArgument:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Lint/ShadowedException:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/ShadowingOuterLocalVariable:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Lint/RedundantStringCoercion:
|
2018-12-24 17:43:12 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/Syntax:
|
2018-01-12 13:16:08 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/UnderscorePrefixedVariableName:
|
2018-12-24 17:48:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/UnifiedInteger:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Lint/RedundantCopDisableDirective:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Lint/RedundantCopEnableDirective:
|
2018-03-06 11:50:50 +01:00
|
|
|
Enabled: true
|
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Lint/RedundantRequireStatement:
|
2018-03-06 11:50:50 +01:00
|
|
|
Enabled: true
|
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Lint/RedundantSplatExpansion:
|
2017-06-12 13:32:37 +02:00
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Lint/UnreachableCode:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/UnusedBlockArgument:
|
2018-12-24 17:53:16 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/UnusedMethodArgument:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Lint/UriEscapeUnescape:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Lint/UriRegexp:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Lint/UselessAccessModifier:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Lint/UselessAssignment:
|
2018-12-24 18:00:32 +01:00
|
|
|
Enabled: true
|
|
|
|
Exclude:
|
|
|
|
- "spec/**/*"
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-09-24 15:06:39 +02:00
|
|
|
Lint/BinaryOperatorWithIdenticalOperands:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/UselessSetterCall:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Lint/Void:
|
2018-12-24 17:37:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Metrics/AbcSize:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/BlockLength:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/BlockNesting:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/ClassLength:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/CyclomaticComplexity:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Layout/LineLength:
|
2017-06-12 13:32:37 +02:00
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/MethodLength:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/ModuleLength:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/ParameterLists:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/PerceivedComplexity:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Naming/AccessorMethodName:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Naming/AsciiIdentifiers:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Naming/BinaryOperatorParameterName:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Naming/ClassAndModuleCamelCase:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Naming/ConstantName:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Naming/FileName:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Naming/HeredocDelimiterCase:
|
|
|
|
Enabled: true
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Naming/HeredocDelimiterNaming:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-03-02 16:27:03 +01:00
|
|
|
Naming/MemoizedInstanceVariableName:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Naming/MethodName:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Naming/PredicateName:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Naming/BlockParameterName:
|
2018-03-06 11:50:50 +01:00
|
|
|
Enabled: true
|
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Naming/MethodParameterName:
|
2018-03-02 16:27:03 +01:00
|
|
|
Enabled: false
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Naming/VariableName:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Naming/VariableNumber:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Performance/Caller:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/CaseWhenSplat:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/Casecmp:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/CompareWithBlock:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/Count:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2020-03-05 11:03:39 +01:00
|
|
|
Exclude:
|
|
|
|
- "app/services/administrateur_usage_statistics_service.rb"
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/Detect:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/DoubleStartEndWith:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/EndWith:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/FixedSize:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/FlatMap:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2024-01-16 19:02:29 +01:00
|
|
|
Performance/OpenStruct:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Performance/RangeInclude:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/RedundantBlockCall:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/RedundantMatch:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/RedundantMerge:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2022-01-05 15:39:23 +01:00
|
|
|
Style/HashTransformValues:
|
|
|
|
Enabled: true
|
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Style/RedundantSortBy:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/RegexpMatch:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/ReverseEach:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Style/Sample:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/Size:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/StartWith:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/StringReplacement:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Performance/TimesMap:
|
2017-11-20 18:55:59 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Performance/UnfreezeString:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Performance/UriDefaultParser:
|
|
|
|
Enabled: true
|
|
|
|
|
2022-01-05 15:43:48 +01:00
|
|
|
Rails:
|
|
|
|
Enabled: true
|
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/ActionControllerFlashBeforeRender:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/ActionControllerTestCase:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/ActionFilter:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/ActionOrder:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Rails/ActiveRecordAliases:
|
|
|
|
Enabled: true
|
|
|
|
|
2022-01-05 15:43:48 +01:00
|
|
|
Rails/ActiveRecordCallbacksOrder:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/ActiveSupportAliases:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/ActiveSupportOnLoad:
|
2022-01-05 15:43:48 +01:00
|
|
|
Enabled: true
|
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/AddColumnIndex:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/AfterCommitOverride:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Rails/ApplicationController:
|
|
|
|
Enabled: false
|
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/ApplicationJob:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/ApplicationRecord:
|
|
|
|
Enabled: true
|
|
|
|
|
2022-01-05 15:43:48 +01:00
|
|
|
Rails/AttributeDefaultBlockValue:
|
|
|
|
Enabled: true
|
2020-03-05 11:03:39 +01:00
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/Blank:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-07-17 17:25:09 +02:00
|
|
|
Rails/BulkChangeTable:
|
|
|
|
Enabled: false
|
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/CompactBlank:
|
|
|
|
Enabled: true
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Rails/CreateTableWithTimestamps:
|
2018-12-18 21:44:33 +01:00
|
|
|
Enabled: true
|
|
|
|
Exclude:
|
|
|
|
- db/migrate/2015*.rb
|
|
|
|
- db/migrate/2016*.rb
|
|
|
|
- db/migrate/2017*.rb
|
|
|
|
- db/migrate/2018*.rb
|
2020-07-02 11:02:50 +02:00
|
|
|
- db/migrate/20200630140356_create_traitements.rb
|
2023-06-30 11:26:23 +02:00
|
|
|
- db/migrate/20230630091637_create_dossier_assignments.rb
|
2018-01-12 13:16:08 +01:00
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/Date:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Rails/Delegate:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Rails/DelegateAllowBlank:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/DeprecatedActiveModelErrorsMethods:
|
|
|
|
Enabled: false # re-enable in rails 7
|
|
|
|
|
|
|
|
Rails/DotSeparatedKeys:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/DuplicateAssociation:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/DuplicateScope:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/DurationArithmetic:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/DynamicFindBy:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
|
|
|
Exclude:
|
2023-04-19 10:46:36 +02:00
|
|
|
- spec/system/**/*.rb
|
|
|
|
|
|
|
|
Rails/EagerEvaluationLogMessage:
|
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Rails/EnumUniqueness:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Rails/EnvironmentComparison:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/Exit:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/ExpandedDateRange:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/FilePath:
|
2020-03-05 11:03:39 +01:00
|
|
|
Enabled: false
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Rails/FindBy:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2022-01-05 15:43:48 +01:00
|
|
|
Rails/FindById:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/FindEach:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2024-02-05 11:20:55 +01:00
|
|
|
Exclude:
|
|
|
|
- spec/**/*
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/FreezeTime:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/HasAndBelongsToMany:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Rails/HasManyOrHasOneDependent:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/HttpPositionalArguments:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-04-11 09:38:58 +02:00
|
|
|
Rails/HttpStatus:
|
|
|
|
Enabled: false
|
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/I18nLazyLookup:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/I18nLocaleAssignment:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/I18nLocaleTexts:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Rails/IgnoredColumnsAssignment:
|
|
|
|
Enabled: true
|
|
|
|
|
2022-01-05 15:43:48 +01:00
|
|
|
Rails/Inquiry:
|
|
|
|
Enabled: true
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Rails/InverseOf:
|
2019-06-12 19:10:53 +02:00
|
|
|
Enabled: true
|
2018-01-12 13:16:08 +01:00
|
|
|
|
|
|
|
Rails/LexicallyScopedActionFilter:
|
|
|
|
Enabled: false
|
|
|
|
|
2022-01-05 15:43:48 +01:00
|
|
|
Rails/MailerName:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/MatchRoute:
|
|
|
|
Enabled: true
|
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/MigrationClassName:
|
|
|
|
Enabled: true
|
|
|
|
|
2022-01-05 15:43:48 +01:00
|
|
|
Rails/NegateInclude:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/NotNullColumn:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Rails/Output:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Rails/OutputSafety:
|
2017-07-13 10:13:55 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2022-01-05 15:43:48 +01:00
|
|
|
Rails/Pluck:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Rails/PluckInWhere:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/PluralizationGrammar:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Rails/Presence:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2018-01-12 13:16:08 +01:00
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/Present:
|
2018-01-15 09:45:31 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2022-01-05 15:43:48 +01:00
|
|
|
Rails/RakeEnvironment:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/ReadWriteAttribute:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Rails/RedundantAllowNil:
|
|
|
|
Enabled: false
|
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/RedundantPresenceValidationOnBelongsTo:
|
|
|
|
Enabled: true
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Rails/RedundantReceiverInWithOptions:
|
|
|
|
Enabled: true
|
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/RedundantTravelBack:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/RelativeDateConstant:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2022-01-05 15:43:48 +01:00
|
|
|
Rails/RenderInline:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/RenderPlainText:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/RequestReferer:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/ResponseParsedBody:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/ReversibleMigration:
|
|
|
|
Enabled: false
|
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/RootJoinChain:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/RootPathnameMethods:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/RootPublicPath:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/SaveBang:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Rails/ScopeArgs:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2022-01-05 15:43:48 +01:00
|
|
|
Rails/ShortI18n:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/SkipsModelValidations:
|
|
|
|
Enabled: false
|
|
|
|
|
2022-01-05 15:43:48 +01:00
|
|
|
Rails/SquishedSQLHeredocs:
|
|
|
|
Enabled: true
|
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/StripHeredoc:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/ThreeStateBooleanColumn:
|
|
|
|
Enabled: true
|
2023-04-19 10:48:30 +02:00
|
|
|
Exclude:
|
|
|
|
- db/migrate/2019*
|
|
|
|
- db/migrate/2020*
|
|
|
|
- db/migrate/2021*
|
|
|
|
- db/migrate/2022*
|
|
|
|
- db/migrate/202301*
|
|
|
|
- db/migrate/202303*
|
2023-04-19 10:46:36 +02:00
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/TimeZone:
|
2019-02-18 11:56:09 +01:00
|
|
|
EnforcedStyle: strict
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/TimeZoneAssignment:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/ToFormattedS:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/ToSWithArgument:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/TopLevelHashWithIndifferentAccess:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/TransactionExitStatement:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/UniqBeforePluck:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-06-22 16:58:55 +02:00
|
|
|
Rails/UniqueValidationWithoutIndex:
|
2020-09-03 15:49:26 +02:00
|
|
|
Enabled: true
|
2020-06-22 16:58:55 +02:00
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Rails/UnknownEnv:
|
|
|
|
Enabled: false
|
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/UnusedIgnoredColumns:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Rails/Validation:
|
2018-03-06 13:44:29 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2022-01-05 15:43:48 +01:00
|
|
|
Rails/WhereEquals:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Rails/WhereExists:
|
|
|
|
Enabled: true
|
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/WhereMissing:
|
|
|
|
Enabled: true
|
|
|
|
|
2022-01-05 15:43:48 +01:00
|
|
|
Rails/WhereNot:
|
2018-01-16 18:57:04 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2023-04-19 10:46:36 +02:00
|
|
|
Rails/WhereNotWithMultipleConditions:
|
|
|
|
Enabled: true
|
|
|
|
|
2021-12-01 10:24:32 +01:00
|
|
|
RSpec/Focus:
|
2017-12-22 16:50:20 +01:00
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Security/Eval:
|
2018-03-06 11:53:26 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Security/JSONLoad:
|
2018-03-06 11:53:26 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Security/MarshalLoad:
|
2018-03-06 11:53:26 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Security/Open:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Security/YAMLLoad:
|
2018-03-06 11:53:26 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-07-17 17:25:09 +02:00
|
|
|
Style/AccessModifierDeclarations:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/Alias:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/AndOr:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/ArrayJoin:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/AsciiComments:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/Attr:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/AutoResourceCleanup:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/BarePercentLiterals:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/BeginBlock:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/BlockComments:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/BlockDelimiters:
|
2018-12-18 22:08:14 +01:00
|
|
|
Enabled: true
|
|
|
|
Exclude:
|
|
|
|
- "spec/**/*"
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/CaseEquality:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/CharacterLiteral:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/ClassAndModuleChildren:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/ClassCheck:
|
2018-12-18 22:18:08 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/ClassMethods:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/ClassVars:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/CollectionMethods:
|
2019-09-12 11:26:22 +02:00
|
|
|
PreferredMethods:
|
|
|
|
collect: map
|
|
|
|
collect!: map!
|
|
|
|
inject: reduce
|
|
|
|
detect: find
|
|
|
|
select: filter
|
|
|
|
find_all: filter
|
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/ColonMethodCall:
|
2018-12-18 22:08:41 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Style/ColonMethodDefinition:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/CommandLiteral:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/CommentAnnotation:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Style/CommentedKeyword:
|
2017-06-12 13:32:37 +02:00
|
|
|
Enabled: false
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Style/ConditionalAssignment:
|
2017-06-12 13:32:37 +02:00
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/Copyright:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Style/DateTime:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/DefWithParentheses:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Style/Dir:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/Documentation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/DocumentationMethod:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/DoubleNegation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/EachForSimpleLoop:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/EachWithObject:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Style/EmptyBlockParameter:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/EmptyCaseCondition:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/EmptyElse:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Style/EmptyLambdaParameter:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/EmptyLiteral:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/EmptyMethod:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/Encoding:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/EndBlock:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Style/EvalWithLocation:
|
2017-06-12 13:32:37 +02:00
|
|
|
Enabled: false
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Style/EvenOdd:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Style/ExpandPathArguments:
|
|
|
|
Enabled: true
|
|
|
|
|
2023-04-19 10:55:16 +02:00
|
|
|
Style/FileRead:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Style/FileWrite:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/For:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/FormatString:
|
2018-12-18 21:55:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/FormatStringToken:
|
2020-03-05 11:03:39 +01:00
|
|
|
Enabled: false
|
2018-12-18 21:59:11 +01:00
|
|
|
EnforcedStyle: template
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/FrozenStringLiteralComment:
|
2024-04-29 00:17:15 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/GlobalVars:
|
2018-12-18 21:59:11 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/GuardClause:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/HashSyntax:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/IdenticalConditionalBranches:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/IfInsideElse:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/IfUnlessModifier:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/IfUnlessModifierOfIfUnless:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/IfWithSemicolon:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/ImplicitRuntimeError:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/InfiniteLoop:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/InlineComment:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/InverseMethods:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/Lambda:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/LambdaCall:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/LineEndConcatenation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/MethodCallWithArgsParentheses:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/MethodCallWithoutArgsParentheses:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/MethodCalledOnDoEndBlock:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/MethodDefParentheses:
|
2018-03-20 17:54:45 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-09-24 15:06:39 +02:00
|
|
|
Lint/MissingSuper:
|
2017-06-12 13:32:37 +02:00
|
|
|
Enabled: false
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Style/MinMax:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/MissingElse:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-05-18 18:06:48 +02:00
|
|
|
Style/MissingRespondToMissing:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/MixinGrouping:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Style/MixinUsage:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/ModuleFunction:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/MultilineBlockChain:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/MultilineIfModifier:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/MultilineIfThen:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/MultilineMemoization:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/MultilineTernaryOperator:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/MultipleComparison:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/MutableConstant:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/NegatedIf:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/NegatedWhile:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/NestedModifier:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/NestedParenthesizedCalls:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/NestedTernaryOperator:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/Next:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/NilComparison:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/NonNilCheck:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/Not:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/NumericLiteralPrefix:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/NumericLiterals:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/NumericPredicate:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/OneLineConditional:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/OptionHash:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/OptionalArguments:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/ParallelAssignment:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Style/OrAssignment:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/ParenthesesAroundCondition:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/PercentLiteralDelimiters:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/PercentQLiterals:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/PerlBackrefs:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/PreferredHashMethods:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/Proc:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/RaiseArgs:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Style/RandomWithOffset:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/RedundantBegin:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Style/RedundantConditional:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/RedundantException:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/RedundantFreeze:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/RedundantParentheses:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/RedundantReturn:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/RedundantSelf:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/RegexpLiteral:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/RescueModifier:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-01-12 13:16:08 +01:00
|
|
|
Style/RescueStandardError:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Style/ReturnNil:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/SafeNavigation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/SelfAssignment:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/Semicolon:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/Send:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/SignalException:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/SingleLineBlockParams:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/SingleLineMethods:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/SpecialGlobalVars:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/StabbyLambdaParentheses:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Style/StderrPuts:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Style/StringHashKeys:
|
|
|
|
Enabled: false
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/StringLiterals:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/StringLiteralsInInterpolation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/StringMethods:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/StructInheritance:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/SymbolArray:
|
2018-10-01 14:26:45 +02:00
|
|
|
Enabled: true
|
|
|
|
EnforcedStyle: brackets
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/SymbolLiteral:
|
2018-10-01 14:22:01 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/SymbolProc:
|
2018-10-01 14:20:14 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/TernaryParentheses:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Style/TrailingBodyOnClass:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Style/TrailingBodyOnMethodDefinition:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Style/TrailingBodyOnModule:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/TrailingCommaInArguments:
|
2018-10-01 14:08:12 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-02 16:27:03 +01:00
|
|
|
Style/TrailingCommaInArrayLiteral:
|
2018-10-01 14:06:57 +02:00
|
|
|
Enabled: true
|
2018-03-02 16:27:03 +01:00
|
|
|
|
|
|
|
Style/TrailingCommaInHashLiteral:
|
2018-10-01 14:06:08 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-03-06 11:50:50 +01:00
|
|
|
Style/TrailingMethodEndStatement:
|
|
|
|
Enabled: true
|
|
|
|
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/TrailingUnderscoreVariable:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/TrivialAccessors:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/UnlessElse:
|
2018-01-11 19:05:07 +01:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Style/RedundantCapitalW:
|
2018-10-01 14:03:44 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Style/RedundantInterpolation:
|
2018-10-01 14:03:05 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2020-03-05 11:03:39 +01:00
|
|
|
Style/RedundantPercentQ:
|
2018-10-01 14:01:31 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/VariableInterpolation:
|
2018-10-01 14:00:48 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/WhenThen:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/WhileUntilDo:
|
2018-10-01 13:58:39 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
2018-10-01 13:58:36 +02:00
|
|
|
# Disabled because we don't want to use modifiers
|
2017-06-12 13:32:37 +02:00
|
|
|
Style/WhileUntilModifier:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/WordArray:
|
2018-10-01 13:55:12 +02:00
|
|
|
Enabled: true
|
|
|
|
EnforcedStyle: brackets
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/YodaCondition:
|
2018-10-01 13:53:55 +02:00
|
|
|
Enabled: true
|
2017-06-12 13:32:37 +02:00
|
|
|
|
|
|
|
Style/ZeroLengthPredicate:
|
2018-10-01 13:53:15 +02:00
|
|
|
Enabled: true
|