reportDirectories top-level constant

List<String> const reportDirectories

Directories the import report reads on top of standardDirectories.

They are never sorted — nobody asked for example/ to be reformatted — but a directive in them is still a reason for a lib/ file to exist. web/ holds the only entry point a Dart web project has; example/ and tool/ are pub conventions; benchmark/ is common. Leaving them out made every file used only from there look unreferenced.

Implementation

const reportDirectories = ['example', 'tool', 'web', 'benchmark'];