Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
eslint-plugin-mediawiki
Advanced tools
MediaWiki-specific linting rules, for use in MediaWiki core and extensions.
MediaWiki-specific linting rules, for use in MediaWiki core and extensions.
If you are developing in MediaWiki you should be using eslint-config-wikimedia which includes this plugin.
Add mediawiki
to the plugins section of your .eslintrc
configuration file, then enable the required rules.
{
"plugins": [
"mediawiki"
],
"rules": {
"mediawiki/msg-doc": "error"
}
}
There are two shared configs: vue
which contains all Vue-related rules, and common
which includes all other rules.
{
"plugins": [
"mediawiki"
],
"extends": [
"plugin:mediawiki/common"
],
"overrides": [
{
"files": [ "**/*.vue" ],
"extends": [
"plugin:mediawiki/vue"
]
}
]
}
mediawiki/class-doc
mediawiki/msg-doc
mediawiki/no-extended-unicode-identifiers
mediawiki/no-nodelist-unsupported-methods
mediawiki/no-vue-dynamic-i18n
mediawiki/valid-package-file-require
mediawiki/vue-exports-component-directive
npm install
npm test
Distributed under the MIT license. See LICENSE for details.
FAQs
MediaWiki-specific linting rules, for use in MediaWiki core and extensions.
The npm package eslint-plugin-mediawiki receives a total of 8,065 weekly downloads. As such, eslint-plugin-mediawiki popularity was classified as popular.
We found that eslint-plugin-mediawiki demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.