@@ -80,7 +80,6 @@ Layout/ElseAlignment:
8080# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, DefLikeMacros, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
8181Layout/EmptyLineBetweenDefs :
8282 Exclude :
83- - ' lib/solargraph/doc_map.rb'
8483 - ' lib/solargraph/language_server/message/initialize.rb'
8584 - ' lib/solargraph/pin/delegated_method.rb'
8685
@@ -107,7 +106,6 @@ Layout/EndOfLine:
107106 Exclude :
108107 - ' Gemfile'
109108 - ' Rakefile'
110- - ' lib/solargraph/source/encoding_fixes.rb'
111109 - ' solargraph.gemspec'
112110
113111# This cop supports safe autocorrection (--autocorrect).
@@ -215,11 +213,6 @@ Layout/SpaceAfterComma:
215213Layout/SpaceAroundEqualsInParameterDefault :
216214 Enabled : false
217215
218- # This cop supports safe autocorrection (--autocorrect).
219- Layout/SpaceAroundKeyword :
220- Exclude :
221- - ' spec/rbs_map/conversions_spec.rb'
222-
223216# This cop supports safe autocorrection (--autocorrect).
224217# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator, EnforcedStyleForRationalLiterals.
225218# SupportedStylesForExponentOperator: space, no_space
@@ -362,7 +355,6 @@ Lint/NonAtomicFileOperation:
362355# This cop supports safe autocorrection (--autocorrect).
363356Lint/ParenthesesAsGroupedExpression :
364357 Exclude :
365- - ' lib/solargraph.rb'
366358 - ' lib/solargraph/parser/parser_gem/node_chainer.rb'
367359 - ' spec/language_server/host_spec.rb'
368360 - ' spec/source_map/clip_spec.rb'
@@ -490,7 +482,6 @@ Metrics/ParameterLists:
490482 - ' lib/solargraph/pin/callable.rb'
491483 - ' lib/solargraph/type_checker.rb'
492484 - ' lib/solargraph/yard_map/mapper/to_method.rb'
493- - ' lib/solargraph/yard_map/to_method.rb'
494485
495486# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
496487Metrics/PerceivedComplexity :
@@ -576,7 +567,6 @@ RSpec/BeforeAfterAll:
576567 - ' **/spec/rails_helper.rb'
577568 - ' **/spec/support/**/*.rb'
578569 - ' spec/api_map_spec.rb'
579- - ' spec/doc_map_spec.rb'
580570 - ' spec/language_server/host/dispatch_spec.rb'
581571 - ' spec/language_server/protocol_spec.rb'
582572
@@ -623,7 +613,6 @@ RSpec/ExampleWording:
623613# This cop supports safe autocorrection (--autocorrect).
624614RSpec/ExcessiveDocstringSpacing :
625615 Exclude :
626- - ' spec/rbs_map/conversions_spec.rb'
627616 - ' spec/source/chain/call_spec.rb'
628617
629618# This cop supports safe autocorrection (--autocorrect).
@@ -639,21 +628,10 @@ RSpec/ExpectActual:
639628RSpec/HookArgument :
640629 Enabled : false
641630
642- # This cop supports safe autocorrection (--autocorrect).
643- # Configuration parameters: .
644- # SupportedStyles: is_expected, should
645- RSpec/ImplicitExpect :
646- EnforcedStyle : should
647-
648631# Configuration parameters: AssignmentOnly.
649632RSpec/InstanceVariable :
650633 Enabled : false
651634
652- # This cop supports safe autocorrection (--autocorrect).
653- RSpec/LeadingSubject :
654- Exclude :
655- - ' spec/rbs_map/conversions_spec.rb'
656-
657635RSpec/LeakyConstantDeclaration :
658636 Exclude :
659637 - ' spec/complex_type_spec.rb'
@@ -688,7 +666,11 @@ RSpec/NotToNot:
688666 - ' spec/rbs_map/core_map_spec.rb'
689667
690668RSpec/PendingWithoutReason :
691- Enabled : false
669+ Exclude :
670+ - ' spec/api_map_spec.rb'
671+ - ' spec/doc_map_spec.rb'
672+ - ' spec/pin/local_variable_spec.rb'
673+ - ' spec/type_checker/levels/strict_spec.rb'
692674
693675# This cop supports unsafe autocorrection (--autocorrect-all).
694676# Configuration parameters: Strict, EnforcedStyle, AllowedExplicitMatchers.
@@ -942,7 +924,6 @@ Style/MapIntoArray:
942924 Exclude :
943925 - ' lib/solargraph/diagnostics/update_errors.rb'
944926 - ' lib/solargraph/parser/parser_gem/node_chainer.rb'
945- - ' lib/solargraph/type_checker/param_def.rb'
946927
947928# This cop supports unsafe autocorrection (--autocorrect-all).
948929Style/MapToHash :
@@ -1016,7 +997,6 @@ Style/Next:
1016997 - ' lib/solargraph/parser/parser_gem/node_processors/send_node.rb'
1017998 - ' lib/solargraph/pin/signature.rb'
1018999 - ' lib/solargraph/source_map/clip.rb'
1019- - ' lib/solargraph/type_checker/checks.rb'
10201000
10211001# This cop supports safe autocorrection (--autocorrect).
10221002# Configuration parameters: Strict, AllowedNumbers, AllowedPatterns.
@@ -1144,7 +1124,7 @@ Style/SafeNavigation:
11441124# Configuration parameters: Max.
11451125Style/SafeNavigationChainLength :
11461126 Exclude :
1147- - ' lib/solargraph/doc_map .rb'
1127+ - ' lib/solargraph/workspace/gemspecs .rb'
11481128
11491129# This cop supports unsafe autocorrection (--autocorrect-all).
11501130Style/SlicingWithRange :
@@ -1175,7 +1155,6 @@ Style/StringLiterals:
11751155# This cop supports safe autocorrection (--autocorrect).
11761156Style/SuperArguments :
11771157 Exclude :
1178- - ' lib/solargraph/pin/base_variable.rb'
11791158 - ' lib/solargraph/pin/callable.rb'
11801159 - ' lib/solargraph/pin/method.rb'
11811160 - ' lib/solargraph/pin/signature.rb'
@@ -1217,7 +1196,12 @@ Style/TrailingCommaInArrayLiteral:
12171196# Configuration parameters: EnforcedStyleForMultiline.
12181197# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
12191198Style/TrailingCommaInHashLiteral :
1220- Enabled : false
1199+ Exclude :
1200+ - ' lib/solargraph/pin/base_variable.rb'
1201+ - ' lib/solargraph/pin/callable.rb'
1202+ - ' lib/solargraph/pin/closure.rb'
1203+ - ' lib/solargraph/pin/parameter.rb'
1204+ - ' lib/solargraph/rbs_map/conversions.rb'
12211205
12221206# This cop supports safe autocorrection (--autocorrect).
12231207# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
@@ -1265,12 +1249,7 @@ YARD/MismatchName:
12651249 Enabled : false
12661250
12671251YARD/TagTypeSyntax :
1268- Exclude :
1269- - ' lib/solargraph/api_map/constants.rb'
1270- - ' lib/solargraph/language_server/host.rb'
1271- - ' lib/solargraph/parser/comment_ripper.rb'
1272- - ' lib/solargraph/pin/method.rb'
1273- - ' lib/solargraph/type_checker.rb'
1252+ Enabled : false
12741253
12751254# This cop supports safe autocorrection (--autocorrect).
12761255# Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
0 commit comments