Yedidyar / remult-cli

⛔Deprecated⛔ Use Remult Kit instead remult-cli is a command-line tool designed to simplify the process of generating Remult entities from a PostgreSQL database.
https://www.npmjs.com/package/remult-cli
MIT License
13 stars 2 forks source link

Add eslint configuration #12

Open Yedidyar opened 1 year ago

Yedidyar commented 1 year ago

you can see this article how to configure eslint in 2023

jycouet commented 1 year ago

FYI: Actually, I run my formater (of my project) after, to match all my rules.

Yedidyar commented 1 year ago

Linting is different then formatting 🤔 But it can be idea for a feature: option that runs the formmater after the generation.

jycouet commented 9 months ago

I think that you should update this issue as I see 2 concerns that are not linked:

1/ update the repo with ESLINT I think that this is done (please no husky), I like a failing PR, but not things running on my machine. I think that it's this issue and it can be closed.

2/ Adding the option to format code after generation I did it here: https://www.kitql.dev/docs/tools/06_vite-plugin-kit-routes#side-notes with a post_update_run that will execute any cmd. I think that it can be another issue. (I think that it has close to 0 value as remult-cli is a one shot generator, people can do this cmd by hand after)