This commit is contained in:
Manav Rathi 2024-06-02 12:56:54 +05:30
parent 39a17bc0b8
commit 429caf5f6c
No known key found for this signature in database

View File

@ -14,11 +14,15 @@ baseline for how our code be in all the workspaces in this (yarn) monorepo.
They also need some support packages, which come from the leaf `@/build-config`
package:
- [@typescript-eslint/parser](https://typescript-eslint.io/packages/eslint-plugin/)
\- Tells ESLint how to read TypeScript syntax.
- [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin/)
\- Provides TypeScript rules and presets
- [typescript-eslint](https://typescript-eslint.io/packages/typescript-eslint/)
\- Teaches ESLint how to read TypeScript syntax, provides TypeScript
specific ESLint rules, and set of default preset rulesets
(`typescript-eslint` is the new entry point, our yet-unmigrated packages use
the older method of separately including
[@typescript-eslint/parser](https://typescript-eslint.io/packages/eslint-plugin/)
\- which tells ESLint how to read TypeScript syntax - and
[@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin/)
\- which provides the TypeScript rules and presets).
- [eslint-plugin-react-hooks](https://github.com/jsx-eslint/eslint-plugin-react),
[eslint-plugin-react-hooks](https://reactjs.org/) \- Some React specific