Chaz Watkins
Chaz Watkins
DDeno
Created by Chaz Watkins on 10/20/2024 in #help
Use ES Lint, Jest, Prettier configs with deno
Awesome. Deno looks great. You guys have done a phenomenal job. I’m looking forward to the extensibility. Thanks for the help and information.
9 replies
DDeno
Created by Chaz Watkins on 10/20/2024 in #help
Use ES Lint, Jest, Prettier configs with deno
Thanks for the responses and guidance. I had noticed the deno fmt --unstable-component flag and thought it could be extended. But, after reviewing the demo fmt code, I see it's simply looking at the file extensions for those frameworks and calling format_html since those frameworks name their HTML templates with custom extensions. LWC doesn't do this; it only has .html and js/ts files. So, the formatter should work for LWC. However, for linting, LWC has many ES Lint rules for various functionalities that the framework provides. Is there currently a way to add your own rules to deno lint? If not, are there any plans for this in the future?
9 replies
DDeno
Created by Chaz Watkins on 10/20/2024 in #help
Use ES Lint, Jest, Prettier configs with deno
Is there a way to extend for a framework? I saw there were some unstable support for Vue and Svelte
9 replies