Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Latest commit

 

History

History

tslint-config

@ueno/tslint-config

npm

Installation

yarn add @ueno/tslint-config

Usage

TSLint

We have 2 configs to extend to your tslint.json file.

For React

{
  "extends": "@ueno/tslint-config/react"
}

For React Native

{
  "extends": "@ueno/tslint-config/react-native"
}

TSConfig

We have 2 differents tsconfig.json that you can extends to your tsconfig.json file.

For React

{
  "extends": "./node_modules/@ueno/tslint-config/tsconfig-react",
  "compilerOptions": {
    "baseUrl": "./src"
  }
}

For React Native

{
  "extends": "./node_modules/@ueno/tslint-config/tsconfig-react-native",
  "compilerOptions": {
    "baseUrl": "./src"
  }
}

License

MIT © ueno.