sveltedoc-parser
sveltedoc-parser copied to clipboard
parse without eslint
I was wondering if there might be another way to parse such as using zimmerframe because eslint is a very heavy dependency
https://npmgraph.js.org/?q=sveltedoc-parser
It looks like it's being used for comments, but I'm not sure it's necessary. This method seems to be able to handle comments without using eslint:
https://github.com/xeho91/svelte-ast-print/blob/5fa160ad48db333d95e695b5d36e3a4e7fdd28c0/tests/nodes/script.test.ts#L84
ESLint 8, which this package uses, has recently been deprecated. @alexprey, do you by any chance have plans to update to ESLint 9 or replace the parser?
Given the fact that @alexprey (sadly) wasn't active on github for at least over a year, this might be a dead end and the lib should be considered unmaintained…
I hope he is doing fine and it's just a matter of priorities, but it might be worth discussing to fork the lib to get it up to date with dependencies and requirements by the projects that rely on it…