fis3-postprocessor-prettyhtml

3.1.0 • Public • Published

fis3-postprocessor-prettyhtml

a code formatter of fis3 based on prettyhtml.

styled with prettier npm npm npm

install

npm install --global fis3-postprocessor-prettyhtml

usage

// fis-conf.js
const options = {}

fis.match('*.html', {
  postprocessor: fis.plugin('prettyhtml', options),
})

config: https://github.com/Prettyhtml/prettyhtml

default options

{
  "tabWidth": 2,
  "useTabs": false,
  "printWidth": 80,
  "usePrettier": true,
  "singleQuote": false
}

NOTICE: this might change in future

links

license

MIT © fisker Cheung

Package Sidebar

Install

npm i fis3-postprocessor-prettyhtml

Weekly Downloads

0

Version

3.1.0

License

MIT

Unpacked Size

49.4 kB

Total Files

4

Last publish

Collaborators

  • fisker