jslint - wro4j CSS Lint Adding Custom Rules -


our team wants use wro4j tool, , have gotten setup , able run csslint , jslint. create our own custom css rules, can't find documentation on csslint rules stored , how create our own.

any appreciated.

in order add csslint rules, should update configuration options section of maven plugin:

<plugins>   <plugin>     <groupid>ro.isdc.wro4j</groupid>     <artifactid>wro4j-maven-plugin</artifactid>     <version>${wro4j.version}</version>     <executions>       <execution>     <goals>       <goal>csslint</goal>     </goals>       </execution>     </executions>     <configuration>       <options>box-model</options>     </configuration>   </plugin> </plugins> 

more details documented here.

update: rules defined csslint library (version 0.9.10). rules defined in library can referred in configuration section of maven plugin. adding custom rule not supported out of box, if need feature, feel free create feature request.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -