# 使用 Homebrew 安装 jslint4java

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jslint4java
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:jslint4java
- **软件包管理器:** Homebrew
- **版本:** 2.0.5
- **来源摘要:** Java wrapper for JavaScript Lint (jsl)
- **主页:** <https://code.google.com/archive/p/jslint4java/>
- **最后更新:** 2026-06-13T23:35:00+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- jslint4java (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.0.5
## 项目历史与用法

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


## Combined YAML source

View the package source record on GitHub. [combined/jslint4java.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jslint4java.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
