added js static-analysis tools #1648

This commit is contained in:
koo.taejin
2016-03-23 17:00:32 +09:00
parent 7bfcecde9c
commit 82902376bd
+26
View File
@@ -859,6 +859,32 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>com.cj.jshintmojo</groupId>
<artifactId>jshint-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<goals>
<goal>lint</goal>
</goals>
</execution>
</executions>
<configuration>
<options>sub, boss, newcap, loopfunc</options>
<globals></globals>
<directories>
<directory>src/main/webapp</directory>
</directories>
<excludes>
<exclude>src/main/webapp/components</exclude>
</excludes>
<reporter>jslint</reporter>
<reportFile>${project.build.directory}/jshint.xml</reportFile>
<failOnError>false</failOnError>
</configuration>
</plugin>
</plugins>
</build>