Loading topic
tsconfig.json. It also assumes you can run npm scripts and know ES module import and export syntax. By the end you will have a working eslint.config.mjs that lints a TypeScript project. You will also know how ESLint reads that file and5 min readtsconfig.json, run npm scripts, and write ES module imports. It also assumes you have seen an ESLint flat config file. Here you will learn what the two typescript-eslint pieces do, how they connect inside a config, and which errors appear when one6 min readeslint.config.mjs that loads typescript-eslint, as covered in the earlier chapters. It also assumes you can read a tsconfig.json and know the difference between a lint error and a compiler error.5 min readeslint.config.mjs file that uses defineConfig, and that you know what a preset such as recommended does. It builds on rule severity and options from the previous chapter. Here you will learn how one config file gives test files, scripts, and generat5 min readeslint.config.mjs with the typescript-eslint recommended preset, a tsconfig.json that includes your source files, and Node.js 20.11 or later (needed for import.meta.dirname). Here you will switch on type information for lint rules, see how ESLint5 min readrecommendedTypeChecked (or strictTypeChecked) in eslint.config.mjs, with projectService: true. It also assumes you can read basic Promise and async/await code. Here you will see which type-checked rules5 min readeslint.config.mjs with the typescript-eslint recommended preset, as in the earlier chapters. It also assumes you know what a rule severity is. Here you will learn why linting and formatting are different jobs, how to give each job to its own tool, and 6 min readeslint.config.mjs that uses typescript-eslint, as built in the earlier chapters. It also assumes you can read a package.json and a basic CI workflow file. Your config is only useful if it runs at the right moments. Run it while you type, so you catch probl5 min readeslint.config.mjs with a type-checked preset and the project service enabled. It also assumes you can read a tsconfig.json, including include, exclude, and references. The goal is to explain why type-aware linting costs more than plain lintin6 min readtsconfig.json, and with running ESLint through npm scripts. The goal is to convert an existing .eslintrc setup into an eslint.config.mjs file5 min read