eslintrc: Use a file-local global
comment for module
This commit is contained in:
parent
208f066e0e
commit
958d68fb14
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user