亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

關于 js的課程 書寫規范的問題

關于 js的課程 書寫規范的問題

星星3394050 2017-03-02 20:00:41
比如: .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.


查看完整回答
反對 回復 2017-03-03
  • 2 回答
  • 0 關注
  • 1359 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號