require: rubocop-rails AllCops: Exclude: - "bin/**/*" - "spec/**/*" - "*.gemspec" - "Gemfile" - "Rakefile" Rails: Enabled: true Layout/BlockAlignment: EnforcedStyleAlignWith: start_of_block Layout/FirstArrayElementIndentation: EnforcedStyle: consistent Layout/FirstHashElementIndentation: EnforcedStyle: consistent Layout/LineLength: AutoCorrect: false Max: 110 Layout/MultilineOperationIndentation: EnforcedStyle: aligned Layout/SpaceInLambdaLiteral: EnforcedStyle: require_space Lint/InheritException: EnforcedStyle: standard_error Lint/SuppressedException: Enabled: false Metrics/AbcSize: Enabled: false Metrics/BlockLength: Enabled: false Metrics/BlockNesting: Max: 6 Metrics/ClassLength: Enabled: false Metrics/CyclomaticComplexity: Enabled: false Metrics/MethodLength: Enabled: false Naming/MethodParameterName: AllowedNames: ["by", "e", "id", "to", "tx", "fn", "tz"] Metrics/ModuleLength: Enabled: false Metrics/PerceivedComplexity: Enabled: false Naming/PredicateName: Enabled: false Rails/DynamicFindBy: Enabled: false Rails/EnumHash: Enabled: false Rails/HttpStatus: EnforcedStyle: numeric Rails/LexicallyScopedActionFilter: Enabled: false Rails/ReversibleMigration: Enabled: false Rails/SafeNavigation: ConvertTry: true Rails/SkipsModelValidations: Enabled: false Rails/TimeZone: Enabled: false Rails/UnknownEnv: Environments: ["development", "test", "staging", "staging_unmerged", "testnet", "production"] Security/YAMLLoad: Enabled: false Style/CollectionMethods: Enabled: true Style/Documentation: Enabled: false Style/DoubleNegation: Enabled: false Style/FormatStringToken: Enabled: false Style/FrozenStringLiteralComment: Enabled: false Style/GlobalVars: Enabled: false Style/MultilineIfModifier: Enabled: false Style/NumericPredicate: EnforcedStyle: comparison Style/PercentLiteralDelimiters: PreferredDelimiters: default: "()" "%i": "()" "%I": "()" "%r": "{}" "%w": "()" "%W": "()" Style/PreferredHashMethods: Enabled: false Style/RedundantSelf: Enabled: false Style/RegexpLiteral: EnforcedStyle: slashes Style/StringLiterals: EnforcedStyle: double_quotes Style/StringLiteralsInInterpolation: EnforcedStyle: double_quotes Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma