From c41e5ceca4026bd2516b453fe3da6e568085a0f9 Mon Sep 17 00:00:00 2001 From: Linus Oleander Date: Thu, 15 Dec 2022 13:41:13 +0100 Subject: [PATCH] Add rubocop TODO --- .rubocop.yml | 2 ++ .rubocop_todo.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .rubocop_todo.yml diff --git a/.rubocop.yml b/.rubocop.yml index eb3ed118..2de3f60f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,5 @@ +inherit_from: .rubocop_todo.yml + require: - rubocop-performance - rubocop-rspec diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml new file mode 100644 index 00000000..e6604d06 --- /dev/null +++ b/.rubocop_todo.yml @@ -0,0 +1,26 @@ +# This configuration was generated by +# `rubocop --auto-gen-config` +# on 2022-12-15 12:40:47 UTC using RuboCop version 1.40.0. +# The point is for the user to remove these configuration records +# one by one as the offenses are removed from the code base. +# Note that changes in the inspected code, or installation of new +# versions of RuboCop, may require this file to be generated again. + +# Offense count: 2 +RSpec/PendingWithoutReason: + Exclude: + - 'spec/feature/remap/map_pending_spec.rb' + - 'spec/integration/remap/rule/map_spec.rb' + +# Offense count: 3 +# This cop supports safe autocorrection (--autocorrect). +Style/RedundantConstantBase: + Exclude: + - 'spec/feature/remap/fixed_spec.rb' + - 'spec/feature/remap/with_argument_constructor_spec.rb' + +# Offense count: 1 +# This cop supports unsafe autocorrection (--autocorrect-all). +Style/RedundantEach: + Exclude: + - 'lib/remap/state/extension.rb'