spacemacs/layers/+tools/prettier
..
config.el
packages.el
README.org

prettier layer

Description

This layer adds support for prettier

Features:

  • Format buffer in a consistent style

Install

To use this configuration layer, add it to your ~/.spacemacs.

To install prettier globally:

  $ npm install -g prettier

Key Bindings

Key Binding Description
SPC m = format buffer in supported layers