12.0.0 • Published 7 months ago

@wezom/stylelint-config v12.0.0

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
7 months ago

@wezom/stylelint-config

Stylelint shareable config

Rules

See full list of extends with code examples

Usage

We strongly recommend using this config with Prettier together.
See description.

Install

npm i -D stylelint @wezom/stylelint-config stylelint-config-prettier

Setup linter
.stylelintrc.json

{
	"extends": ["@wezom/stylelint-config", "stylelint-config-prettier"]
}

Add npm scripts
package.json

{
	"scripts": {
		"test": "npm run prettier && npm run stylelint",
		"stylelint": "stylelint src/**/*.css",
		"stylelint:autofix": "npm run stylelint -- --fix",
		"prettier": "prettier src/ --check",
		"prettier:autofix": "npm run prettier -- --write"
	}
}

Test your files

npm run test
12.0.0

7 months ago

10.0.0

2 years ago

11.0.0

2 years ago

9.0.0

2 years ago

8.0.0

3 years ago

7.0.1

3 years ago

3.0.0-beta.0

3 years ago

2.1.0-beta.0

3 years ago

2.0.0-beta.0

3 years ago

1.0.1-beta.0

3 years ago

1.0.0-beta.0

3 years ago

0.6.0-beta.0

3 years ago

0.5.0-beta.0

3 years ago

0.4.0-beta.0

3 years ago

0.3.0-beta.0

3 years ago

0.2.0-beta

3 years ago