1.0.1 • Published 2 years ago

@scheisse/prettier-base-config v1.0.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

@scheisse/prettier-base-config

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 @scheisse/prettier-base-config

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 prettierBaseConfig from '@scheisse/prettier-base-config'

export default {
  ...prettierBaseConfig,
  // Other custom rules or overrides can be added here
}
1.0.1

2 years ago

1.0.0

2 years ago