lib/scss_lint/utils.rb in scss_lint-0.57.1 vs lib/scss_lint/utils.rb in scss_lint-0.58.0
- old
+ new
@@ -1,8 +1,8 @@
module SCSSLint
# Collection of helpers used across a variety of linters.
module Utils
- COLOR_REGEX = /^#[a-f0-9]{3,6}$/i
+ COLOR_REGEX = /^#[a-f0-9]{3,6}$/i.freeze
# Returns whether the given string is a color literal (keyword or hex code).
#
# @param string [String]
# @return [true,false]