Skip to content

Instantly share code, notes, and snippets.

View amirelemam's full-sized avatar

Amir Elemam amirelemam

View GitHub Profile
{
"window.zoomLevel": 0,
"editor.fontSize": 16,
"editor.mouseWheelZoom": false,
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.formatOnSave": true,
"editor.suggestOnTriggerCharacters": true,
"extensions.ignoreRecommendations": true,
"emmet.triggerExpansionOnTab": true,
@amirelemam
amirelemam / .prettierrc
Created June 11, 2019 21:45
Prettier config
{
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
}
@amirelemam
amirelemam / .vimrc
Created June 11, 2019 21:44
Config for VIM
"" vimrc file
"" Author: Amir Elemam <https://github.com/amirelemam>
"" Sao Paulo, Brazil - 25 Jul 2016
"" Source: https://gist.github.com/joegoggins/8482408
" GLOBAL CONFIGS
set nocompatible " Avoids conflict between system-wide and
" local vimrc files
filetype off " Set file as plain text, initially
@amirelemam
amirelemam / logger.js
Last active April 19, 2021 16:01
Logging with winston
const winston = require('winston');
const customLevels = {
levels: {
error: 0,
warn: 1,
info: 2,
http: 3,
verbose: 4,
debug: 5,
@amirelemam
amirelemam / .eslintrc
Created June 10, 2019 22:57
ESlint config for ES6
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {