build: Switch linting to ES6

Disable no-var for now.

Change-Id: I9297112df4b73623cb167b60904a502abf86c526
This commit is contained in:
Ed Sanders 2023-06-21 17:38:54 +01:00
parent f45b0625ad
commit b296e1fc74

View file

@ -4,12 +4,13 @@
"commonjs": true
},
"extends": [
"wikimedia/client-es5",
"wikimedia/client",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"rules": {
"max-len": "off",
"no-var": "off",
"no-shadow": "warn",
"compat/compat": "warn"
}