Skip to content

Instantly share code, notes, and snippets.

@stnc
Last active October 28, 2019 03:52
Show Gist options
  • Save stnc/5918831736eb418e7ba8849f04e469aa to your computer and use it in GitHub Desktop.
Save stnc/5918831736eb418e7ba8849f04e469aa to your computer and use it in GitHub Desktop.
golang, react, git Style Guide List

Golang, React, Git Style Guide List

Golang Style Guide

https://github.com/uber-go/guide

Airbnb React/JSX Style Guide

https://github.com/airbnb/javascript/tree/master/react

Php Style Guide

https://gist.github.com/ryansechrest/8138375

GIT Style Guide

https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit-message-format

Commit Mesaj Formatı:

():

Type (Tür)

Aşağıdakilerden birisi olmalıdır:

feat: Yeni özellik

fix: Bug fix

docs: Dökümantasyon değişikliği

style: Kodun anlamını etkilemeyen değişiklik (boşlukların düzeltilmesi, kodun formatlanması, eksik noktalı virgül eklenmesi vb.)

refactor: Ne yeni özellik ekleyen ne de bug çözen kod değişikliği

perf: Performans geliştirmeye yönelik değişiklik

test: Eksik testlerin eklenmesi veya mevcut testlerin düzeltilmesi

chore: Build sürecinde kullanılan, döküman oluşturan yardımcı araçlar ve kütüphanelerde yapılan değişiklikler

-- Scope (Kapsam)

Commit ile yapılan değişikliğin yerini belirtir. Scope olarak istediğiniz bir şeyi yazabilirsiniz. Kullanılması zorunlu değildir.

-- Subject (Konu)

İngilizce, "Present tense" ve emir kipi ile yazilmalidir. Orn: "change" ("changed" veya "changes" değil) Büyük harfle başlamamalı, sonuna nokta eklenmemelidir.

Örnek:

feat: add PDF export option

fix(User): change column types to nvarchar for unicode support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment