josepot / eslint-config-ts-node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-config-ts-node

This package is just a subset of the ESLint configuration used by Create React App, but keeping those rules that are relevant for ts-node projects.

Usage

Install this package, ESLint and the necessary plugins.

npm install --save-dev eslint-config-ts-node @typescript-eslint/eslint-plugin@2.x @typescript-eslint/parser@2.x babel-eslint@10.x eslint@6.x eslint-plugin-import@2.x

Then create a file named .eslintrc.json with following contents in the root folder of your project:

{
  "extends": "ts-node"
}

About

License:MIT License


Languages

Language:JavaScript 100.0%