r/typescript • • 17h ago

Polylint, now supporting TSRS

0 Upvotes

I maintain Polylint source, which we use at Xberg to run linting and formating across multiple language ecosystems.

In the last version, I added support for the new tsrs engine (the Rust rewrite of the TS compiler now maintained by the OXC team). This is pretty cool - it allows adding type checking as part of the linting, and doing enhanced linting with type checking. Polylint includes oxc and combines it with our very own skif to give robust linting for JS/TS based projects. It now also supports ultra-fast type checking and incremental type checking via git hooks (per file, rather than the entire project).

Check it out:

Polylint source · tsrs integration design

Cheers.


r/typescript • • 23h ago

Codex Generated JavaScript and TypeScript Files Can Be Painful To Read. Use Airbnb JavaScript Style Guide.

0 Upvotes

Airbnb JavaScript style guide can significantly make your code better and readable by humans. In my last post I mentioned about setting up Codex Cloud and increasing my output per unit time.