jshint4j

Java wrapper for JSHint (http://www.jshint.com/).

Лицензия

Лицензия

MIT
Группа

Группа

pl.touk
Идентификатор

Идентификатор

jshint4j
Последняя версия

Последняя версия

2.9.5
Дата

Дата

Тип

Тип

jar
Описание

Описание

jshint4j
Java wrapper for JSHint (http://www.jshint.com/).
Ссылка на сайт

Ссылка на сайт

https://github.com/TouK/jshint4j
Система контроля версий

Система контроля версий

https://github.com/gildur/jshint4j

Скачать jshint4j

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/pl.touk/jshint4j/ -->
<dependency>
    <groupId>pl.touk</groupId>
    <artifactId>jshint4j</artifactId>
    <version>2.9.5</version>
</dependency>
// https://jarcasting.com/artifacts/pl.touk/jshint4j/
implementation 'pl.touk:jshint4j:2.9.5'
// https://jarcasting.com/artifacts/pl.touk/jshint4j/
implementation ("pl.touk:jshint4j:2.9.5")
'pl.touk:jshint4j:jar:2.9.5'
<dependency org="pl.touk" name="jshint4j" rev="2.9.5">
  <artifact name="jshint4j" type="jar" />
</dependency>
@Grapes(
@Grab(group='pl.touk', module='jshint4j', version='2.9.5')
)
libraryDependencies += "pl.touk" % "jshint4j" % "2.9.5"
[pl.touk/jshint4j "2.9.5"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.mozilla : rhino jar 1.7.7.2

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

Модули Проекта

Данный проект не имеет модулей.

jshint4j

Java wrapper for JSHint (http://www.jshint.com/).

Build Status

Usage

Add dependency to your project:

<dependency>
    <groupId>pl.gildur</groupId>
    <artifactId>jshint4j</artifactId>
    <version>1.0.1</version>
</dependency>

Use it in your code:

JsHint jsHint = new JsHint();
String source = "function test() { return x; }";
String options = "{ undef: true }";
List<Error> errors = jsHint.lint(source, options);
for (Error error : errors) {
    System.out.printf("JSHint error on line %d, character %d: %s",
            error.getLine(),
            error.getCharacter(),
            error.getReason());
}

License

MIT

pl.touk

TouK

We’re a software house based in Warsaw. We deliver custom IT systems.

Версии библиотеки

Версия
2.9.5