mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
1.3 KiB
81 lines
1.3 KiB
AllCops:
|
|
NewCops: enable
|
|
|
|
Gemspec/RequiredRubyVersion:
|
|
Enabled: false
|
|
|
|
Layout/AccessModifierIndentation:
|
|
EnforcedStyle: outdent
|
|
|
|
Layout/LineLength:
|
|
AllowURI: true
|
|
Enabled: false
|
|
|
|
Layout/SpaceInsideHashLiteralBraces:
|
|
EnforcedStyle: no_space
|
|
|
|
Lint/MissingSuper:
|
|
Enabled: false
|
|
|
|
Metrics/AbcSize:
|
|
Max: 18
|
|
|
|
Metrics/BlockLength:
|
|
Exclude:
|
|
- spec/omniauth/strategies/oauth2_spec.rb
|
|
|
|
Metrics/BlockNesting:
|
|
Max: 2
|
|
|
|
Metrics/ClassLength:
|
|
Max: 110
|
|
|
|
Metrics/MethodLength:
|
|
CountComments: false
|
|
Max: 10
|
|
|
|
Metrics/ParameterLists:
|
|
Max: 4
|
|
CountKeywordArgs: true
|
|
|
|
Naming/FileName:
|
|
Exclude:
|
|
- lib/omniauth-oauth2.rb
|
|
|
|
Style/CollectionMethods:
|
|
PreferredMethods:
|
|
map: 'collect'
|
|
reduce: 'inject'
|
|
find: 'detect'
|
|
find_all: 'select'
|
|
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
Style/DoubleNegation:
|
|
Enabled: false
|
|
|
|
Style/ExpandPathArguments:
|
|
Enabled: false
|
|
|
|
Style/FrozenStringLiteralComment:
|
|
Enabled: false
|
|
|
|
Style/HashSyntax:
|
|
EnforcedStyle: hash_rockets
|
|
|
|
Style/StderrPuts:
|
|
Enabled: false
|
|
|
|
Style/StringLiterals:
|
|
EnforcedStyle: double_quotes
|
|
|
|
Style/TrailingCommaInArguments:
|
|
EnforcedStyleForMultiline: comma
|
|
|
|
Style/TrailingCommaInHashLiteral:
|
|
EnforcedStyleForMultiline: comma
|
|
|
|
Style/TrailingCommaInArrayLiteral:
|
|
EnforcedStyleForMultiline: comma
|