containers / podman-desktop-extension-ai-lab

Work with LLMs on a local environment using containers
https://podman-desktop.io/extensions/ai-lab
Apache License 2.0
183 stars 41 forks source link

Lint staged #1986

Closed maryamtahhan closed 1 month ago

maryamtahhan commented 1 month ago

What does this PR do?

Enable lint staged in husky. depends on https://github.com/containers/podman-desktop-extension-ai-lab/pull/1984

How to test this PR?

Make a change in a markdown file, commit the change to git and see that the appropriate checks are invoked

❯ git commit --signoff -m "chore: test"
✔ Preparing lint-staged...
❯ Running tasks for staged files...
  ❯ package.json — 1 file
    ❯ *.{js,ts,tsx} — 1 file
      ⠙ eslint . --cache --fix
      ◼ prettier --write -u
    ↓ *.{json,md} — no files
◼ Applying modifications from tasks...
◼ Cleaning up temporary files...
maryamtahhan commented 1 month ago

Putting all changes into https://github.com/containers/podman-desktop-extension-ai-lab/pull/1984