Skip to content

Conversation

jakebailey
Copy link
Member

@jakebailey jakebailey commented Sep 1, 2022

From everything I've heard from the team, everyone either hits Ctrl+C once the tests pass, or explicitly passes --lint=false. Remove the post-test task that runs linting; in a previous PR I moved linting to a separate CI job, so failing to fix a lint won't break a PRs tests (and will fail fast otherwise).

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Sep 1, 2022
@jakebailey
Copy link
Member Author

I'm going to split this PR in two; the cleanups can be unrelated to not running the linter and I have noticed other eslint problems to fix in the meantime.

@jakebailey jakebailey marked this pull request as draft September 6, 2022 20:10
@jakebailey jakebailey force-pushed the remove-post-test-lint branch from 744dc89 to e958b4d Compare September 6, 2022 20:17
@jakebailey jakebailey marked this pull request as ready for review September 6, 2022 20:17
@jakebailey jakebailey changed the title Don't run linter after tests runs, refactor/consolidate CI detection Don't run linter after tests runs Sep 6, 2022
@jakebailey
Copy link
Member Author

Coming back to this over the weekend, I think what I should actually do is default lint to false, and leave the code in place, so people can still pass --lint=true if they desire. Thoughts?

@sandersn
Copy link
Member

I think you can build that yourself from gulp runtests && gulp lint if you want. (or the npm run equivalents)

@jakebailey
Copy link
Member Author

Ah, duh, of course.

@jakebailey jakebailey merged commit 68d526c into microsoft:main Sep 12, 2022
@jakebailey jakebailey deleted the remove-post-test-lint branch September 12, 2022 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants