Visual Studio Code(VSCODE)使用

jsHint使用

  1. 在VSCODE中安裝jsHint後,新建文件.jshintrc
  2. 放置內容 
  3. 具體配置參考 https://blog.csdn.net/zhchyun2008/article/details/105299477

{
    "globals": {
        "$": false,
        "window": false,
        "document":false
    },
    "strict": false,
    "curly": true,
    "eqeqeq": true,
    "noarg": true,
    "noempty": true,
    "quotmark": "single",
    "undef": false,
    "unused": true,
    "asi":true
}

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章