Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (47 sloc) 1.04 KB
require:
- ./cop/none_without_block_cop
AllCops:
DisabledByDefault: true
TargetRubyVersion: 2.3
Exclude:
- 'lib/graphql/language/lexer.rb'
- 'lib/graphql/language/parser.rb'
- 'gemfiles/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- 'spec/integration/tmp/**/*'
# def ...
# end
Layout/DefEndAlignment:
EnforcedStyleAlignWith: def
# value = if
# # ...
# end
Layout/EndAlignment:
EnforcedStyleAlignWith: variable
Lint/UselessAssignment:
Enabled: true
Lint/DuplicateMethods:
Enabled: true
Metrics/ParameterLists:
Max: 7
CountKeywordArgs: false
Style/ClassAndModuleChildren:
EnforcedStyle: nested
Layout/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true
Style/FrozenStringLiteralComment:
Enabled: true
Layout/IndentationWidth:
Width: 2
Style/LambdaCall:
EnforcedStyle: call
Layout/LeadingCommentSpace:
Enabled: true
Naming/MethodName:
EnforcedStyle: snake_case
Style/WordArray:
EnforcedStyle: brackets
# ->(...) { ... }
Layout/SpaceInLambdaLiteral:
Enabled: true # Default is "require_no_space"
You can’t perform that action at this time.