From c96c79537a2f4aaaef187e6a03cae9d22bd67e23 Mon Sep 17 00:00:00 2001 From: HoneyryderChuck Date: Fri, 3 Sep 2021 17:26:16 +0100 Subject: [PATCH] disabling cops that don't bring benefit --- .rubocop.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 198f2f29..7a19fd4f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -100,6 +100,9 @@ Performance/TimesMap: Performance/RedundantBlockCall: Enabled: false +Performance/CollectionLiteralInLoop: + Enabled: false # most useless perf cop ever... + Naming/ClassAndModuleCamelCase: Exclude: - regression_tests/**/*.rb @@ -138,6 +141,11 @@ Lint/MissingSuper: Exclude: - 'lib/httpx/io/unix.rb' +Lint/DuplicateBranch: + Enabled: false # this doesn't work correctly + +Lint/EmptyBlock: + Enabled: false # and neither does this. I don't control 3rd party methods. Style/HashTransformValues: Exclude: - 'lib/httpx/plugins/digest_authentication.rb'