build(lint): make lint script compatible with typescript >=v4.8.0 #2541
Labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
Developer_Experience
P2
Priority 2: High
Tests
Anything related to tests be that automatic or manual, integration or unit, etc.
We had to disable linting [1] entirely when upgrading to Angular v15 (typescript
v4.8.4) because
be ESM (EcmaScript Modules) which is a big can of worms for now for us to open.
The big picture of the task here is to make
yarn lint
work again without crashesand with good results (e.g. the script as it is right now is broken because it
lists hudnreds of false positive linter errors despite our configuration to not
do so)
The solution might be to migrate to ESM (which is long overdue because of how
annoying it is to have dependencies not work because of it).
Other, quick and dirty workarounds MIGHT be acceptible depending on what the
actual trade-offs are in terms of technical debt, performance, developer experience, etc.
[1] #2540
The text was updated successfully, but these errors were encountered: