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

Bump prettier version and modify config to reduce reformatting

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None

      Prettier 2.0+ has certain syntax features that aren't supported in below 2.0 (for example import type {}) we want to bump to the latest prettier but modify our configuration to reduce formatting changes to as little as possible.

      In addition now that our tooling supports import type, enable the importsNotUsedAsValues flag in tsconfig and correct imports that should be type only.

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: