stylelint-config-tc

10.0.0 • Public • Published

stylelint-config-tc

Stylelint shareable config

license npm ci

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.

Package Sidebar

Install

npm i stylelint-config-tc

Weekly Downloads

283

Version

10.0.0

License

MIT

Unpacked Size

7.05 kB

Total Files

7

Last publish

Collaborators

  • tclindner