-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: migrate to TypeScript 4 and remove TSLint #765
Conversation
Waiting for #645 to complete to fix master |
a143e6f
to
1cd639b
Compare
Yes it could be a good idea to open issue to discuss about the lint rules. |
1cd639b
to
4ef3f4a
Compare
Kudos, SonarCloud Quality Gate passed!
|
I migrated TypeScript to the latest version but our ESLint / TSLint settings were not compatible (showing errors on valid TypeScript 4 code).
I removed TSLint which is deprecated and used
eslint-config-airbnb-typescript
instead so we have the same rules for both JavaScript and TypeScript.However as we didn't use the same rules on TypeScript and JavaScript files I had to disable the following rules:
❓ Should I create issues to fix them?
I also added the following in the tsconfig to remove the
* as
in the TypeScript filesFixes #736