Created
February 4, 2021 09:56
-
-
Save cmdr-rohit-bang/1cfb7e751411e19453165f2d578bf608 to your computer and use it in GitHub Desktop.
Rubocop Configuration
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
require: | |
- rubocop-performance | |
- rubocop-rails | |
- rubocop-rspec | |
# AllCops: | |
# Rails: | |
# Enabled: true | |
Layout/EmptyLinesAroundAttributeAccessor: | |
Enabled: true | |
Layout/SpaceAroundMethodCallOperator: | |
Enabled: true | |
Lint/DeprecatedOpenSSLConstant: | |
Enabled: true | |
Lint/RaiseException: | |
Enabled: true | |
Lint/StructNewOverride: | |
Enabled: true | |
Lint/UnreachableCode: | |
Enabled: false | |
Style/ExponentialNotation: | |
Enabled: true | |
Style/HashEachMethods: | |
Enabled: true | |
Style/HashTransformKeys: | |
Enabled: true | |
Style/HashTransformValues: | |
Enabled: true | |
Style/SlicingWithRange: | |
Enabled: true | |
Style/FormatStringToken: | |
Enabled: false | |
Rails/LexicallyScopedActionFilter: | |
Enabled: false | |
Metrics/BlockLength: | |
Enabled: false | |
RSpec/MultipleExpectations: | |
Enabled: false | |
RSpec/InstanceVariable: | |
Enabled: false | |
Metrics/AbcSize: | |
Max: 30 | |
Metrics/ClassLength: | |
Max: 230 | |
Metrics/ModuleLength: | |
Max: 150 | |
Layout/LineLength: | |
Enabled: false | |
RSpec/EmptyExampleGroup: | |
Enabled: false | |
Rails/FilePath: | |
Enabled: false | |
Style/AsciiComments: | |
Enabled: false | |
Rails/ReversibleMigration: | |
Enabled: false | |
Rails/CreateTableWithTimestamps: | |
Enabled: false | |
Security/Open: | |
Enabled: false | |
Metrics/MethodLength: | |
Max: 15 | |
Exclude: | |
- "db/migrate/*" | |
RSpec/ExampleLength: | |
Max: 15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment