Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@sapphire/prettier-config

sapphiredev9.3kMIT2.0.0

Standard Prettier config for the Sapphire Community

sapphiredev, bot, typescript, ts, yarn, discord, sapphire, standalone

readme

Sapphire Logo

Sapphire Utilities

Common NodeJS packages for Sapphire Repositories and others.

GitHub codecov

Packages

npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm

Buy us some doughnuts

Sapphire Community is and always will be open source, even if we don't get donations. That being said, we know there are amazing people who may still want to donate just to show their appreciation. Thank you very much in advance!

We accept donations through Open Collective, Ko-fi, Paypal, Patreon and GitHub Sponsorships. You can use the buttons below to donate through your method of choice.

Donate With Address
Open Collective Click Here
Ko-fi Click Here
Patreon Click Here
PayPal Click Here

Contributors

Please make sure to read the Contributing Guide before making a pull request.

Thank you to all the people who already contributed to Sapphire!

changelog

Changelog

All notable changes to this project will be documented in this file.

@sapphire/prettier-config@2.0.0 - (2023-07-21)

🏃 Performance

  • chunk: Remove clone (#574) (049047b)

🐛 Bug Fixes

  • deps: Update all non-major dependencies (#607) (9cc8bd0)
  • deps: Update all non-major dependencies (#577) (291dd67)
  • deps: Update all non-major dependencies (#545) (40ca040)
  • deps: Update all non-major dependencies (#544) (cc78f17)

🚀 Features

  • prettier-config: Update to Prettier v3 (f7aca37)
    • 💥 BREAKING CHANGE: This package now depends on Prettier v3. The config as exported by this package is now an EcmaScript Module, which means that it can no longer be imported in CJS with require. You should update your prettier config to use ESM instead.
  • duration: Add units on Duration (#561) (eac39af)

🧪 Testing

  • Update vitest to coverage v8 (a4bc6e4)

@sapphire/prettier-config@1.4.5 - (2023-01-09)

🏠 Refactor

  • prettier-config: Remove overwrite for .all-contributorsrc (3bbaad5)
  • Split @sapphire/time-utilities into 4 sub-packages (#462) (574299a)

🐛 Bug Fixes

  • deps: Update all non-major dependencies (#532) (8033d1f)
  • deps: Update all non-major dependencies (#514) (21b07d5)
  • deps: Update all non-major dependencies (#505) (6178296)
  • deps: Update all non-major dependencies (e20f299)

📝 Documentation

  • Add @06000208 as a contributor (fa3349e)
  • Add @didinele as a contributor (42ef7b6)
  • Add @goestav as a contributor (0e56a92)
  • Add @CitTheDev as a contributor (34169ea)
  • Add @legendhimslef as a contributor (059b6f1)
  • Add @r-priyam as a contributor (fb278ba)
  • Change name of @kyranet (#451) (df4fdef)
  • Update @RealShadowNova as a contributor (a869ba0)

@sapphire/prettier-config@1.4.4 - (2022-08-20)

🐛 Bug Fixes

  • deps: Update all non-major dependencies (2308bd7)
  • deps: Update all non-major dependencies (84af0db)
  • deps: Update all non-major dependencies (50cd8de)

📝 Documentation

  • Add @muchnameless as a contributor (a1221fe)
  • Add @enxg as a contributor (d2382f0)
  • Add @EvolutionX-10 as a contributor (efc3a32)
  • Add @MajesticString as a contributor (295b3e9)
  • Add @Mzato0001 as a contributor (c790ef2)
  • Add @NotKaskus as a contributor (00da8f1)
  • Add @imranbarbhuiya as a contributor (fb674c2)
  • Add @axisiscool as a contributor (ce1aa31)
  • Add @dhruv-kaushikk as a contributor (ebbf43f)
  • Add @Commandtechno as a contributor (f1d69fa)

🧪 Testing

  • Migrate to vitest (#380) (075ec73)

@sapphire/prettier-config@1.4.3 - (2022-04-18)

Bug Fixes

  • deps: Update all non-major dependencies (b10c1b0)

Documentation

  • Fix typedoc causing OOM crashes (63ba41c)

1.4.2 (2022-04-01)

Bug Fixes

  • deps: update all non-major dependencies (308cf66)

1.4.1 (2022-03-20)

Note: Version bump only for package @sapphire/prettier-config

1.4.0 (2022-03-06)

Features

1.3.0 (2022-01-28)

Features

1.2.9 (2022-01-21)

Bug Fixes

1.2.8 (2022-01-10)

Note: Version bump only for package @sapphire/prettier-config

1.2.7 (2021-12-08)

Note: Version bump only for package @sapphire/prettier-config

1.2.6 (2021-11-25)

Bug Fixes

  • prettier-config: bump prettier dependency to 2.5.0 (dfb2d91)

1.2.5 (2021-11-25)

Bug Fixes

  • prettier-config: bump prettier dependency to 2.5.0 (dfb2d91)

1.2.4 (2021-11-06)

Note: Version bump only for package @sapphire/prettier-config

1.2.3 (2021-10-17)

Bug Fixes

  • allow more node & npm versions in engines field (5977d2a)

1.2.2 (2021-10-11)

Note: Version bump only for package @sapphire/prettier-config

1.2.1 (2021-10-08)

Note: Version bump only for package @sapphire/prettier-config

1.2.0 (2021-10-04)

Features

  • prettier-config: set minimum NodeJS to v14 (2e518dc)

1.1.6 (2021-06-27)

Note: Version bump only for package @sapphire/prettier-config

1.1.5 (2021-06-27)

Note: Version bump only for package @sapphire/prettier-config

1.1.4 (2021-06-19)

Note: Version bump only for package @sapphire/prettier-config

1.1.3 (2021-06-06)

Bug Fixes

  • remove peer deps, update dev deps, update READMEs (#124) (67256ed)

1.1.2 (2021-05-20)

Bug Fixes

  • prettier-config: mark package as side effect free (06147d3)

1.1.1 (2021-05-02)

Bug Fixes

  • drop the www. from the SapphireJS URL (494d89f)
  • update all the SapphireJS URLs from .com to .dev (f59b46d)

1.1.0 (2021-04-21)

Features

1.0.10 (2021-04-19)

Bug Fixes

  • change all Sapphire URLs from "project"->"community" & use our domain where applicable 👨‍🌾🚜 (#102) (835b408)

1.0.9 (2021-04-03)

Note: Version bump only for package @sapphire/prettier-config

1.0.8 (2021-03-16)

Bug Fixes

  • eslint-config,prettier-config: change peer dependencies for regular dependencies (188bdd9)

1.0.7 (2021-02-16)

Note: Version bump only for package @sapphire/prettier-config

1.0.6 (2021-01-16)

Note: Version bump only for package @sapphire/prettier-config

1.0.5 (2021-01-01)

Note: Version bump only for package @sapphire/prettier-config

1.0.4 (2020-12-26)

Note: Version bump only for package @sapphire/prettier-config

1.0.3 (2020-12-23)

Bug Fixes

  • discord-utilities: mention regexes to strictly match their raw formats (#48) (51c54d1)

1.0.2 (2020-12-22)

Bug Fixes

  • prettier-config: use 2-space indents for yaml files (768ce24)

1.0.1 (2020-12-22)

Note: Version bump only for package @sapphire/prettier-config

1.0.0 (2020-12-22)

Features