Search packages, repositories and app categories

Package detailsv6.1.0

lints

Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
12.5M
Likes
269
Pub points
160

Install package

flutter pub add lints

Package Overview

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

The official Dart lints package provides a curated set of lint rules recommended by the Dart team to enforce consistent, clean, and idiomatic code style across Dart projects. It includes both 'core' and 'recommended' lint rules that help catch common mistakes, improve readability, and promote best practices in Dart development. By integrating this package into your project, you ensure alignment with Dart's evolving standards and maintain high code quality across platforms.

Use cases

  • Enforcing consistent code style across teams
  • Identifying potential bugs early in development
  • Improving code readability and maintainability
  • Integrating with CI/CD pipelines for automated checks
  • Supporting large-scale Dart project governance

Key features

  • Officially maintained by the Dart team
  • Includes core and recommended lint rules
  • Easy integration via Flutter pub add
  • Cross-platform compatibility
  • Configurable through analysis_options.yaml

Suitable for

  • Dart developers seeking standardized coding practices
  • Teams aiming for code quality consistency
  • Projects using Flutter or pure Dart on multiple platforms
  • CI/CD environments requiring automated code analysis

Considerations

  • May require updates as Dart evolves
  • Some rules might need customization for specific workflows
  • Initial setup requires configuration in analysis_options.yaml
  • Not a substitute for thorough testing or code reviews

Original README

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

Overview

This repository is home to various Dart packages under the dart.dev publisher.

Packages

Package Description Issues Version
args Library for defining parsers for parsing raw command-line arguments into a set of options and values using GNU and POSIX style options. issues pub package
async Utility functions and classes related to the 'dart:async' library. issues pub package
characters String replacement with operations that are Unicode/grapheme cluster aware. issues pub package
collection Collections and utilities functions and classes related to collections. issues pub package
convert Utilities for converting between data representations. Provides a number of Sink, Codec, Decoder, and Encoder types. issues pub package
crypto Implementations of SHA, MD5, and HMAC cryptographic functions. issues pub package
fixnum Library for 32- and 64-bit signed fixed-width integers with consistent behavior between native and JS runtimes. issues pub package
lints Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team. issues pub package
logging Provides APIs for debugging and error logging, similar to loggers in other languages, such as the Closure JS Logger and java.util.logging.Logger. issues pub package
os_detect Platform independent OS detection. issues pub package
path A string-based path manipulation library. issues pub package
platform A pluggable, mockable platform information abstraction for Dart. issues pub package
typed_data Utility functions and classes related to the dart:typed_data library. issues pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.

Categories

Source repository

Projects using this package

Rankings