Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/josepot/eslint-config-ts-node


https://github.com/josepot/eslint-config-ts-node

Last synced: 1 day ago
JSON representation

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"
}
```