2.0.0 • Published 4 years ago

@sibipro/eslint-config-typescript v2.0.0

Weekly downloads
156
License
MIT
Repository
github
Last release
4 years ago

@sibipro/eslint-config-typescript

Monorepo for eslint configuration for sibi projects.

GitHub license Project Status npm

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