lib/slim_lint/constants.rb in slim_lint-0.6.1 vs lib/slim_lint/constants.rb in slim_lint-0.7.0
- old
+ new
@@ -1,8 +1,10 @@
+# frozen_string_literal: true
+
# Global application constants.
module SlimLint
- HOME = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
- APP_NAME = 'slim-lint'
+ HOME = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')).freeze
+ APP_NAME = 'slim-lint'.freeze
- REPO_URL = 'https://github.com/sds/slim-lint'
- BUG_REPORT_URL = "#{REPO_URL}/issues"
+ REPO_URL = 'https://github.com/sds/slim-lint'.freeze
+ BUG_REPORT_URL = "#{REPO_URL}/issues".freeze
end