From fdb64b7da7dd5a20a7ca314815f4f7cc2ea1f699 Mon Sep 17 00:00:00 2001 From: Richard Herman Date: Thu, 25 Apr 2024 14:22:49 +0100 Subject: [PATCH] docs: add changelogs for 0.2.0 --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ README.md | 9 +++------ 2 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e1fc865 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,29 @@ + + +# Change Log + +## 0.2.0 + +### ♻️ Update + +- Update `trailingComma` from "none", to "all". +- Update `printWidth` from 180, to 120. +- Update JSON files to prefer spaces (4) instead of tabs. +- Update `.editorconfig` file to align with new configuration. +- Remove automatic multiline array formatting in favour of manual formatting. + +## 0.1.0 + +### ✨ New + +- Add recommended prettier configuration. +- Add `.editorconfig` file. diff --git a/README.md b/README.md index 00cd813..25f1391 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,8 @@ npm install @elgato/prettier-config --save-dev 2. Edit your `package.json` to reference the configuration. -```jsonc -{ - // ... - "prettier": "@elgato/prettier-config" -} +```json +"prettier": "@elgato/prettier-config" ``` ## Configuration @@ -65,7 +62,7 @@ Overriding configuration can be achieved by removing the `prettier` entry from ` module.exports = { ...require("@elgato/prettier-config"), tabWidth: 2, - useTabs: false + useTabs: false, }; ```