1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-25 19:30:05 +02:00
Commit Graph

4 Commits

Author SHA1 Message Date
Sérgio Ramos
efd87268da chore: use stdio option on execa 2017-05-29 23:04:51 +01:00
Sérgio Ramos
c327f9f1ef chore: handle empty files array in format-staged
if format-staged is run and after filtering by opt-out no files are left, it tries to format everything
2017-05-26 12:02:19 +01:00
Sérgio Ramos
8974a0546f chore: when formatting staged files, also account for /scripts 2017-05-26 10:20:15 +01:00
Sérgio Ramos
9b3874ea56 chore: format, lint, and test scripts based on staged files
For lint and test, it detects the packages that the staged files affect and only
runs the corresponding `lint` and `test` scripts.

For format, it will run prettier through the Added/Modified js files.
2017-05-26 10:20:00 +01:00