README
@sibipro/eslint-config-typescript
Monorepo for eslint configuration for sibi projects.
Usage
Simply install the peer dependencies and then add this package to your eslint config's extends
array, along with the base config.
yarn add -D @sibipro/eslint-config-typescript
npx install-peerdeps --dev @sibipro/eslint-config-typescript
In order for the typescript rules to work, you'll need to include parser information in your eslint config when extending this config. There may also be some addition things you want to add to parserOptions
, but nothing else is required for this set of rules.
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": ["@sibipro/eslint-config", "@sibipro/eslint-config-typescript"]
}
License
MIT © SIBI, LLC