Sha256: 82863ab9ac7027e2cad082a94e2fc869c5d9ebae36aba9664da10bf8365a8eac
Contents?: true
Size: 798 Bytes
Versions: 1
Compression:
Stored size: 798 Bytes
Contents
# This rule is taken from https://github.com/stubbornella/csslint/tree/master/src/rules # # # Copyright (c) 2011 Nicole Sullivan and Nicholas C. Zakas. All rights reserved. # TODO: Paste the CSSLint LICENSE here. # # # /* # * Rule: Don't use @import, use <link> instead. # */ # /*global CSSLint*/ # CSSLint.addRule({ # # //rule information # id: "import", # name: "Disallow @import", # desc: "Don't use @import, use <link> instead.", # browsers: "All", # # //initialization # init: function(parser, reporter){ # var rule = this; # # parser.addListener("import", function(event){ # reporter.report("@import prevents parallel downloads, use <link> instead.", event.line, event.col, rule); # }); # # } # # });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sasslint-0.0.1 | lib/sasslint/rules/css/import.rb |