Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update plugin to use JSHint 2.9.4. #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<dependency>
<groupId>org.mozilla</groupId>
<artifactId>rhino</artifactId>
<version>1.7R4</version>
<version>1.7.7.1</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cj/jshintmojo/Mojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class Mojo extends AbstractMojo {
/**
* @parameter property="jshint.version"
*/
private String version = "2.5.6";
private String version = "2.9.4";

/**
* @parameter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

public class EmbeddedJshintCode {
public static final Map <String, String> EMBEDDED_VERSIONS =
Collections.unmodifiableMap (new HashMap <String, String> () {{
Collections.unmodifiableMap (new HashMap <String, String> () {{
put ("2.9.4", "jshint-2.9.4.js");
put ("2.5.6", "jshint-rhino-2.5.6.js");
put ("2.4.3", "jshint-rhino-2.4.3.js");
put ("2.4.1", "jshint-rhino-2.4.1.js");
Expand Down
24,438 changes: 24,438 additions & 0 deletions src/main/resources/com/cj/jshintmojo/jshint/jshint-2.9.4.js

Large diffs are not rendered by default.