https://github.com/unix/eslint-config-ts-lambdas
config of typescript-eslint for Lambdas style.
https://github.com/unix/eslint-config-ts-lambdas
typescript-eslint
Last synced: 3 months ago
JSON representation
config of typescript-eslint for Lambdas style.
- Host: GitHub
- URL: https://github.com/unix/eslint-config-ts-lambdas
- Owner: unix
- License: mit
- Created: 2019-06-02T12:45:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-30T16:49:11.000Z (over 4 years ago)
- Last Synced: 2025-03-28T19:55:03.299Z (3 months ago)
- Topics: typescript-eslint
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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`:
```json
{
"extends": ["eslint-config-ts-lambdas"],
"parserOptions": {
"project": "./tsconfig.json"
}
}```
### For React
```json
{
"extends": [
"eslint-config-ts-lambdas",
"eslint-config-ts-lambdas/react"
],
"parserOptions": {
"project": "./tsconfig.json"
}
}```
### Why `typescript-eslint`
- [TSLint and ESLint today](https://medium.com/palantir/tslint-in-2019-1a144c2317a9)
- [Roadmap: TSLint -> ESLint ](https://github.com/palantir/tslint/issues/4534)
- [Yarn's Future - v2 and beyond](https://github.com/yarnpkg/yarn/issues/6953) (tslint does not work properly in Yarn v2 project.)
### Recommends
- [eslint-config-lambdas](https://github.com/unix/eslint-config-lambdas)
- [tslint-config-lambdas](https://github.com/unix/tslint-config-lambdas)
### LICENSE
[MIT](LICENSE)