All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gems.scss_lint-0.57.1.lib.scss_lint.linter.extend_directive.rb Maven / Gradle / Ivy

The newest version!
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 - 2024 Weber Informatics LLC | Privacy Policy