TypeScript warnings

javascript dev.to

I really don't like the way JavaScript / TypeScript works with unused variables. I guess unused variables, constants and imports should be underlined by default. I mean by default, so you don't have to configure it manually: package.json { "type": "module", "devDependencies": { "@types/node": "^25.5.2", "@typescript-eslint/eslint-plugin": "^8.58.0", "@typescript-eslint/parser": "^8.58.0" } } eslint.config.js export default [ { files: ["**/*.ts"], la

Read Full Tutorial open_in_new
arrow_back Back to Tutorials