Pakete, Repositories und App-Kategorien suchen

Paketdetailsv6.1.0

lints

Offizielle Dart-Lint-Regeln. Definiert die von der Dart-Team empfohlenen 'Core'- und 'empfohlenen' Gruppe von Lints.

AndroidiOSWebmacOSWindowsLinux
30-Tage-Downloads
12,5 Mio.
Likes
269
Pub-Punkte
160

Paket installieren

flutter pub add lints

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Das offizielle Dart-Lints-Paket bietet eine sorgfältig ausgewählte Reihe von Lint-Regeln, die vom Dart-Team empfohlen werden, um einen konsistenten, sauberen und idiomatischen Code-Stil in Dart-Projekten zu gewährleisten. Es enthält sowohl 'core'- als auch 'empfohlene' Lint-Regeln, die dabei helfen, häufige Fehler zu erkennen, die Lesbarkeit zu verbessern und Best Practices im Dart-Entwicklungsumfeld zu fördern. Durch die Integration dieses Pakets in Ihr Projekt stellen Sie sicher, dass Sie mit den sich stetig weiterentwickelnden Standards von Dart übereinstimmen und eine hohe Codequalität über alle Plattformen hinweg gewährleisten.

Anwendungsfälle

  • Konsistente Code-Stil durchsetzen innerhalb von Teams
  • Potenzielle Fehler früh in der Entwicklung zu erkennen
  • Verbesserung der Lesbarkeit und Wartbarkeit des Codes
  • Integration in CI/CD-Pipelines für automatisierte Überprüfungen
  • Unterstützung der Governance von großskaligen Dart-Projekten

Hauptmerkmale

  • Offiziell von der Dart-Team gepflegt
  • Enthält Kern- und empfohlene Lint-Regeln
  • Einfache Integration über Flutter pub add
  • Plattformübergreifende Kompatibilität
  • Durch analysis_options.yaml konfigurierbar

Geeignet für

  • Dart-Entwickler, die standardisierte Codierungspraktiken suchen
  • Teams, die auf Konsistenz der Codequalität abzielen
  • Projekte, die Flutter oder reiner Dart auf mehreren Plattformen verwenden
  • CI/CD-Umgebungen, die eine automatisierte Codeanalyse erfordern

Hinweise

  • Könnte Aktualisierungen erfordern, je nachdem wie sich Dart weiterentwickelt
  • Einige Regeln müssen möglicherweise für spezifische Workflows angepasst werden
  • Die Initialkonfiguration erfordert eine Konfiguration in analysis_options.yaml
  • Kein Ersatz für gründliche Tests oder Code-Reviews

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

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.

Kategorien

Quell-Repository

Projekte, die dieses Paket verwenden

Ranglisten