Commit Graph

2 Commits

Author SHA1 Message Date
Pascal Hartig
f6af85ee7e Upgrade prettier rules
Summary:
The jsx specific one was deprecated in favour of the more generic
`bracketSameLine`.

Reviewed By: mweststrate

Differential Revision: D31204490

fbshipit-source-id: 28e5c9b583e57bef7f348c7f06605d4180ef18cf
2021-09-27 08:25:20 -07:00
Michel Weststrate
7b69b96190 Fix code formatting
Summary:
Had some horrible dev experience caused by  VSCode and Jest not agreeing what snapshots should look like, every time saving a test in VSCode, it would break the jest snapshots. After investigating eslint and prettier, turned out VSCode itself was the culprit. Caused by a global user setting, but this makes sure nobody else runs into it :)

Also made sure Jest uses the correct prettier settings (it didn't before).

Reviewed By: passy

Differential Revision: D22114656

fbshipit-source-id: aef6c278a668bce049c96aba95c7a5101ca840ad
2020-06-19 03:54:49 -07:00