# eslint-config-rn-ts

> ESLint config for React Native projects written in Typescript

Latest version **1.2.0** (published 2020-07-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-config-rn-ts
pnpm add eslint-config-rn-ts
yarn add eslint-config-rn-ts
bun add eslint-config-rn-ts
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2020-07-26 |
| First published | 2020-01-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Maintainers | radadi |
| Keywords | react native, typescript, eslint, config |

## Links

- npm: https://www.npmjs.com/package/eslint-config-rn-ts
- Repository: https://github.com/alradadi/eslint-config-rn-ts
- Homepage: https://github.com/alradadi/eslint-config-rn-ts#readme
- Issues: https://github.com/alradadi/eslint-config-rn-ts/issues
- npm.io page: https://npm.io/package/eslint-config-rn-ts

## Dependencies (12)

- [prettier](https://npm.io/package/prettier.md) ^2.0.5
- [babel-eslint](https://npm.io/package/babel-eslint.md) ^10.1.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.20.3
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.22.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^6.11.0
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^3.1.4
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^3.7.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.0.8
- [eslint-plugin-react-native](https://npm.io/package/eslint-plugin-react-native.md) ^3.8.1
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^3.7.0
- [eslint-plugin-simple-import-sort](https://npm.io/package/eslint-plugin-simple-import-sort.md) ^5.0.3
- [@react-native-community/eslint-config](https://npm.io/package/@react-native-community/eslint-config.md) ^2.0.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2020-07-26
- 1.1.0 — 2020-02-07
- 1.0.0 — 2020-01-20

## README

# eslint-config-rn-ts

An [ESLint](https://eslint.org/) config for [React Native](https://facebook.github.io/react-native/) projects written in [TypeScript](https://www.typescriptlang.org/)

Includes rules for:
* [eslint:recommended](https://eslint.org/docs/rules/)
* [@typescript-eslint](https://github.com/typescript-eslint/typescript-eslin)
* [import](https://www.npmjs.com/package/eslint-plugin-import)
* [react](https://github.com/yannickcr/eslint-plugin-react)
* [react-hooks](https://www.npmjs.com/package/eslint-plugin-react-hooks)
* [react-native](https://github.com/intellicode/eslint-plugin-react-native)
* [react-native-community](https://www.npmjs.com/package/@react-native-community/eslint-config)
* [prettier](https://github.com/prettier/eslint-config-prettier)
* [simple-import-sort](https://github.com/lydell/eslint-plugin-simple-import-sort)

## Installation

```sh
yarn add -D eslint eslint-config-rn-ts
```

## Usage

In `.eslintrc.js` file, add:

```js
{
  extends: ['rn-ts'],
  rules: {
    // override rules
  }
}
```

To run prettier and rearrange import statements run:

```
eslint --fix
```

## License

MIT

---
_Source: https://npm.io/package/eslint-config-rn-ts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
