@sophonjs/config-prettier

    1.1.2 • Public • Published

    @sophonjs/config-prettier

    Common formatting configuration for SophonJS libraries.

    Tool: Prettier

    Supported Version: ^1.15.3

    Exposed CLI commands:

    • sophonjs-config-format
    • sophonjs-config-format-fix

    Usage

    Add prettier.config.js:

    module.exports = require('@sophonjs/config-prettier')

    Add .prettierignore:

    node_modules
    .vscode
    package.json
    dist
    .nyc_output

    Use CLI commands above in package.json:

      "scripts"{
        "format": "sophonjs-config-format",
        "format-fix": "sophonjs-config-format-fix"
      }

    Keywords

    none

    Install

    npm i @sophonjs/config-prettier

    DownloadsWeekly Downloads

    2

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    1.31 kB

    Total Files

    5

    Last publish

    Collaborators

    • superstring