no_leading_underscores_for_library_prefixes

Group: style

Maturity: stable

Linter v1.15

Since info is static, may be stale
recommendedflutter

View all Lint Rules

Using the Linter

DON’T use a leading underscore for library prefixes. There is no concept of "private" for library prefixes. When one of those has a name that starts with an underscore, it sends a confusing signal to the reader. To avoid that, don't use leading underscores in those names.

BAD

import 'dart:core' as _core;

GOOD:

import 'dart:core' as core;