fis3-postprocessor-prettier
v3.1.0
Published
a code formatter of fis3 based on prettier.
Downloads
32
Maintainers
Readme
fis3-postprocessor-prettier
a code formatter of fis3 based on prettier.
install
npm install --global fis3-postprocessor-prettier
usage
// fis-conf.js
const options = {}
fis.match('*.{js,css,json,less,sass,md}', {
postprocessor: fis.plugin('prettier', options),
})
config: https://github.com/prettier/prettier#options
FYI: both options && Configuration File are supported.
links
fis3: http://fis.baidu.com/
prettier: https://github.com/prettier/prettier
license
MIT © fisker Cheung