Hygiene: improve ESLint globals readability
- Drop unused Hogan global. - Instead of using a confusing and deprecated boolean, specify that globals are "readable" / "writable" https://eslint.org/docs/user-guide/configuring#specifying-globals Change-Id: Icbb663d2d9cda5e67e81c38d85b8a75cabb5e52b
This commit is contained in:
parent
d3a95084c5
commit
73bfc21977
|
@ -5,10 +5,9 @@
|
|||
"wikimedia/jquery"
|
||||
],
|
||||
"globals": {
|
||||
"OO": false,
|
||||
"mw": false,
|
||||
"Hogan": false,
|
||||
"require": false
|
||||
"OO": "readonly",
|
||||
"mw": "readonly",
|
||||
"require": "readonly"
|
||||
},
|
||||
"rules": {
|
||||
"no-restricted-properties": [ "error",
|
||||
|
|
Loading…
Reference in New Issue