aszx87410/frontend-intermediate-course

[作業] 繳交 hw10

Closed this issue · 1 comments

slack 帳號

lucrelin

哪一個作業

改掉你的壞習慣:ESLint 與 standard
作業 Github 連結

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

作業 Github Page 連結

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

其他補充說明

  1. 將hw9的index.html檔案搬移建議修改放到hw10
  2. 確認整個專案檔案結構(包含將css和js檔案分成debug ver. & production ver.)
  3. 重新調整webpack.config.js (因為semistandard的coding style建議 & 因版本問題移除uglifyJS)
  4. 重新調整gulpfile.js (因像是gulp-minify-css等等node npm好像deprecated了 & 使用gulp-stylus & 使用gulp-webpack & 使用gulp-minify取代之前在webpack中uglifyJs方案)
  5. 修改app.js的event.target重複定義問題 & 為XMLHttpRequest指明屬於window物件之下 (因為semistandard的coding style建議而修)
  6. 各個js的semistandard的coding style建議修改

不錯不錯
恭喜完成所有作業 🌮