Closed sheikhameen closed 1 month ago
Fixes issue #3747
Instead of installing these:
npm install express npm install --save-dev eslint @types/express @typescript-eslint/eslint-plugin @typescript-eslint/parser
Install these:
npm install express npm install --save-dev eslint @eslint/js typescript-eslint @stylistic/eslint-plugin @types/express @types/eslint__js
eslint
@eslint/js
typescript-eslint
@types/express
@types/eslint__js
@stylistic/eslint-plugin
"@typescript-eslint/semi"
Updated to use the latest flat config file eslint.config.mjs instead of the deprecated eslintrc format.
eslint.config.mjs
eslintrc
fixed by another commit
Fixes issue #3747
Instead of installing these:
Install these:
eslint
,@eslint/js
,typescript-eslint
- as recommended by eslint docs.@types/express
- for express typing.@types/eslint__js
- for typing@eslint/js
@stylistic/eslint-plugin
- for semi rule. (the"@typescript-eslint/semi"
is deprecated and moved to ESLint Stylistic as mentioned here)Updated to use the latest flat config file
eslint.config.mjs
instead of the deprecatedeslintrc
format.