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

Feature/148 add linters and prettier to project #156

Merged

Conversation

KC900201
Copy link
Contributor

@KC900201 KC900201 commented Oct 5, 2024

Issue Banner Image

Describe the bug

  • A few source codes in the repo have linting errors.

To Reproduce

  • Steps to reproduce the behavior:
    • Navigate to the mentioned source codes for example:
    • hero-action.ts
    • BaseLayout.astro

Expected behaviour

  • Linting errors should be prevented by prefixing the coding before performing git commit to prevent errors.
  • Solution: some errors that may caused by Typescript compilation. We can perform type-guarding to predefine the variables

Solution

  • Implement linter and code styling checker in project with Prettier + Eslint
  • Implement @ts-nocheck on google-tag scripting (temporary solution)

Reference

Screenshots

  • BaseLayout.astro

image

  • hero-action.ts
    image

image

KC900201 and others added 25 commits September 16, 2024 10:40
* Created issue templates

* Update add-a-new-term.md

* Update add-a-new-term.md

* Update add-a-new-term.md

* Update add-a-new-term.md

* Update bug_report.md

* Update add-a-new-term.md

* Update bug_report.md

* Update README.md

* Update add-a-new-term.md

* Update add-a-new-term.md

* Update add-a-new-term.md

* Update README.md

Included Tech Stack, installation and Deployment sections

---------

Co-authored-by: Chenuli Jayasinghe <[email protected]>
chore: add Husky, configure pre-commit and commit-msg hooks, and set up Commitlint
Added a new term:  "Monorepo" + fixed a filename typo for Svelte.json
@Buzzpy Buzzpy merged commit 6345b4e into Buzzpy:master Oct 5, 2024
2 checks passed
@KC900201 KC900201 deleted the feature/148_add_linters_and_prettier_to_project branch October 6, 2024 08:37
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.

4 participants