wordpress-webpack-workflow
Version:
Modern WebPack workflow for WordPress front-end development and testing (plugins & themes) with handy tools included.
22 lines (21 loc) • 614 B
JavaScript
/**
* Stylelint config file
* as configured in package.json under stylelint.extends
*
* @docs Stylelint https://stylelint.io/user-guide/
* @docs StylelintWebpackPlugin: https://webpack.js.org/plugins/stylelint-webpack-plugin/
* @docs stylelint-scss : https://github.com/kristerkari/stylelint-scss
* @since 1.0.0
*/
module.exports = {
plugins: [
"stylelint-scss"
],
rules: {
"max-line-length": 180,
"no-empty-source": null,
"indentation": 2,
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
},
}