@berun/fluent-prettier

Use a chaining API to generate and simplify the modification of prettier configurations.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@berun/fluent-prettier
Minified + gzip package size for @berun/fluent-prettier in KB

Readme

@berun/fluent-prettier

Use a chaining API to generate and simplify the modification of prettier configurations.

_Note: This is is part of the broader @berun/fluent suite of configurations, but may be used standalone.

Example

export default function(berun: Berun, options) {
  berun.prettier
    .semi(false)
    .bracketSpacing(true)
    .rangeStart(0)
    .insertPragma(true)
    .requirePragma(false)
    .arrowParens('always')
    .end()
}

results in `--no-semi --range-start 0 --insert-pragma --allow-parens 'always'`

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.