mvvm_linter 1.2.1 mvvm_linter: ^1.2.1 copied to clipboard
The MVVM Linter is a tool designed to enforce best practices and coding standards in MVVM.
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:
- Add the following dependencies to your
pubspec.yaml
:
flutter pub add --dev custom_lint mvvm_linter
- Update your
analysis_options.yaml
:
include: package:flutter_lints/flutter.yaml
analyzer:
plugins:
- custom_lint
custom_lint:
rules:
- mvvm_linter