mirror of
https://github.com/samsonjs/simple_oauth.git
synced 2026-03-25 08:45:54 +00:00
- Update RuboCop config to use plugins instead of require for extensions - Replace deprecated RSpec/FilePath with RSpec/SpecFilePathFormat and RSpec/SpecFilePathSuffix - Fix URI parser deprecation by using URI::RFC2396_PARSER instead of URI::DEFAULT_PARSER - Replace Hash#select with Hash#slice for better performance and clarity - Add base64 dependency to gemspec for Ruby 3.4 compatibility
77 lines
1.3 KiB
YAML
77 lines
1.3 KiB
YAML
require:
|
|
- standard
|
|
|
|
plugins:
|
|
- standard-performance
|
|
- rubocop-rspec
|
|
- rubocop-performance
|
|
- rubocop-rake
|
|
|
|
AllCops:
|
|
NewCops: enable
|
|
TargetRubyVersion: 3.0
|
|
|
|
Layout/ArgumentAlignment:
|
|
Enabled: true
|
|
EnforcedStyle: with_fixed_indentation
|
|
|
|
Layout/ArrayAlignment:
|
|
Enabled: true
|
|
EnforcedStyle: with_fixed_indentation
|
|
|
|
Layout/EndAlignment:
|
|
Enabled: true
|
|
EnforcedStyleAlignWith: variable
|
|
|
|
Layout/HashAlignment:
|
|
Enabled: true
|
|
EnforcedHashRocketStyle: key
|
|
EnforcedColonStyle: key
|
|
EnforcedLastArgumentHashStyle: always_inspect
|
|
|
|
Layout/LineLength:
|
|
Enabled: false
|
|
|
|
Layout/ParameterAlignment:
|
|
Enabled: true
|
|
EnforcedStyle: with_fixed_indentation
|
|
IndentationWidth: ~
|
|
|
|
Layout/SpaceInsideHashLiteralBraces:
|
|
Enabled: false
|
|
|
|
Metrics/ParameterLists:
|
|
CountKeywordArgs: false
|
|
|
|
RSpec/MultipleExpectations:
|
|
Enabled: false
|
|
|
|
RSpec/ExampleLength:
|
|
Enabled: false
|
|
|
|
RSpec/MessageSpies:
|
|
Enabled: false
|
|
|
|
RSpec/PendingWithoutReason:
|
|
Enabled: false
|
|
|
|
RSpec/SpecFilePathFormat:
|
|
Enabled: false
|
|
|
|
RSpec/SpecFilePathSuffix:
|
|
Enabled: false
|
|
|
|
Style/Alias:
|
|
Enabled: true
|
|
EnforcedStyle: prefer_alias_method
|
|
|
|
Style/FrozenStringLiteralComment:
|
|
Enabled: false
|
|
|
|
Style/StringLiterals:
|
|
Enabled: true
|
|
EnforcedStyle: double_quotes
|
|
|
|
Style/StringLiteralsInInterpolation:
|
|
Enabled: true
|
|
EnforcedStyle: double_quotes
|