FLUTTER ECOSYSTEM

nerdzlab/NerdzFlutter-MVVMLinter

MVVM Linter 是一個設計用於強制執行 MVVM 最佳實務與程式碼標準的工具

NerdzFlutter-MVVMLinter 專案封面
Stars
0
Forks
0
最近推送(UTC)
2024年11月14日
專案狀態
未封存
NERDZ LAB GitHub avatar
GITHUB Organization

NERDZ LAB ↗

Ukraine, Lviv官方網站 ↗
語言DartSwiftKotlinObjective-C

技術主題

此儲存庫發佈的套件

使用的依賴

依賴清單 6 項

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

MVVM Linter

The MVVM Linter is a tool designed to enforce best practices and coding standards in MVVM (Model-View-ViewModel) architecture within your projects. It provides a set of rules and guidelines to help maintain code quality, readability, and consistency.

Features

  • Member Order: Enforces a specified order for class members.
  • Organize Class Order Action: Orders class members according to a predefined structure.

Installation

To install the MVVM Linter, follow these steps:

  1. Add the following dependencies to your pubspec.yaml:
flutter pub add --dev custom_lint mvvm_linter
  1. Update your analysis_options.yaml:
include: package:flutter_lints/flutter.yaml

analyzer:
  plugins:
    - custom_lint
custom_lint:
  rules:
    - mvvm_linter