Pattern: Unnecessary library directive
Issue: -
DO use library directives if you want to document a library and/or annotate a library.
Example of incorrect code:
library;
Example of correct code:
/// This library does important things
library;
@TestOn('js')
library;
NOTE: Due to limitations with this lint, libraries with parts will not be flagged for unnecessary library directives.