@dusk-network/prettier-config
v1.1.0
Published
Prettier config used by Dusk JavaScript apps
Downloads
208
Readme
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
};