What's the best way to get vscode to auto style & lint correct code for tfjs?

The subject says it mostly already; my default TS + TFJS setup seems to mangle existing style, e.g. see:

Curious what others do to get vscode to fix style instead of breaking it :slight_smile:

It is executed on save but non integrated in the IDE:

I suppose that you can try to configure Eslint extension with the same behavior as the linting steps:

Probably it could be interesting to contribute this configuration on the repository.

1 Like