比如: .toggle( [duration ] [, complete ] )中, [, complete ]是可选参数的意思以下两个是cmd命令csslint --errors=<rule[,rule]+> csslint --warnings=<rule[,rule]+>我看他们都是很类似的 都是用[,]表示可选参数那么请问:问题一: <> 跟 + 表示 什么意思?问题二: 这个究竟是什么规范?
2 回答
星星3394050
TA贡献3条经验 获得超0个赞
cmd里面复制过来的东西没有换行符的... 再发一次,不好意思. 我的node包是全局安装的. 其他命令是可以使用的 比如 csslint --list-rules cmd窗口如下: C:\Users\cxe\Desktop>csslint --ignore=order-alphabetical adjoining-classes is not a valid option. Exiting... Usage: csslint-rhino.js [options]* [file|dir]* Global Options --help Displays this information. --format=<format> Indicate which format to use for output. --list-rules Outputs all of the rules available. --quiet Only output when errors are present. --errors=<rule[,rule]+> Indicate which rules to include as errors. --warnings=<rule[,rule]+> Indicate which rules to include as warnings. --ignore=<rule[,rule]+> Indicate which rules to ignore completely. --exclude-list=<file|dir[,file|dir]+> Indicate which files/directories to exclude from being linted. --config=<file> Reads csslint options from specified file. --version Outputs the current version number.
添加回答
举报
0/150
提交
取消