@ryze-digital/stylelint-config-website
v2.0.0
Published
Enforces a consistent Sass code style for our website projects
Maintainers
Readme
RYZE Digital Stylelint Rules
Install
npm i @ryze-digital/stylelint-config-website --save-devUsage
Add the following to your stylelint.config.js:
import config from '@ryze-digital/stylelint-config-website';
export default config;Add custom rules for your project
If you want to disable (for example) the limitation of nesting depth for your whole project, you have to change the
content of your stylelint.config.js to the following:
export default {
extends: '@ryze-digital/stylelint-config-website',
rules: {
'max-nesting-depth': null
}
};