eslintrc: Use a file-local global comment for module

This commit is contained in:
Aarni Koskela 2023-05-19 12:46:33 +03:00
parent 208f066e0e
commit 958d68fb14

View File

@ -1,3 +1,4 @@
/* global module */
module.exports = { module.exports = {
env: { env: {
browser: true, browser: true,
@ -47,8 +48,6 @@ module.exports = {
"unicode-bom": "error", "unicode-bom": "error",
}, },
globals: { globals: {
// this file
module: "writable",
//script.js //script.js
gradioApp: "writable", gradioApp: "writable",
onUiLoaded: "writable", onUiLoaded: "writable",