|
| 1 | +# This configuration was generated by |
| 2 | +# `rubocop --auto-gen-config` |
| 3 | +# on 2017-11-04 08:31:33 +0000 using RuboCop version 0.51.0. |
| 4 | +# The point is for the user to remove these configuration records |
| 5 | +# one by one as the offenses are removed from the code base. |
| 6 | +# Note that changes in the inspected code, or installation of new |
| 7 | +# versions of RuboCop, may require this file to be generated again. |
| 8 | + |
| 9 | +# Offense count: 5 |
| 10 | +# Cop supports --auto-correct. |
| 11 | +# Configuration parameters: EnforcedStyle, SupportedStyles. |
| 12 | +# SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent |
| 13 | +Layout/IndentHeredoc: |
| 14 | + Exclude: |
| 15 | + - 'benchmark/rubocop' |
| 16 | + - 'benchmark/ruby_wc' |
| 17 | + - 'lib/language_server/project/node.rb' |
| 18 | + |
| 19 | +# Offense count: 3 |
| 20 | +# Configuration parameters: AllowSafeAssignment. |
| 21 | +Lint/AssignmentInCondition: |
| 22 | + Exclude: |
| 23 | + - 'lib/language_server/linter/ruby_wc.rb' |
| 24 | + |
| 25 | +# Offense count: 2 |
| 26 | +Lint/HandleExceptions: |
| 27 | + Exclude: |
| 28 | + - 'lib/language_server/linter/rubocop.rb' |
| 29 | + - 'lib/language_server/linter/ruby_wc.rb' |
| 30 | + |
| 31 | +# Offense count: 5 |
| 32 | +Metrics/AbcSize: |
| 33 | + Max: 43 |
| 34 | + |
| 35 | +# Offense count: 1 |
| 36 | +# Configuration parameters: CountComments, ExcludedMethods. |
| 37 | +Metrics/BlockLength: |
| 38 | + Max: 28 |
| 39 | + |
| 40 | +# Offense count: 5 |
| 41 | +# Configuration parameters: CountComments. |
| 42 | +Metrics/MethodLength: |
| 43 | + Max: 36 |
| 44 | + |
| 45 | +# Offense count: 1 |
| 46 | +# Configuration parameters: CountComments. |
| 47 | +Metrics/ModuleLength: |
| 48 | + Max: 107 |
| 49 | + |
| 50 | +# Offense count: 28 |
| 51 | +# Configuration parameters: Blacklist. |
| 52 | +# Blacklist: END, (?-mix:EO[A-Z]{1}) |
| 53 | +Naming/HeredocDelimiterNaming: |
| 54 | + Exclude: |
| 55 | + - 'benchmark/rubocop' |
| 56 | + - 'benchmark/ruby_wc' |
| 57 | + - 'test/language_server/completion_provider/rcodetools_test.rb' |
| 58 | + - 'test/language_server/linter/ruby_wc_test.rb' |
| 59 | + - 'test/language_server/project/parser_test.rb' |
| 60 | + - 'test/language_server/project_test.rb' |
| 61 | + |
| 62 | +# Offense count: 11 |
| 63 | +# Cop supports --auto-correct. |
| 64 | +# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods. |
| 65 | +# SupportedStyles: line_count_based, semantic, braces_for_chaining |
| 66 | +# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object |
| 67 | +# FunctionalMethods: let, let!, subject, watch |
| 68 | +# IgnoredMethods: lambda, proc, it |
| 69 | +Style/BlockDelimiters: |
| 70 | + Exclude: |
| 71 | + - 'spec/**/*' |
| 72 | + - 'lib/language_server.rb' |
| 73 | + - 'lib/language_server/completion_provider/ad_hoc.rb' |
| 74 | + - 'lib/language_server/file_store.rb' |
| 75 | + - 'lib/language_server/project.rb' |
| 76 | + - 'lib/language_server/project/node.rb' |
| 77 | + - 'test/language_server/linter/ruby_wc_test.rb' |
| 78 | + |
| 79 | +# Offense count: 2 |
| 80 | +Style/CaseEquality: |
| 81 | + Exclude: |
| 82 | + - 'lib/language_server.rb' |
| 83 | + - 'lib/language_server/project/parser.rb' |
| 84 | + |
| 85 | +# Offense count: 1 |
| 86 | +Style/MultilineBlockChain: |
| 87 | + Exclude: |
| 88 | + - 'lib/language_server/file_store.rb' |
| 89 | + |
| 90 | +# Offense count: 1 |
| 91 | +# Cop supports --auto-correct. |
| 92 | +# Configuration parameters: AllowAsExpressionSeparator. |
| 93 | +Style/Semicolon: |
| 94 | + Exclude: |
| 95 | + - 'spec/**/*' |
| 96 | + - 'lib/language_server/linter/ruby_wc.rb' |
| 97 | + |
| 98 | +# Offense count: 2 |
| 99 | +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. |
| 100 | +# URISchemes: http, https |
| 101 | +Metrics/LineLength: |
| 102 | + Max: 186 |
0 commit comments