Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Dart Long Lines

Skill Verifiziert Aktiv

Guidelines for handling long lines in Dart code to adhere to the 80-column rule. The `lines_longer_than_80_chars` lint.

Zweck

To guide developers in maintaining Dart code within the 80-column limit by providing best practices for code comments, documentation comments, and strings.

Funktionen

  • Guidelines for 80-column rule in Dart
  • Automated analysis with `dart analyze`
  • Manual search techniques using regex
  • Specific advice for code comments, doc comments, and strings
  • Examples for documentation links, adjacent strings, and multi-line strings

Anwendungsfälle

  • Writing Dart code that adheres to the 80-column limit
  • Refactoring existing Dart code to comply with the `lines_longer_than_80_chars` lint
  • Ensuring code readability and consistency across a Dart project

Nicht-Ziele

  • Automatically reformatting code
  • Enforcing other Dart linting rules beyond line length
  • Providing runtime analysis of Dart code

Installation

npx skills add flutter/skills

Führt das Vercel skills CLI (skills.sh) via npx aus — benötigt Node.js lokal und mindestens einen installierten skills-kompatiblen Agent (Claude Code, Cursor, Codex, …). Setzt voraus, dass das Repo dem agentskills.io-Format folgt.

Qualitätspunktzahl

Verifiziert
98 /100
Analysiert 1 day ago

Vertrauenssignale

Letzter Commit2 days ago
Sterne1.9k
LizenzApache-2.0
Status
Quellcode ansehen

Ähnliche Erweiterungen