Skip to content
pubscout

flame_lint

1.4.4, released 3 months ago by flame-engine.org

A strict and satisfying lint package for Flame, Flutter, or Dart projects.

WASM-ready
$ flutter pub add flame_lint
Source repository

What it does

Provides a set of strict lint rules used across Flame Engine and Blue Fire projects. It can be included in a project's analysis_options.yaml file to enforce coding standards.

AI-written summary of version 1.4.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to apply Flame Engine coding standards and lint rules to your project
  • You are looking for a strict set of lints for a Dart, Flutter, or Flame project

Skip it when

  • You prefer default Flutter lint rules without strict additions

Strengths

  • Maintained by the Flame Engine team
  • Easy to integrate into analysis_options.yaml

Weaknesses

  • Strict lint rules may require significant refactoring in existing codebases

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1

Add flame_lint as a dependency and include package:flame_lint/analysis_options.yaml in your analysis_options.yaml file.

include: package:flame_lint/analysis_options.yaml

Alternatives

Packages that do the same job and could replace flame_lint.

  • very_good_analysis

    Lint rules for Dart and Flutter used internally at Very Good Ventures.

  • bloc_lint

    Official lint rules for development when using the bloc state management library.

  • pedantic_mono

    Recommended lints for Flutter apps, packages, and plugins to encourage good coding practices.

  • leancode_lint

    An opinionated set of high-quality, robust, and up-to-date lint rules used at LeanCode.

Works with

Packages commonly used together with flame_lint: ones it builds on, ones built on it, and its own family.