Skip to content

test(linter): add e2e test exercising many config options#15660

Closed
camchenry wants to merge 1 commit intomainfrom
11-12-test_linter_add_e2e_test_exercising_many_config_options
Closed

test(linter): add e2e test exercising many config options#15660
camchenry wants to merge 1 commit intomainfrom
11-12-test_linter_add_e2e_test_exercising_many_config_options

Conversation

@camchenry
Copy link
Member

@camchenry camchenry commented Nov 13, 2025

NOTE: This is blocked on updating to tsgolint to the version after 0.6.0.

This adds an end-to-end test for tsgolint that exercises most of the configuration options supported by rules currently. This should be a useful way of ensuring we don't regress this functionality somehow (and be an early warning if something goes wrong in tsgolint).

Copy link
Member Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added the C-test Category - Testing. Code is missing test cases, or a PR is adding them label Nov 13, 2025
@camchenry camchenry force-pushed the 11-12-test_linter_add_e2e_test_exercising_many_config_options branch 2 times, most recently from 5aded22 to f86760b Compare November 13, 2025 03:13
@camchenry camchenry force-pushed the 11-12-feat_linter_implement_config_for_all_tsgolint_rules_supporting_options branch from 6dbfe29 to 69d9c8f Compare November 13, 2025 03:13
@graphite-app graphite-app bot force-pushed the 11-12-feat_linter_implement_config_for_all_tsgolint_rules_supporting_options branch 2 times, most recently from 14ae066 to 53c3493 Compare November 14, 2025 22:30
@graphite-app graphite-app bot force-pushed the 11-12-test_linter_add_e2e_test_exercising_many_config_options branch from f86760b to f3fd330 Compare November 14, 2025 22:30
@graphite-app graphite-app bot changed the base branch from 11-12-feat_linter_implement_config_for_all_tsgolint_rules_supporting_options to graphite-base/15660 November 15, 2025 01:55
@graphite-app graphite-app bot force-pushed the 11-12-test_linter_add_e2e_test_exercising_many_config_options branch from f3fd330 to 55e598d Compare November 15, 2025 02:01
@graphite-app graphite-app bot force-pushed the graphite-base/15660 branch from 53c3493 to c199e38 Compare November 15, 2025 02:01
@graphite-app graphite-app bot changed the base branch from graphite-base/15660 to main November 15, 2025 02:01
@graphite-app graphite-app bot force-pushed the 11-12-test_linter_add_e2e_test_exercising_many_config_options branch from 55e598d to 57b21e0 Compare November 15, 2025 02:02
Comment on lines +792 to +798
x typescript-eslint(return-await): Returning an awaited promise is not allowed in this context.
,-[config-options-test.ts:299:10]
298 | // Should pass
299 | return await Promise.resolve(42);
: ^^^^^^^^^^^^^^^^^^^^^^^^^
300 |
`----
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like this fails in the snap?

@camchenry camchenry closed this Dec 10, 2025
@camchenry camchenry deleted the 11-12-test_linter_add_e2e_test_exercising_many_config_options branch December 10, 2025 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-linter Area - Linter C-test Category - Testing. Code is missing test cases, or a PR is adding them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants