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 authored Dec 10, 2024
1 parent 96fe088 commit 3af9f7e
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 3af9f7e

Please sign in to comment.