stylelint-config-mskcc
v0.1.0
Published
Stylelint configuration for your stylesheets
Downloads
5
Maintainers
Readme
stylelint-config-mskcc
This package provides MSKCC base stylelint configurations to keep stylesheet code quality consistent with all our teams. Use this as the base to your project. These configurations will be continuously updated.
Installation
pnpm install --save-dev stylelint // Actual prettier
pnpm install --save-dev stylelint-config-mskcc // configuration file
or
npm install --save-dev stylelint // Actual prettier
npm install --save-dev stylelint-config-mskcc // configuration file
Usage
Create a stylelint.config.js
file in your root directory, then add the appropriate configuration(s):
// css
module.exports = {
extends: ['stylelint-config-mskcc'],
};
// scss
module.exports = {
extends: ['stylelint-config-mskcc/scss'],
};
Full list of configurations
| Type | "extends" path | Description | file types |
| ---- | ----------------------------- | --------------------------------------- | ----------- |
| css | stylelint-config-mskcc
| Standard rules that enforce conventions | css
|
| scss | stylelint-config-mskcc/scss
| Standard rules that enforce conventions | css, scss
|
TODO
- Granular look at the rules