The official Media.Monks stylelint configuration, based on the Frontend Coding Standards.
The packages can be installed via npm
.
npm install --save-dev @mediamonks/stylelint-config-css
npm install --save-dev @mediamonks/stylelint-config-scss
npm install --save-dev @mediamonks/stylelint-config-scss-muban
npm install --save-dev @mediamonks/stylelint-config-css-in-js
To inform stylelint of this configuration, you have to add the stylelint
property to your
package.json
file:
"stylelint": {
"extends": "@mediamonks/stylelint-config-css",
}
"stylelint": {
"extends": "@mediamonks/stylelint-config-scss",
}
"stylelint": {
"extends": "@mediamonks/stylelint-config-scss-muban",
}
"stylelint": {
"extends": "@mediamonks/stylelint-config-css-in-js",
}