Files
chromebrew/.rubocop.yml
Satadru Pramanik 1e2068af78 Default Rubocop linter config for Chromebrew Take 2.5 (#6266)
* 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
2022-03-31 21:57:10 -05:00

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']