@abusix/eslint-config-base
v1.0.2
Published
Shared eslint configs for Abusix projects
Downloads
7
Keywords
Readme
@abusix/eslint-config-base
This package contains the base eslint configuration for typescript projects.
Installation
npm add -D @abusix/eslint-config-base
Usage
Add the following to your .eslintrc.js
:
module.exports = {
extends: ['@abusix/eslint-config-base'],
};
Problems with Custom Import Paths?
If you have problems with custom import paths, you can add the following to your .eslintrc.js
to the project where you want to use this eslint config:
{
// ...
settings: {
"import/resolver": {
typescript: {}
}
},
// ...
}
Also make sure to install the following package to add typescript import resolver support:
npm add -D eslint-import-resolver-typescript