Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/svbutko/eslint-config-react-strong

ESLint strong (strict) config for React and React Native development.
https://github.com/svbutko/eslint-config-react-strong

eslint eslintconfig jest lint linter react react-native style stylelint typescript

Last synced: 11 days ago
JSON representation

ESLint strong (strict) config for React and React Native development.

Awesome Lists containing this project

README

        

# eslint-config-react-strong

[![npm-version](https://img.shields.io/npm/v/eslint-config-react-strong)](https://www.npmjs.com/package/eslint-config-react-strong)
[![npm-downloads](https://img.shields.io/npm/dt/eslint-config-react-strong)](https://www.npmjs.com/package/eslint-config-react-strong)

[![GitHub Followers](https://img.shields.io/github/followers/svbutko?label=Follow%20%40svbutko&style=social)](https://github.com/svbutko)
[![Twitter Follow](https://img.shields.io/twitter/follow/svbutko?label=Follow%20%40svbutko&style=social)](https://twitter.com/svbutko)

ESLint strong (strict) config for React and React Native development.

## Quick start

### Installation

#### yarn

```sh
yarn add -D [email protected] eslint-config-react-strong
```

#### npm

```sh
npm install --save-dev [email protected] eslint-config-react-strong
```

### Usage

Add `"react-strong"` to the "extends" array in your `.eslintrc.*` file. Make sure to put it **last,** so it gets the chance to override other configs.

```json
{
"extends": [
"...",
"react-strong"
]
}
```

## Other configs

- [TypeScript Config](./configs/tsconfig.md)
- [Prettier](./configs/prettierrc.md)
- [Detox](./configs/detox.md)
- [Jest](./configs/jest.md)

## Plugins included in this project

- [@typescript-eslint/eslint-plugin]
- [eslint-plugin-import]
- [eslint-plugin-react]
- [eslint-plugin-react-hooks]
- [eslint-plugin-react-native]
- [eslint-plugin-jest]

[@typescript-eslint/eslint-plugin]: https://github.com/typescript-eslint/typescript-eslint
[eslint-plugin-import]: https://github.com/benmosher/eslint-plugin-import
[eslint-plugin-unused-imports]: https://github.com/sweepline/eslint-plugin-unused-imports
[eslint-plugin-react]: https://github.com/yannickcr/eslint-plugin-react
[eslint-plugin-react-hooks]: https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks
[eslint-plugin-react-native]: https://github.com/Intellicode/eslint-plugin-react-native
[eslint-plugin-jest]: https://github.com/jest-community/eslint-plugin-jest