stylelint-config-tc
v11.0.0
Published
Stylelint shareable config
Downloads
95
Maintainers
Readme
stylelint-config-tc
Stylelint shareable config
What is stylelint-config-tc?
Shared configuration for Stylelint. Follow the instructions below to easily include this configuration in another project without having to duplicate the file!
How do I install it?
First thing first, let's make sure you have the necessary pre-requisites.
System Dependencies
Node
Command
npx install-peerdeps --dev stylelint-config-tc
stylelint, stylelint-prettier, and prettier are peer dependencies and must be installed.
Usage
Add the following to your .stylelintrc.json
file:
{
"extends": "stylelint-config-tc"
}
If you need to override a rule, your .stylelintrc.json
file should look like the example below. All shared rules will be used, but declaration-block-trailing-semicolon
will be turned off.
{
"extends": "stylelint-config-tc",
"rules": {
"declaration-block-trailing-semicolon": null
}
}
Contributing
Please see the CONTRIBUTING.md file for more information.
Change Log
Please see the CHANGELOG.md for more information.
License
Copyright (c) 2018-2023 Thomas Lindner. Licensed under the MIT license.