Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carimus/eslint-config-react
A base eslint config for Carimus React web projects
https://github.com/carimus/eslint-config-react
Last synced: 20 days ago
JSON representation
A base eslint config for Carimus React web projects
- Host: GitHub
- URL: https://github.com/carimus/eslint-config-react
- Owner: Carimus
- Created: 2019-10-14T22:22:53.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T20:08:37.000Z (over 1 year ago)
- Last Synced: 2024-04-26T15:15:14.715Z (9 months ago)
- Language: JavaScript
- Size: 1.1 MB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Carimus ESLint Config for React
The prettier config used by Carimus React web projects.
- Extends [`@carimus/eslint-config-web`](https://github.com/Carimus/eslint-config-web)
- Adds the [`eslint-plugin-react`](https://www.npmjs.com/package/eslint-plugin-react) plugin
- Adds the [`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks) plugin
- Adds the React recommended rules, the [`react-hooks/rules-of-hooks`](https://reactjs.org/docs/hooks-rules.html)
rule, and some minor tweaks built-up over time across projects to promote healthier code### Important Note
Even though `eslint-prettier-config` is applied in `@carimus/eslint-config-web`, we need to reapply it in this config
since it's designed to turn off rules that might conflict with prettier and as such must always be applied last. ESLint
handles deduping for us so it's fine that we specify `prettier` and `prettier/standard` multiple times (once here and
once in the `@carimus/eslint-config-web` config).## Related Projects
- [`@carimus/eslint-config-web`](https://github.com/Carimus/eslint-config-web) for non-React Web projects
- [`@carimus/eslint-config-react-native`](https://github.com/Carimus/eslint-config-react-native) for React Native
projects
- [`@carimus/prettier-config`](https://github.com/Carimus/prettier-config) to configure Prettier.