搜尋套件、儲存庫與 APP 分類

套件詳情v0.1.2

dart_frog_lint

一組專為 Dart Frog 建構的 lint 规則 —— 一個快速、輕量級的 Dart 後端框架。

AndroidiOSLinuxmacOSWebWindows
近 30 天下載
19.7萬
喜歡數
5
Pub 分數
160

安裝套件

flutter pub add dart_frog_lint

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

dart_frog_lint 是一個專為 Dart Frog 設計的專業程式碼檢查套件,Dart Frog 是一個輕量級且高效能的 Dart 後端框架。它提供經過篩選的程式碼檢查規則,強制執行最佳實務、程式碼一致性以及框架特定的慣例。透過整合這些規則,開發者可以維持乾淨、可靠且符合習慣的 Dart Frog 應用程式。該套件支援所有主要平台,確保跨環境的程式碼品質一致。

適用情境

  • 強制執行 Dart Frog 編碼標準
  • 改進後端專案的程式碼一致性
  • 在CI/CD流程中自動化品質檢查
  • 指導新團隊成員遵循框架約定
  • 檢測常見的後端開發陷阱

主要特色

  • 框架特定的 lint 規則
  • 與 Flutter 和 Dart 工具鏈的整合
  • 支援所有主要平台
  • 可擴充的規則設定
  • 開發過程中的即時反饋

適合對象

  • Dart Frog 後端開發人員
  • 大規模採用 Dart Frog 的團隊
  • CI/CD 流水線整合
  • 重視程式碼品質與可維護性的專案

使用建議

  • 需要 Dart Frog 項目設定
  • 可能需要自定規則調整
  • 僅在 Dart Frog 環境中適用
  • 取決於 Dart SDK 版本相容性
  • 高級使用需要額外設定

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Dart Frog Logo Dart Frog Logo

discord dart

ci coverage style: dart frog lint License: MIT Powered by Mason

A fast, minimalistic backend framework for Dart 🎯

Originally developed by Very Good Ventures 🦄

Documentation 📝

For official documentation, please visit https://dart-frog.dev.

Packages 📦

Package Pub
dart_frog pub package
dart_frog_auth pub package
dart_frog_cli pub package
dart_frog_gen pub package
dart_frog_lint pub package
dart_frog_test pub package
dart_frog_web_socket pub package

Quick Start 🚀

Prerequisites 📝

In order to use Dart Frog you must have the Dart SDK installed on your machine.

Installing 🧑‍💻
# 📦 Install the dart_frog cli from pub.dev
dart pub global activate dart_frog_cli
Creating a Project ✨

Use the dart_frog create command to create a new project.

# 🚀 Create a new project called "my_project"
dart_frog create my_project
Start the Dev Server 🏁

Next, open the newly created project and start the dev server via:

# 🏁 Start the dev server
dart_frog dev

💡 Tip: By default port 8080 is used. A custom port can be used via the --port option.

Create a Production Build 📦

Create a production build which includes a DockerFile so that you can deploy anywhere:

# 📦 Create a production build
dart_frog build
Create New Routes and Middleware 🛣️

To add new routes and middleware to your project, use the dart_frog new command.

# 🛣️ Create a new route "/hello/world"
dart_frog new route "/hello/world"

# 🛣️ Create a new middleware for the route "/hello/world"
dart_frog new middleware "/hello/world"

Goals 🎯

Dart Frog is built on top of shelf and mason and is inspired by many tools including remix.run, next.js, and express.js.

The goal of Dart Frog is to help developers effectively build backends in Dart. Currently, Dart Frog is focused on optimizing the process of building backends which aggregate, compose, and normalize data from multiple sources.

Dart Frog provides a simple core with a small API surface area in order to reduce the learning curve and ramp-up time for developers. In addition, Dart Frog is intended to help Flutter/Dart developers maximize their productivity by having a unified tech stack that enables sharing tooling, models, and more!

Extensions 💻

  • VSCode: extends VSCode with support for Dart Frog and provides tools for effectively managing Dart Frog projects within VSCode.

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。

所在榜單