Skip to content

Sharable stylelint config based on Media.Monks Frontend Coding Standards

License

Notifications You must be signed in to change notification settings

mediamonks/stylelint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Media.Monks - Stylelint Configuration

The official Media.Monks stylelint configuration, based on the Frontend Coding Standards.

Package Version Downloads
@mediamonks/stylelint-config
@mediamonks/stylelint-config-css
@mediamonks/stylelint-config-scss
@mediamonks/stylelint-config-scss-muban
@mediamonks/stylelint-config-css-in-js

Installation

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",
}