Skip to content

dusk-network/prettier-config

Dusk Prettier configuration

Prettier configs used by Dusk JavaScript apps.

Installation

npm i -D @dusk-network/prettier-config

Usage

You need to use a .prettierrc.js file to import one or more of the configurations.

import duskJsPrettierConfig from "@dusk-network/prettier-config/js";
import duskSveltePrettierConfig from "@dusk-network/prettier-config/svelte"; // For Svelte projects only

export default {
  ...duskJsPrettierConfig,
  ...duskSveltePrettierConfig, // For Svelte projects only
};

About

⚙️ Dusk Prettier configuration

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published