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