Skip to content

timche/talk-prettier-and-friends

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Talk: Prettier and Friends

Slides and examples from my talk at HannoverJS in November 2017

Slides

http://slides.com/timche/formatting-code-with-prettier-and-friends

VOD

YouTube

Examples Usage

This repository contains two branches master and pre-commit-hook demonstrating two ways of formatting files in a examples folder with Prettier. Checkout package.json on both branches for more details.

master

Running Prettier manually.

# Install dependencies
npm install

# Run Prettier
npm run prettier

pre-commit-hook

Running Prettier as a Git pre-commit hook with Husky and lint-staged.

# Instal dependencies
npm install

# Add `examples/` from `master`
git checkout master examples

# Commit
git commit -m 'add examples'

About

Slides and examples from my talk at HannoverJS in November 2017

Topics

Resources

License

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors