Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 560 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 560 Bytes

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
};