mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-13 14:55:58 +10:00
added js static-analysis tools #1648
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user