debanjandhar12 / logseq-anki-sync

An logseq to anki syncing plugin with superpowers - image occlusion, card direction, incremental cards, and a lot more.
GNU Affero General Public License v3.0
466 stars 34 forks source link

Add Prettier and Eslint and apply changes #200

Closed FernandoChu closed 1 year ago

FernandoChu commented 1 year ago

I added Prettier and Eslint for a more consistent code style, Eslint also found a couple of errors, e.g. image

I haven't modified any functionality, but I intend to refactor some stuff, specifically to fix some problems with the swift cards like https://github.com/debanjandhar12/logseq-anki-sync/issues/199 and a non reported problem with katex. Please tell me if you'd be fine with me doing a PR on that!

debanjandhar12 commented 1 year ago

Sorry for the delay in reply.


specifically to fix some problems with the Swift cards like issue #199 and a non-reported problem with KaTeX. Please tell me if you'd be fine with me doing a PR on that!

Yes, I would love that. I am also planning on adding some testing on the converter using vitest over the weekend. It might be helpful when fixing that issue.

and a non-reported problem with KaTeX

Can you provide me with some details regarding the non-reported problem?


Also, I would happy to merge this PR. If possible, could you please resolve the conflicts?