KO
|
EN
gitlite — search
Search
#android
#hacktoberfest
#python
#java
#php
#game
#csharp
#ios
#dotnetnuke
#javascript
#unity3d
#dnn
jshint-docs-cn
★ 50
Open GitHub ↗
jsHint 配置项说明(汉化版)
Download README (.md)
Explore Similar Repositories
doc-ready
:
lets get this party started... on document ready
nunaliit
:
Nunaliit Atlas Framework
ring-proxy
:
HTTP proxy ring middleware for Clojure web applications.
minRead
:
jQuery plugin to estimate reading time a la Medium.
mds.js
:
Classic Multidimensional scaling code in Javascript
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
jshint-docs-cn
?
Download (.md)
JSHint文档汉化版 ================= ## 一. 使用方式 ### 1. 作为Node程序使用 (1)安装jshint $ npm install jshint -g (2)命令行下用jshint检查目标文件 $ jshint file.js 备注:目标文件可以有多个,文件名之间以空格分开 (3)例子 // 目标文件test.js的内容 /* jshint unused: true */ var a = 1; var b = 2; alert(b); // 命令行下检查test.js $ jshint test.js // 命令行下输出的检查结果 test.js: line 2, col 6, "a" is defined but never used. 1 error ## 三. JSHint options JSHint有两种类型的options: * enforcing -- 它们使JSHint更加严格,[详细介绍](enforcing_options.md); * relaxing -- 它们用来抑制一些警告,[详细介绍](relaxing_options.md).