Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-9171

Add a dist/ script that detects files with no newline at the end.

    • 2
    • Storage - Ra 2022-05-16

      WiredTiger has a suite of scripts in the dist/ directory of the codebase which validate our source files for common issue, e.g. spelling, line length etc.

      WiredTiger style maintains that a file must have a newline at the end of it. Currently we don't have a script that checks this. We should add one.

      Scope:

      • Add a script to dist/ that checks for files without newlines at the end. If there is another script that already does something similar consider adding this check to that script.
      • Add that script to s_all/.
      • Test that it works correctly.

            Assignee:
            ruby.chen@mongodb.com Ruby Chen
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: