Closed clingoram closed 7 years ago
vis_oram
改掉你的壞習慣:ESLint 與 standard
https://github.com/clingoram/frontend-intermediate-course/tree/master/answers/hw10
https://clingoram.github.io/frontend-intermediate-course/answers/hw10/index.html
使用semistandard,原本安裝在local,但發現無法檢測,後來以global安裝,才可以檢測。
local 的話應該也可以,只是你下指令的方式要不太一樣,或者是你可以把指令加在 package.json 裡面,例如說:
{ "scripts": { "test": "standard" } }
這樣你跑:npm run test ,應該就可以執行了
恭喜完成所有作業~
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安裝,才可以檢測。