Sha256: 151cb1543f484fa5d0c0175e4a200822f3419153e75887007d249d7fa3ebee5f

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

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: Properties should be known (listed in CSS3 specification) or
#  * be a vendor-prefixed property.
#  */
# /*global CSSLint*/
# CSSLint.addRule({
# 
#     //rule information
#     id: "known-properties",
#     name: "Require use of known properties",
#     desc: "Properties should be known (listed in CSS3 specification) or be a vendor-prefixed property.",
#     browsers: "All",
# 
#     //initialization
#     init: function(parser, reporter){
#         var rule = this;
# 
#         parser.addListener("property", function(event){
#             var name = event.property.text.toLowerCase();
# 
#             // the check is handled entirely by the parser-lib (https://github.com/nzakas/parser-lib)
#             if (event.invalid) {
#                 reporter.report(event.invalid.message, 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/known-properties.rb