diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 62a5a808..9cb44610 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2021-01-02 07:53:19 UTC using RuboCop version 0.88.0. +# on 2021-04-04 05:00:11 UTC using RuboCop version 0.88.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 @@ -147,6 +147,14 @@ Style/StringLiterals: - 'spec/controllers/controller_oauth2_spec.rb' - 'spec/sorcery_crypto_providers_spec.rb' +# Offense count: 1 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, MinSize. +# SupportedStyles: percent, brackets +Style/SymbolArray: + Exclude: + - 'Rakefile' + # Offense count: 2 # Cop supports --auto-correct. Style/UnpackFirst: diff --git a/Rakefile b/Rakefile index 2470119d..d44e016c 100644 --- a/Rakefile +++ b/Rakefile @@ -1,6 +1,8 @@ require 'bundler/gem_tasks' require 'rspec/core/rake_task' +require 'rubocop/rake_task' RSpec::Core::RakeTask.new(:spec) +RuboCop::RakeTask.new -task default: :spec +task default: [:rubocop, :spec]