aszx87410 / frontend-intermediate-course

It's a free online course about some frontend tech including Ajax, CORS, gulp, webpack and so on.
266 stars 88 forks source link

[作業] 繳交hw10 #135

Closed clingoram closed 7 years ago

clingoram commented 7 years ago

slack 帳號

vis_oram

哪一個作業

改掉你的壞習慣:ESLint 與 standard

作業 Github 連結

https://github.com/clingoram/frontend-intermediate-course/tree/master/answers/hw10

作業 Github Page 連結

https://clingoram.github.io/frontend-intermediate-course/answers/hw10/index.html

其他補充說明

使用semistandard,原本安裝在local,但發現無法檢測,後來以global安裝,才可以檢測。

aszx87410 commented 7 years ago

local 的話應該也可以,只是你下指令的方式要不太一樣,或者是你可以把指令加在 package.json 裡面,例如說:

{
  "scripts": {
    "test": "standard"
  }
}

這樣你跑:npm run test ,應該就可以執行了

恭喜完成所有作業~