
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
stylelint-config-wikimedia
Advanced tools
Wikimedia CSS Coding Standards shareable config for stylelint
Configuration rules to ensure your CSS is compliant with the Wikimedia CSS Coding Standards.
$ npm install -D stylelint-config-wikimedia
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"
]
}
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
}
}
You can read the changelog for release versions.
This is available under the MIT License.
0.18.0 / 2024-12-18
—
FAQs
Wikimedia shareable config for stylelint
The npm package stylelint-config-wikimedia receives a total of 5,737 weekly downloads. As such, stylelint-config-wikimedia popularity was classified as popular.
We found that stylelint-config-wikimedia demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 24 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.