fullstack-hy2020 / fullstack-hy2020.github.io

https://fullstack-hy2020.github.io
Other
1.53k stars 3.84k forks source link

Part9c outdated: Throws error when running npm run lint #3747

Closed sheikhameen closed 1 month ago

sheikhameen commented 1 month ago

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.

This issue is exists with the code from Part9c - Typing and Express app # Settting up the project.