Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4385

Add a lint task, update column limit, and reformat codebase

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • None
    • None

    Description

      Scope

      • Increase (or remove) the column limit in .clang-format
      • Reformat the codebase, and include a .git-blame-ignore-revs to with the revision.
      • Add a lint task to Evergreen. Run the lint task as part of GitHub PR patches.

      Background & Motivation

      The 80 column line limit is a constraint that has no known motivation.
      There is no requirement to format code. This often results in unformatted code being merged, and unrelated diffs getting included in other PRs.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: