Skip to content

Commit

Permalink
docs: mention import preset in README (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
lytovka committed Apr 22, 2023
1 parent 1926fcf commit 2d700b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Currently this module exposes a few additional configs:

- `@lytovka/eslint-config/react`: preset for React projects.
- `@lytovka/eslint-config/jsx-a11y`: preset for accessibility issues in React apps.
- `@lytovka/eslint-config/import`: preset for import rules (both JavaScript and TypeScript projects).

Feel free to add those configs to the `extend` property:

Expand All @@ -49,6 +50,7 @@ module.exports = {
"@lytovka",
"@lytovka/eslint-config/react",
"@lytovka/eslint-config/jsx-a11y",
"@lytovka/eslint-config/import"
],
rules: {
// override rules
Expand Down

0 comments on commit 2d700b5

Please sign in to comment.