pyramid_lint
Dart 및 Flutter 프로젝트를 위한 린팅 도구로, 좋은 코딩 관행을 장려합니다.
Dart 및 Flutter 프로젝트를 위한 린트 도구입니다.
^0.3.15^13.0.0^0.14.9^1.19.1^1.18.0^2.2.0^1.5.0^4.2.3^3.1.3^0.2.6^0.4.0아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Pyramid Lint logo
Pub Version Build Status License
Custom lints, quick fixes, and assists for Dart and Flutter.
Pyramid Lint extends the Dart analyzer with optional rules for general Dart code and Flutter widgets. Enable only the checks you want, apply quick fixes from your IDE, and run the same analysis from the command line with dart analyze or flutter analyze.
Built as an analyzer plugin on analysis_server_plugin.
wrap_with_stack and convert_to_for_in_iterable_indexed_loop.Analyzer plugins are configured in the root analysis_options.yaml of your package or workspace via the top-level plugins section (not the legacy analyzer.plugins list).
To add pyramid_lint to your project, add the following to your analysis_options.yaml file:
plugins:
pyramid_lint: ^3.0.0 # replace with the latest version
All Pyramid Lint rules are disabled by default. Turn them on under diagnostics:
plugins:
pyramid_lint: ^3.0.0
diagnostics:
specific_lint_rule: true
Browse the full list in the documentation or copy the recommended preset.
Some rules accept options under options:
plugins:
pyramid_lint: ^3.0.0
diagnostics:
max_lines_for_file: true
options:
max_lines_for_file:
max_lines: 300
Full guides, rule reference, and assists: docs.page/charlescyt/pyramid_lint
Contributions are welcome—issues, pull requests, and doc improvements.
See the contributing guide to get started.