eslint-config-love
A TypeScript ESLint config that loves you
![GitHub Repo stars](https://img.shields.io/github/stars/mightyiam/eslint-config-love)
Guidelines
- Safety at the cost of verbosity
- Convention over arbitrary choice
- No formatting rules (please use a formatter)
Versioning
Any change that might require a user to make changes beyond upgrading this package is considered major.
For example, rule addition are obviously major.
It is expected that most version bumps will be major.
Example config
Here is an example eslint.config.cjs
.
module.exports = [
{
...require('eslint-config-love'),
files: ['**/*.js', '**/*.ts'],
},
]
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.
Example command line usage:
$ npx eslint .
Contributing
See CONTRIBUTING.md
.