Coverage remained the same at 100.0% when pulling d8c7a09571f958178724609e5f8b63ba03efb31f on JohnAlbin:prettier-config into 2067c1a581e58747244192ad7a9c015f969c6ad5 on ben-eb:master.
Coverage remained the same at 100.0% when pulling ee74a91a2e5aa88dcc0b4237a56f7a49b2699f4f on JohnAlbin:prettier-config into 2067c1a581e58747244192ad7a9c015f969c6ad5 on ben-eb:master.
I'm not sure how this happened but the Prettier config does not match the expect
xo
linting.Steps to reproduce:
npm install
npm test
— All tests should pass, includingxo
linting.npx prettier --write src
— Prettier uses the config frompackage.json
and re-writes files.git status
— Shows multiple files have formatting changes.npm test
— Tests fail becausexo
linting is failing.npx xo --fix; git status
— Shows that multiple files were re-written back to what they were when git cloned.I've updated the prettier config so that IDEs that use Prettier won't break tests.
P.S. I don't like the Prettier options this project is using, but this isn't my project.
¯\_(ツ)_/¯