Sha256: f0fb7a68387afab13a903e4f2d154ff7aedb61d7c7ee96f33903174100b097fe

Contents?: true

Size: 282 Bytes

Versions: 15

Compression:

Stored size: 282 Bytes

Contents

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
scss_lint-0.48.0 lib/scss_lint/linter/extend_directive.rb
scss_lint-0.47.1 lib/scss_lint/linter/extend_directive.rb
scss_lint-0.47.0 lib/scss_lint/linter/extend_directive.rb
scss_lint-0.46.0 lib/scss_lint/linter/extend_directive.rb
scss_lint-0.45.0 lib/scss_lint/linter/extend_directive.rb
scss_lint-0.44.0 lib/scss_lint/linter/extend_directive.rb
scss_lint-0.43.2 lib/scss_lint/linter/extend_directive.rb
scss_lint-0.43.1 lib/scss_lint/linter/extend_directive.rb
scss_lint-0.43.0 lib/scss_lint/linter/extend_directive.rb
scss_lint-0.42.2 lib/scss_lint/linter/extend_directive.rb
scss_lint-0.42.1 lib/scss_lint/linter/extend_directive.rb
scss_lint-0.42.0 lib/scss_lint/linter/extend_directive.rb
scss_lint-0.41.0 lib/scss_lint/linter/extend_directive.rb
scss_lint-0.40.1 lib/scss_lint/linter/extend_directive.rb
scss_lint-0.40.0 lib/scss_lint/linter/extend_directive.rb