Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@sibipro/eslint-config-typescript

sibipro19MIT2.0.0

Configure eslint for sibi projects using Typescript

sibi, sibipro, eslint, typescript

readme

@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