Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josepot/eslint-config-ts-node
https://github.com/josepot/eslint-config-ts-node
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/josepot/eslint-config-ts-node
- Owner: josepot
- License: mit
- Created: 2020-02-11T23:44:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-02-12T00:04:35.000Z (over 4 years ago)
- Last Synced: 2024-10-27T15:32:44.843Z (12 days ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-ts-node
This package is just a subset of the [ESLint configuration](https://github.com/facebook/create-react-app/tree/master/packages/eslint-config-react-app) used by [Create React App](https://github.com/facebook/create-react-app), but keeping those rules that are relevant for [ts-node](https://github.com/TypeStrong/ts-node) projects.
## Usage
Install this package, ESLint and the necessary plugins.
```sh
npm install --save-dev eslint-config-ts-node @typescript-eslint/[email protected] @typescript-eslint/[email protected] [email protected] [email protected] [email protected]
```Then create a file named `.eslintrc.json` with following contents in the root folder of your project:
```json
{
"extends": "ts-node"
}
```