Enable no-mixed-requires linting rule

Don't allow non-require statements mixed in with module require
statements.  We can do this now that optional dependencies were removed
in #1173.
Merge pull request #1180 from nylen/lint-no-mixed-requires

Enable no-mixed-requires linting rule