@kaizentech/eslint-config-typescript

1.0.9 • Public • Published

@kaizentech/eslint-config

This package contains TypeScript, React, and React Native style guides

Installation

yarn add -D @kaizentech/eslint-config-typescript eslint prettier

Usage

first of all create a .eslintrc.json file in the root of your project.

if you want to use React config add this

{
  "root": true,
  "parserOptions": {
    "project": "./tsconfig.json"
  },
  "extends": "@kaizentech/typescript"
}

if you want to use React Native config add this

{
  "root": true,
  "parserOptions": {
    "project": "./tsconfig.json"
  },
  "extends": "@kaizentech/eslint-config-typescript/react-native"
}

Readme

Keywords

none

Package Sidebar

Install

npm i @kaizentech/eslint-config-typescript

Weekly Downloads

47

Version

1.0.9

License

MIT

Unpacked Size

7.43 kB

Total Files

8

Last publish

Collaborators

  • auropick