1.1.0 • Published 2 years ago

@dusk-network/prettier-config v1.1.0

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
2 years ago

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

2 years ago

1.0.0

2 years ago