Last updated:
0 purchases
nzigen lints
Overview #
This package is a collection of lint rules recommended by Nzigen Inc. for Flutter/Dart code designed to enhance code quality, maintainability, and adherence to best practices.
These lint rules cover a broad spectrum of coding conventions, potential issues, and patterns that may impact the correctness and readability of your codebase.
Usage #
1. Installation #
In your terminal, run the following command:
dart pub add dev:nzigen_lints
copied to clipboard
or add the following to your pubspec.yaml file:
dev_dependencies:
nzigen_lints: ^1.0.4
copied to clipboard
2. Configuration #
Add the following to your analysis_options.yaml file:
include: package:nzigen_lints/recommended.yaml
copied to clipboard
3. Customization #
If you want to customize the lint rules, you can add the following to your analysis_options.yaml file:
include: package:nzigen_lints/recommended.yaml
linter:
rules:
# Add your custom lint rules here
# The following code shows examples to customize the lint rules:
# Prefer single quotes
prefer_single_quotes: false
# Use interpolation to compose strings
prefer_interpolation_to_compose_strings: false
# Use curly braces in flow control structures
curly_braces_in_flow_control_structures: false
copied to clipboard
Contributors #
Kaito Kitaya
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.