Skip to content

Commit

Permalink
docs(readme): add comment on prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
smackfu committed Nov 27, 2024
1 parent 96fe088 commit 7bf3cfa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ To use the Prettier compatible config:
}
```

:warning: The `amex` eslint config enforces single quotes, while Prettier uses double quotes by default.
Enabling the Prettier config will change all the quotes in your files.
To avoid this, add a custom Prettier `.prettierrc` config:

```json
{
"singleQuote": true
}
```

### (Optionally) Create an `.eslintrc` file in your test directory

```json
Expand Down

0 comments on commit 7bf3cfa

Please sign in to comment.