Group: style

Maturity: stable

Linter v0.1.117

Since info is static, may be stale

View all Lint Rules

Using the Linter

Using values derived from the environment at compile-time, creates hidden global state and makes applications hard to understand and maintain.

DO NOT use fromEnvironment or hasEnvironment factory constructors.


const loggingLevel =
  bool.hasEnvironment('logging') ? String.fromEnvironment('logging') : null;