Sha256: b978936136736c59ea13865ed0a3313c99c6e9b60315415ee72fe99f8fe99098
Contents?: true
Size: 1.76 KB
Versions: 1
Compression:
Stored size: 1.76 KB
Contents
# We will use cops to detect bugs in an early stage # Feel free to use .rubocop_todo.yml by --auto-gen-config inherit_from: .rubocop_todo.yml require: - rubocop-performance - rubocop-rubycw - rubocop-rake AllCops: # drop support for < 2.7 TargetRubyVersion: 2.7 # accept new cops if any NewCops: enable # === # alias is hard to see separately Style/Alias: EnforcedStyle: prefer_alias_method # For consistency and portability Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma # Should not set for Style/TrailingCommaInArguments # === # To let you know the possibility of refactoring === # # avoid unused variable asignment Rubycw/Rubycw: Exclude: - 'test/**/*' Lint/UselessAssignment: Exclude: - 'test/**/*' # Disabled to define Vector operators Lint/BinaryOperatorWithIdenticalOperands: Exclude: - 'test/test_vector_function.rb' # Max: 120 Layout/LineLength: Max: 118 Exclude: - 'test/**/*' # <= 17 satisfactory # 18..30 unsatisfactory # > 30 dangerous Metrics/AbcSize: Max: 23 Exclude: - 'lib/red_amber/data_frame_output.rb' # Max: 78 # Max: 25 Metrics/BlockLength: Max: 25 Exclude: - 'test/**/*' - '*.gemspec' # Max: 100 Metrics/ClassLength: Max: 100 Exclude: - 'test/**/*' # Max: 7 Metrics/CyclomaticComplexity: Max: 10 Exclude: - 'lib/red_amber/data_frame_output.rb' # Max: 11 # Max: 10 Metrics/MethodLength: Max: 18 Exclude: - 'lib/red_amber/data_frame_output.rb' # Max: 35 # Max: 8 Metrics/PerceivedComplexity: Max: 11 Exclude: - 'lib/red_amber/data_frame_output.rb' # Max: 12 # Necessary to test when range.end == -1 Style/SlicingWithRange: Exclude: - 'test/test_data_frame_selectable.rb'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
red_amber-0.1.2 | .rubocop.yml |