A TypeScript ESLint config that loves you
Here is an example eslint.config.cjs
.
module.exports = [
{
...require('eslint-config-love'),
files: ['*.js', '*.jsx', '*.ts', '*.tsx'],
}
]
Learn how to configure ESLint.
Note: the config exported by this package sets languageOptions.parserOptions.project = true
.
Read about the project
option here.
There are some more parserOptions
you may care about.
$ npx eslint .