The stylelint config used for front-end projects at V-Technologies.
Install the package:
npm install --save-dev stylelint stylelint-config-vtech
Configure stylelint by adding .stylelintrc
at the root of your project:
{
"extends": "stylelint-config-vtech"
}
Use with webpack
npm install --save-dev stylelint-webpack-plugin
Then add in your webpack.config.js
const StylelintPlugin = require('stylelint-webpack-plugin');
plugins: [
new StylelintPlugin()
]