패키지, 저장소 및 앱 카테고리 검색

패키지 상세v6.1.0

lints

공식 Dart 린트 규칙. Dart 팀이 제안하는 '코어' 및 '권장' 린트 세트를 정의합니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
1250만
좋아요
269
Pub 점수
160

패키지 설치

flutter pub add lints

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

공식 Dart lints 패키지는 Dart 팀이 추천하는 일관되고 깔끔하며 자연스러운 코드 스타일을 유지하기 위해 권장하는 정교하게 선별된 린트 규칙 세트를 제공합니다. 이 패키지에는 일반적인 실수를 잡고 가독성을 향상시키며 Dart 개발의 최선의 실천 방안을 촉진하는 'core' 및 '추천' 린트 규칙이 포함되어 있습니다. 프로젝트에 이 패키지를 통합함으로써 Dart의 지속적인 표준과 일치하고 다양한 플랫폼에서 높은 코드 품질을 유지할 수 있습니다.

사용 사례

  • 팀 간에 일관된 코드 스타일을 적용하기
  • 개발 초기에 잠재적 인 버그를 조기에 식별하기
  • 코드의 가독성과 유지보수성 향상
  • 자동 검사를 위한 CI/CD 파이프라인 통합
  • 대규모 Dart 프로젝트 거버넌스 지원

주요 기능

  • 다트 팀에 의해 공식적으로 유지 관리됨
  • 핵심 및 권장 린트 규칙을 포함합니다
  • Flutter pub add를 통한 간편한 통합
  • 크로스 플랫폼 호환성
  • analysis_options.yaml을 통해 구성 가능

적합한 대상

  • 표준화된 코딩 관행을 찾는 Dart 개발자
  • 코드 품질 일관성을 추구하는 팀
  • 다중 플랫폼에서 Flutter 또는 순수 Dart를 사용하는 프로젝트
  • 자동 코드 분석이 필요한 CI/CD 환경

고려 사항

  • Dart가 발전함에 따라 업데이트가 필요할 수 있습니다
  • 일부 규칙은 특정 워크플로우에 맞게 사용자 지정이 필요할 수 있습니다
  • 초기 설정은 analysis_options.yaml에서 구성이 필요합니다
  • 철저한 테스트나 코드 검토의 대체가 아님

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Overview

This repository is home to various Dart packages under the dart.dev publisher.

Packages

Package Description Issues Version
args Library for defining parsers for parsing raw command-line arguments into a set of options and values using GNU and POSIX style options. issues pub package
async Utility functions and classes related to the 'dart:async' library. issues pub package
characters String replacement with operations that are Unicode/grapheme cluster aware. issues pub package
collection Collections and utilities functions and classes related to collections. issues pub package
convert Utilities for converting between data representations. Provides a number of Sink, Codec, Decoder, and Encoder types. issues pub package
crypto Implementations of SHA, MD5, and HMAC cryptographic functions. issues pub package
fixnum Library for 32- and 64-bit signed fixed-width integers with consistent behavior between native and JS runtimes. issues pub package
lints Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team. issues pub package
logging Provides APIs for debugging and error logging, similar to loggers in other languages, such as the Closure JS Logger and java.util.logging.Logger. issues pub package
os_detect Platform independent OS detection. issues pub package
path A string-based path manipulation library. issues pub package
platform A pluggable, mockable platform information abstraction for Dart. issues pub package
typed_data Utility functions and classes related to the dart:typed_data library. issues pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트

순위