1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 15:20:06 +02:00
Commit Graph

3 Commits

Author SHA1 Message Date
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