UNPKG

eslint-config-react-native-wcandillon

Version:
29 lines (21 loc) 796 B
# 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" } ```