0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Commit Graph

2 Commits

Author SHA1 Message Date
Brayan Oliveira
718b4636c7 Change .prettierrc endOfLine to auto
On Windows, conflict between git's CRLF normalization and prettier's was generating EOL diff
To solve it, this changes `endOfLine` to `auto`, which does:
`Maintain existing line endings (mixed values within one file are normalised by looking at what’s used after the first line)`
2022-03-17 11:01:04 -05:00
Tharun K
e27213356d
chore(lint, javascript): added prettier check (#10500)
* feat(prettier-check): added .prettierrc + workflow
* feat(prettier-check): ran prettier + .prettierignore
* feat(prettier-check): check if npx is installed

pre-commit now skips Prettier check if `npx` is not present.
2022-03-14 15:09:16 -05:00