The Netvlies shareable config for stylelint.
To make use of this config, install this package as a development dependency of your project:
npm install stylelint-config-nvs --save-dev
Create a .stylelintrc
config file:
{
"extends": "stylelint-config-nvs"
}
Or add the Stylelint config to your package.json
:
{
"name": "my-awesome-project",
"stylelint": {
"extends": "stylelint-config-nvs"
}
}
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 }
]
}))
});
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
npm publish