The purpose of the eslint
is linting javascript
and typescript
languages (js
, ts
, tsx
).
This configuration targets lib react packages.
-
Add workspace reference to
@muravjev/configs-eslint-ts-react
:pnpm add -w @muravjev/configs-eslint-ts-react eslint
-
Add eslint configuration file:
// .eslintrc.js module.exports = require('@muravjev/configs-eslint-ts-react');
-
Automatic validation of staged files with
eslint
is handled by monorepo on commit. -
Automatic validation file with
eslint
is handled by monorepo on save. -
Manual usage from command line:
pnpm lint packages/bar pnpm lint:fix packages/bar
If you found this project helpful, consider
buying me a coffee, donate by paypal or just leave a star⭐
Thanks for your support, it is much appreciated!