Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wcandillon/eslint-config-react-native-wcandillon

ESLint and TypeScript configuration for React Native
https://github.com/wcandillon/eslint-config-react-native-wcandillon

Last synced: about 15 hours ago
JSON representation

ESLint and TypeScript configuration for React Native

Awesome Lists containing this project

README

        

# eslint-config-react-native-wcandillon
My ESLint and TypeScript configuration for React Native.

[![CircleCI](https://circleci.com/gh/wcandillon/eslint-config-react-native-wcandillon.svg?style=svg)](https://circleci.com/gh/wcandillon/eslint-config-react-native-wcandillon)
[![npm version](https://badge.fury.io/js/eslint-config-react-native-wcandillon.svg)](https://badge.fury.io/js/eslint-config-react-native-wcandillon)

## Usage

```sh
# you also need eslint if not installed already: yarn add eslint --dev
yarn add eslint-config-react-native-wcandillon --dev
```

In `.eslintrc`:

```json
{
"extends": "react-native-wcandillon",
}
```

In `tsconfig.json` (if you want to use my base TS configuration):

```json
{
"extends": "eslint-config-react-native-wcandillon/tsconfig.base"
}
```