mirror of
https://github.com/ivuorinen/homebrew-tap.git
synced 2026-01-26 03:14:04 +00:00
- Add formula parser with Ruby AST parsing - Add GitHub Actions CI/CD workflows - Add Jekyll-based documentation site - Add RuboCop and Dependabot configuration - Add example formula for demonstration
42 lines
604 B
YAML
42 lines
604 B
YAML
AllCops:
|
|
TargetRubyVersion: 3.4
|
|
NewCops: enable
|
|
Exclude:
|
|
- 'vendor/**/*'
|
|
- 'docs/**/*'
|
|
- '.bundle/**/*'
|
|
|
|
Layout/LineLength:
|
|
Max: 120
|
|
AllowedPatterns:
|
|
- '^\s*#'
|
|
- 'url "'
|
|
|
|
Layout/IndentationStyle:
|
|
EnforcedStyle: spaces
|
|
|
|
Layout/IndentationWidth:
|
|
Width: 2
|
|
|
|
Style/StringLiterals:
|
|
EnforcedStyle: double_quotes
|
|
|
|
Style/FrozenStringLiteralComment:
|
|
Enabled: true
|
|
EnforcedStyle: always
|
|
|
|
Naming/FileName:
|
|
Exclude:
|
|
- 'Formula/**/*.rb'
|
|
|
|
Metrics/MethodLength:
|
|
Max: 30
|
|
|
|
Metrics/ClassLength:
|
|
Max: 150
|
|
|
|
Metrics/BlockLength:
|
|
Exclude:
|
|
- 'spec/**/*'
|
|
- '*.gemspec'
|