Skip to content

Commit

Permalink
docs(eslint-plugin): update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell committed Mar 17, 2022
1 parent 67bb484 commit cdce639
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/eslint-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@

Usage: in your [ESLint config file](https://eslint.org/docs/user-guide/configuring), add `{ "extends": ["plugin:@fluentui/<name>"] }` or `{ "extends": ["plugin:@fluentui/eslint-plugin/<name>"] }` (the two are equivalent).

- `react`: For `@fluentui/react` and related packages
- `react--legacy`: Like `react` but requiring an `I` prefix for interfaces
- `node`: Like `react` but for packages which run in a Node environment (not the browser)
- `node--legacy`: Like `node` but requiring an `I` prefix for interfaces
- `react`: react specific configuration for fluentui vNext
- `node`: node specific configuration for fluentui vNext
- `react--legacy`: react specific configuration for fluentui v7,8
- `node--legacy`: node specific configuration for fluentui v7,8
- `react-northstar`: For `@fluentui/react-northstar` and related packages
- `imports`: auto import statements sorting configuration

Helpers for customizing configuration are exported under a `configHelpers` object.

Expand Down

0 comments on commit cdce639

Please sign in to comment.