dphaener/kanji

View on GitHub
lib/kanji/version.rb

Summary

Maintainability
A
0 mins
Test Coverage

Use SCREAMING_SNAKE_CASE for constants.
Open

  Version = "0.3.1".freeze
Severity: Minor
Found in lib/kanji/version.rb by rubocop

This cop checks whether constant names are written using SCREAMINGSNAKECASE.

To avoid false positives, it ignores cases in which we cannot know for certain the type of value that would be assigned to a constant.

Example:

# bad
InchInCm = 2.54
INCHinCM = 2.54
Inch_In_Cm = 2.54

# good
INCH_IN_CM = 2.54

There are no issues that match your filters.

Category
Status