Package Exports
- @gergoszaszvaradi/stylelint-config
- @gergoszaszvaradi/stylelint-config/.stylelintrc.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gergoszaszvaradi/stylelint-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@gergoszaszvaradi/stylelint-config
Personal StyleLint configuration and rules
Installation
Install this config package:
npm i -D @gergoszaszvaradi/stylelint-config
yarn add -D @gergoszaszvaradi/stylelint-config
Usage
Extend your stylelint config file with the stylelintrc provided by this package.
.stylelintrc.json
{
"extends": "@gergoszaszvaradi/stylelint-config"
}
Overriding Rules
You can still override certain rules by defining the rules again in your config file:
.stylelintrc.json
{
// ...
"indentation": 2
}
Before turning off already defined rules, check the StyleLint documentation for the benefits of using those rules.
- StyleLint: https://stylelint.io/user-guide/rules/list
- StyleLint SCSS: https://github.com/stylelint-scss/stylelint-scss