lib/scss_lint/constants.rb in scss_lint-0.43.2 vs lib/scss_lint/constants.rb in scss_lint-0.44.0
- old
+ new
@@ -1,8 +1,10 @@
+# frozen_string_literal: true
+
# Global application constants.
module SCSSLint
- SCSS_LINT_HOME = File.realpath(File.join(File.dirname(__FILE__), '..', '..'))
- SCSS_LINT_DATA = File.join(SCSS_LINT_HOME, 'data')
+ SCSS_LINT_HOME = File.realpath(File.join(File.dirname(__FILE__), '..', '..')).freeze
+ SCSS_LINT_DATA = File.join(SCSS_LINT_HOME, 'data').freeze
- REPO_URL = 'https://github.com/brigade/scss-lint'
- BUG_REPORT_URL = "#{REPO_URL}/issues"
+ REPO_URL = 'https://github.com/brigade/scss-lint'.freeze
+ BUG_REPORT_URL = "#{REPO_URL}/issues".freeze
end