The common usage is to simply declare the plugin and its goals. The process-sources and process-test-sources phases will be bound to by default:
<project>
...
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jslint-maven-plugin</artifactId>
<version>1.0.2-SNAPSHOT</version>
<executions>
<execution>
<goals>
<goal>jslint</goal>
<goal>test-jslint</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
</build>
...
</project>
Please consult the goals page for information on how JSLint can be configured through this plugin.