Eslint handles unknown functions, how to add them to the configuration

the function of Wechat interface was called in the development, but the eslint warning error was found on the Internet, but it was not eliminated successfully.

"WeixinJSBridge" is not defined
clipboard.png
Jul.11,2021

in the configuration file:

{
  globals: {
    WeixinJSBridge: false,
  },
}

or at the top of the file that reported the error:

/* global WeixinJSBridge:false */
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5f25f-45801.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5f25f-45801.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?