brandongregoryscott / eslint-plugin-collation

ESLint plugin for making your code easier to read, with autofix and TypeScript support
https://eslint-plugin-collation.brandonscott.me
Apache License 2.0
4 stars 0 forks source link

Rule: ExportsAtEof #45

Closed brandongregoryscott closed 2 years ago

brandongregoryscott commented 2 years ago

Resolves #21 Resolves #41

-Adds a util that checks for pre-emit diagnostics before saving and bails if any are found.

Will be adding documentation in an another pass - this turned into quite the beast of a feature/rule to implement due to all of the edge cases I found, and somewhat duplicates some functionality in the NamedExportsOnly