mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Default Rubocop linter config for Chromebrew * Add package * remove gem in self.remove, add xdg_base dep * refactor * rebuild and fixup typos * refactor to use gem installer * run linter on package file * suggested changes
42 lines
1002 B
YAML
42 lines
1002 B
YAML
# The behavior of RuboCop can be controlled via the .rubocop.yml
|
|
# configuration file. It makes it possible to enable/disable
|
|
# certain cops (checks) and to alter their behavior if they accept
|
|
# any parameters. The file can be placed either in your home
|
|
# directory or in some project directory.
|
|
#
|
|
# RuboCop will start looking for the configuration file in the directory
|
|
# where the inspected file is and continue its way up to the root directory.
|
|
#
|
|
# See https://docs.rubocop.org/rubocop/configuration
|
|
|
|
AllCops:
|
|
NewCops: enable
|
|
TargetRubyVersion: 3.0
|
|
|
|
Layout/HashAlignment:
|
|
EnforcedHashRocketStyle:
|
|
- separator
|
|
EnforcedColonStyle:
|
|
- separator
|
|
|
|
Layout/FirstHashElementIndentation:
|
|
EnforcedStyle: consistent
|
|
|
|
Style/FrozenStringLiteralComment:
|
|
Enabled: false
|
|
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
Naming/VariableNumber:
|
|
Enabled: false
|
|
|
|
Naming/ClassAndModuleCamelCase:
|
|
Enabled: false
|
|
|
|
Metrics/MethodLength:
|
|
Enabled: false
|
|
|
|
Layout/LineLength:
|
|
IgnoredPatterns: ['description']
|