분석기 패키지는 Dart 코드에 대한 정적 분석을 수행할 수 있는 강력한 라이브러리를 제공하여 개발자가 런타임 전에 잠재적인 문제를 탐지하고 코딩 표준을 준수하며 코드 품질을 향상시킬 수 있도록 도와줍니다. 파싱, 타입 검사 및 린팅을 지원하므로 IDE, 린터 및 코드 포맷터와 같은 도구에 필수적입니다. Dart 팀에서 개발했으며 모든 주요 플랫폼의 개발 워크플로우에 원활하게 통합됩니다.
사용 사례
코드 린팅
정적 오류 탐지
IDE 통합
리팩터링 지원
코드 품질 강제 시행
주요 기능
구문 및 의미 분석
타입 추론 검증
사용자 정의 규칙 생성
크로스 플랫폼 호환성
빌드 시스템과의 통합
적합한 대상
Dart 도구 개발자
IDE 플러그인 제작자
코드 품질 팀
정적 분석 도구
Lint 규칙 작성자
고려 사항
Dart 언어 의미론에 대한 이해 필요
사용자 정의 규칙을 위한 구성이 필요할 수 있습니다
대규모 코드베이스에서의 성능 영향
제한된 런타임 디버깅 기능
SDK 버전 호환성에 따라 다릅니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Dart
An approachable, portable, and productive language for high-quality apps on any platform
Dart is:
Approachable:
Develop with a strongly typed programming language that is consistent,
concise, and offers modern language features like null safety and patterns.
Portable:
Compile to ARM, x64, or RISC-V machine code for mobile, desktop, and backend.
Compile to JavaScript or WebAssembly for the web.
Productive:
Make changes iteratively: use hot reload to see the result instantly in your running app.
Diagnose app issues using DevTools.
Dart's flexible compiler technology lets you run Dart code in different ways,
depending on your target platform and goals:
Dart Native: For programs targeting devices (mobile, desktop, server, and more),
Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an
AOT (ahead-of-time) compiler for producing machine code.
Dart Web: For programs targeting the web, Dart Web includes both a development time
compiler (dartdevc) and a production time compiler (dart2js).
Browse pub.dev for more packages and libraries contributed
by the community and the Dart team.
Our API reference documentation is published at api.dart.dev,
based on the stable release. (We also publish docs from our
beta and dev channels,
as well as from the primary development branch).