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

JS-406 S1607 for tests should extend TestFileCheck #4902

Merged
merged 1 commit into from
Nov 12, 2024
Merged

JS-406 S1607 for tests should extend TestFileCheck #4902

merged 1 commit into from
Nov 12, 2024

Conversation

zglicz
Copy link
Contributor

@zglicz zglicz commented Nov 12, 2024

JS-406

As part of the bundling effort and testing with JsTsRulingTest this rule was causing it to fail. Adding it as TestFileCheck causes it to be run on TEST files and not on MAIN files.

@yassin-kammoun-sonarsource @gabriel-vivas-sonarsource - we should see this in the data, that this rule was being run on MAIN files and not giving any value for the test files.

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod bot changed the title S1607 for tests should extend TestFileCheck JS-406 S1607 for tests should extend TestFileCheck Nov 12, 2024
@vdiez vdiez enabled auto-merge (squash) November 12, 2024 11:20
@vdiez vdiez merged commit c25f660 into master Nov 12, 2024
20 of 21 checks passed
@vdiez vdiez deleted the fix-rule branch November 12, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants