パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v6.1.0

lints

公式のDart lintルール。Dartチームが推奨する「コア」と「推奨される」lintのセットを定義します。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
1250万
いいね数
269
Pub ポイント
160

パッケージをインストール

flutter pub add lints

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

公式のDart lintsパッケージは、Dartチームが推奨する一連の厳選されたlintルールを提供し、Dartプロジェクト全体で一貫性があり、清潔で自然なコードスタイルを維持するためのものです。これには「core」と「recommend」の両方のlintルールが含まれており、一般的なミスを検出したり、読みやすさを向上させたり、Dart開発におけるベストプラクティスを促進するのに役立ちます。このパッケージをプロジェクトに統合することで、Dartの進化する基準と整合性を持ち、あらゆるプラットフォームで高いコード品質を維持できます。

用途

  • チーム間で一貫したコードスタイルを適用する
  • 開発の初期段階で潜在的なバグを特定する
  • コードの可読性と保守性の向上
  • 自動チェックのためのCI/CDパイプラインとの統合
  • 大規模なDartプロジェクトのガバナンスをサポートする

主な機能

  • Dartチームによって公式にメンテナンスされています
  • コアおよび推奨される lint ルールを含む
  • Flutter pub add を通じた簡単な統合
  • クロスプラットフォーム互換性
  • analysis_options.yaml で構成可能

適している対象

  • 標準化されたコーディング慣習を求めるDart開発者
  • コード品質の一貫性を目指すチーム
  • 複数のプラットフォームでFlutterまたは純粋なDartを使用するプロジェクト
  • 自動コード分析を必要とする CI/CD環境

注意事項

  • Dartの進化に伴い、更新が必要になる場合があります
  • 一部のルールは、特定のワークフローに合わせてカスタマイズする必要がある場合があります
  • 初期設定には analysis_options.yaml での設定が必要です
  • 完全なテストやコードレビューの代わりにはなりません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

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.

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト

ランキング