Created
January 8, 2020 19:44
-
-
Save prem-prakash/a996152020e86ebd9f36f5481147fed4 to your computer and use it in GitHub Desktop.
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: | |
TargetRubyVersion: 2.6 | |
Exclude: | |
- bin/**/* | |
- db/data/**/* | |
- db/seeds.rb | |
- db/migrate/**/* | |
- db/schema.rb | |
- tmp/**/* | |
- vendor/**/* | |
- log/**/* | |
- node_modules/**/* | |
# Rails/FindEach: | |
# Enabled: false | |
# Rails/OutputSafety: | |
# Enabled: false | |
Style/Documentation: | |
Enabled: false | |
Layout/LineLength: | |
Max: 120 | |
# Metrics/ModuleLength: | |
# Max: 120 | |
# Style/SignalException: | |
# Enabled: false | |
# Style/RaiseArgs: | |
# EnforcedStyle: compact | |
# Style/SymbolArray: | |
# EnforcedStyle: brackets | |
# Style/WordArray: | |
# EnforcedStyle: percent | |
# Style/AsciiComments: | |
# Enabled: false | |
Style/FrozenStringLiteralComment: | |
Enabled: false | |
Layout/IndentationConsistency: | |
EnforcedStyle: indented_internal_methods | |
# Metrics/MethodLength: | |
# Max: 15 | |
# Lint/MissingCopEnableDirective: | |
# Enabled: false | |
# Metrics/ClassLength: | |
# Max: 120 | |
# Metrics/CyclomaticComplexity: | |
# Max: 10 | |
Style/ClassAndModuleChildren: | |
Enabled: false | |
# Metrics/PerceivedComplexity: | |
# Max: 8 | |
# HasAndBelongsToMany: | |
# Enabled: false | |
# Metrics/AbcSize: | |
# Enabled: false | |
# UselessAccessModifier: | |
# Enabled: false | |
# Metrics/BlockLength: | |
# Exclude: | |
# - 'Rakefile' | |
# - '**/*.rake' | |
# - 'spec/**/*.rb' | |
# - 'config/**/*.rb' | |
# Rails/SkipsModelValidations: | |
# Enabled: false | |
# Rails/FilePath: | |
# Enabled: false | |
# Lint/AmbiguousBlockAssociation: | |
# Exclude: | |
# - 'spec/**/*.rb' | |
Style/StringLiterals: | |
EnforcedStyle: double_quotes | |
Style/PercentLiteralDelimiters: | |
PreferredDelimiters: | |
default: "()" | |
"%i": "()" | |
"%w": "()" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment