demergent-labs / azle

A WebAssembly runtime for TypeScript and JavaScript on ICP
MIT License
189 stars 33 forks source link

Look into type checked linting #1739

Open bdemann opened 1 month ago

bdemann commented 1 month ago

typescript-eslint has a mode that you can work with that will leverage the ts typechecker for more powerful linting. It requires a little more set up and it seems like it works best with a single project (in other words, once I implemented it it was working well with just the main azle project and not with the tests, I think it's because each of those is it's own module and would need to be compiled separately and perhaps even under different rules.) So we need to figure out some way to still lint our tests before we can adopt this more powerful linter.