stylelint-config-nvs

1.0.0 • Public • Published

stylelint-config-nvs

NPM version Build Status

The Netvlies shareable config for stylelint.

Installation

To make use of this config, install this package as a development dependency of your project:

npm install stylelint-config-nvs --save-dev

Usage

Create a .stylelintrc config file:

.stylelintrc

{
    "extends": "stylelint-config-nvs"
}

package.json

Or add the Stylelint config to your package.json:

{
  "name": "project",
  "stylelint": {
    "extends": "stylelint-config-nvs"
  }
}

gulpfile.js

    var gulp = require('gulp');
    var stylelint = require('gulp-stylelint');
 
    gulp.task('generateClientSass', function () {
        return gulp
            .src(['scss/*.scss', '!scss/vendor/*.scss'])
            .pipe(stylelint({
                syntax: 'scss',
                reporters: [
                    { formatter: 'string', console: true }
                ]
            }))
    });

Tools

Info

Update & Publish to NPM

npm version [ major | minor | patch ]

npm publish

Changelog

Read the Changelog

License

MIT © Netvlies

Package Sidebar

Install

npm i stylelint-config-nvs

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • jelmer