mediawiki-skins-MinervaNeue/tests/qunit/.eslintrc.json
jdlrobson ef5003f310 Curtail use of mw.mobileFrontend in Minerva
The MobileFrontend dependency in Minerva is problematic.
Code that Minerva needs should live in core.
MobileFrontend should load code on all skins when they operate on
a mobile domain.
This eslint check reminds developers of this in a hope it encourages
more upstreaming to core when possible.
Of course disabling is also an option, but this check will at least
make us aware of when we are moving further away from the goal.

Change-Id: I62183c9aefc81053e4ad81fb746decef2dd24b44
2019-10-01 14:54:59 +00:00

11 lines
163 B
JSON

{
"extends": [
"wikimedia/qunit",
"../../.eslintrc.json"
],
"rules": {
"no-restricted-properties": "off",
"no-jquery/no-parse-html-literal": "off"
}
}