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
170 stars 31 forks source link

chore: upgrade to eslint v9 #1623

Closed benoitf closed 1 month ago

benoitf commented 1 month ago

What does this PR do?

update to the new flat config format of eslint

need to disable 2 rules from sonarjs lint plug-in as it's not yet fully compliant

some code is not 100% compliant with the rules so I've commented the rules, but then after it should be fixed rule by rule

search for // disabled as code in this project is not yet compliant: in the source code

Also the cache is enabled for lint:check / lint:fix rules

Screenshot / video of UI

What issues does this PR fix or reference?

fixes https://github.com/containers/podman-desktop-extension-ai-lab/issues/1607

How to test this PR?

PR check should be ✅