Skip to content

KualiCo/prettier-standard-formatter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prettier-standard-formatter

This tool combines the prettier pretty-printer with the popular configuration-free JavaScript Standard Style.

API

const prettierStandard = require('prettier-standard')

// There is no configuration, just like standard.
prettierStandard.format(source).then(console.log)

Editor plugins

CLI

Installation

$ yarn global add prettier-standard-formatter

Usage

$ prettier-standard-formatter --help

  Usage
    $ prettier-standard-formatter [<file|glob> ...]

  Examples
    $ prettier-standard-formatter
    $ prettier-standard-formatter index.js
    $ prettier-standard-formatter foo.js bar.js
    $ prettier-standard-formatter index.js src/**/*.js

Note: CLI will use your local installation of Prettier Standard Formatter if it's available.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%