There is a quick fix action that converts require to import:
I would like to run it automatically on save from editor.codeActionsOnSave, or maybe there's an ESLint rule that has an auto fix?
P.S. I do not want to use vscode extensions for this.
There is a quick fix action that converts require to import:
I would like to run it automatically on save from editor.codeActionsOnSave, or maybe there's an ESLint rule that has an auto fix?
P.S. I do not want to use vscode extensions for this.