Last active
December 13, 2022 08:34
-
-
Save beglov/9da03971bae1ac549e2c570d052451f2 to your computer and use it in GitHub Desktop.
RuboCop configuration file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AllCops: | |
NewCops: enable | |
Layout/LineLength: | |
Enabled: false | |
Style/Documentation: | |
Enabled: false | |
Style/FrozenStringLiteralComment: | |
Enabled: false | |
Style/StringLiterals: | |
EnforcedStyle: double_quotes | |
Style/TrailingCommaInArguments: | |
EnforcedStyleForMultiline: comma | |
Style/TrailingCommaInArrayLiteral: | |
EnforcedStyleForMultiline: comma | |
Style/TrailingCommaInHashLiteral: | |
EnforcedStyleForMultiline: consistent_comma | |
Style/BlockDelimiters: | |
BracesRequiredMethods: ['expect'] | |
Metrics/AbcSize: | |
CountRepeatedAttributes: false | |
Metrics/MethodLength: | |
CountAsOne: ['array', 'hash', 'heredoc'] | |
Exclude: | |
- 'db/migrate/**/*' | |
Rails/I18nLocaleTexts: | |
Enabled: false | |
Rails/SkipsModelValidations: | |
Exclude: | |
- 'db/migrate/**/*' | |
RSpec/ExampleLength: | |
Enabled: false | |
RSpec/ContextWording: | |
Exclude: | |
- 'spec/system/**/*' | |
RSpec/MessageSpies: | |
EnforcedStyle: receive | |
RSpec/MultipleExpectations: | |
Exclude: | |
- 'spec/system/**/*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment