stylelint-config-nvs
v1.0.0
Published
Stylelint shareable config used by Netvlies
Downloads
5
Maintainers
Readme
stylelint-config-nvs
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