
A TypeScript ESLint config that loves you
Example config
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.
No formatting rules
This config does provide formatting related rules.
Please use a formatter, instead.
Example command line usage:
$ npx eslint .