diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 3ae35d0..4c8f893 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2022-10-21 16:25:20 UTC using RuboCop version 1.37.0. +# on 2023-10-04 14:08:39 UTC using RuboCop version 1.37.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 @@ -12,7 +12,7 @@ # Include: **/*.gemspec Gemspec/DeprecatedAttributeAssignment: Exclude: - - 'sassc.gemspec' + - 'dartsass-ruby.gemspec' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). @@ -20,7 +20,7 @@ Gemspec/DeprecatedAttributeAssignment: # Include: **/*.gemspec Gemspec/RequireMFA: Exclude: - - 'sassc.gemspec' + - 'dartsass-ruby.gemspec' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). @@ -38,13 +38,14 @@ Layout/DotPosition: Exclude: - 'lib/sassc/script/value/list.rb' -# Offense count: 1 +# Offense count: 2 # This cop supports safe autocorrection (--autocorrect). Layout/ElseAlignment: Exclude: + - 'lib/sassc/engine.rb' - 'lib/sassc/import_handler.rb' -# Offense count: 18 +# Offense count: 19 # This cop supports safe autocorrection (--autocorrect). Layout/EmptyLineAfterGuardClause: Exclude: @@ -83,12 +84,13 @@ Layout/EmptyLinesAroundModuleBody: - 'lib/sassc/script/value_conversion.rb' - 'lib/sassc/util.rb' -# Offense count: 1 +# Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyleAlignWith, Severity. # SupportedStylesAlignWith: keyword, variable, start_of_line Layout/EndAlignment: Exclude: + - 'lib/sassc/engine.rb' - 'lib/sassc/import_handler.rb' # Offense count: 14 @@ -107,11 +109,12 @@ Layout/HeredocIndentation: Exclude: - 'test/sass_2_scss_test.rb' -# Offense count: 1 +# Offense count: 2 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: Width, AllowedPatterns, IgnoredPatterns. Layout/IndentationWidth: Exclude: + - 'lib/sassc/engine.rb' - 'lib/sassc/import_handler.rb' # Offense count: 2 @@ -198,6 +201,14 @@ Naming/BinaryOperatorParameterName: Exclude: - 'lib/sassc/script/value/color.rb' +# Offense count: 1 +# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms. +# CheckDefinitionPathHierarchyRoots: lib, spec, test, src +# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS +Naming/FileName: + Exclude: + - 'lib/dartsass-ruby.rb' + # Offense count: 1 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: as, at, by, db, id, in, io, ip, of, on, os, pp, to @@ -280,7 +291,7 @@ Style/EmptyElse: # This cop supports safe autocorrection (--autocorrect). Style/ExpandPathArguments: Exclude: - - 'sassc.gemspec' + - 'dartsass-ruby.gemspec' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). @@ -313,6 +324,13 @@ Style/HashSyntax: Exclude: - 'lib/sassc/script/value/string.rb' +# Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: AllowIfModifier. +Style/IfInsideElse: + Exclude: + - 'lib/sassc/engine.rb' + # Offense count: 8 # This cop supports safe autocorrection (--autocorrect). Style/IfUnlessModifier: @@ -395,13 +413,15 @@ Style/StderrPuts: Exclude: - 'lib/sassc/functions_handler.rb' -# Offense count: 58 +# Offense count: 62 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Exclude: - 'Gemfile' + - 'dartsass-ruby.gemspec' + - 'lib/dartsass-ruby.rb' - 'lib/sassc.rb' - 'lib/sassc/engine.rb' - 'lib/sassc/error.rb' @@ -412,7 +432,6 @@ Style/StringLiterals: - 'lib/sassc/script/value/map.rb' - 'lib/sassc/script/value/number.rb' - 'lib/sassc/script/value/string.rb' - - 'sassc.gemspec' - 'test/sass_2_scss_test.rb' # Offense count: 1