Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup-prettier-linting-husky #2183

Merged
merged 18 commits into from
Jul 2, 2024
Merged

Conversation

AhmedCodeGuy
Copy link
Collaborator

Summary

NO JIRA TICKET

Fixes the setup of husky hook pre-commit with lint-staged, added an eslint rule, and fixed the warnings and erorrs blocking the pre-commit.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Test plan

Now it runs the pre-commit and blocks the commit if any warning or error generated from running eslint.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • I have commented on my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Copy link

vercel bot commented Jul 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
quran-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 2, 2024 6:03pm

@AhmedCodeGuy AhmedCodeGuy changed the title Setup-prettier-linting-husky setup-prettier-linting-husky Jul 2, 2024
@osamasayed osamasayed changed the base branch from master to testing July 2, 2024 20:26
@osamasayed osamasayed merged commit 0277632 into testing Jul 2, 2024
7 checks passed
@osamasayed osamasayed deleted the setup-prettier-linting-husky branch July 2, 2024 20:29
osamasayed added a commit that referenced this pull request Jul 7, 2024
* fix missing ayahs in indopak translation mode

* fetch data on the client

* rename and move hook

* fix loading bug

* DRY code

* pass correct data

* fix data shape

* add prettier, eslint, and lintstaged rules

* hello world console log

* set lint staged to default linting without fix

* update husky and add lint fix flag

* update package and add necessary setup

* reset test component

* fix linting errors and warnings

* remove unused props

* remove unused props

* reset the line component

---------

Co-authored-by: Osama Sayed <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants