ESLint
From CommunityData
From: https://eslint.org/docs/latest/use/getting-started
- Launch a codespace and browse to the commandline
- Install it with npm init @eslint/config@latest
- npx eslint yourfile.js
- if 'process is not defined' error -- it isn't realizing you're executing inside of node.js, which has some global variables like 'process'; the fix is to add globals.node into the string of globals in eslint.config.js (just having languageOptions: { globals: globals.node } } was enough when I tried it last).
