Skip to content

Instantly share code, notes, and snippets.

View dev99problems's full-sized avatar
🤷
Little By Little

Gene Chulkov dev99problems

🤷
Little By Little
View GitHub Profile
@dev99problems
dev99problems / package.json
Created October 4, 2019 16:31
husky, lint-staged and prettier (minimal example)
{
"name": "example",
"version": "0.0.1",
"description": "examplio",
"main": "index.js",
"author": "Eugene Chulkov",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"husky": "^3.0.8",
[alias]
# tips from Harry Roberts
# https://csswizardry.com/2017/05/little-things-i-like-to-do-with-git/
stats = !git shortlog -sn --all --no-merges
recent = !git for-each-ref --count=5 --sort=-committerdate refs/heads/ --format='%(refname:short)'
# tips from Rob Miller
# https://gist.github.com/robmiller/6018582
br-name = "!git rev-parse --abbrev-ref HEAD"
diffmaster = "!git log --oneline origin/master..$(git br-name)"
set t_RV=
set t_vb=
call plug#begin('~/.vim/plugged')
" Initialize plugin system
Plug 'easymotion/vim-easymotion'
" Shorthand notation; fetches https://github.com/junegunn/vim-easy-align
Plug 'junegunn/vim-easy-align'
" Any valid git URL is allowed
# origin: https://github.com/JSMonk/my-vimrc/blob/master/.vimrc
call plug#begin('~/.vim/plugged')
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'bling/vim-airline'
Plug 'othree/javascript-libraries-syntax.vim'
Plug 'pangloss/vim-javascript'
Plug 'isRuslan/vim-es6'
Plug 'mattn/emmet-vim'