Skip to content

Commit

Permalink
Set Up Pre-commit Hooks for Linting and Code Formatting (#12)
Browse files Browse the repository at this point in the history
* Set Up Pre-commit Hooks for Linting and Code Formatting

* Setting up prehooks with Husky
  • Loading branch information
bertrandshema authored Jun 7, 2024
1 parent 3fd4bb9 commit b6329ef
Show file tree
Hide file tree
Showing 6 changed files with 913 additions and 523 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run format
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@

[![codecov](https://codecov.io/gh/atlp-rwanda/dynamites-ecomm-fe/graph/badge.svg?token=32TGKWZBBV)](https://codecov.io/gh/atlp-rwanda/dynamites-ecomm-fe)


## Overview

Welcome to Dynamites frontend application! This project provides an appealing user interface for the dynamites e-commerce application. It allows users to browse products, place orders, manage their account, and perform other e-commerce-related activities.


## Installation

To get started with the Dynamites frontend app, follow these simple steps:
Expand Down Expand Up @@ -58,7 +56,6 @@ Before you run that commands you must have docker installed in your PC
docker run -p 8080:8080 <image_name>
```


## Authors

- [Manzi Karenzi](https://github.com/jkarenzi)
Expand All @@ -70,4 +67,3 @@ Before you run that commands you must have docker installed in your PC
- [Bernard Niyomugabo](https://github.com/niyobern)
- [Bertrand Shema](https://github.com/bertrandshema)
- [Pray Eddy Shimwa](https://github.com/EddyShimwa)

Loading

0 comments on commit b6329ef

Please sign in to comment.