0.1.0 • Published 4 years ago
stylelint-config-mskcc v0.1.0
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 fileor
npm install --save-dev stylelint // Actual prettier
npm install --save-dev stylelint-config-mskcc // configuration fileUsage
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
0.1.0
4 years ago