-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
Use Case
As a... Driver Engineer
I want... to use our linting tooling to error when Promise.then or Promise.catch are used
So that... we can maintain async stack traces when writing new code
User Impact
- N/A
Dependencies
- None
Unknowns
- questions that need to be answered to determine implementation
Acceptance Criteria
Implementation Requirements
- Enable use of https://github.com/github/eslint-plugin-github/blob/main/docs/rules/no-then.md linting rule in our eslint config
- address new lint failures iff they are easy to fix, otherwise, file follow-up ticket and ignore these failures with a TODO comment
Testing Requirements
- N/A
Documentation Requirements
- None
Follow Up Requirements
- File follow-up tickets for any more involved lint fixes that this change surfaces