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.
- 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.