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

Eslint rule to discourage usage of 'suite.only' #24161

Closed
anthonykim1 opened this issue Sep 23, 2024 · 1 comment
Closed

Eslint rule to discourage usage of 'suite.only' #24161

anthonykim1 opened this issue Sep 23, 2024 · 1 comment
Assignees
Labels
debt Covers everything internal: CI, testing, refactoring of the codebase, etc.

Comments

@anthonykim1
Copy link

anthonykim1 commented Sep 23, 2024

VS Code has something like "local/code-no-test-only": "error", to discourage use of 'suite.only'
Python extension could have something similar something like:

{
  "plugins": ["mocha"],
  "rules": {
    "mocha/no-exclusive-tests": "error"
  }
}

to ensure best practices - prevent slipping suite.only

@anthonykim1 anthonykim1 added the debt Covers everything internal: CI, testing, refactoring of the codebase, etc. label Sep 23, 2024
@anthonykim1 anthonykim1 self-assigned this Sep 23, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Sep 23, 2024
@anthonykim1 anthonykim1 removed the triage-needed Needs assignment to the proper sub-team label Sep 23, 2024
@anthonykim1
Copy link
Author

Would be resolved since we have #24235 (review) now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debt Covers everything internal: CI, testing, refactoring of the codebase, etc.
Projects
None yet
Development

No branches or pull requests

1 participant