Search packages, repositories and app categories

Package detailsv1.3.0

austerity

Dart and Flutter static code analysis, but not for the faint hearted. This code tries to turn all violations in to red squiggly lines

AndroidiOSWebmacOSWindowsLinux
30-day downloads
381
Likes
29
Pub points
160

Install package

flutter pub add austerity

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Austerity is a strict static code analysis tool for Dart and Flutter that enforces rigorous coding standards by highlighting violations as red squiggly lines in your editor. Designed for developers who demand high code quality, it transforms every lint warning into a visible, actionable error. Built to be unforgiving, it helps maintain consistency and catch issues early in the development process. The tool integrates seamlessly with Flutter projects across all major platforms.

Use cases

  • Enforcing strict coding standards
  • Early detection of code quality issues
  • Maintaining consistency in large teams
  • Integrating into CI/CD pipelines
  • Improving code readability and maintainability

Key features

  • Red squiggly line enforcement
  • Strict linting rules
  • Seamless Flutter integration
  • Cross-platform support
  • Editor-level feedback
  • Customizable rule sets

Suitable for

  • Teams prioritizing code quality
  • Developers using IDEs with linting support
  • Projects requiring consistent code style
  • CI/CD environments
  • Experienced Flutter developers

Considerations

  • May be overwhelming for beginners
  • Requires careful configuration
  • Can increase build complexity
  • Not ideal for rapid prototyping
  • Potential for false positives without tuning

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

austerity

You lack discipline! It's ok, though. This is like having discipline. Maximum strictness Dart/Flutter static analysis. All lint rules, all errors.

What It Does

Enables every non-conflicting Dart lint rule and sets severity to error. Your IDE shows red squiggles for violations instead of warnings.

errors

Customize

Override any rule in your analysis_options.yaml:

include: package:austerity/analysis_options.yaml

analyzer:
  errors:
    public_member_api_docs: ignore  # or: warning

Pin Version

New Dart versions add rules which may break your build. Pin to avoid surprises:

austerity: 1.3.0  # pinned
# austerity: ^1.3.0  # may break on updates

Categories

Source repository

Projects using this package