CAFECA-IO / iSunFA

Artificial Intelligence in Financial
https://isunfa.com
GNU General Public License v3.0
0 stars 0 forks source link

Ensure all comments follow the annotation guidelines #2120

Closed godmmt closed 1 month ago

godmmt commented 1 month ago

Ensure all comments follow the annotation guidelines.

Check the folders below

src :

other issues:

godmmt commented 1 month ago

搜尋方式:

\/\/(?!\s*(Info|ToDo|Deprecated|eslint))(?!\S)
\/\/(?!.*\b(Info|ToDo|Deprecated|eslint)\b)
godmmt commented 1 month ago

src/components/landing_page_body/landing_page_body.tsx

godmmt commented 1 month ago

(由 A-Z 排序) 已檢查到:landing_page_body 未檢查:從 loading_modal 開始

godmmt commented 1 month ago

如果遇到「日期和姓名寫在 comment 最後面」的格式

可以使用正規表達式校正

搜尋模式:

(Info:|TODO:|Deprecated:)\s+(.+?)\s*\((\d{8}\s*-\s*\w+)\)

替換模式:

$1 ($3) $2

建議分開視窗,可以一邊檢查,較不易出錯,像這樣: 截圖 2024-08-21 下午6 43 23

godmmt commented 1 month ago

took 4 hours

remain 4

godmmt commented 1 month ago

took 2.5 hours

done.

Total time: 6.5 hour

finishing these: