rubbycop 0.49.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (499) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +211 -0
  4. data/assets/logo.png +0 -0
  5. data/assets/output.html.erb +261 -0
  6. data/bin/rubbycop +17 -0
  7. data/config/default.yml +1548 -0
  8. data/config/disabled.yml +119 -0
  9. data/config/enabled.yml +1734 -0
  10. data/lib/rubbycop.rb +510 -0
  11. data/lib/rubbycop/ast/builder.rb +64 -0
  12. data/lib/rubbycop/ast/node.rb +610 -0
  13. data/lib/rubbycop/ast/node/and_node.rb +37 -0
  14. data/lib/rubbycop/ast/node/array_node.rb +48 -0
  15. data/lib/rubbycop/ast/node/case_node.rb +64 -0
  16. data/lib/rubbycop/ast/node/ensure_node.rb +25 -0
  17. data/lib/rubbycop/ast/node/for_node.rb +53 -0
  18. data/lib/rubbycop/ast/node/hash_node.rb +109 -0
  19. data/lib/rubbycop/ast/node/if_node.rb +138 -0
  20. data/lib/rubbycop/ast/node/keyword_splat_node.rb +45 -0
  21. data/lib/rubbycop/ast/node/mixin/binary_operator_node.rb +23 -0
  22. data/lib/rubbycop/ast/node/mixin/conditional_node.rb +45 -0
  23. data/lib/rubbycop/ast/node/mixin/hash_element_node.rb +125 -0
  24. data/lib/rubbycop/ast/node/mixin/modifier_node.rb +17 -0
  25. data/lib/rubbycop/ast/node/mixin/predicate_operator_node.rb +35 -0
  26. data/lib/rubbycop/ast/node/or_node.rb +37 -0
  27. data/lib/rubbycop/ast/node/pair_node.rb +64 -0
  28. data/lib/rubbycop/ast/node/resbody_node.rb +25 -0
  29. data/lib/rubbycop/ast/node/send_node.rb +209 -0
  30. data/lib/rubbycop/ast/node/until_node.rb +43 -0
  31. data/lib/rubbycop/ast/node/when_node.rb +61 -0
  32. data/lib/rubbycop/ast/node/while_node.rb +43 -0
  33. data/lib/rubbycop/ast/sexp.rb +16 -0
  34. data/lib/rubbycop/ast/traversal.rb +171 -0
  35. data/lib/rubbycop/cached_data.rb +63 -0
  36. data/lib/rubbycop/cli.rb +199 -0
  37. data/lib/rubbycop/comment_config.rb +155 -0
  38. data/lib/rubbycop/config.rb +444 -0
  39. data/lib/rubbycop/config_loader.rb +244 -0
  40. data/lib/rubbycop/config_loader_resolver.rb +43 -0
  41. data/lib/rubbycop/config_store.rb +48 -0
  42. data/lib/rubbycop/cop/autocorrect_logic.rb +26 -0
  43. data/lib/rubbycop/cop/badge.rb +73 -0
  44. data/lib/rubbycop/cop/bundler/duplicated_gem.rb +69 -0
  45. data/lib/rubbycop/cop/bundler/ordered_gems.rb +113 -0
  46. data/lib/rubbycop/cop/commissioner.rb +118 -0
  47. data/lib/rubbycop/cop/cop.rb +222 -0
  48. data/lib/rubbycop/cop/corrector.rb +135 -0
  49. data/lib/rubbycop/cop/force.rb +41 -0
  50. data/lib/rubbycop/cop/ignored_node.rb +38 -0
  51. data/lib/rubbycop/cop/layout/access_modifier_indentation.rb +109 -0
  52. data/lib/rubbycop/cop/layout/align_array.rb +35 -0
  53. data/lib/rubbycop/cop/layout/align_hash.rb +235 -0
  54. data/lib/rubbycop/cop/layout/align_parameters.rb +97 -0
  55. data/lib/rubbycop/cop/layout/block_end_newline.rb +56 -0
  56. data/lib/rubbycop/cop/layout/case_indentation.rb +163 -0
  57. data/lib/rubbycop/cop/layout/closing_parenthesis_indentation.rb +88 -0
  58. data/lib/rubbycop/cop/layout/comment_indentation.rb +71 -0
  59. data/lib/rubbycop/cop/layout/dot_position.rb +84 -0
  60. data/lib/rubbycop/cop/layout/else_alignment.rb +105 -0
  61. data/lib/rubbycop/cop/layout/empty_line_after_magic_comment.rb +63 -0
  62. data/lib/rubbycop/cop/layout/empty_line_between_defs.rb +143 -0
  63. data/lib/rubbycop/cop/layout/empty_lines.rb +60 -0
  64. data/lib/rubbycop/cop/layout/empty_lines_around_access_modifier.rb +90 -0
  65. data/lib/rubbycop/cop/layout/empty_lines_around_begin_body.rb +42 -0
  66. data/lib/rubbycop/cop/layout/empty_lines_around_block_body.rb +41 -0
  67. data/lib/rubbycop/cop/layout/empty_lines_around_class_body.rb +39 -0
  68. data/lib/rubbycop/cop/layout/empty_lines_around_exception_handling_keywords.rb +127 -0
  69. data/lib/rubbycop/cop/layout/empty_lines_around_method_body.rb +41 -0
  70. data/lib/rubbycop/cop/layout/empty_lines_around_module_body.rb +44 -0
  71. data/lib/rubbycop/cop/layout/end_of_line.rb +52 -0
  72. data/lib/rubbycop/cop/layout/extra_spacing.rb +237 -0
  73. data/lib/rubbycop/cop/layout/first_array_element_line_break.rb +41 -0
  74. data/lib/rubbycop/cop/layout/first_hash_element_line_break.rb +33 -0
  75. data/lib/rubbycop/cop/layout/first_method_argument_line_break.rb +49 -0
  76. data/lib/rubbycop/cop/layout/first_method_parameter_line_break.rb +42 -0
  77. data/lib/rubbycop/cop/layout/first_parameter_indentation.rb +109 -0
  78. data/lib/rubbycop/cop/layout/indent_array.rb +114 -0
  79. data/lib/rubbycop/cop/layout/indent_assignment.rb +42 -0
  80. data/lib/rubbycop/cop/layout/indent_hash.rb +134 -0
  81. data/lib/rubbycop/cop/layout/indent_heredoc.rb +173 -0
  82. data/lib/rubbycop/cop/layout/indentation_consistency.rb +51 -0
  83. data/lib/rubbycop/cop/layout/indentation_width.rb +303 -0
  84. data/lib/rubbycop/cop/layout/initial_indentation.rb +42 -0
  85. data/lib/rubbycop/cop/layout/leading_comment_space.rb +43 -0
  86. data/lib/rubbycop/cop/layout/multiline_array_brace_layout.rb +81 -0
  87. data/lib/rubbycop/cop/layout/multiline_assignment_layout.rb +88 -0
  88. data/lib/rubbycop/cop/layout/multiline_block_layout.rb +134 -0
  89. data/lib/rubbycop/cop/layout/multiline_hash_brace_layout.rb +81 -0
  90. data/lib/rubbycop/cop/layout/multiline_method_call_brace_layout.rb +97 -0
  91. data/lib/rubbycop/cop/layout/multiline_method_call_indentation.rb +215 -0
  92. data/lib/rubbycop/cop/layout/multiline_method_definition_brace_layout.rb +82 -0
  93. data/lib/rubbycop/cop/layout/multiline_operation_indentation.rb +89 -0
  94. data/lib/rubbycop/cop/layout/rescue_ensure_alignment.rb +86 -0
  95. data/lib/rubbycop/cop/layout/space_after_colon.rb +40 -0
  96. data/lib/rubbycop/cop/layout/space_after_comma.rb +21 -0
  97. data/lib/rubbycop/cop/layout/space_after_method_name.rb +37 -0
  98. data/lib/rubbycop/cop/layout/space_after_not.rb +38 -0
  99. data/lib/rubbycop/cop/layout/space_after_semicolon.rb +21 -0
  100. data/lib/rubbycop/cop/layout/space_around_block_parameters.rb +109 -0
  101. data/lib/rubbycop/cop/layout/space_around_equals_in_parameter_default.rb +68 -0
  102. data/lib/rubbycop/cop/layout/space_around_keyword.rb +224 -0
  103. data/lib/rubbycop/cop/layout/space_around_operators.rb +142 -0
  104. data/lib/rubbycop/cop/layout/space_before_block_braces.rb +54 -0
  105. data/lib/rubbycop/cop/layout/space_before_comma.rb +16 -0
  106. data/lib/rubbycop/cop/layout/space_before_comment.rb +27 -0
  107. data/lib/rubbycop/cop/layout/space_before_first_arg.rb +64 -0
  108. data/lib/rubbycop/cop/layout/space_before_semicolon.rb +16 -0
  109. data/lib/rubbycop/cop/layout/space_in_lambda_literal.rb +87 -0
  110. data/lib/rubbycop/cop/layout/space_inside_array_percent_literal.rb +53 -0
  111. data/lib/rubbycop/cop/layout/space_inside_block_braces.rb +158 -0
  112. data/lib/rubbycop/cop/layout/space_inside_brackets.rb +20 -0
  113. data/lib/rubbycop/cop/layout/space_inside_hash_literal_braces.rb +150 -0
  114. data/lib/rubbycop/cop/layout/space_inside_parens.rb +16 -0
  115. data/lib/rubbycop/cop/layout/space_inside_percent_literal_delimiters.rb +64 -0
  116. data/lib/rubbycop/cop/layout/space_inside_range_literal.rb +63 -0
  117. data/lib/rubbycop/cop/layout/space_inside_string_interpolation.rb +65 -0
  118. data/lib/rubbycop/cop/layout/tab.rb +57 -0
  119. data/lib/rubbycop/cop/layout/trailing_blank_lines.rb +78 -0
  120. data/lib/rubbycop/cop/layout/trailing_whitespace.rb +28 -0
  121. data/lib/rubbycop/cop/lint/ambiguous_block_association.rb +66 -0
  122. data/lib/rubbycop/cop/lint/ambiguous_operator.rb +55 -0
  123. data/lib/rubbycop/cop/lint/ambiguous_regexp_literal.rb +43 -0
  124. data/lib/rubbycop/cop/lint/assignment_in_condition.rb +80 -0
  125. data/lib/rubbycop/cop/lint/block_alignment.rb +229 -0
  126. data/lib/rubbycop/cop/lint/circular_argument_reference.rb +83 -0
  127. data/lib/rubbycop/cop/lint/condition_position.rb +52 -0
  128. data/lib/rubbycop/cop/lint/debugger.rb +72 -0
  129. data/lib/rubbycop/cop/lint/def_end_alignment.rb +78 -0
  130. data/lib/rubbycop/cop/lint/deprecated_class_methods.rb +90 -0
  131. data/lib/rubbycop/cop/lint/duplicate_case_condition.rb +53 -0
  132. data/lib/rubbycop/cop/lint/duplicate_methods.rb +151 -0
  133. data/lib/rubbycop/cop/lint/duplicated_key.rb +38 -0
  134. data/lib/rubbycop/cop/lint/each_with_object_argument.rb +39 -0
  135. data/lib/rubbycop/cop/lint/else_layout.rb +65 -0
  136. data/lib/rubbycop/cop/lint/empty_ensure.rb +60 -0
  137. data/lib/rubbycop/cop/lint/empty_expression.rb +42 -0
  138. data/lib/rubbycop/cop/lint/empty_interpolation.rb +36 -0
  139. data/lib/rubbycop/cop/lint/empty_when.rb +38 -0
  140. data/lib/rubbycop/cop/lint/end_alignment.rb +157 -0
  141. data/lib/rubbycop/cop/lint/end_in_method.rb +40 -0
  142. data/lib/rubbycop/cop/lint/ensure_return.rb +43 -0
  143. data/lib/rubbycop/cop/lint/float_out_of_range.rb +35 -0
  144. data/lib/rubbycop/cop/lint/format_parameter_mismatch.rb +182 -0
  145. data/lib/rubbycop/cop/lint/handle_exceptions.rb +56 -0
  146. data/lib/rubbycop/cop/lint/implicit_string_concatenation.rb +95 -0
  147. data/lib/rubbycop/cop/lint/ineffective_access_modifier.rb +143 -0
  148. data/lib/rubbycop/cop/lint/inherit_exception.rb +83 -0
  149. data/lib/rubbycop/cop/lint/invalid_character_literal.rb +41 -0
  150. data/lib/rubbycop/cop/lint/literal_in_condition.rb +127 -0
  151. data/lib/rubbycop/cop/lint/literal_in_interpolation.rb +76 -0
  152. data/lib/rubbycop/cop/lint/loop.rb +63 -0
  153. data/lib/rubbycop/cop/lint/multiple_compare.rb +48 -0
  154. data/lib/rubbycop/cop/lint/nested_method_definition.rb +105 -0
  155. data/lib/rubbycop/cop/lint/next_without_accumulator.rb +50 -0
  156. data/lib/rubbycop/cop/lint/non_local_exit_from_iterator.rb +85 -0
  157. data/lib/rubbycop/cop/lint/parentheses_as_grouped_expression.rb +60 -0
  158. data/lib/rubbycop/cop/lint/percent_string_array.rb +84 -0
  159. data/lib/rubbycop/cop/lint/percent_symbol_array.rb +66 -0
  160. data/lib/rubbycop/cop/lint/rand_one.rb +39 -0
  161. data/lib/rubbycop/cop/lint/require_parentheses.rb +61 -0
  162. data/lib/rubbycop/cop/lint/rescue_exception.rb +45 -0
  163. data/lib/rubbycop/cop/lint/safe_navigation_chain.rb +70 -0
  164. data/lib/rubbycop/cop/lint/shadowed_exception.rb +132 -0
  165. data/lib/rubbycop/cop/lint/shadowing_outer_local_variable.rb +53 -0
  166. data/lib/rubbycop/cop/lint/string_conversion_in_interpolation.rb +58 -0
  167. data/lib/rubbycop/cop/lint/syntax.rb +55 -0
  168. data/lib/rubbycop/cop/lint/underscore_prefixed_variable_name.rb +62 -0
  169. data/lib/rubbycop/cop/lint/unified_integer.rb +42 -0
  170. data/lib/rubbycop/cop/lint/unneeded_disable.rb +231 -0
  171. data/lib/rubbycop/cop/lint/unneeded_splat_expansion.rb +141 -0
  172. data/lib/rubbycop/cop/lint/unreachable_code.rb +52 -0
  173. data/lib/rubbycop/cop/lint/unused_block_argument.rb +145 -0
  174. data/lib/rubbycop/cop/lint/unused_method_argument.rb +61 -0
  175. data/lib/rubbycop/cop/lint/useless_access_modifier.rb +229 -0
  176. data/lib/rubbycop/cop/lint/useless_assignment.rb +132 -0
  177. data/lib/rubbycop/cop/lint/useless_comparison.rb +28 -0
  178. data/lib/rubbycop/cop/lint/useless_else_without_rescue.rb +46 -0
  179. data/lib/rubbycop/cop/lint/useless_setter_call.rb +162 -0
  180. data/lib/rubbycop/cop/lint/void.rb +108 -0
  181. data/lib/rubbycop/cop/message_annotator.rb +116 -0
  182. data/lib/rubbycop/cop/metrics/abc_size.rb +39 -0
  183. data/lib/rubbycop/cop/metrics/block_length.rb +32 -0
  184. data/lib/rubbycop/cop/metrics/block_nesting.rb +64 -0
  185. data/lib/rubbycop/cop/metrics/class_length.rb +24 -0
  186. data/lib/rubbycop/cop/metrics/cyclomatic_complexity.rb +31 -0
  187. data/lib/rubbycop/cop/metrics/line_length.rb +168 -0
  188. data/lib/rubbycop/cop/metrics/method_length.rb +27 -0
  189. data/lib/rubbycop/cop/metrics/module_length.rb +24 -0
  190. data/lib/rubbycop/cop/metrics/parameter_lists.rb +45 -0
  191. data/lib/rubbycop/cop/metrics/perceived_complexity.rb +61 -0
  192. data/lib/rubbycop/cop/mixin/access_modifier_node.rb +41 -0
  193. data/lib/rubbycop/cop/mixin/annotation_comment.rb +36 -0
  194. data/lib/rubbycop/cop/mixin/array_hash_indentation.rb +82 -0
  195. data/lib/rubbycop/cop/mixin/array_min_size.rb +59 -0
  196. data/lib/rubbycop/cop/mixin/array_syntax.rb +15 -0
  197. data/lib/rubbycop/cop/mixin/autocorrect_alignment.rb +149 -0
  198. data/lib/rubbycop/cop/mixin/check_assignment.rb +40 -0
  199. data/lib/rubbycop/cop/mixin/classish_length.rb +36 -0
  200. data/lib/rubbycop/cop/mixin/code_length.rb +32 -0
  201. data/lib/rubbycop/cop/mixin/configurable_enforced_style.rb +97 -0
  202. data/lib/rubbycop/cop/mixin/configurable_formatting.rb +48 -0
  203. data/lib/rubbycop/cop/mixin/configurable_max.rb +19 -0
  204. data/lib/rubbycop/cop/mixin/configurable_naming.rb +16 -0
  205. data/lib/rubbycop/cop/mixin/configurable_numbering.rb +17 -0
  206. data/lib/rubbycop/cop/mixin/def_node.rb +27 -0
  207. data/lib/rubbycop/cop/mixin/documentation_comment.rb +46 -0
  208. data/lib/rubbycop/cop/mixin/duplication.rb +46 -0
  209. data/lib/rubbycop/cop/mixin/empty_lines_around_body.rb +161 -0
  210. data/lib/rubbycop/cop/mixin/end_keyword_alignment.rb +85 -0
  211. data/lib/rubbycop/cop/mixin/enforce_superclass.rb +36 -0
  212. data/lib/rubbycop/cop/mixin/first_element_line_break.rb +41 -0
  213. data/lib/rubbycop/cop/mixin/frozen_string_literal.rb +37 -0
  214. data/lib/rubbycop/cop/mixin/hash_alignment.rb +116 -0
  215. data/lib/rubbycop/cop/mixin/ignored_pattern.rb +27 -0
  216. data/lib/rubbycop/cop/mixin/integer_node.rb +12 -0
  217. data/lib/rubbycop/cop/mixin/match_range.rb +22 -0
  218. data/lib/rubbycop/cop/mixin/method_complexity.rb +30 -0
  219. data/lib/rubbycop/cop/mixin/method_preference.rb +30 -0
  220. data/lib/rubbycop/cop/mixin/min_body_length.rb +19 -0
  221. data/lib/rubbycop/cop/mixin/multiline_expression_indentation.rb +183 -0
  222. data/lib/rubbycop/cop/mixin/multiline_literal_brace_layout.rb +152 -0
  223. data/lib/rubbycop/cop/mixin/negative_conditional.rb +43 -0
  224. data/lib/rubbycop/cop/mixin/on_method_def.rb +44 -0
  225. data/lib/rubbycop/cop/mixin/on_normal_if_unless.rb +14 -0
  226. data/lib/rubbycop/cop/mixin/parentheses.rb +22 -0
  227. data/lib/rubbycop/cop/mixin/parser_diagnostic.rb +34 -0
  228. data/lib/rubbycop/cop/mixin/percent_literal.rb +100 -0
  229. data/lib/rubbycop/cop/mixin/preceding_following_alignment.rb +89 -0
  230. data/lib/rubbycop/cop/mixin/rescue_node.rb +21 -0
  231. data/lib/rubbycop/cop/mixin/safe_assignment.rb +20 -0
  232. data/lib/rubbycop/cop/mixin/safe_mode.rb +22 -0
  233. data/lib/rubbycop/cop/mixin/space_after_punctuation.rb +55 -0
  234. data/lib/rubbycop/cop/mixin/space_before_punctuation.rb +48 -0
  235. data/lib/rubbycop/cop/mixin/space_inside.rb +76 -0
  236. data/lib/rubbycop/cop/mixin/statement_modifier.rb +69 -0
  237. data/lib/rubbycop/cop/mixin/string_help.rb +33 -0
  238. data/lib/rubbycop/cop/mixin/string_literals_help.rb +33 -0
  239. data/lib/rubbycop/cop/mixin/surrounding_space.rb +40 -0
  240. data/lib/rubbycop/cop/mixin/target_rails_version.rb +16 -0
  241. data/lib/rubbycop/cop/mixin/target_ruby_version.rb +16 -0
  242. data/lib/rubbycop/cop/mixin/too_many_lines.rb +39 -0
  243. data/lib/rubbycop/cop/mixin/trailing_comma.rb +161 -0
  244. data/lib/rubbycop/cop/mixin/unused_argument.rb +42 -0
  245. data/lib/rubbycop/cop/offense.rb +188 -0
  246. data/lib/rubbycop/cop/performance/caller.rb +41 -0
  247. data/lib/rubbycop/cop/performance/case_when_splat.rb +176 -0
  248. data/lib/rubbycop/cop/performance/casecmp.rb +107 -0
  249. data/lib/rubbycop/cop/performance/compare_with_block.rb +107 -0
  250. data/lib/rubbycop/cop/performance/count.rb +98 -0
  251. data/lib/rubbycop/cop/performance/detect.rb +107 -0
  252. data/lib/rubbycop/cop/performance/double_start_end_with.rb +102 -0
  253. data/lib/rubbycop/cop/performance/end_with.rb +55 -0
  254. data/lib/rubbycop/cop/performance/fixed_size.rb +56 -0
  255. data/lib/rubbycop/cop/performance/flat_map.rb +73 -0
  256. data/lib/rubbycop/cop/performance/hash_each_methods.rb +84 -0
  257. data/lib/rubbycop/cop/performance/lstrip_rstrip.rb +41 -0
  258. data/lib/rubbycop/cop/performance/range_include.rb +41 -0
  259. data/lib/rubbycop/cop/performance/redundant_block_call.rb +93 -0
  260. data/lib/rubbycop/cop/performance/redundant_match.rb +55 -0
  261. data/lib/rubbycop/cop/performance/redundant_merge.rb +149 -0
  262. data/lib/rubbycop/cop/performance/redundant_sort_by.rb +45 -0
  263. data/lib/rubbycop/cop/performance/regexp_match.rb +215 -0
  264. data/lib/rubbycop/cop/performance/reverse_each.rb +40 -0
  265. data/lib/rubbycop/cop/performance/sample.rb +140 -0
  266. data/lib/rubbycop/cop/performance/size.rb +71 -0
  267. data/lib/rubbycop/cop/performance/start_with.rb +58 -0
  268. data/lib/rubbycop/cop/performance/string_replacement.rb +170 -0
  269. data/lib/rubbycop/cop/performance/times_map.rb +61 -0
  270. data/lib/rubbycop/cop/rails/action_filter.rb +96 -0
  271. data/lib/rubbycop/cop/rails/active_support_aliases.rb +68 -0
  272. data/lib/rubbycop/cop/rails/application_job.rb +32 -0
  273. data/lib/rubbycop/cop/rails/application_record.rb +32 -0
  274. data/lib/rubbycop/cop/rails/blank.rb +138 -0
  275. data/lib/rubbycop/cop/rails/date.rb +127 -0
  276. data/lib/rubbycop/cop/rails/delegate.rb +106 -0
  277. data/lib/rubbycop/cop/rails/delegate_allow_blank.rb +51 -0
  278. data/lib/rubbycop/cop/rails/dynamic_find_by.rb +81 -0
  279. data/lib/rubbycop/cop/rails/enum_uniqueness.rb +43 -0
  280. data/lib/rubbycop/cop/rails/exit.rb +61 -0
  281. data/lib/rubbycop/cop/rails/file_path.rb +75 -0
  282. data/lib/rubbycop/cop/rails/find_by.rb +51 -0
  283. data/lib/rubbycop/cop/rails/find_each.rb +47 -0
  284. data/lib/rubbycop/cop/rails/has_and_belongs_to_many.rb +18 -0
  285. data/lib/rubbycop/cop/rails/http_positional_arguments.rb +106 -0
  286. data/lib/rubbycop/cop/rails/not_null_column.rb +67 -0
  287. data/lib/rubbycop/cop/rails/output.rb +23 -0
  288. data/lib/rubbycop/cop/rails/output_safety.rb +58 -0
  289. data/lib/rubbycop/cop/rails/pluralization_grammar.rb +106 -0
  290. data/lib/rubbycop/cop/rails/present.rb +143 -0
  291. data/lib/rubbycop/cop/rails/read_write_attribute.rb +65 -0
  292. data/lib/rubbycop/cop/rails/relative_date_constant.rb +88 -0
  293. data/lib/rubbycop/cop/rails/request_referer.rb +56 -0
  294. data/lib/rubbycop/cop/rails/reversible_migration.rb +216 -0
  295. data/lib/rubbycop/cop/rails/safe_navigation.rb +91 -0
  296. data/lib/rubbycop/cop/rails/save_bang.rb +160 -0
  297. data/lib/rubbycop/cop/rails/scope_args.rb +29 -0
  298. data/lib/rubbycop/cop/rails/skips_model_validations.rb +63 -0
  299. data/lib/rubbycop/cop/rails/time_zone.rb +197 -0
  300. data/lib/rubbycop/cop/rails/uniq_before_pluck.rb +93 -0
  301. data/lib/rubbycop/cop/rails/validation.rb +64 -0
  302. data/lib/rubbycop/cop/registry.rb +171 -0
  303. data/lib/rubbycop/cop/security/eval.rb +30 -0
  304. data/lib/rubbycop/cop/security/json_load.rb +44 -0
  305. data/lib/rubbycop/cop/security/marshal_load.rb +37 -0
  306. data/lib/rubbycop/cop/security/yaml_load.rb +37 -0
  307. data/lib/rubbycop/cop/severity.rb +76 -0
  308. data/lib/rubbycop/cop/style/accessor_method_name.rb +45 -0
  309. data/lib/rubbycop/cop/style/alias.rb +119 -0
  310. data/lib/rubbycop/cop/style/and_or.rb +125 -0
  311. data/lib/rubbycop/cop/style/array_join.rb +30 -0
  312. data/lib/rubbycop/cop/style/ascii_comments.rb +38 -0
  313. data/lib/rubbycop/cop/style/ascii_identifiers.rb +36 -0
  314. data/lib/rubbycop/cop/style/attr.rb +50 -0
  315. data/lib/rubbycop/cop/style/auto_resource_cleanup.rb +42 -0
  316. data/lib/rubbycop/cop/style/bare_percent_literals.rb +57 -0
  317. data/lib/rubbycop/cop/style/begin_block.rb +16 -0
  318. data/lib/rubbycop/cop/style/block_comments.rb +46 -0
  319. data/lib/rubbycop/cop/style/block_delimiters.rb +228 -0
  320. data/lib/rubbycop/cop/style/braces_around_hash_parameters.rb +138 -0
  321. data/lib/rubbycop/cop/style/case_equality.rb +18 -0
  322. data/lib/rubbycop/cop/style/character_literal.rb +43 -0
  323. data/lib/rubbycop/cop/style/class_and_module_camel_case.rb +29 -0
  324. data/lib/rubbycop/cop/style/class_and_module_children.rb +69 -0
  325. data/lib/rubbycop/cop/style/class_check.rb +40 -0
  326. data/lib/rubbycop/cop/style/class_methods.rb +67 -0
  327. data/lib/rubbycop/cop/style/class_vars.rb +23 -0
  328. data/lib/rubbycop/cop/style/collection_methods.rb +51 -0
  329. data/lib/rubbycop/cop/style/colon_method_call.rb +33 -0
  330. data/lib/rubbycop/cop/style/command_literal.rb +119 -0
  331. data/lib/rubbycop/cop/style/comment_annotation.rb +62 -0
  332. data/lib/rubbycop/cop/style/conditional_assignment.rb +691 -0
  333. data/lib/rubbycop/cop/style/constant_name.rb +29 -0
  334. data/lib/rubbycop/cop/style/copyright.rb +89 -0
  335. data/lib/rubbycop/cop/style/def_with_parentheses.rb +31 -0
  336. data/lib/rubbycop/cop/style/documentation.rb +79 -0
  337. data/lib/rubbycop/cop/style/documentation_method.rb +80 -0
  338. data/lib/rubbycop/cop/style/double_negation.rb +35 -0
  339. data/lib/rubbycop/cop/style/each_for_simple_loop.rb +57 -0
  340. data/lib/rubbycop/cop/style/each_with_object.rb +91 -0
  341. data/lib/rubbycop/cop/style/empty_case_condition.rb +84 -0
  342. data/lib/rubbycop/cop/style/empty_else.rb +138 -0
  343. data/lib/rubbycop/cop/style/empty_literal.rb +108 -0
  344. data/lib/rubbycop/cop/style/empty_method.rb +102 -0
  345. data/lib/rubbycop/cop/style/encoding.rb +92 -0
  346. data/lib/rubbycop/cop/style/end_block.rb +17 -0
  347. data/lib/rubbycop/cop/style/even_odd.rb +56 -0
  348. data/lib/rubbycop/cop/style/file_name.rb +183 -0
  349. data/lib/rubbycop/cop/style/flip_flop.rb +20 -0
  350. data/lib/rubbycop/cop/style/for.rb +50 -0
  351. data/lib/rubbycop/cop/style/format_string.rb +46 -0
  352. data/lib/rubbycop/cop/style/format_string_token.rb +141 -0
  353. data/lib/rubbycop/cop/style/frozen_string_literal_comment.rb +96 -0
  354. data/lib/rubbycop/cop/style/global_vars.rb +70 -0
  355. data/lib/rubbycop/cop/style/guard_clause.rb +90 -0
  356. data/lib/rubbycop/cop/style/hash_syntax.rb +214 -0
  357. data/lib/rubbycop/cop/style/identical_conditional_branches.rb +130 -0
  358. data/lib/rubbycop/cop/style/if_inside_else.rb +45 -0
  359. data/lib/rubbycop/cop/style/if_unless_modifier.rb +80 -0
  360. data/lib/rubbycop/cop/style/if_unless_modifier_of_if_unless.rb +38 -0
  361. data/lib/rubbycop/cop/style/if_with_semicolon.rb +20 -0
  362. data/lib/rubbycop/cop/style/implicit_runtime_error.rb +31 -0
  363. data/lib/rubbycop/cop/style/infinite_loop.rb +91 -0
  364. data/lib/rubbycop/cop/style/inline_comment.rb +32 -0
  365. data/lib/rubbycop/cop/style/inverse_methods.rb +130 -0
  366. data/lib/rubbycop/cop/style/lambda.rb +209 -0
  367. data/lib/rubbycop/cop/style/lambda_call.rb +66 -0
  368. data/lib/rubbycop/cop/style/line_end_concatenation.rb +115 -0
  369. data/lib/rubbycop/cop/style/method_call_with_args_parentheses.rb +107 -0
  370. data/lib/rubbycop/cop/style/method_call_without_args_parentheses.rb +75 -0
  371. data/lib/rubbycop/cop/style/method_called_on_do_end_block.rb +44 -0
  372. data/lib/rubbycop/cop/style/method_def_parentheses.rb +83 -0
  373. data/lib/rubbycop/cop/style/method_missing.rb +81 -0
  374. data/lib/rubbycop/cop/style/method_name.rb +28 -0
  375. data/lib/rubbycop/cop/style/missing_else.rb +100 -0
  376. data/lib/rubbycop/cop/style/mixin_grouping.rb +135 -0
  377. data/lib/rubbycop/cop/style/module_function.rb +64 -0
  378. data/lib/rubbycop/cop/style/multiline_block_chain.rb +42 -0
  379. data/lib/rubbycop/cop/style/multiline_if_modifier.rb +63 -0
  380. data/lib/rubbycop/cop/style/multiline_if_then.rb +47 -0
  381. data/lib/rubbycop/cop/style/multiline_memoization.rb +77 -0
  382. data/lib/rubbycop/cop/style/multiline_ternary_operator.rb +19 -0
  383. data/lib/rubbycop/cop/style/mutable_constant.rb +68 -0
  384. data/lib/rubbycop/cop/style/negated_if.rb +103 -0
  385. data/lib/rubbycop/cop/style/negated_while.rb +32 -0
  386. data/lib/rubbycop/cop/style/nested_modifier.rb +87 -0
  387. data/lib/rubbycop/cop/style/nested_parenthesized_calls.rb +61 -0
  388. data/lib/rubbycop/cop/style/nested_ternary_operator.rb +21 -0
  389. data/lib/rubbycop/cop/style/next.rb +225 -0
  390. data/lib/rubbycop/cop/style/nil_comparison.rb +35 -0
  391. data/lib/rubbycop/cop/style/non_nil_check.rb +121 -0
  392. data/lib/rubbycop/cop/style/not.rb +69 -0
  393. data/lib/rubbycop/cop/style/numeric_literal_prefix.rb +97 -0
  394. data/lib/rubbycop/cop/style/numeric_literals.rb +101 -0
  395. data/lib/rubbycop/cop/style/numeric_predicate.rb +140 -0
  396. data/lib/rubbycop/cop/style/one_line_conditional.rb +75 -0
  397. data/lib/rubbycop/cop/style/op_method.rb +41 -0
  398. data/lib/rubbycop/cop/style/option_hash.rb +58 -0
  399. data/lib/rubbycop/cop/style/optional_arguments.rb +62 -0
  400. data/lib/rubbycop/cop/style/parallel_assignment.rb +287 -0
  401. data/lib/rubbycop/cop/style/parentheses_around_condition.rb +56 -0
  402. data/lib/rubbycop/cop/style/percent_literal_delimiters.rb +100 -0
  403. data/lib/rubbycop/cop/style/percent_q_literals.rb +52 -0
  404. data/lib/rubbycop/cop/style/perl_backrefs.rb +31 -0
  405. data/lib/rubbycop/cop/style/predicate_name.rb +67 -0
  406. data/lib/rubbycop/cop/style/preferred_hash_methods.rb +78 -0
  407. data/lib/rubbycop/cop/style/proc.rb +26 -0
  408. data/lib/rubbycop/cop/style/raise_args.rb +140 -0
  409. data/lib/rubbycop/cop/style/redundant_begin.rb +47 -0
  410. data/lib/rubbycop/cop/style/redundant_exception.rb +55 -0
  411. data/lib/rubbycop/cop/style/redundant_freeze.rb +45 -0
  412. data/lib/rubbycop/cop/style/redundant_parentheses.rb +199 -0
  413. data/lib/rubbycop/cop/style/redundant_return.rb +121 -0
  414. data/lib/rubbycop/cop/style/redundant_self.rb +144 -0
  415. data/lib/rubbycop/cop/style/regexp_literal.rb +114 -0
  416. data/lib/rubbycop/cop/style/rescue_modifier.rb +37 -0
  417. data/lib/rubbycop/cop/style/safe_navigation.rb +145 -0
  418. data/lib/rubbycop/cop/style/self_assignment.rb +93 -0
  419. data/lib/rubbycop/cop/style/semicolon.rb +70 -0
  420. data/lib/rubbycop/cop/style/send.rb +21 -0
  421. data/lib/rubbycop/cop/style/signal_exception.rb +109 -0
  422. data/lib/rubbycop/cop/style/single_line_block_params.rb +68 -0
  423. data/lib/rubbycop/cop/style/single_line_methods.rb +77 -0
  424. data/lib/rubbycop/cop/style/special_global_vars.rb +156 -0
  425. data/lib/rubbycop/cop/style/stabby_lambda_parentheses.rb +113 -0
  426. data/lib/rubbycop/cop/style/string_literals.rb +102 -0
  427. data/lib/rubbycop/cop/style/string_literals_in_interpolation.rb +30 -0
  428. data/lib/rubbycop/cop/style/string_methods.rb +34 -0
  429. data/lib/rubbycop/cop/style/struct_inheritance.rb +32 -0
  430. data/lib/rubbycop/cop/style/symbol_array.rb +109 -0
  431. data/lib/rubbycop/cop/style/symbol_literal.rb +32 -0
  432. data/lib/rubbycop/cop/style/symbol_proc.rb +143 -0
  433. data/lib/rubbycop/cop/style/ternary_parentheses.rb +200 -0
  434. data/lib/rubbycop/cop/style/trailing_comma_in_arguments.rb +64 -0
  435. data/lib/rubbycop/cop/style/trailing_comma_in_literal.rb +56 -0
  436. data/lib/rubbycop/cop/style/trailing_underscore_variable.rb +113 -0
  437. data/lib/rubbycop/cop/style/trivial_accessors.rb +176 -0
  438. data/lib/rubbycop/cop/style/unless_else.rb +39 -0
  439. data/lib/rubbycop/cop/style/unneeded_capital_w.rb +41 -0
  440. data/lib/rubbycop/cop/style/unneeded_interpolation.rb +98 -0
  441. data/lib/rubbycop/cop/style/unneeded_percent_q.rb +96 -0
  442. data/lib/rubbycop/cop/style/variable_interpolation.rb +44 -0
  443. data/lib/rubbycop/cop/style/variable_name.rb +39 -0
  444. data/lib/rubbycop/cop/style/variable_number.rb +78 -0
  445. data/lib/rubbycop/cop/style/when_then.rb +24 -0
  446. data/lib/rubbycop/cop/style/while_until_do.rb +36 -0
  447. data/lib/rubbycop/cop/style/while_until_modifier.rb +41 -0
  448. data/lib/rubbycop/cop/style/word_array.rb +114 -0
  449. data/lib/rubbycop/cop/style/zero_length_predicate.rb +90 -0
  450. data/lib/rubbycop/cop/team.rb +193 -0
  451. data/lib/rubbycop/cop/util.rb +309 -0
  452. data/lib/rubbycop/cop/variable_force.rb +458 -0
  453. data/lib/rubbycop/cop/variable_force/assignment.rb +90 -0
  454. data/lib/rubbycop/cop/variable_force/branch.rb +318 -0
  455. data/lib/rubbycop/cop/variable_force/branchable.rb +21 -0
  456. data/lib/rubbycop/cop/variable_force/reference.rb +49 -0
  457. data/lib/rubbycop/cop/variable_force/scope.rb +107 -0
  458. data/lib/rubbycop/cop/variable_force/variable.rb +103 -0
  459. data/lib/rubbycop/cop/variable_force/variable_table.rb +128 -0
  460. data/lib/rubbycop/error.rb +11 -0
  461. data/lib/rubbycop/formatter/base_formatter.rb +123 -0
  462. data/lib/rubbycop/formatter/clang_style_formatter.rb +54 -0
  463. data/lib/rubbycop/formatter/colorizable.rb +41 -0
  464. data/lib/rubbycop/formatter/disabled_config_formatter.rb +181 -0
  465. data/lib/rubbycop/formatter/disabled_lines_formatter.rb +57 -0
  466. data/lib/rubbycop/formatter/emacs_style_formatter.rb +24 -0
  467. data/lib/rubbycop/formatter/file_list_formatter.rb +19 -0
  468. data/lib/rubbycop/formatter/formatter_set.rb +102 -0
  469. data/lib/rubbycop/formatter/fuubar_style_formatter.rb +80 -0
  470. data/lib/rubbycop/formatter/html_formatter.rb +134 -0
  471. data/lib/rubbycop/formatter/json_formatter.rb +74 -0
  472. data/lib/rubbycop/formatter/offense_count_formatter.rb +55 -0
  473. data/lib/rubbycop/formatter/progress_formatter.rb +63 -0
  474. data/lib/rubbycop/formatter/simple_text_formatter.rb +136 -0
  475. data/lib/rubbycop/formatter/text_util.rb +20 -0
  476. data/lib/rubbycop/formatter/worst_offenders_formatter.rb +60 -0
  477. data/lib/rubbycop/magic_comment.rb +210 -0
  478. data/lib/rubbycop/name_similarity.rb +21 -0
  479. data/lib/rubbycop/node_pattern.rb +543 -0
  480. data/lib/rubbycop/options.rb +355 -0
  481. data/lib/rubbycop/path_util.rb +36 -0
  482. data/lib/rubbycop/platform.rb +11 -0
  483. data/lib/rubbycop/processed_source.rb +151 -0
  484. data/lib/rubbycop/rake_task.rb +86 -0
  485. data/lib/rubbycop/remote_config.rb +78 -0
  486. data/lib/rubbycop/result_cache.rb +176 -0
  487. data/lib/rubbycop/rspec/cop_helper.rb +98 -0
  488. data/lib/rubbycop/rspec/host_environment_simulation_helper.rb +32 -0
  489. data/lib/rubbycop/rspec/shared_contexts.rb +98 -0
  490. data/lib/rubbycop/rspec/shared_examples.rb +92 -0
  491. data/lib/rubbycop/rspec/support.rb +8 -0
  492. data/lib/rubbycop/runner.rb +338 -0
  493. data/lib/rubbycop/string_interpreter.rb +57 -0
  494. data/lib/rubbycop/string_util.rb +156 -0
  495. data/lib/rubbycop/target_finder.rb +201 -0
  496. data/lib/rubbycop/token.rb +25 -0
  497. data/lib/rubbycop/version.rb +19 -0
  498. data/lib/rubbycop/warning.rb +11 -0
  499. metadata +663 -0
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RubbyCop
4
+ # A Warning exception is different from an Offense with severity 'warning'
5
+ # When a Warning is raised, this means that RubbyCop was unable to perform a
6
+ # requested operation (such as inspecting or correcting a source file) due to
7
+ # user error
8
+ # For example, a configuration value in .rubbycop.yml might be malformed
9
+ class Warning < StandardError
10
+ end
11
+ end
metadata ADDED
@@ -0,0 +1,663 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rubbycop
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.49.0
5
+ platform: ruby
6
+ authors:
7
+ - Bozhidar Batsov
8
+ - Jonas Arvidsson
9
+ - Yuji Nakayama
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2017-05-04 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rainbow
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: 1.99.1
22
+ - - "<"
23
+ - !ruby/object:Gem::Version
24
+ version: '3.0'
25
+ type: :runtime
26
+ prerelease: false
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 1.99.1
32
+ - - "<"
33
+ - !ruby/object:Gem::Version
34
+ version: '3.0'
35
+ - !ruby/object:Gem::Dependency
36
+ name: parser
37
+ requirement: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: 2.3.3.1
42
+ - - "<"
43
+ - !ruby/object:Gem::Version
44
+ version: '3.0'
45
+ type: :runtime
46
+ prerelease: false
47
+ version_requirements: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: 2.3.3.1
52
+ - - "<"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: powerpack
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.1'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: ruby-progressbar
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.7'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.7'
83
+ - !ruby/object:Gem::Dependency
84
+ name: unicode-display_width
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.0'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 1.0.1
93
+ type: :runtime
94
+ prerelease: false
95
+ version_requirements: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '1.0'
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 1.0.1
103
+ - !ruby/object:Gem::Dependency
104
+ name: parallel
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '1.10'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '1.10'
117
+ - !ruby/object:Gem::Dependency
118
+ name: bundler
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '1.3'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '1.3'
131
+ description: |2
132
+ Automatic Ruby code style checking tool.
133
+ Aims to enforce the community-driven Ruby Style Guide.
134
+ email: rubbycop@googlegroups.com
135
+ executables:
136
+ - rubbycop
137
+ extensions: []
138
+ extra_rdoc_files:
139
+ - LICENSE.txt
140
+ - README.md
141
+ files:
142
+ - LICENSE.txt
143
+ - README.md
144
+ - assets/logo.png
145
+ - assets/output.html.erb
146
+ - bin/rubbycop
147
+ - config/default.yml
148
+ - config/disabled.yml
149
+ - config/enabled.yml
150
+ - lib/rubbycop.rb
151
+ - lib/rubbycop/ast/builder.rb
152
+ - lib/rubbycop/ast/node.rb
153
+ - lib/rubbycop/ast/node/and_node.rb
154
+ - lib/rubbycop/ast/node/array_node.rb
155
+ - lib/rubbycop/ast/node/case_node.rb
156
+ - lib/rubbycop/ast/node/ensure_node.rb
157
+ - lib/rubbycop/ast/node/for_node.rb
158
+ - lib/rubbycop/ast/node/hash_node.rb
159
+ - lib/rubbycop/ast/node/if_node.rb
160
+ - lib/rubbycop/ast/node/keyword_splat_node.rb
161
+ - lib/rubbycop/ast/node/mixin/binary_operator_node.rb
162
+ - lib/rubbycop/ast/node/mixin/conditional_node.rb
163
+ - lib/rubbycop/ast/node/mixin/hash_element_node.rb
164
+ - lib/rubbycop/ast/node/mixin/modifier_node.rb
165
+ - lib/rubbycop/ast/node/mixin/predicate_operator_node.rb
166
+ - lib/rubbycop/ast/node/or_node.rb
167
+ - lib/rubbycop/ast/node/pair_node.rb
168
+ - lib/rubbycop/ast/node/resbody_node.rb
169
+ - lib/rubbycop/ast/node/send_node.rb
170
+ - lib/rubbycop/ast/node/until_node.rb
171
+ - lib/rubbycop/ast/node/when_node.rb
172
+ - lib/rubbycop/ast/node/while_node.rb
173
+ - lib/rubbycop/ast/sexp.rb
174
+ - lib/rubbycop/ast/traversal.rb
175
+ - lib/rubbycop/cached_data.rb
176
+ - lib/rubbycop/cli.rb
177
+ - lib/rubbycop/comment_config.rb
178
+ - lib/rubbycop/config.rb
179
+ - lib/rubbycop/config_loader.rb
180
+ - lib/rubbycop/config_loader_resolver.rb
181
+ - lib/rubbycop/config_store.rb
182
+ - lib/rubbycop/cop/autocorrect_logic.rb
183
+ - lib/rubbycop/cop/badge.rb
184
+ - lib/rubbycop/cop/bundler/duplicated_gem.rb
185
+ - lib/rubbycop/cop/bundler/ordered_gems.rb
186
+ - lib/rubbycop/cop/commissioner.rb
187
+ - lib/rubbycop/cop/cop.rb
188
+ - lib/rubbycop/cop/corrector.rb
189
+ - lib/rubbycop/cop/force.rb
190
+ - lib/rubbycop/cop/ignored_node.rb
191
+ - lib/rubbycop/cop/layout/access_modifier_indentation.rb
192
+ - lib/rubbycop/cop/layout/align_array.rb
193
+ - lib/rubbycop/cop/layout/align_hash.rb
194
+ - lib/rubbycop/cop/layout/align_parameters.rb
195
+ - lib/rubbycop/cop/layout/block_end_newline.rb
196
+ - lib/rubbycop/cop/layout/case_indentation.rb
197
+ - lib/rubbycop/cop/layout/closing_parenthesis_indentation.rb
198
+ - lib/rubbycop/cop/layout/comment_indentation.rb
199
+ - lib/rubbycop/cop/layout/dot_position.rb
200
+ - lib/rubbycop/cop/layout/else_alignment.rb
201
+ - lib/rubbycop/cop/layout/empty_line_after_magic_comment.rb
202
+ - lib/rubbycop/cop/layout/empty_line_between_defs.rb
203
+ - lib/rubbycop/cop/layout/empty_lines.rb
204
+ - lib/rubbycop/cop/layout/empty_lines_around_access_modifier.rb
205
+ - lib/rubbycop/cop/layout/empty_lines_around_begin_body.rb
206
+ - lib/rubbycop/cop/layout/empty_lines_around_block_body.rb
207
+ - lib/rubbycop/cop/layout/empty_lines_around_class_body.rb
208
+ - lib/rubbycop/cop/layout/empty_lines_around_exception_handling_keywords.rb
209
+ - lib/rubbycop/cop/layout/empty_lines_around_method_body.rb
210
+ - lib/rubbycop/cop/layout/empty_lines_around_module_body.rb
211
+ - lib/rubbycop/cop/layout/end_of_line.rb
212
+ - lib/rubbycop/cop/layout/extra_spacing.rb
213
+ - lib/rubbycop/cop/layout/first_array_element_line_break.rb
214
+ - lib/rubbycop/cop/layout/first_hash_element_line_break.rb
215
+ - lib/rubbycop/cop/layout/first_method_argument_line_break.rb
216
+ - lib/rubbycop/cop/layout/first_method_parameter_line_break.rb
217
+ - lib/rubbycop/cop/layout/first_parameter_indentation.rb
218
+ - lib/rubbycop/cop/layout/indent_array.rb
219
+ - lib/rubbycop/cop/layout/indent_assignment.rb
220
+ - lib/rubbycop/cop/layout/indent_hash.rb
221
+ - lib/rubbycop/cop/layout/indent_heredoc.rb
222
+ - lib/rubbycop/cop/layout/indentation_consistency.rb
223
+ - lib/rubbycop/cop/layout/indentation_width.rb
224
+ - lib/rubbycop/cop/layout/initial_indentation.rb
225
+ - lib/rubbycop/cop/layout/leading_comment_space.rb
226
+ - lib/rubbycop/cop/layout/multiline_array_brace_layout.rb
227
+ - lib/rubbycop/cop/layout/multiline_assignment_layout.rb
228
+ - lib/rubbycop/cop/layout/multiline_block_layout.rb
229
+ - lib/rubbycop/cop/layout/multiline_hash_brace_layout.rb
230
+ - lib/rubbycop/cop/layout/multiline_method_call_brace_layout.rb
231
+ - lib/rubbycop/cop/layout/multiline_method_call_indentation.rb
232
+ - lib/rubbycop/cop/layout/multiline_method_definition_brace_layout.rb
233
+ - lib/rubbycop/cop/layout/multiline_operation_indentation.rb
234
+ - lib/rubbycop/cop/layout/rescue_ensure_alignment.rb
235
+ - lib/rubbycop/cop/layout/space_after_colon.rb
236
+ - lib/rubbycop/cop/layout/space_after_comma.rb
237
+ - lib/rubbycop/cop/layout/space_after_method_name.rb
238
+ - lib/rubbycop/cop/layout/space_after_not.rb
239
+ - lib/rubbycop/cop/layout/space_after_semicolon.rb
240
+ - lib/rubbycop/cop/layout/space_around_block_parameters.rb
241
+ - lib/rubbycop/cop/layout/space_around_equals_in_parameter_default.rb
242
+ - lib/rubbycop/cop/layout/space_around_keyword.rb
243
+ - lib/rubbycop/cop/layout/space_around_operators.rb
244
+ - lib/rubbycop/cop/layout/space_before_block_braces.rb
245
+ - lib/rubbycop/cop/layout/space_before_comma.rb
246
+ - lib/rubbycop/cop/layout/space_before_comment.rb
247
+ - lib/rubbycop/cop/layout/space_before_first_arg.rb
248
+ - lib/rubbycop/cop/layout/space_before_semicolon.rb
249
+ - lib/rubbycop/cop/layout/space_in_lambda_literal.rb
250
+ - lib/rubbycop/cop/layout/space_inside_array_percent_literal.rb
251
+ - lib/rubbycop/cop/layout/space_inside_block_braces.rb
252
+ - lib/rubbycop/cop/layout/space_inside_brackets.rb
253
+ - lib/rubbycop/cop/layout/space_inside_hash_literal_braces.rb
254
+ - lib/rubbycop/cop/layout/space_inside_parens.rb
255
+ - lib/rubbycop/cop/layout/space_inside_percent_literal_delimiters.rb
256
+ - lib/rubbycop/cop/layout/space_inside_range_literal.rb
257
+ - lib/rubbycop/cop/layout/space_inside_string_interpolation.rb
258
+ - lib/rubbycop/cop/layout/tab.rb
259
+ - lib/rubbycop/cop/layout/trailing_blank_lines.rb
260
+ - lib/rubbycop/cop/layout/trailing_whitespace.rb
261
+ - lib/rubbycop/cop/lint/ambiguous_block_association.rb
262
+ - lib/rubbycop/cop/lint/ambiguous_operator.rb
263
+ - lib/rubbycop/cop/lint/ambiguous_regexp_literal.rb
264
+ - lib/rubbycop/cop/lint/assignment_in_condition.rb
265
+ - lib/rubbycop/cop/lint/block_alignment.rb
266
+ - lib/rubbycop/cop/lint/circular_argument_reference.rb
267
+ - lib/rubbycop/cop/lint/condition_position.rb
268
+ - lib/rubbycop/cop/lint/debugger.rb
269
+ - lib/rubbycop/cop/lint/def_end_alignment.rb
270
+ - lib/rubbycop/cop/lint/deprecated_class_methods.rb
271
+ - lib/rubbycop/cop/lint/duplicate_case_condition.rb
272
+ - lib/rubbycop/cop/lint/duplicate_methods.rb
273
+ - lib/rubbycop/cop/lint/duplicated_key.rb
274
+ - lib/rubbycop/cop/lint/each_with_object_argument.rb
275
+ - lib/rubbycop/cop/lint/else_layout.rb
276
+ - lib/rubbycop/cop/lint/empty_ensure.rb
277
+ - lib/rubbycop/cop/lint/empty_expression.rb
278
+ - lib/rubbycop/cop/lint/empty_interpolation.rb
279
+ - lib/rubbycop/cop/lint/empty_when.rb
280
+ - lib/rubbycop/cop/lint/end_alignment.rb
281
+ - lib/rubbycop/cop/lint/end_in_method.rb
282
+ - lib/rubbycop/cop/lint/ensure_return.rb
283
+ - lib/rubbycop/cop/lint/float_out_of_range.rb
284
+ - lib/rubbycop/cop/lint/format_parameter_mismatch.rb
285
+ - lib/rubbycop/cop/lint/handle_exceptions.rb
286
+ - lib/rubbycop/cop/lint/implicit_string_concatenation.rb
287
+ - lib/rubbycop/cop/lint/ineffective_access_modifier.rb
288
+ - lib/rubbycop/cop/lint/inherit_exception.rb
289
+ - lib/rubbycop/cop/lint/invalid_character_literal.rb
290
+ - lib/rubbycop/cop/lint/literal_in_condition.rb
291
+ - lib/rubbycop/cop/lint/literal_in_interpolation.rb
292
+ - lib/rubbycop/cop/lint/loop.rb
293
+ - lib/rubbycop/cop/lint/multiple_compare.rb
294
+ - lib/rubbycop/cop/lint/nested_method_definition.rb
295
+ - lib/rubbycop/cop/lint/next_without_accumulator.rb
296
+ - lib/rubbycop/cop/lint/non_local_exit_from_iterator.rb
297
+ - lib/rubbycop/cop/lint/parentheses_as_grouped_expression.rb
298
+ - lib/rubbycop/cop/lint/percent_string_array.rb
299
+ - lib/rubbycop/cop/lint/percent_symbol_array.rb
300
+ - lib/rubbycop/cop/lint/rand_one.rb
301
+ - lib/rubbycop/cop/lint/require_parentheses.rb
302
+ - lib/rubbycop/cop/lint/rescue_exception.rb
303
+ - lib/rubbycop/cop/lint/safe_navigation_chain.rb
304
+ - lib/rubbycop/cop/lint/shadowed_exception.rb
305
+ - lib/rubbycop/cop/lint/shadowing_outer_local_variable.rb
306
+ - lib/rubbycop/cop/lint/string_conversion_in_interpolation.rb
307
+ - lib/rubbycop/cop/lint/syntax.rb
308
+ - lib/rubbycop/cop/lint/underscore_prefixed_variable_name.rb
309
+ - lib/rubbycop/cop/lint/unified_integer.rb
310
+ - lib/rubbycop/cop/lint/unneeded_disable.rb
311
+ - lib/rubbycop/cop/lint/unneeded_splat_expansion.rb
312
+ - lib/rubbycop/cop/lint/unreachable_code.rb
313
+ - lib/rubbycop/cop/lint/unused_block_argument.rb
314
+ - lib/rubbycop/cop/lint/unused_method_argument.rb
315
+ - lib/rubbycop/cop/lint/useless_access_modifier.rb
316
+ - lib/rubbycop/cop/lint/useless_assignment.rb
317
+ - lib/rubbycop/cop/lint/useless_comparison.rb
318
+ - lib/rubbycop/cop/lint/useless_else_without_rescue.rb
319
+ - lib/rubbycop/cop/lint/useless_setter_call.rb
320
+ - lib/rubbycop/cop/lint/void.rb
321
+ - lib/rubbycop/cop/message_annotator.rb
322
+ - lib/rubbycop/cop/metrics/abc_size.rb
323
+ - lib/rubbycop/cop/metrics/block_length.rb
324
+ - lib/rubbycop/cop/metrics/block_nesting.rb
325
+ - lib/rubbycop/cop/metrics/class_length.rb
326
+ - lib/rubbycop/cop/metrics/cyclomatic_complexity.rb
327
+ - lib/rubbycop/cop/metrics/line_length.rb
328
+ - lib/rubbycop/cop/metrics/method_length.rb
329
+ - lib/rubbycop/cop/metrics/module_length.rb
330
+ - lib/rubbycop/cop/metrics/parameter_lists.rb
331
+ - lib/rubbycop/cop/metrics/perceived_complexity.rb
332
+ - lib/rubbycop/cop/mixin/access_modifier_node.rb
333
+ - lib/rubbycop/cop/mixin/annotation_comment.rb
334
+ - lib/rubbycop/cop/mixin/array_hash_indentation.rb
335
+ - lib/rubbycop/cop/mixin/array_min_size.rb
336
+ - lib/rubbycop/cop/mixin/array_syntax.rb
337
+ - lib/rubbycop/cop/mixin/autocorrect_alignment.rb
338
+ - lib/rubbycop/cop/mixin/check_assignment.rb
339
+ - lib/rubbycop/cop/mixin/classish_length.rb
340
+ - lib/rubbycop/cop/mixin/code_length.rb
341
+ - lib/rubbycop/cop/mixin/configurable_enforced_style.rb
342
+ - lib/rubbycop/cop/mixin/configurable_formatting.rb
343
+ - lib/rubbycop/cop/mixin/configurable_max.rb
344
+ - lib/rubbycop/cop/mixin/configurable_naming.rb
345
+ - lib/rubbycop/cop/mixin/configurable_numbering.rb
346
+ - lib/rubbycop/cop/mixin/def_node.rb
347
+ - lib/rubbycop/cop/mixin/documentation_comment.rb
348
+ - lib/rubbycop/cop/mixin/duplication.rb
349
+ - lib/rubbycop/cop/mixin/empty_lines_around_body.rb
350
+ - lib/rubbycop/cop/mixin/end_keyword_alignment.rb
351
+ - lib/rubbycop/cop/mixin/enforce_superclass.rb
352
+ - lib/rubbycop/cop/mixin/first_element_line_break.rb
353
+ - lib/rubbycop/cop/mixin/frozen_string_literal.rb
354
+ - lib/rubbycop/cop/mixin/hash_alignment.rb
355
+ - lib/rubbycop/cop/mixin/ignored_pattern.rb
356
+ - lib/rubbycop/cop/mixin/integer_node.rb
357
+ - lib/rubbycop/cop/mixin/match_range.rb
358
+ - lib/rubbycop/cop/mixin/method_complexity.rb
359
+ - lib/rubbycop/cop/mixin/method_preference.rb
360
+ - lib/rubbycop/cop/mixin/min_body_length.rb
361
+ - lib/rubbycop/cop/mixin/multiline_expression_indentation.rb
362
+ - lib/rubbycop/cop/mixin/multiline_literal_brace_layout.rb
363
+ - lib/rubbycop/cop/mixin/negative_conditional.rb
364
+ - lib/rubbycop/cop/mixin/on_method_def.rb
365
+ - lib/rubbycop/cop/mixin/on_normal_if_unless.rb
366
+ - lib/rubbycop/cop/mixin/parentheses.rb
367
+ - lib/rubbycop/cop/mixin/parser_diagnostic.rb
368
+ - lib/rubbycop/cop/mixin/percent_literal.rb
369
+ - lib/rubbycop/cop/mixin/preceding_following_alignment.rb
370
+ - lib/rubbycop/cop/mixin/rescue_node.rb
371
+ - lib/rubbycop/cop/mixin/safe_assignment.rb
372
+ - lib/rubbycop/cop/mixin/safe_mode.rb
373
+ - lib/rubbycop/cop/mixin/space_after_punctuation.rb
374
+ - lib/rubbycop/cop/mixin/space_before_punctuation.rb
375
+ - lib/rubbycop/cop/mixin/space_inside.rb
376
+ - lib/rubbycop/cop/mixin/statement_modifier.rb
377
+ - lib/rubbycop/cop/mixin/string_help.rb
378
+ - lib/rubbycop/cop/mixin/string_literals_help.rb
379
+ - lib/rubbycop/cop/mixin/surrounding_space.rb
380
+ - lib/rubbycop/cop/mixin/target_rails_version.rb
381
+ - lib/rubbycop/cop/mixin/target_ruby_version.rb
382
+ - lib/rubbycop/cop/mixin/too_many_lines.rb
383
+ - lib/rubbycop/cop/mixin/trailing_comma.rb
384
+ - lib/rubbycop/cop/mixin/unused_argument.rb
385
+ - lib/rubbycop/cop/offense.rb
386
+ - lib/rubbycop/cop/performance/caller.rb
387
+ - lib/rubbycop/cop/performance/case_when_splat.rb
388
+ - lib/rubbycop/cop/performance/casecmp.rb
389
+ - lib/rubbycop/cop/performance/compare_with_block.rb
390
+ - lib/rubbycop/cop/performance/count.rb
391
+ - lib/rubbycop/cop/performance/detect.rb
392
+ - lib/rubbycop/cop/performance/double_start_end_with.rb
393
+ - lib/rubbycop/cop/performance/end_with.rb
394
+ - lib/rubbycop/cop/performance/fixed_size.rb
395
+ - lib/rubbycop/cop/performance/flat_map.rb
396
+ - lib/rubbycop/cop/performance/hash_each_methods.rb
397
+ - lib/rubbycop/cop/performance/lstrip_rstrip.rb
398
+ - lib/rubbycop/cop/performance/range_include.rb
399
+ - lib/rubbycop/cop/performance/redundant_block_call.rb
400
+ - lib/rubbycop/cop/performance/redundant_match.rb
401
+ - lib/rubbycop/cop/performance/redundant_merge.rb
402
+ - lib/rubbycop/cop/performance/redundant_sort_by.rb
403
+ - lib/rubbycop/cop/performance/regexp_match.rb
404
+ - lib/rubbycop/cop/performance/reverse_each.rb
405
+ - lib/rubbycop/cop/performance/sample.rb
406
+ - lib/rubbycop/cop/performance/size.rb
407
+ - lib/rubbycop/cop/performance/start_with.rb
408
+ - lib/rubbycop/cop/performance/string_replacement.rb
409
+ - lib/rubbycop/cop/performance/times_map.rb
410
+ - lib/rubbycop/cop/rails/action_filter.rb
411
+ - lib/rubbycop/cop/rails/active_support_aliases.rb
412
+ - lib/rubbycop/cop/rails/application_job.rb
413
+ - lib/rubbycop/cop/rails/application_record.rb
414
+ - lib/rubbycop/cop/rails/blank.rb
415
+ - lib/rubbycop/cop/rails/date.rb
416
+ - lib/rubbycop/cop/rails/delegate.rb
417
+ - lib/rubbycop/cop/rails/delegate_allow_blank.rb
418
+ - lib/rubbycop/cop/rails/dynamic_find_by.rb
419
+ - lib/rubbycop/cop/rails/enum_uniqueness.rb
420
+ - lib/rubbycop/cop/rails/exit.rb
421
+ - lib/rubbycop/cop/rails/file_path.rb
422
+ - lib/rubbycop/cop/rails/find_by.rb
423
+ - lib/rubbycop/cop/rails/find_each.rb
424
+ - lib/rubbycop/cop/rails/has_and_belongs_to_many.rb
425
+ - lib/rubbycop/cop/rails/http_positional_arguments.rb
426
+ - lib/rubbycop/cop/rails/not_null_column.rb
427
+ - lib/rubbycop/cop/rails/output.rb
428
+ - lib/rubbycop/cop/rails/output_safety.rb
429
+ - lib/rubbycop/cop/rails/pluralization_grammar.rb
430
+ - lib/rubbycop/cop/rails/present.rb
431
+ - lib/rubbycop/cop/rails/read_write_attribute.rb
432
+ - lib/rubbycop/cop/rails/relative_date_constant.rb
433
+ - lib/rubbycop/cop/rails/request_referer.rb
434
+ - lib/rubbycop/cop/rails/reversible_migration.rb
435
+ - lib/rubbycop/cop/rails/safe_navigation.rb
436
+ - lib/rubbycop/cop/rails/save_bang.rb
437
+ - lib/rubbycop/cop/rails/scope_args.rb
438
+ - lib/rubbycop/cop/rails/skips_model_validations.rb
439
+ - lib/rubbycop/cop/rails/time_zone.rb
440
+ - lib/rubbycop/cop/rails/uniq_before_pluck.rb
441
+ - lib/rubbycop/cop/rails/validation.rb
442
+ - lib/rubbycop/cop/registry.rb
443
+ - lib/rubbycop/cop/security/eval.rb
444
+ - lib/rubbycop/cop/security/json_load.rb
445
+ - lib/rubbycop/cop/security/marshal_load.rb
446
+ - lib/rubbycop/cop/security/yaml_load.rb
447
+ - lib/rubbycop/cop/severity.rb
448
+ - lib/rubbycop/cop/style/accessor_method_name.rb
449
+ - lib/rubbycop/cop/style/alias.rb
450
+ - lib/rubbycop/cop/style/and_or.rb
451
+ - lib/rubbycop/cop/style/array_join.rb
452
+ - lib/rubbycop/cop/style/ascii_comments.rb
453
+ - lib/rubbycop/cop/style/ascii_identifiers.rb
454
+ - lib/rubbycop/cop/style/attr.rb
455
+ - lib/rubbycop/cop/style/auto_resource_cleanup.rb
456
+ - lib/rubbycop/cop/style/bare_percent_literals.rb
457
+ - lib/rubbycop/cop/style/begin_block.rb
458
+ - lib/rubbycop/cop/style/block_comments.rb
459
+ - lib/rubbycop/cop/style/block_delimiters.rb
460
+ - lib/rubbycop/cop/style/braces_around_hash_parameters.rb
461
+ - lib/rubbycop/cop/style/case_equality.rb
462
+ - lib/rubbycop/cop/style/character_literal.rb
463
+ - lib/rubbycop/cop/style/class_and_module_camel_case.rb
464
+ - lib/rubbycop/cop/style/class_and_module_children.rb
465
+ - lib/rubbycop/cop/style/class_check.rb
466
+ - lib/rubbycop/cop/style/class_methods.rb
467
+ - lib/rubbycop/cop/style/class_vars.rb
468
+ - lib/rubbycop/cop/style/collection_methods.rb
469
+ - lib/rubbycop/cop/style/colon_method_call.rb
470
+ - lib/rubbycop/cop/style/command_literal.rb
471
+ - lib/rubbycop/cop/style/comment_annotation.rb
472
+ - lib/rubbycop/cop/style/conditional_assignment.rb
473
+ - lib/rubbycop/cop/style/constant_name.rb
474
+ - lib/rubbycop/cop/style/copyright.rb
475
+ - lib/rubbycop/cop/style/def_with_parentheses.rb
476
+ - lib/rubbycop/cop/style/documentation.rb
477
+ - lib/rubbycop/cop/style/documentation_method.rb
478
+ - lib/rubbycop/cop/style/double_negation.rb
479
+ - lib/rubbycop/cop/style/each_for_simple_loop.rb
480
+ - lib/rubbycop/cop/style/each_with_object.rb
481
+ - lib/rubbycop/cop/style/empty_case_condition.rb
482
+ - lib/rubbycop/cop/style/empty_else.rb
483
+ - lib/rubbycop/cop/style/empty_literal.rb
484
+ - lib/rubbycop/cop/style/empty_method.rb
485
+ - lib/rubbycop/cop/style/encoding.rb
486
+ - lib/rubbycop/cop/style/end_block.rb
487
+ - lib/rubbycop/cop/style/even_odd.rb
488
+ - lib/rubbycop/cop/style/file_name.rb
489
+ - lib/rubbycop/cop/style/flip_flop.rb
490
+ - lib/rubbycop/cop/style/for.rb
491
+ - lib/rubbycop/cop/style/format_string.rb
492
+ - lib/rubbycop/cop/style/format_string_token.rb
493
+ - lib/rubbycop/cop/style/frozen_string_literal_comment.rb
494
+ - lib/rubbycop/cop/style/global_vars.rb
495
+ - lib/rubbycop/cop/style/guard_clause.rb
496
+ - lib/rubbycop/cop/style/hash_syntax.rb
497
+ - lib/rubbycop/cop/style/identical_conditional_branches.rb
498
+ - lib/rubbycop/cop/style/if_inside_else.rb
499
+ - lib/rubbycop/cop/style/if_unless_modifier.rb
500
+ - lib/rubbycop/cop/style/if_unless_modifier_of_if_unless.rb
501
+ - lib/rubbycop/cop/style/if_with_semicolon.rb
502
+ - lib/rubbycop/cop/style/implicit_runtime_error.rb
503
+ - lib/rubbycop/cop/style/infinite_loop.rb
504
+ - lib/rubbycop/cop/style/inline_comment.rb
505
+ - lib/rubbycop/cop/style/inverse_methods.rb
506
+ - lib/rubbycop/cop/style/lambda.rb
507
+ - lib/rubbycop/cop/style/lambda_call.rb
508
+ - lib/rubbycop/cop/style/line_end_concatenation.rb
509
+ - lib/rubbycop/cop/style/method_call_with_args_parentheses.rb
510
+ - lib/rubbycop/cop/style/method_call_without_args_parentheses.rb
511
+ - lib/rubbycop/cop/style/method_called_on_do_end_block.rb
512
+ - lib/rubbycop/cop/style/method_def_parentheses.rb
513
+ - lib/rubbycop/cop/style/method_missing.rb
514
+ - lib/rubbycop/cop/style/method_name.rb
515
+ - lib/rubbycop/cop/style/missing_else.rb
516
+ - lib/rubbycop/cop/style/mixin_grouping.rb
517
+ - lib/rubbycop/cop/style/module_function.rb
518
+ - lib/rubbycop/cop/style/multiline_block_chain.rb
519
+ - lib/rubbycop/cop/style/multiline_if_modifier.rb
520
+ - lib/rubbycop/cop/style/multiline_if_then.rb
521
+ - lib/rubbycop/cop/style/multiline_memoization.rb
522
+ - lib/rubbycop/cop/style/multiline_ternary_operator.rb
523
+ - lib/rubbycop/cop/style/mutable_constant.rb
524
+ - lib/rubbycop/cop/style/negated_if.rb
525
+ - lib/rubbycop/cop/style/negated_while.rb
526
+ - lib/rubbycop/cop/style/nested_modifier.rb
527
+ - lib/rubbycop/cop/style/nested_parenthesized_calls.rb
528
+ - lib/rubbycop/cop/style/nested_ternary_operator.rb
529
+ - lib/rubbycop/cop/style/next.rb
530
+ - lib/rubbycop/cop/style/nil_comparison.rb
531
+ - lib/rubbycop/cop/style/non_nil_check.rb
532
+ - lib/rubbycop/cop/style/not.rb
533
+ - lib/rubbycop/cop/style/numeric_literal_prefix.rb
534
+ - lib/rubbycop/cop/style/numeric_literals.rb
535
+ - lib/rubbycop/cop/style/numeric_predicate.rb
536
+ - lib/rubbycop/cop/style/one_line_conditional.rb
537
+ - lib/rubbycop/cop/style/op_method.rb
538
+ - lib/rubbycop/cop/style/option_hash.rb
539
+ - lib/rubbycop/cop/style/optional_arguments.rb
540
+ - lib/rubbycop/cop/style/parallel_assignment.rb
541
+ - lib/rubbycop/cop/style/parentheses_around_condition.rb
542
+ - lib/rubbycop/cop/style/percent_literal_delimiters.rb
543
+ - lib/rubbycop/cop/style/percent_q_literals.rb
544
+ - lib/rubbycop/cop/style/perl_backrefs.rb
545
+ - lib/rubbycop/cop/style/predicate_name.rb
546
+ - lib/rubbycop/cop/style/preferred_hash_methods.rb
547
+ - lib/rubbycop/cop/style/proc.rb
548
+ - lib/rubbycop/cop/style/raise_args.rb
549
+ - lib/rubbycop/cop/style/redundant_begin.rb
550
+ - lib/rubbycop/cop/style/redundant_exception.rb
551
+ - lib/rubbycop/cop/style/redundant_freeze.rb
552
+ - lib/rubbycop/cop/style/redundant_parentheses.rb
553
+ - lib/rubbycop/cop/style/redundant_return.rb
554
+ - lib/rubbycop/cop/style/redundant_self.rb
555
+ - lib/rubbycop/cop/style/regexp_literal.rb
556
+ - lib/rubbycop/cop/style/rescue_modifier.rb
557
+ - lib/rubbycop/cop/style/safe_navigation.rb
558
+ - lib/rubbycop/cop/style/self_assignment.rb
559
+ - lib/rubbycop/cop/style/semicolon.rb
560
+ - lib/rubbycop/cop/style/send.rb
561
+ - lib/rubbycop/cop/style/signal_exception.rb
562
+ - lib/rubbycop/cop/style/single_line_block_params.rb
563
+ - lib/rubbycop/cop/style/single_line_methods.rb
564
+ - lib/rubbycop/cop/style/special_global_vars.rb
565
+ - lib/rubbycop/cop/style/stabby_lambda_parentheses.rb
566
+ - lib/rubbycop/cop/style/string_literals.rb
567
+ - lib/rubbycop/cop/style/string_literals_in_interpolation.rb
568
+ - lib/rubbycop/cop/style/string_methods.rb
569
+ - lib/rubbycop/cop/style/struct_inheritance.rb
570
+ - lib/rubbycop/cop/style/symbol_array.rb
571
+ - lib/rubbycop/cop/style/symbol_literal.rb
572
+ - lib/rubbycop/cop/style/symbol_proc.rb
573
+ - lib/rubbycop/cop/style/ternary_parentheses.rb
574
+ - lib/rubbycop/cop/style/trailing_comma_in_arguments.rb
575
+ - lib/rubbycop/cop/style/trailing_comma_in_literal.rb
576
+ - lib/rubbycop/cop/style/trailing_underscore_variable.rb
577
+ - lib/rubbycop/cop/style/trivial_accessors.rb
578
+ - lib/rubbycop/cop/style/unless_else.rb
579
+ - lib/rubbycop/cop/style/unneeded_capital_w.rb
580
+ - lib/rubbycop/cop/style/unneeded_interpolation.rb
581
+ - lib/rubbycop/cop/style/unneeded_percent_q.rb
582
+ - lib/rubbycop/cop/style/variable_interpolation.rb
583
+ - lib/rubbycop/cop/style/variable_name.rb
584
+ - lib/rubbycop/cop/style/variable_number.rb
585
+ - lib/rubbycop/cop/style/when_then.rb
586
+ - lib/rubbycop/cop/style/while_until_do.rb
587
+ - lib/rubbycop/cop/style/while_until_modifier.rb
588
+ - lib/rubbycop/cop/style/word_array.rb
589
+ - lib/rubbycop/cop/style/zero_length_predicate.rb
590
+ - lib/rubbycop/cop/team.rb
591
+ - lib/rubbycop/cop/util.rb
592
+ - lib/rubbycop/cop/variable_force.rb
593
+ - lib/rubbycop/cop/variable_force/assignment.rb
594
+ - lib/rubbycop/cop/variable_force/branch.rb
595
+ - lib/rubbycop/cop/variable_force/branchable.rb
596
+ - lib/rubbycop/cop/variable_force/reference.rb
597
+ - lib/rubbycop/cop/variable_force/scope.rb
598
+ - lib/rubbycop/cop/variable_force/variable.rb
599
+ - lib/rubbycop/cop/variable_force/variable_table.rb
600
+ - lib/rubbycop/error.rb
601
+ - lib/rubbycop/formatter/base_formatter.rb
602
+ - lib/rubbycop/formatter/clang_style_formatter.rb
603
+ - lib/rubbycop/formatter/colorizable.rb
604
+ - lib/rubbycop/formatter/disabled_config_formatter.rb
605
+ - lib/rubbycop/formatter/disabled_lines_formatter.rb
606
+ - lib/rubbycop/formatter/emacs_style_formatter.rb
607
+ - lib/rubbycop/formatter/file_list_formatter.rb
608
+ - lib/rubbycop/formatter/formatter_set.rb
609
+ - lib/rubbycop/formatter/fuubar_style_formatter.rb
610
+ - lib/rubbycop/formatter/html_formatter.rb
611
+ - lib/rubbycop/formatter/json_formatter.rb
612
+ - lib/rubbycop/formatter/offense_count_formatter.rb
613
+ - lib/rubbycop/formatter/progress_formatter.rb
614
+ - lib/rubbycop/formatter/simple_text_formatter.rb
615
+ - lib/rubbycop/formatter/text_util.rb
616
+ - lib/rubbycop/formatter/worst_offenders_formatter.rb
617
+ - lib/rubbycop/magic_comment.rb
618
+ - lib/rubbycop/name_similarity.rb
619
+ - lib/rubbycop/node_pattern.rb
620
+ - lib/rubbycop/options.rb
621
+ - lib/rubbycop/path_util.rb
622
+ - lib/rubbycop/platform.rb
623
+ - lib/rubbycop/processed_source.rb
624
+ - lib/rubbycop/rake_task.rb
625
+ - lib/rubbycop/remote_config.rb
626
+ - lib/rubbycop/result_cache.rb
627
+ - lib/rubbycop/rspec/cop_helper.rb
628
+ - lib/rubbycop/rspec/host_environment_simulation_helper.rb
629
+ - lib/rubbycop/rspec/shared_contexts.rb
630
+ - lib/rubbycop/rspec/shared_examples.rb
631
+ - lib/rubbycop/rspec/support.rb
632
+ - lib/rubbycop/runner.rb
633
+ - lib/rubbycop/string_interpreter.rb
634
+ - lib/rubbycop/string_util.rb
635
+ - lib/rubbycop/target_finder.rb
636
+ - lib/rubbycop/token.rb
637
+ - lib/rubbycop/version.rb
638
+ - lib/rubbycop/warning.rb
639
+ homepage: http://github.com/searls/rubbycop
640
+ licenses:
641
+ - MIT
642
+ metadata: {}
643
+ post_install_message:
644
+ rdoc_options: []
645
+ require_paths:
646
+ - lib
647
+ required_ruby_version: !ruby/object:Gem::Requirement
648
+ requirements:
649
+ - - ">="
650
+ - !ruby/object:Gem::Version
651
+ version: 2.0.0
652
+ required_rubygems_version: !ruby/object:Gem::Requirement
653
+ requirements:
654
+ - - ">="
655
+ - !ruby/object:Gem::Version
656
+ version: '0'
657
+ requirements: []
658
+ rubyforge_project:
659
+ rubygems_version: 2.6.12
660
+ signing_key:
661
+ specification_version: 4
662
+ summary: Automatic Ruby code style checking tool.
663
+ test_files: []