lib/scss_lint/linter/shorthand.rb in scss_lint-0.57.1 vs lib/scss_lint/linter/shorthand.rb in scss_lint-0.58.0
- old
+ new
@@ -62,10 +62,10 @@
LIST_LITERAL_REGEX = /
\A
(\S+\s+\S+(\s+\S+){0,2}) # Two to four values separated by spaces
(\s+!\w+)? # Ignore `!important` priority overrides
\z
- /x
+ /x.freeze
# @param prop [String]
# @param script_string [Sass::Script::Value::String]
def check_script_string(prop, script_string)
return unless script_string.type == :identifier