From 9696ac2a4e731552edad35c8acb8f9adbb87472a Mon Sep 17 00:00:00 2001 From: Peter Boling Date: Fri, 22 Mar 2024 12:16:49 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Linting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .rubocop_gradual.lock | 8 ++++---- spec/sanitize_email_spec.rb | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.rubocop_gradual.lock b/.rubocop_gradual.lock index cc3042a..09415a4 100644 --- a/.rubocop_gradual.lock +++ b/.rubocop_gradual.lock @@ -1,7 +1,7 @@ { - "README.md:3316657051": [ - [285, 6, 1, "Lint/Syntax: unexpected token tCOMMA\n(Using Ruby 2.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)", 177545], - [302, 6, 1, "Lint/Syntax: unexpected token tCOMMA\n(Using Ruby 2.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)", 177545] + "README.md:2590564699": [ + [248, 6, 1, "Lint/Syntax: unexpected token tCOMMA\n(Using Ruby 2.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)", 177545], + [265, 6, 1, "Lint/Syntax: unexpected token tCOMMA\n(Using Ruby 2.3 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)", 177545] ], "Rakefile:345010916": [ [8, 3, 30, "Style/MethodCallWithArgsParentheses: Use parentheses for method calls with arguments.", 2786900295], @@ -99,7 +99,7 @@ [55, 63, 8, "Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", 3687121098], [55, 73, 10, "Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", 3581454162] ], - "spec/sanitize_email_spec.rb:4236886472": [ + "spec/sanitize_email_spec.rb:1535635025": [ [7, 3, 280, "RSpec/LeakyConstantDeclaration: Stub constant instead of declaring explicitly.", 1223327], [112, 15, 19, "RSpec/VariableName: Use snake_case for variable names.", 372347066], [130, 15, 19, "RSpec/VariableName: Use snake_case for variable names.", 372347066], diff --git a/spec/sanitize_email_spec.rb b/spec/sanitize_email_spec.rb index 4e2807b..f384cbb 100644 --- a/spec/sanitize_email_spec.rb +++ b/spec/sanitize_email_spec.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true + # Copyright (c) 2008 - 2018, 2020, 2022, 2024 Peter H. Boling of RailsBling.com # Released under the MIT license