Skip to content

Commit

Permalink
Update README.md (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dannymx authored Oct 27, 2023
1 parent f842f3d commit faedc01
Show file tree
Hide file tree
Showing 2 changed files with 7,251 additions and 7,258 deletions.
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

0 comments on commit faedc01

Please sign in to comment.