9adbd76c77
* Init gem * WIP * WIP * WIP: Gemify * WIP * Try ffi_gen * Revert "Try ffi_gen" This reverts commit a54e56b35a1bdc079dbe122aff47d79038d4e52f. * Vibecode 1 * Vibecode 2 * rework progressbar * Some ref + test_captcha * Return deleted by Claude * Draft precompiled packaging * Review and refactor C bindings * ref OwnedString * Rename methods and add notes * rubocop * Fix progressbar, add examples * Ref spec * Ref spec - final * Final ver * Add srt, other fixes * Move to ruby dir --------- Co-authored-by: Nickolay V. Shmyrev <nshmyrev@gmail.com>
54 lines
867 B
YAML
54 lines
867 B
YAML
plugins:
|
|
- rubocop-rake
|
|
- rubocop-rspec
|
|
|
|
AllCops:
|
|
TargetRubyVersion: 2.5
|
|
NewCops: enable
|
|
|
|
Style/StringLiterals:
|
|
EnforcedStyle: double_quotes
|
|
|
|
Style/StringLiteralsInInterpolation:
|
|
EnforcedStyle: double_quotes
|
|
|
|
Style/TrailingCommaInArguments:
|
|
EnforcedStyleForMultiline: consistent_comma
|
|
|
|
Style/TrailingCommaInArrayLiteral:
|
|
EnforcedStyleForMultiline: consistent_comma
|
|
|
|
Style/TrailingCommaInHashLiteral:
|
|
EnforcedStyleForMultiline: consistent_comma
|
|
|
|
Style/NumericPredicate:
|
|
EnforcedStyle: comparison
|
|
|
|
Layout/CaseIndentation:
|
|
EnforcedStyle: end
|
|
|
|
Metrics/AbcSize:
|
|
Max: 27
|
|
|
|
Metrics/CyclomaticComplexity:
|
|
Max: 10
|
|
|
|
Metrics/PerceivedComplexity:
|
|
Max: 10
|
|
|
|
Metrics/MethodLength:
|
|
Max: 20
|
|
|
|
Style/SymbolArray:
|
|
Exclude:
|
|
- 'lib/vosk/ffi.rb'
|
|
|
|
RSpec/MultipleMemoizedHelpers:
|
|
Max: 10
|
|
|
|
RSpec/ExampleLength:
|
|
Max: 10
|
|
|
|
RSpec/MultipleExpectations:
|
|
Max: 3
|