Elements of the above solutions are helpful, and also show the answers over time. The main thing I saw was at v9+, there is a new file system for configurations.
Several of the solutions above reference them, but here's what I discovered, and document for anyone else who comes across this:
config files:
.eslintrc.js .eslintrc.json eslint.config.js eslint.config.mjs
with the v9+, you'll get one of the last 2 of these files based on the answers you provide in the command line initialization (also referenced in other answers above)
Things to note: the first 2 files are now legacy and are useless, so remove or rename them.
The config file that worked, and removed the error (originally stated in this question) was the eslint.config.js/mjs file, and here is my working entry (edited from script auto-generated):
import globals from "globals"; import pluginJs from "@eslint/js"; /** @type {import('eslint').Linter.Config[]} */ export default [ { languageOptions: { globals: { ...globals.node } } }, pluginJs.configs.recommended, ];
last notes: This answer solves the exact "process" question originally asked, and will make the lint error disappear. Others have suggested adding the globals.browser entry and have both. This is needed only if you're building FE code/need browser, but strictly, isn't required to answer this question. Add it if needed. (I'm a minimalist in enabling kinda person)
Hope this helps someone :)
browser default global variables. Your link hinted me to that. Now, the error is gone!