lib/scss_lint/linter/declared_name.rb in scss-lint-0.11.1 vs lib/scss_lint/linter/declared_name.rb in scss-lint-0.12.0
- old
+ new
@@ -1,5 +1,7 @@
module SCSSLint
+ # Checks that the declared names of functions, mixins, and variables are all
+ # lowercase and use hyphens instead of underscores.
class Linter::DeclaredName < Linter
include LinterRegistry
def visit_function(node)
check(node, 'function')