File: .rubocop.yml

package info (click to toggle)
ruby-public-suffix 3.0.3%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 284 kB
  • sloc: ruby: 1,431; makefile: 22
file content (36 lines) | stat: -rw-r--r-- 716 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
inherit_from:
  - .rubocop_defaults.yml

AllCops:
  Exclude:
    # Exclude .gemspec files because they are generally auto-generated
    - '*.gemspec'
    # Exclude vendored folders
    - 'tmp/**/*'
    - 'vendor/**/*'
    # Exclude artifacts
    - 'pkg/**/*'
    # Other
    - 'test/benchmarks/**/*'
    - 'test/profilers/**/*'

# I often use @_variable to avoid clashing.
Naming/MemoizedInstanceVariableName:
  Enabled: false

Style/ClassAndModuleChildren:
  Exclude:
    - 'spec/**/*_spec.rb'
    - 'test/**/*_test.rb'

# Dear Rubocop, I don't want to use String#strip_heredoc
Layout/IndentHeredoc:
  Enabled: false

Style/WordArray:
  Enabled: false
  MinSize: 3

Style/SymbolArray:
  Enabled: false
  MinSize: 3