It seems that using .eslintrc is deprecated and the use of eslint.config.js is recommended by the docs. At part 9c and when running npm run lint I keep getting this error:
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.
It seems that using
.eslintrc
is deprecated and the use ofeslint.config.js
is recommended by the docs. At part 9c and when runningnpm run lint
I keep getting this error:This issue is exists with the code from Part9c - Typing and Express app # Settting up the project.