1.0.0 • Published 8 years ago

fly-sass-lint v1.0.0

Weekly downloads
3
License
WTFPL
Repository
github
Last release
8 years ago

fly-sass-lint

fly badge npm badge download badge travisbadge license badge

Sass-lint plugin for Fly .

Install

This plugin requires Fly .

npm i -D fly-sass-lint

Usage

By default, fly-sass-lint will use .sass-lint.yml file in your project directory as sass-lint config.

Async/Await flavored:

export async function lintSass () {
  await this
    .source('src/**/*.{scss,sass}')
    .sasslint()
    /* or pass your options to sass-lint
     * .sasslint({
     *   options: {},
     *   configPath: 'PATH/TO/MY/AWESOME/RULE'
     * })
     */
}

Generator function flavored:

exports.lintSass = function* () {
  yield this
    .source('src/**/*.{scss,sass}')
    .sasslint()
    /* or pass your options to sass-lint
     * .sasslint({
     *   options: {},
     *   configPath: 'PATH/TO/MY/AWESOME/RULE'
     * })
     */
}

Check out Sass-lint documentation for available options.

License

Do What The F*ck You Want To Public License

1.0.0

8 years ago

0.9.11

8 years ago

0.9.10

8 years ago

0.9.9

8 years ago