eslint-config-ts-lambdas
config of
typescript-eslint
for Lambdas style.
Usage
-
before:
yarn add eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser -D
-
install:
yarn add eslint-config-ts-lambdas -D
-
import to
.eslintrc
:
{
"extends": ["eslint-config-ts-lambdas"],
"parserOptions": {
"project": "./tsconfig.json"
}
}
For React
{
"extends": [
"eslint-config-ts-lambdas",
"eslint-config-ts-lambdas/react"
],
"parserOptions": {
"project": "./tsconfig.json"
}
}
typescript-eslint
Why -
Yarn's Future - v2 and beyond (tslint does not work properly in Yarn v2 project.)