This repository is where all common eslint related config, rules, packages and binary are aggregated into one package that can be installed.
npm i -D @loveholidays/eslint-config-loveholidays
Eslint and the plugins will be installed via this package so you do not need to install them separately.
Extend either @loveholidays/eslint-config-loveholidays/react
or @loveholidays/eslint-config-loveholidays
and add parserOptions.project
to your eslintrc.
// .eslintrc
{
extends: ['@loveholidays/eslint-config-loveholidays'],
parserOptions: {
project: './tsconfig.json',
}
}
When a pull request is merged a new major version will be published automatically.
You can also manually trigger the publish workflow in github actions.