eslint-config-tsx

1.5.0 • Public • Published

ESLint Config

ESLint configuration used for TypeScript projects.

Install

$ yarn add --dev eslint-config-tsx

Usage

Modify your eslint config as follows.

TypeScript (with or without React)

Add "extends": "tsx" to your eslint config. For example, if your eslint config is in package.json, it would look like this:

{
  "eslintConfig": {
    "extends": "tsx"
  }
}

React Native

Add "extends": "tsx/react-native" to your eslint config. For example, if your eslint config is in package.json, it would look like this:

{
  "eslintConfig": {
    "extends": "tsx/react-native"
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-tsx

Weekly Downloads

0

Version

1.5.0

License

ISC

Unpacked Size

4.77 kB

Total Files

4

Last publish

Collaborators

  • eslint-tools