Created
July 8, 2020 17:54
-
-
Save prathamesh-sonpatki/d565bab470620ae69f6690aab0cfd8f2 to your computer and use it in GitHub Desktop.
This file contains 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
inherit_from: .rubocop_todo.yml | |
require: | |
- rubocop-rspec | |
- rubocop-rails | |
- rubocop-performance | |
AllCops: | |
EnabledByDefault: true | |
TargetRubyVersion: 2.6.5 | |
Exclude: | |
- 'db/**/*' | |
- 'bin/**/*' | |
- 'vendor/bundle/**/*' | |
- 'config/environments/**/*' | |
- 'spec/rails_helper.rb' | |
- 'spec/spec_helper.rb' | |
- 'config/boot.rb' | |
Metrics/ClassLength: | |
Enabled: false | |
Metrics/MethodLength: | |
Enabled: false | |
Metrics/AbcSize: | |
Enabled: false | |
Layout/CommentIndentation: | |
Enabled: false | |
Layout/MultilineAssignmentLayout: | |
Enabled: false | |
Layout/IndentationConsistency: | |
EnforcedStyle: indented_internal_methods | |
Layout/LineLength: | |
Enabled: false | |
Style/DocumentationMethod: | |
Enabled: false | |
Style/MethodCalledOnDoEndBlock: | |
Enabled: false | |
Style/OptionHash: | |
Enabled: false | |
Style/Copyright: | |
Enabled: false | |
Style/BlockComments: | |
Enabled: false | |
Style/Documentation: | |
Enabled: false | |
Style/MissingElse: | |
Enabled: false | |
Style/MethodCallWithArgsParentheses: | |
Enabled: false | |
Style/ConstantVisibility: | |
Enabled: false | |
Lint/NumberConversion: | |
Enabled: false | |
Lint/ConstantResolution: | |
Enabled: false | |
Rails: | |
Enabled: true | |
Rails/SkipsModelValidations: | |
Enabled: false | |
FactoryBot/AttributeDefinedStatically: | |
Enabled: true | |
RSpec/MultipleExpectations: | |
Enabled: false | |
RSpec/ExampleLength: | |
Enabled: false | |
Style/GlobalVars: | |
Enabled: false | |
Metrics/ModuleLength: | |
Max: 300 | |
RSpec/AnyInstance: | |
Enabled: false | |
RSpec/ExpectInHook: | |
Enabled: false | |
Rails/SaveBang: | |
Enabled: false | |
RSpec/AlignRightLetBrace: | |
Enabled: false | |
RSpec/AlignLeftLetBrace: | |
Enabled: false | |
Rails/HasManyOrHasOneDependent: | |
Enabled: false | |
Rails/InverseOf: | |
Enabled: false | |
Metrics/BlockLength: | |
Enabled: false | |
Style/DisableCopsWithinSourceCodeDirective: | |
Enabled: false | |
Style/StringHashKeys: | |
Exclude: | |
- 'config/routes.rb' | |
Style/FrozenStringLiteralComment: | |
Enabled: true | |
EnforcedStyle: always_true | |
AutoCorrect: true | |
Style/ClassAndModuleChildren: | |
Exclude: | |
- 'app/controllers/**/*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment