1.2.3 • Published 4 years ago
eslint-config-ts-lambdas v1.2.3
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"
}
}
Why typescript-eslint
Yarn's Future - v2 and beyond (tslint does not work properly in Yarn v2 project.)