From 87319db10e022c5f3d23fee15eb330602802e100 Mon Sep 17 00:00:00 2001 From: Jakob Skjerning Date: Fri, 1 Dec 2023 10:50:16 +0100 Subject: [PATCH] Remove rubocop configs We rely on standardrb for linting, so we don't need rubocop configs. --- .rubocop.yml | 6 ---- .rubocop_todo.yml | 73 ----------------------------------------------- 2 files changed, 79 deletions(-) delete mode 100644 .rubocop.yml delete mode 100644 .rubocop_todo.yml diff --git a/.rubocop.yml b/.rubocop.yml deleted file mode 100644 index 209fffd..0000000 --- a/.rubocop.yml +++ /dev/null @@ -1,6 +0,0 @@ -inherit_from: .rubocop_todo.yml - -AllCops: - Exclude: - - 'test/rails610/**/*' - NewCops: enable diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml deleted file mode 100644 index 52541db..0000000 --- a/.rubocop_todo.yml +++ /dev/null @@ -1,73 +0,0 @@ -# This configuration was generated by -# `rubocop --auto-gen-config` -# on 2021-01-03 15:38:39 UTC using RuboCop version 1.6.1. -# 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: 1 -# Configuration parameters: Include. -# Include: **/*.gemspec -Gemspec/RequiredRubyVersion: - Exclude: - - 'route_downcaser.gemspec' - -# Offense count: 1 -# Configuration parameters: AllowedMethods. -# AllowedMethods: enums -Lint/ConstantDefinitionInBlock: - Exclude: - - 'test/integration/route_middleware_test.rb' - -# Offense count: 1 -# Configuration parameters: IgnoredMethods, CountRepeatedAttributes. -Metrics/AbcSize: - Max: 24 - -# Offense count: 5 -# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. -# IgnoredMethods: refine -Metrics/BlockLength: - Max: 60 - -# Offense count: 1 -# Configuration parameters: IgnoredMethods. -Metrics/CyclomaticComplexity: - Max: 10 - -# Offense count: 1 -# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. -Metrics/MethodLength: - Max: 16 - -# Offense count: 1 -# Configuration parameters: IgnoredMethods. -Metrics/PerceivedComplexity: - Max: 10 - -# Offense count: 1 -# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros. -# NamePrefix: is_, has_, have_ -# ForbiddenPrefixes: is_, has_, have_ -# AllowedMethods: is_a? -# MethodDefinitionMacros: define_method, define_singleton_method -Naming/PredicateName: - Exclude: - - 'spec/**/*' - - 'lib/route_downcaser/downcase_route_middleware.rb' - -# Offense count: 2 -Style/ClassVars: - Exclude: - - 'lib/route_downcaser/configuration.rb' - -# Offense count: 4 -Style/Documentation: - Exclude: - - 'spec/**/*' - - 'test/**/*' - - 'lib/route_downcaser/configuration.rb' - - 'lib/route_downcaser/downcase_route_middleware.rb' - - 'lib/route_downcaser/railtie.rb' - - 'test.rb'