Skip to content

Instantly share code, notes, and snippets.

View jonheslop's full-sized avatar
💫

Jon Heslop jonheslop

💫
View GitHub Profile
@jonheslop
jonheslop / mind-dump.md
Last active July 6, 2021 17:49
My workings on how best to integrate XO (ESLint) and Prettier into a project.

Looking into Formatters & Linters

So after a brief discussion on #nodejs it looks like people would like:

  • To use Prettier to format all our code automagically so it all sticks to one consistent style
  • To use XO as a wrapper on ESLint to enforce code-quality rules
  • To ditch Standard because as it turns out people like semicolons.

What I did first

Read the docs on:

.custom-branding #global-header,
.custom-branding #global-header .header-wrapper {
position: relative;
background-color: #238b4f;
}
.custom-branding #global-header #logo,
.custom-branding #global-header .header-wrapper #logo {
color: #ffffff;
background-image: none;
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/jonheslo/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="pure"
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 13,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',