wikilint
v2.13.5
Published
A Node.js linter for MediaWiki markup
Downloads
1,428
Readme
WikiLint
This is a minimal version of WikiParser-Node customized for eslint-plugin-wikitext.
You can also directly lint Wikitext articles in the command line using this package:
npx wikilint --config zhwiki --include --lang zh-hans *.wiki
CLI Options
| Option | Description | Default |
| :----- | :---------- | :------ |
| -c
, --config
<path or preset config> | Choose parser's configuration | default
|
| -h
, --help
| Print available options | |
| -i
, --include
| Parse for inclusion | no inclusion |
| -l
, --lang
| Choose i18n language | English |
| -q
, --quiet
| Report errors only | errors and warnings |
| -s
, --strict
| Exit when there is an error or warningOverride -q
or --quiet
| Exit 1
only where there is an error |
| -v
, --version
| Print package version | |