Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5916

Enable linting rule to enforce the use of async/await in the driver

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.6.0
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      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

      Testing Requirements

      • N/A

      Documentation Requirements

      • None

      Follow Up Requirements

      • File follow-up tickets for any more involved lint fixes that this change surfaces

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            warren.james@mongodb.com Warren James
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: