# 使用 Homebrew 安装 jslint4java

查看 jslint4java 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:jslint4java
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jslint4java
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:jslint4java
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/jslint4java>
- **版本:** 2.0.5
- **来源摘要:** Java wrapper for JavaScript Lint (jsl)
- **主页:** <https://code.google.com/archive/p/jslint4java/>
- **仓库:** <https://github.com/happygiraffe/jslint4java>
- **上游文档:** <https://github.com/happygiraffe/jslint4java#readme>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/jslint4java/jslint4java-2.0.5-dist.zip>
- **最后更新:** 2026-06-13T23:35:00+02:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- jslint4java (cli)
- jslint4java (别名)

## 依赖

- openjdk

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.0.5
- 管理器更新时间: 2026-06-13
- 本地数据: OK
- 上游仓库: https://code.google.com/archive/p/jslint4java/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

jslint4java is a Java wrapper around Douglas Crockford's JSLint. It packaged JavaScript linting for Java-centric build environments by exposing command-line, Ant, Maven, and library integrations.

### 项目历史

The Maven POM records an inception year of 2007, Dominic Mitchell as developer, Google Code issue management, and GitHub as the source-control location. The archived project description and GitHub README describe it as a simple interface for detecting potential problems in JavaScript code.

### 采用历史

The package was useful in the period before JavaScript linting consolidated around Node.js-based tools. Java shops could run JSLint from Maven or Ant without introducing a separate JavaScript runtime into the build.

### 使用方式

Typical usage was running the jar from the command line against JavaScript files, wiring the Ant task into an Ant build, or using the Maven plugin during a build phase to fail on lint errors.

### 为什么软件包爱好者会关心

jslint4java is a small fossil from the Google Code and Java build-tool era: a Java wrapper that made a JavaScript quality tool fit Maven Central, Ant, and distro packaging before npm-based linting became the common packaging path.

### 时间线

- 2007: The upstream Maven POM records the project inception year.
- 2011: Version 2.0.0 appears in the Git tag series.
- 2013: Version 2.0.5 appears as the later tagged release in the upstream repository.
- 2015: Google Code shuts down project hosting, leaving the Google Code Archive page as the historical homepage.

### Related projects

- jslint4java wraps Douglas Crockford's JSLint and relates to Java build integrations such as Ant and Maven. It predates the broader shift toward Node.js linters such as JSHint, ESLint, and npm-distributed command-line tooling.

### 来源

- <https://central.sonatype.com/artifact/com.googlecode.jslint4java/jslint4java-parent/2.0.2>
- <https://code.google.com/archive/p/jslint4java>
- <https://github.com/happygiraffe/jslint4java>
- <https://github.com/happygiraffe/jslint4java/blob/master/pom.xml>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jslint4java
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Archive and compression packages](https://www.automicvault.com/zh-hans/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [openjdk](https://www.automicvault.com/zh-hans/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [php-code-sniffer](https://www.automicvault.com/zh-hans/pkg/brew/php-code-sniffer/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linting.
- [precious](https://www.automicvault.com/zh-hans/pkg/brew/precious/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linting.
- [addlicense](https://www.automicvault.com/zh-hans/pkg/brew/addlicense/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [checkstyle](https://www.automicvault.com/zh-hans/pkg/brew/checkstyle/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, java, linting.
- [codelimit](https://www.automicvault.com/zh-hans/pkg/brew/codelimit/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [gwt](https://www.automicvault.com/zh-hans/pkg/brew/gwt/) - Shares av.db curated category or tags: cli, developer-tools, java, javascript.
- [hawkeye](https://www.automicvault.com/zh-hans/pkg/brew/hawkeye/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [jscpd](https://www.automicvault.com/zh-hans/pkg/brew/jscpd/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [pmd](https://www.automicvault.com/zh-hans/pkg/brew/pmd/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, code-quality, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/jslint4java.yml](https://github.com/automic-vault/db/blob/main/combined/jslint4java.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
