diff --git a/.rubocop.yml b/.rubocop.yml index dd34379f0..148c877d8 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -10,6 +10,7 @@ AllCops: - db/schema.rb # autogenerated - vendor/**/* # not our code - bin/**/* # autogenerated + - node_modules/**/* # before-filters like `find_event` cause this cop to not make so much sense Naming/MemoizedInstanceVariableName: diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index f35442671..7249c3f5e 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --auto-gen-only-exclude` -# on 2020-02-22 15:57:03 +0100 using RuboCop version 0.80.0. +# on 2020-02-22 16:02:59 +0100 using RuboCop version 0.80.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 @@ -98,12 +98,6 @@ Rails/SkipsModelValidations: Style/Documentation: Enabled: false -# Offense count: 2 -# Configuration parameters: AllowedVariables. -Style/GlobalVars: - Exclude: - - 'node_modules/node-sass/src/libsass/extconf.rb' - # Offense count: 827 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.