Sha256: 20353f21ec992bf52c91b955a301260a5435af7e0fdf044dc411112b1ac2a72a

Contents?: true

Size: 1.41 KB

Versions: 14

Compression:

Stored size: 1.41 KB

Contents

# Check the naming of accessor methods for get_/set_.
Naming/AccessorMethodName:
  Enabled: false

# Use only ascii symbols in identifiers.
Naming/AsciiIdentifiers:
  Enabled: true

# When defining binary operators, name the argument other.
Naming/BinaryOperatorParameterName:
  Enabled: true

# Use CamelCase for classes and modules.'
Naming/ClassAndModuleCamelCase:
  Enabled: true

# Constants should use SCREAMING_SNAKE_CASE.
Naming/ConstantName:
  Enabled: true

# Use snake_case for source file names.
Naming/FileName:
  Enabled: true

# Memoized methods whose instance variable name does not match the method name.
Naming/MemoizedInstanceVariableName:
  Enabled: false

# Use the configured style when naming methods.
Naming/MethodName:
  Enabled: true

# Use `spam?` instead of `is_spam?`
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
Naming/PredicateName:
  Enabled: true
  NamePrefixBlacklist: is_
  Exclude:
    - 'spec/**/*'
    - 'features/**/*'

# Method parameter names for how descriptive they are.
Naming/UncommunicativeMethodParamName:
  Enabled: true
  MinNameLength: 2
  AllowedNames:
    - _

# Use the configured style when naming variables.
Naming/VariableName:
  EnforcedStyle: snake_case
  Enabled: true

# Use the configured style when numbering variables.
Naming/VariableNumber:
  Enabled: false

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gitlab-styles-3.4.0 rubocop-naming.yml
gitlab-styles-3.3.0 rubocop-naming.yml
gitlab-styles-3.2.0 rubocop-naming.yml
gitlab-styles-3.1.0 rubocop-naming.yml
gitlab-styles-3.0.0 rubocop-naming.yml
gitlab-styles-2.8.0 rubocop-naming.yml
gitlab-styles-2.7.0 rubocop-naming.yml
gitlab-styles-2.6.2 rubocop-naming.yml
gitlab-styles-2.6.1 rubocop-naming.yml
gitlab-styles-2.6.0 rubocop-naming.yml
gitlab-styles-2.5.2 rubocop-naming.yml
gitlab-styles-2.5.1 rubocop-naming.yml
gitlab-styles-2.5.0 rubocop-naming.yml
gitlab-styles-2.4.1 rubocop-naming.yml