Files
news.gitea.happylizard.me/bin/gems/jekyll_plugin_support-3.0.0/.rubocop.yml
T
pizza2d1 4cee170d66
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Add bin and edit workflow
2026-09-16 13:11:16 -06:00

100 lines
1.4 KiB
YAML

plugins:
# - rubocop-jekyll
- rubocop-md
- rubocop-performance
- rubocop-rake
- rubocop-rspec
AllCops:
Exclude:
- binstub/**/*
- demo/_site/*
- vendor/**/*
- Gemfile*
NewCops: enable
Gemspec/DeprecatedAttributeAssignment:
Enabled: false
Gemspec/RequireMFA:
Enabled: false
Gemspec/RequiredRubyVersion:
Enabled: false
Layout/HashAlignment:
EnforcedColonStyle: table
EnforcedHashRocketStyle: table
Layout/IndentationConsistency:
Exclude:
- "*.md"
Layout/InitialIndentation:
Exclude:
- "*.md"
Layout/LineLength:
Max: 150
Metrics/AbcSize:
Max: 55
Metrics/BlockLength:
Exclude:
- jekyll_plugin_support.gemspec
Max: 30
Metrics/ClassLength:
Exclude:
- "**/all_collections_tag.rb"
Metrics/CyclomaticComplexity:
Max: 25
Metrics/MethodLength:
Max: 50
Metrics/ModuleLength:
Exclude:
- "**/jekyll_plugin_support_class.rb"
Metrics/PerceivedComplexity:
Max: 25
Naming/FileName:
Exclude:
- Rakefile
- "*.md"
RSpec/ExampleLength:
Max: 30
RSpec/SpecFilePathFormat:
Enabled: false
IgnoreMethods: true
RSpec/SpecFilePathSuffix:
Enabled: false
RSpec/IndexedLet:
Enabled: false
RSpec/MultipleExpectations:
Max: 15
Style/ClassVars:
Enabled: false
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/StringConcatenation:
Enabled: false
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma