Replies: 2 comments
-
I agree. There's a whole lot that could be improved if we could detect local packages. There was an issue with this earlier if I remember because it gets tricky with monorepos so it has been removed. You could argue there's no need to have linters and formatters as part of this tool too and you can run them yourself after the generation is done. Both are valid approaches and the need for formatting has gone down since the experimental parser was released. |
Beta Was this translation helpful? Give feedback.
-
I think I agree with this statement, i could just as easily follow up my client gen with running my lint+prettier task! |
Beta Was this translation helpful? Give feedback.
-
Currently if you have config like this:
It expects those tools to be installed globally:
In my opinion it would be better if they used the version of eslint and prettier installed in the local project.
As a middleground, being able to specify the path to eslint (so i could do
./node_modules/.bin/eslint
would work too).Beta Was this translation helpful? Give feedback.
All reactions