israe@DESKTOP-1KQFLP1 MINGW64 ~/Documents/GitHub/webapp (main)
$  npx eslint . --config .eslintrc.js --ext .js,.jsx,.ts,.tsx --format @microsoft/eslint-formatter-sarif --output-file eslint-results.sarif
Invalid option '--ext' - perhaps you meant '-c'?
You're using eslint.config.js, some command line flags are no longer available. Please see https://eslint.org/docs/latest/use/command-line-interface for 
details.

israe@DESKTOP-1KQFLP1 MINGW64 ~/Documents/GitHub/webapp (main)
$  npx eslint . --config .eslintrc.js --ext .js,.jsx,.ts,.tsx --format @microsoft/eslint-formatter-sarif --output-file eslint-results.sarif
Invalid option '--ext' - perhaps you meant '-c'?
You're using eslint.config.js, some command line flags are no longer available. Please see https://eslint.org/docs/latest/use/command-line-interface for 
details.

israe@DESKTOP-1KQFLP1 MINGW64 ~/Documents/GitHub/webapp (main)
$ npx eslint --config eslint.config.js --format @microsoft/eslint-formatter-sarif --output-file eslint-results.sarif

Oops! Something went wrong! :(

ESLint: 9.9.1

Error: ENOENT: no such file or directory, stat 'C:\Users\israe\Documents\GitHub\webapp\eslint.config.js'
    at async Object.stat (node:internal/fs/promises:1032:18)
    at async loadFlatConfigFile (C:\Users\israe\AppData\Roaming\npm\node_modules\eslint\lib\eslint\eslint.js:329:20)
    at async calculateConfigArray (C:\Users\israe\AppData\Roaming\npm\node_modules\eslint\lib\eslint\eslint.js:473:28)
    at async ESLint.lintFiles (C:\Users\israe\AppData\Roaming\npm\node_modules\eslint\lib\eslint\eslint.js:922:25)
    at async Object.execute (C:\Users\israe\AppData\Roaming\npm\node_modules\eslint\lib\cli.js:502:23)
    at async main (C:\Users\israe\AppData\Roaming\npm\node_modules\eslint\bin\eslint.js:153:22)

israe@DESKTOP-1KQFLP1 MINGW64 ~/Documents/GitHub/webapp (main)
$ npx eslint --config eslint.config.js --format @microsoft/eslint-formatter-sarif --output-file eslint-results.sarif

Oops! Something went wrong! :(

ESLint: 9.9.1

Error: ENOENT: no such file or directory, stat 'C:\Users\israe\Documents\GitHub\webapp\eslint.config.js'
    at async Object.stat (node:internal/fs/promises:1032:18)
    at async loadFlatConfigFile (C:\Users\israe\AppData\Roaming\npm\node_modules\eslint\lib\eslint\eslint.js:329:20)
    at async calculateConfigArray (C:\Users\israe\AppData\Roaming\npm\node_modules\eslint\lib\eslint\eslint.js:473:28)
    at async ESLint.lintFiles (C:\Users\israe\AppData\Roaming\npm\node_modules\eslint\lib\eslint\eslint.js:922:25)
    at async Object.execute (C:\Users\israe\AppData\Roaming\npm\node_modules\eslint\lib\cli.js:502:23)
    at async main (C:\Users\israe\AppData\Roaming\npm\node_modules\eslint\bin\eslint.js:153:22)

israe@DESKTOP-1KQFLP1 MINGW64 ~/Documents/GitHub/webapp (main)
$ npx eslint . --fix

Oops! Something went wrong! :(

ESLint: 9.9.1

ESLint couldn't find an eslint.config.(js|mjs|cjs) file.

From ESLint v9.0.0, the default configuration file is now eslint.config.js.
If you are using a .eslintrc.* file, please follow the migration guide
to update your configuration file to the new format:

https://eslint.org/docs/latest/use/configure/migration-guide

If you still have problems after following the migration guide, please stop by
https://eslint.org/chat/help to chat with the team.


israe@DESKTOP-1KQFLP1 MINGW64 ~/Documents/GitHub/webapp (main)
$