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

パッケージ詳細v2.0.0

solid_lints

ソフトウェア業界の標準およびベストプラクティスに基づくDartおよびFlutter用のLintルール。

30日間ダウンロード
5580
いいね数
57
Pub ポイント
150

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

flutter pub add solid_lints

パッケージ概要

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

solid_lints は、コードの品質、読みやすさ、保守性に関する業界標準のベストプラクティスを強制するための Dart および Flutter ライター パッケージです。現代のソフトウェア工学の原則に沿った、厳選されたラインタグルールのセットを提供し、開発者がクリーンで一貫性があり、堅牢なコードを書くのを支援します。このパッケージは Flutter プロジェクトでの使用を目的としており、一般的な問題を早期に検出することでチーム協働を向上させ、長期的なコードの健全性を促進します。pub.dev を通じてシームレスに統合でき、solid.software によってメンテナンスされています。

用途

  • チーム間で一貫したコーディングスタイルを適用する
  • コードの可読性と保守性の向上
  • Dart/Flutter コード内のアンチパターンを自動検出
  • 静的解析によるCI/CDパイプラインのサポート
  • 検証されたベストプラクティスで新しい開発者を導く

主な機能

  • 業界標準に基づくルール
  • Dart および Flutter のベストプラクティスの包括的なカバー
  • pub.dev を通じた簡単な統合
  • 進化する基準を反映するために定期的に更新されています
  • 明確で実行可能なLintメッセージ

適している対象

  • Flutter開発チーム
  • コード品質を最優先とするプロジェクト
  • Dartのベストプラクティスを学ぶ新規開発者
  • 一貫性を必要とする大規模なアプリケーション
  • CI/CD環境

注意事項

  • プロジェクトのニーズに合わせるための初期設定が必要になる場合があります
  • 一部のルールは、個人的またはチームの好みと矛盾する可能性があります
  • lintingの概念を理解する必要があります
  • すべてのルールがすべてのプロジェクトタイプに適用されるわけではありません
  • バージョンをアップグレードする際に調整が必要になる場合があります

元の README

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

Solid Lints

style: solid $solid_lints

Flutter/Dart lints configuration based on software engineering industry standards (ISO/IEC, NIST) and best practices.

Documentation

For more detailed information and guidelines on using Solid Lints, please refer to the documentation:

  • https://lints.solid.software

Usage

Add dependency in your pubspec.yaml:

dev_dependencies:
  solid_lints: <INSERT LATEST VERSION>

Enable the plugin and include solid_lints in your project's top-level analysis_options.yaml:

include: package:solid_lints/analysis_options.yaml

plugins:
  solid_lints: <INSERT LATEST VERSION>

Also, you can use a specialized rule set designed for Dart tests. Add an analysis_options.yaml file under the test/ directory, and include the ruleset:

include: package:solid_lints/analysis_options_test.yaml

plugins:
  solid_lints: <INSERT LATEST VERSION>

Then you can see suggestions in your IDE or you can run checks manually:

dart analyze

Configuration

You can customize individual rule settings in your analysis_options.yaml:

plugins:
  solid_lints: <INSERT LATEST VERSION>

solid_lints:
  diagnostics:
    cyclomatic_complexity:
      max_complexity: 10
    avoid_non_null_assertion: true

Badge

To indicate that your project is using Solid Lints, you can use the following badge:

[![style: solid](https://img.shields.io/badge/style-solid-orange)](https://pub.dev/packages/solid_lints)

カテゴリー

依存関係

依存関係一覧 7 件

ソースリポジトリ

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