15 Star 45 Fork 5

Kenny小狼 / validator-js

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.jshintrc 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
KennyLee 提交于 2017-09-13 23:33 . 支持ES6函数参数的默认值特性
{
"-W054":false, // http://jslint.fantasy.codes/the-function-constructor-is-a-form-of-eval/
"curly": true, // true: Require {} for every new block or scope
"eqeqeq": true, // true: Require triple equals (===) for comparison
"immed": true, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
"latedef": true, // true: Require variables/functions to be defined before being used
"newcap": true, // true: Require capitalization of all constructor functions e.g. `new F()`
"noarg": true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
"sub": true, // true: Prohibit use of empty blocks
"undef": true, // true: Require all non-global variables to be declared (prevents global leaks)
"boss": true, // true: Require all defined variables be used
"eqnull": true, // true: Requires all functions run in ES5 Strict Mode
"node": true, // {int} Max depth of nested blocks (within functions)
"-W117": true, // {int} Max number statements per function
"loopfunc":true,
"-W138": true,
"esversion": 6
}
JavaScript
1
https://gitee.com/kennylee/validator-js.git
git@gitee.com:kennylee/validator-js.git
kennylee
validator-js
validator-js
master

搜索帮助