Skip to content
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

chore: enforce no unused parameters and locals with TypeScript #3051

Merged
merged 4 commits into from
Mar 7, 2024

Conversation

tbouffard
Copy link
Member

@tbouffard tbouffard commented Mar 6, 2024

Fix new TS compiler errors: remove or prefix (when must be kept to override methods) parameters, remove unused class properties.

Unit tests: mark unused parameters in test function.
They must be kept as the parameter is used to generate the test title or because it is required by the function signature.

Group "noXXX" TypeScript compiler options.

Notes

This has been detected during investigations done in of #2724.

Fix new TS compiler errors: remove or prefix (when must be kept to override methods) parameters, remove unused class
properties.
Group "noXXX" TypeScript compiler options.
@tbouffard tbouffard added the chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) label Mar 6, 2024
Copy link

github-actions bot commented Mar 6, 2024

♻️ PR Preview f2e84d9 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

Copy link

github-actions bot commented Mar 6, 2024

♻️ PR Preview f2e84d9 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

Mark unused param in test function. They must be kept as the parameter is used to generate the test title or because it
is required by the function signature.
Copy link

sonarcloud bot commented Mar 7, 2024

@tbouffard tbouffard marked this pull request as ready for review March 7, 2024 09:51
@tbouffard tbouffard merged commit 6886a6b into master Mar 7, 2024
26 checks passed
@tbouffard tbouffard deleted the refactor/enforce_no_unused_params_var_with_tsc branch March 7, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants