@bhsd/codemirror-mediawiki 2.1.11 → 2.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/main.min.js +11 -11
- package/dist/main.min.js.map +3 -3
- package/mediawiki.css +25 -25
- package/mw/dist/base.js +11 -2
- package/package.json +10 -10
- package/src/codemirror.ts +50 -24
package/README.md
CHANGED
|
@@ -122,7 +122,7 @@ Get the default linting function, which can be used as the argument of [`lint`](
|
|
|
122
122
|
|
|
123
123
|
```js
|
|
124
124
|
const linter = await cm.getLinter(); // default linter configuration
|
|
125
|
-
const linterMediawiki = await cm.getLinter({include}); // wikilint configuration
|
|
125
|
+
const linterMediawiki = await cm.getLinter({include: true, i18n: 'zh-hans'}); // wikilint configuration
|
|
126
126
|
const linterJavaScript = await cm.getLinter({env, parserOptions, rules}); // ESLint configuration
|
|
127
127
|
const linterCSS = await cm.getLinter({rules}); // Stylelint configuration
|
|
128
128
|
```
|