@transfermarkt/stylelint-config
v2.0.43
Published
Global configuration for stylelint rules.
Downloads
444
Readme
Stylelint global preset for projects
Install
npm i @transfermarkt/stylelint-config -D
package.json
"stylelint": {"extends": "@transfermarkt/stylelint-config"}
Configuration of customSyntax
It may be necessary to configure the customSyntax
option in your stylelint
configuration. This is necessary if you use a syntax that is not supported by stylelint out of the box. For example, if you use the postcss-scss
syntax, you need to add the following to your stylelint
configuration:
"stylelint": {
"extends": "@transfermarkt/stylelint-config",
"customSyntax": "postcss-scss"
}
For example a project with .scss files will need the custom syntax option with postcss-scss.
The default value is postcss-html.