etn-ccis / blui-react-native-component-library

Re-usable React-Native components for use in Brightlayer UI applications
BSD 3-Clause "New" or "Revised" License
11 stars 8 forks source link

Add husky pre-commit hook #625

Closed JeffGreiner-eaton closed 1 month ago

JeffGreiner-eaton commented 1 month ago

Fixes BLUI-6037.

Changes proposed in this Pull Request:

Screenshots / Screen Recording (if applicable)

-

https://github.com/user-attachments/assets/ec404a47-741d-4eda-83ff-afc16ec80fcc

To Test:

a.) use the vs code source control panel to stage and commit. (the husky pre-commit runs in the background and when complete your commit will compete)

OR

b.) use the terminal git add . && git commit -m 'my commit' (running in terminal will display what pre-commit runs)

Next test

OR

Any specific feedback you are looking for?

-

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.46%. Comparing base (3e615ae) to head (2799da7). Report is 3 commits behind head on dev.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #625 +/- ## ======================================= Coverage 70.46% 70.46% ======================================= Files 67 67 Lines 1236 1236 Branches 183 183 ======================================= Hits 871 871 Misses 337 337 Partials 28 28 ``` | [Flag](https://app.codecov.io/gh/etn-ccis/blui-react-native-component-library/pull/625/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=etn-ccis) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/etn-ccis/blui-react-native-component-library/pull/625/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=etn-ccis) | `70.46% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=etn-ccis#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.