CenterForDigitalHumanities / CenterForDigitalHumanities/rerum_server_nodejs

Code Optimization

オープン
#53 コメント 0 件 リアクション 1 件 担当者 3 名 GitHub で見る

@thehabes がすでに取り組んでいます。

2022年3月25日 から。

enhancement
主要言語
JavaScript
スター
3
フォーク
6
平均マージ
2日 47分
マージ済み PR(30日)
4

説明

  • Conditional assignments
  • conditional and logical chains
  • a ? yay : boo and ??
  • hey["horse"] and hey.horse
  • obj.hasOwnProperty("__rerum") and obj?.__rerum
  • tic, single, and double quote string after = and in foo("param", 'parame', `paramete`)
  • const and let
  • semicolon that ends a line of code
  • #82
  • pass db.collection into controllers
  • separate controller actions from the database manager
  • etc.

Line it up. Be consistent. Test what you change, don't break anything.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。