@boojum/prettier-config-svelte

0.0.1 • Public • Published

@boojum/prettier-config-svelte

An opinionated Prettier shareable config. It's designed to help you maintain a consistent code style and quality in your projects.

NOTE: Make sure that you have Prettier (version 3.0.0 or higher) installed in your project since this configuration relies on the ESM (ECMAScript Modules) syntax for the config file.

Installation

You can install the configuration and its dependencies using npm:

npm i -D @boojum/prettier-config-svelte

Usage

After installing the package, you need to extend the configuration in your Prettier configuration file. Here's an example of how to do it in a prettier.config.js file:

import prettierConfigSvelte from '@boojum/prettier-config-svelte'

export default {
  ...prettierConfigSvelte,
  // Custom rules or overrides can be added here.
}

/@boojum/prettier-config-svelte/

    Package Sidebar

    Install

    npm i @boojum/prettier-config-svelte

    Weekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    3.57 kB

    Total Files

    5

    Last publish

    Collaborators

    • boojum