0.16.1 • Published 8 months ago

stylelint-config-wikimedia v0.16.1

Weekly downloads
4,094
License
MIT
Repository
github
Last release
8 months ago

stylelint-config-wikimedia

NPM version

Wikimedia CSS Coding Standards shareable config for stylelint

Configuration rules to ensure your CSS is compliant with the Wikimedia CSS Coding Standards.

Installation

$ npm install -D stylelint-config-wikimedia

Usage

Set your stylelint config file, .stylelintrc.json, to:

{
	"extends": "stylelint-config-wikimedia"
}

If you would also like to enable rules to disallow CSS which is unsupported by modern browsers Grade A or basic supported browsers Grade C browsers, you can use the following configurations instead:

{
	"extends": "stylelint-config-wikimedia/support-modern"
}
{
	"extends": "stylelint-config-wikimedia/support-basic"
}

If you are using in a MediaWiki environment, you can add the following config:

{
	"extends": [
		"stylelint-config-wikimedia",
		"stylelint-config-wikimedia/mediawiki"
	]
}

If you need to combine this with browser support rules:

{
	"extends": [
		"stylelint-config-wikimedia/support-modern",
		"stylelint-config-wikimedia/mediawiki"
	]
}

Extend or override the configuration

Add a "rules" object to your config file, and add your overrides or additional rules there, for example:

{
	"extends": "stylelint-config-wikimedia/support-basic",
	"rules": {
		"stylistic/max-empty-lines": null
	}
}

Changelog

You can read the changelog for release versions.

License

This is available under the MIT License.

0.16.0

9 months ago

0.16.1

8 months ago

0.14.0

1 year ago

0.15.0

11 months ago

0.13.1

2 years ago

0.13.0

2 years ago

0.12.0

2 years ago

0.12.1

2 years ago

0.12.2

2 years ago

0.11.0

3 years ago

0.11.1

3 years ago

0.10.3

3 years ago

0.10.2

3 years ago

0.10.1

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.3

6 years ago

0.4.2

6 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.0

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago