New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

stylelint-config-wikimedia

Package Overview
Dependencies
Maintainers
0
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-config-wikimedia

Wikimedia shareable config for stylelint

  • 0.18.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

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.

Keywords

FAQs

Package last updated on 18 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc