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

2.3.1 • Public • Published

@lokse/plugin-prettier

Plugin used to format output translations file using Prettier.

Installation

$ yarn add -D @lokse/plugin-prettier

Usage

Add it into plugins section of lokse config

{
    "plugins": ["@lokse/plugin-prettier"]
}

If you have Prettier config in your project it will be automatically loaded, otherwise default prettier config is used. The file where translations are outputed into is then formatted with Prettier.

Prettier plugin currently supports only JSON output format. If you need other format, please make a Feature request or better implement it and make pull request 🙂

Options

Plugin has no configuration options.

License

Lokse is licensed under the MIT License. Documentation is licensed under Creative Commons License. Created with by @horaklukas and all the great contributors.

/@lokse/plugin-prettier/

    Package Sidebar

    Install

    npm i @lokse/plugin-prettier

    Weekly Downloads

    769

    Version

    2.3.1

    License

    MIT

    Unpacked Size

    3.06 kB

    Total Files

    4

    Last publish

    Collaborators

    • ackeecz
    • horaklukas