Firefox 瀏覽器附加元件
  • 擴充套件
  • 佈景主題
    • 用於 Firefox
    • 字典與語言套件
    • 其他瀏覽器網站
    • Android 版的附加元件
登入
codefmt: lint HubL & format in Zapier + more 預覽

codefmt: lint HubL & format in Zapier + more 作者: codefmt

format and lint javascript, python, and hubl in zapier, n8n, pipedream, make, and hubspot editors. powered by biome and ruff.

也可在 Firefox for Android™ 使用也可在 Firefox for Android™ 使用
0(0 筆評分)0(0 筆評分)
1 位使用者1 位使用者
下載 Firefox 並安裝擴充套件
下載檔案
掃描 QR Code,即可在 Firefox for Android 當中開啟此擴充套件

擴充套件後設資料

畫面擷圖
No copy-paste. Format and lint code without leaving the platform.Turn messy JavaScript and Python into clean, consistent code in seconds.Format code your way with shortcuts, right-click actions, or the toolbar popup.Catch HubL syntax issues, deprecated tags, and template mistakes before publishing.No accounts, no telemetry, no stored code. Just formatting and linting.
關於此擴充套件
Format and lint your code directly inside automation platform editors

No copy-paste to VS Code or any other editor required.

Supported Platforms
  • Zapier (Code by Zapier action: JavaScript and Python)
  • n8n (Code nodes: JavaScript and Python, on n8n.io and n8n.cloud)
  • Pipedream (Code steps: JavaScript and Python)
  • Make (JavaScript code modules)
  • HubSpot Data Hub (custom code actions: JavaScript and Python)
  • HubSpot CMS / Design Manager (HubL templates with HTML and CSS contexts, plus module.js)

How It Works
  1. Open a code editor on any supported platform.
  2. Use any of three ways to format:
  3. Click the codefmt icon in your browser toolbar, then press Format Code. Lint diagnostics are listed directly in the popup.
  4. Right-click and select Format with codefmt (format only) or Fix with codefmt (format + safe lint fixes + organize imports).
  5. Press the keyboard shortcut:
    • Mac: Cmd+Shift+F
    • Windows/Linux: Ctrl+Shift+F
  6. Your code is formatted and written back to the editor instantly.
  7. A notification appears in the editor confirming the format and the number of lint diagnostics found.

Features
  • Platform-aware formatting that understands each platform's code structure:
  • Async wrappers
  • Globals
  • Return styles
  • Line-width conventions
  • Auto-detects:
  • JavaScript
  • Python
  • HubL (including HTML, CSS, and JavaScript contexts inside HubSpot Design Manager)
  • Instant lint diagnostics powered by:
  • oxlint for JavaScript (benchmarked by the Oxc project at 50–100× faster than ESLint)
  • Ruff for Python
  • JavaScript and TypeScript formatting powered by Biome, with Prettier-compatible output
  • Python formatting and linting powered by Ruff
  • HubL formatting and linting via a custom formatter built for HubSpot CMS templates
  • Fix with codefmt right-click action that applies safe Biome lint fixes and organize imports in one pass
  • Configurable formatting options:
  • Print width
  • Quote style
  • Semicolons
  • Trailing commas
  • Bracket spacing
  • Arrow parens
  • JSX quote style
  • Quote properties
  • Bracket same line
  • Organize imports
  • Sync settings from codefmt.dev with one click:
  • Configure on the web
  • Use in the extension
  • Settings are stored per platform
  • Customizable keyboard shortcut:
  • Default: Cmd+Shift+F / Ctrl+Shift+F
  • Remap at chrome://extensions/shortcuts
  • Light and dark theme support, following your system by default
  • Per-tab badge displays fmt on supported sites so you know the extension is active
  • Works with:
  • Monaco Editor
  • CodeMirror 5
  • CodeMirror 6
  • 50 KB code size limit per format request
  • 30-second request timeout with automatic retry on transient network failures

Privacy and Data Handling
  • No accounts
  • No cookies
  • No tracking
  • No telemetry
  • Formatting preferences are stored locally in your browser only
  • When you trigger a format:
  • The code currently in your editor is sent over HTTPS to codefmt.dev/api/format
  • Processed in memory
  • Returned formatted
  • Processing uses short-lived in-memory buffers and ephemeral temporary files
  • Temporary files are deleted immediately after the response is sent
  • Nothing is persisted to any database, logged, or shared with third parties
  • The extension only runs on:
  • Supported platform domains listed above
  • codefmt.dev (for the optional settings sync feature)

Privacy Policy
  • https://codefmt.dev/privacy

Security
  • Manifest V3 with minimal permissions:
  • activeTab
  • contextMenus
  • storage
  • scripting
  • Strict hostname matching:
  • Only exact supported domains can trigger format requests
  • Every internal message is validated for:
  • Sender identity
  • Origin
  • Before any network call is made
  • Hardened Content Security Policy (CSP) on extension pages
  • No remote code execution
  • All scripts are:
  • Bundled in the extension package
  • Plain human-readable JavaScript
  • Not minified
  • Built without a build step

Built On

Biome: Rust-based, Prettier-compatible formatter that powers JavaScript and TypeScript output.
  • https://biomejs.dev

oxlint: Rust-based JavaScript linter with a familiar rule set.
  • https://oxc.rs

Ruff: Rust-based Python formatter and linter used by major Python projects.
  • https://astral.sh/ruff

Learn More

Web Formatter
  • https://codefmt.dev

About and Support
  • https://codefmt.dev/about

Privacy Policy
  • https://codefmt.dev/privacy
由 1 位評論者給出 0 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
0
4
0
3
0
2
0
1
0
還沒有評論
權限與資料

必要權限:

  • 存取您在 zapier.com 網域中的資料
  • 存取您在 n8n.io 網域中的資料
  • 存取您在 n8n.cloud 網域中的資料
  • 存取您在 pipedream.com 網域中的資料
  • 存取您在 hubspot.com 網域中的資料
  • 存取您在 make.com 網域中的資料
  • 存取您在 zapier.com 的資料
  • 存取您在 n8n.io 的資料
  • 存取您在 n8n.cloud 的資料
  • 存取您在 pipedream.com 的資料
  • 存取您在 hubspot.com 的資料
  • 存取您在 make.com 的資料

選用的權限:

  • 存取您在 zapier.com 網域中的資料
  • 存取您在 n8n.io 網域中的資料
  • 存取您在 n8n.cloud 網域中的資料
  • 存取您在 pipedream.com 網域中的資料
  • 存取您在 hubspot.com 網域中的資料
  • 存取您在 make.com 網域中的資料
  • 存取您在 zapier.com 的資料
  • 存取您在 n8n.io 的資料
  • 存取您在 n8n.cloud 的資料
  • 存取您在 pipedream.com 的資料
  • 存取您在 hubspot.com 的資料
  • 存取您在 make.com 的資料
  • 存取您在 codefmt.dev 的資料

開發者聲稱必須收集下列資料:

  • 網站內容
了解更多
更多資訊
附加元件網址
  • 技術支援網站
  • 技術支援信箱
  • 複製附加元件 ID
版本
1.4.1
大小
35.16 KB
最近更新
1 個月前 (2026年6月10日)
相關分類
  • 網頁開發
授權條款
MIT License
隱私權保護政策
閱讀此附加元件的隱私權保護政策
版本紀錄
  • 瀏覽所有版本
標籤
  • dark mode
  • privacy
新增至收藏集
檢舉此附加元件
前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

下載

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新編譯版本

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

社群

  • Connect
  • Contribute
  • Developer

追蹤

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隱私權
  • Cookie
  • 法律資訊

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。Android 是 Google LLC 的註冊商標。