@socialgouv/eslint-config-typescript
Our default typescript eslint config
Install
$ npm install -D @socialgouv/eslint-config-typescript eslint prettier typescript
# or
$ yarn add -D @socialgouv/eslint-config-typescript eslint prettier typescript
Usage
Add this to your .eslintrc.yml
file:
extends:
- "@socialgouv/eslint-config-typescript"
or add this to your .eslintrc.json
file:
{
"extends": ["@socialgouv/eslint-config-typescript"]
}