# `@springworks/eslint-config-typescript`

eslint rules for typescript projects

```sh
yarn add -D @springworks/eslint-config-typescript eslint
```

After adding the dependencies, add a config (`.eslintrc.json`) in the root of the
project with this content:

```json
{
  "extends": "@springworks/eslint-config-typescript"
}
```

Or update `package.json` and include:

```json
{
  "eslintConfig": {
    "extends": "@springworks/eslint-config-typescript"
  }
}
```

Some useful scripts to add to `package.json`:

```json
{
  "scripts": {
    "lint": "eslint --cache .",
    "lint-fix": "eslint --quiet --fix ."
  }
}
```
