搜索插件、代码仓与 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.

所属分类

源码仓库

使用此插件的项目

暂无相关数据。

所在榜单