Package Exports
- eslint-config-love
- eslint-config-love/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-love) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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 .