1 Star 0 Fork 0

翟志军 / jshint-gralde

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 779 Bytes
一键复制 编辑 原始数据 按行查看 历史
Zhijun Zhai 提交于 2014-07-07 18:44 . add README.md

Jshint Gradle Plugin

Installation

determined

Configuration

  1. config jshint options

    create a named jshintConfig.json file at src/main/resources.

    jshintConfig.json file as below:

     {
         "undef":true,
         "unused":true
         
         .
         .
         .
     
     }

    jshint options

  2. config jshint-gradle plugin

    add the jshint closure at build.gradle:

    jshint { inputDirs = your_input_dir_path // require includes = ["asset/.js"] // require excludes = ["**/compase/.js"] // require version = '2.4.3' // option. the version of jshint is default 2.4.3 }

Groovy
1
https://gitee.com/zacker330/jshint-gralde.git
git@gitee.com:zacker330/jshint-gralde.git
zacker330
jshint-gralde
jshint-gralde
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891