@berun/fluent-prettier
TypeScript icon, indicating that this package has built-in type declarations

7.3.6 • Public • Published

@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'`

/@berun/fluent-prettier/

    Package Sidebar

    Install

    npm i @berun/fluent-prettier

    Weekly Downloads

    47

    Version

    7.3.6

    License

    MPL-2.0

    Unpacked Size

    21.3 kB

    Total Files

    5

    Last publish

    Collaborators

    • tinialabs1
    • guycreate