fis-lint-css
a fis lint for css
Last updated 2 years ago by sharhhu .
MIT · Original npm · Tarball · package.json
$ cnpm install fis-lint-css 
SYNC missed versions from official npm registry.

Usage

fis-conf.js

fis.match( '*.css', {
    lint: fis.plugin('css', {
        rules: {},// rules: https://github.com/CSSLint/csslint/wiki/Rules
        formatter: {
            formatterId: 'formatterId', // formatterId
            options: {} //formatter options
        }
    })
})

rules如果没提供使用默认的rules,见csslint rules. formatter根据csslint提供的formatterId,如果没有默认使用formatters目录下的csslint-friendly-formatter,此插件是基于eslint-friendly-formatter改造

Current Tags

  • 1.0.2                                ...           latest (2 years ago)

2 Versions

  • 1.0.2                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 5
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |