gems.scss_lint-0.40.1.lib.scss_lint.linter.extend_directive.rb Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sass-maven-plugin Show documentation
Show all versions of sass-maven-plugin Show documentation
A Maven Plugin that compiles Sass files.
module SCSSLint
# Checks that `@extend` is never used.
class Linter::ExtendDirective < Linter
include LinterRegistry
def visit_extend(node)
add_lint(node, 'Do not use the @extend directive (@include a @mixin ' \
'instead)')
end
end
end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy