macOS
brew install addons-linterlocal Homebrew formula metadata
安装
brew install addons-linterlocal Homebrew formula metadata
概览
Firefox Add-ons linter, written in JavaScript
历史
addons-linter is Mozilla's JavaScript linter for Firefox add-ons and WebExtensions. It is both a standalone CLI and a library, and the README says it is used by web-ext and addons.mozilla.org.
The official GitHub repository was created in September 2015 under Mozilla. The README frames the linter as infrastructure for validating packaged or unpacked WebExtensions, with output suitable for developers and for automation.
The linter's implementation is organized around scanners, rules, collectors, and reporters. The README says it relies heavily on ESLint for JavaScript, cheerio for HTML parsing, and Fluent tooling for language packs. As of November 2021, Mozilla's dispensary library-detection work was merged into the project and exposed through a CLI script.
Official adoption is unusually direct: Mozilla documents that addons-linter is used by web-ext and addons.mozilla.org. That makes it part of the normal Firefox extension development and submission path, not just an optional local lint command.
The package is published for Node users and packaged by Homebrew in the supplied metadata. The repository API shows an active Mozilla project with GitHub Pages documentation and regular tags through the 9.x and 10.x series.
Developers install it globally from npm or use the packaged binary, then run addons-linter against an XPI/ZIP file or an extension source directory. It reports errors, warnings, notices, metadata, and JSON output for automation.
Library users can create a linter instance directly from JavaScript, pass config that mirrors CLI options, and consume structured linter results. The README also documents privileged-extension behavior behind the --privileged flag.
addons-linter matters to package people because it is validation tooling at the boundary between a source tree and a distributable browser add-on. It encodes platform policy, extension packaging expectations, and submission-time checks in a reusable CLI that downstream package managers can install like any other development tool.
安全态势
没有找到 addons-linter 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
addons-linter | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/mozilla/addons-linter
安装元数据
| 软件包键 | brew:addons-linter |
|---|---|
| 版本 | 10.9.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/addons-linter |
| 主页 | https://github.com/mozilla/addons-linter |
| 仓库 | https://github.com/mozilla/addons-linter |
| 上游文档 | https://github.com/mozilla/addons-linter#readme |
| 许可证 | MPL-2.0 |
| 源码归档 | https://registry.npmjs.org/addons-linter/-/addons-linter-10.9.0.tgz |
| 最后更新 | 2026-07-14T14:59:57Z |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | addons-linter |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.