Metalsmith plugin for sass lint checker
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.editorconfig
.eslintrc
.gitignore
package.json
readme.md

readme.md

Metalsmith Sass Lint

Make sure your metalsmith project sass files are following your teams styleguide :)

Created due to no stylelint checking plugin found for metalsmith, and we needed something this for our production uses.

Installation

npm install metalsmith-sass-lint --save-dev

Usage

const Metalsmith = require('metalsmith');
const sasslint = require('metalsmit-sass-lint');

new Metalsmith()
    .source('styles')
    .use(sasslint({
        configFile: '.stylelintrc',
    }))
    .build();