Gathering detailed insights and metrics for eslint-plugin-mediawiki
Gathering detailed insights and metrics for eslint-plugin-mediawiki
Gathering detailed insights and metrics for eslint-plugin-mediawiki
Gathering detailed insights and metrics for eslint-plugin-mediawiki
npm install eslint-plugin-mediawiki
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1 Stars
89 Commits
3 Forks
18 Watching
1 Branches
32 Contributors
Updated on 10 Oct 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-28.9%
1,655
Compared to previous day
Last week
57.4%
21,564
Compared to previous week
Last month
117.5%
61,736
Compared to previous month
Last year
101.7%
688,352
Compared to previous year
2
1
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.
1{ 2 "plugins": [ 3 "mediawiki" 4 ], 5 "rules": { 6 "mediawiki/msg-doc": "error" 7 } 8}
There are two shared configs: vue
which contains all Vue-related rules, and common
which includes all other rules.
1{ 2 "plugins": [ 3 "mediawiki" 4 ], 5 "extends": [ 6 "plugin:mediawiki/common" 7 ], 8 "overrides": [ 9 { 10 "files": [ "**/*.vue" ], 11 "extends": [ 12 "plugin:mediawiki/vue" 13 ] 14 } 15 ] 16}
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
1npm install 2npm test
Distributed under the MIT license. See LICENSE for details.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 26/29 approved changesets -- score normalized to 8
Reason
3 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More