Skip to content

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

Merged
tbouffard merged 4 commits into
masterfrom
refactor/enforce_no_unused_params_var_with_tsc
Mar 7, 2024
Merged

chore: enforce no unused parameters and locals with TypeScript#3051
tbouffard merged 4 commits into
masterfrom
refactor/enforce_no_unused_params_var_with_tsc

Conversation

@tbouffard

@tbouffard tbouffard commented Mar 6, 2024

Copy link
Copy Markdown
Member

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
@github-actions

github-actions Bot commented Mar 6, 2024

Copy link
Copy Markdown

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

🤖 By surge-preview

@github-actions

github-actions Bot commented Mar 6, 2024

Copy link
Copy Markdown

♻️ 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.
@sonarqubecloud

sonarqubecloud Bot commented Mar 7, 2024

Copy link
Copy Markdown

@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
@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