ESLint: Use sourceType:commonjs instead of no-implicit-globals:off

Change-Id: I409d24d7253bd2108d34fc5ec69f042f588b0b07
This commit is contained in:
Ed Sanders 2024-06-14 12:32:25 +01:00
parent 5d7f91a0b9
commit 6d572a8733

View file

@ -4,8 +4,10 @@
"../../modules/.eslintrc.json",
"wikimedia/qunit"
],
"parserOptions": {
"sourceType": "commonjs"
},
"rules": {
"no-implicit-globals": "off",
"max-len": "off",
"security/detect-non-literal-require": "off"
}