web
Adds browser global variables to your ESLint environment.
Globals included
Section titled “Globals included”window,document,navigatorlocalStorage,sessionStoragefetch,Headers,Request,ResponseHTMLElement,Event,CustomEventsetTimeout,setIntervalconsole- And more from the
globalspackage
Default file patterns
Section titled “Default file patterns”["src/**/*.{js,mjs,cjs}"]Options
Section titled “Options”uglify({ with: ["web"], options: { web: { files: ["src/client/**/*.js"], additionalGlobals: { gtag: "readonly", }, }, },})