Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #47

Merged
merged 1 commit into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions .README/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pnpm add -D eslint-plugin-ft-flow eslint hermes-eslint

## Configuration

1. Set `parser` property to `@babel/eslint-parser`.
1. Set `parser` property to `hermes-eslint`.
2. Add `plugins` section and specify `ft-flow` as a plugin.
3. Enable rules.

Expand All @@ -48,14 +48,9 @@ pnpm add -D eslint-plugin-ft-flow eslint hermes-eslint
```json
{
"parser": "hermes-eslint",
"plugins": [
"ft-flow"
],
"plugins": ["ft-flow"],
"rules": {
"ft-flow/boolean-style": [
2,
"boolean"
],
"ft-flow/boolean-style": [2, "boolean"]
// ... more rules
},
"settings": {
Expand All @@ -76,9 +71,7 @@ To enable this configuration use the `extends` property in your `.eslintrc` conf

```json
{
"extends": [
"plugin:ft-flow/recommended"
]
"extends": ["plugin:ft-flow/recommended"]
}
```

Expand Down
Loading
Loading