Files
base-configs/packages/prettier-config
fiximus 569c783f0b chore(release): publish
- @ivuorinen/base-configs@2.0.28
 - @ivuorinen/browserslist-config@0.4.10
 - @ivuorinen/commitlint-config@0.3.11
 - @ivuorinen/config-checker@1.1.12
 - @ivuorinen/eslint-config@0.5.11
 - @ivuorinen/markdownlint-config@0.3.13
 - @ivuorinen/prettier-config@0.3.11
 - @ivuorinen/semantic-release-config@0.3.16
 - @ivuorinen/stylelint-config@0.3.15
2025-02-23 16:22:59 +00:00
..
2024-11-25 03:35:13 +02:00
2024-08-21 17:23:59 +03:00
2025-02-23 16:22:59 +00:00
2024-08-21 17:50:05 +03:00
2023-05-04 15:52:34 +03:00
2025-02-23 16:22:59 +00:00
2025-02-23 18:21:51 +02:00

@ivuorinen/prettier-config

npm package license MIT ivuorinen's Code Style

ivuorinen's shareable configuration for Prettier.

Table of Contents

Installation

Install this config as a devDependencies:

# npm
npm install @ivuorinen/prettier-config --save-dev

# Yarn
yarn add @ivuorinen/prettier-config --dev

After installing it, a .prettierrc.json file will be created automatically in the project's root folder with the following configuration:

"@ivuorinen/prettier-config"

Note: This method does not offer a way to extend the configuration to overwrite some properties from the shared configuration. If you need to do that, import the file in a .prettierrc.js file and export the modifications, e.g:

module.exports = {
  ...require('@ivuorinen/prettier-config'),
  // Add custom options below:
  semi: true
}

Documentations

Read the Prettier docs for more information.

Contributing

If you are interested in helping contribute, please take a look at our contribution guidelines and open an issue or pull request.

Changelog

See CHANGELOG for a human-readable history of changes.

License

Distributed under the MIT License. See LICENSE for more information.