mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-28 01:30:05 +00:00
9c65d786e2
Register a hook for when VE is finished initializing to select the error section, just like the textbox-based editor. Use the BeforePageDisplay hook so it runs on VE page loads too. Bug: T160102 Change-Id: I59a7e0a3e8be32e4689cbf41c4904970902c4dff
26 lines
321 B
Plaintext
26 lines
321 B
Plaintext
{
|
|
// Enforcing
|
|
"bitwise": true,
|
|
"eqeqeq": true,
|
|
"freeze": true,
|
|
"latedef": true,
|
|
"noarg": true,
|
|
"nonew": true,
|
|
"undef": true,
|
|
"unused": true,
|
|
"strict": false,
|
|
|
|
// Relaxing
|
|
"es5": false,
|
|
|
|
// Environment
|
|
"browser": true,
|
|
"jquery": true,
|
|
|
|
"globals": {
|
|
"mediaWiki": false,
|
|
"ve": false,
|
|
"OO": false
|
|
}
|
|
}
|