Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View tashbenbetov's full-sized avatar
😎
Constantly. Need. More. Fire.

Yerzhan tashbenbetov

😎
Constantly. Need. More. Fire.
View GitHub Profile
@tashbenbetov
tashbenbetov / iterm2-solarized.md
Created July 15, 2020 05:09 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@tashbenbetov
tashbenbetov / commitizen.js
Last active December 1, 2018 07:59
Make commit great again. Commitizen config file
"use strict";
module.exports = {
// Добавим описание на русском языке ко всем типам
types: [
{
value: "build",
name: "build: Сборка проекта или изменения внешних зависимостей"
},
{ value: "ci", name: "ci: Настройка CI и работа со скриптами" },
@tashbenbetov
tashbenbetov / package.json
Last active November 20, 2018 09:03
medium-embed-package-json-example
{
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS -g './config/git/commitlint.js'"
}
},
"devDependencies": {
@tashbenbetov
tashbenbetov / commitlint.js
Last active November 20, 2018 08:27
Make commit great again. Commitlint config file
// Файл создан на основе @commitlint/config-conventional
module.exports = {
rules: {
// Тело коммита должно начинаться с пустой строки
"body-leading-blank": [2, "always"],
// Нижний колонтитул коммита должен начинаться с пустой строки
"footer-leading-blank": [2, "always"],
@tashbenbetov
tashbenbetov / commitizen-package.json
Created November 18, 2018 13:55
Make commit great again. Package.json + Commitizen
{
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
},
"cz-customizable": {
"config": "config/git/commitizen.js"
}
},
}
@tashbenbetov
tashbenbetov / parser-preset.js
Last active November 17, 2018 19:07
medium-embed-commitlintrc-example
module.exports = {
parserOpts: {
// https://commitlint.io - подробнее о соглашениях в commit-ах
headerPattern: /^([a-zа-яё()\s]*)(: MRKT-)(\d*)\s(.*)$/,
// fix(header): MRKT-750 Поправить ошибки в заголовках
headerCorrespondence: ["type+scope", "ticket", "subject"]
}
};