From 2a7cb3bc5b71ce3e130bebfcd9dd83388394a521 Mon Sep 17 00:00:00 2001 From: nnecec Date: Tue, 18 Jun 2024 17:11:56 +0800 Subject: [PATCH] Change files --- ...ettier-config-e8aecebb-5d6f-483e-9ad2-886fa47298bd.json | 7 +++++++ packages/prettier/index.js | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 change/@nnecec-prettier-config-e8aecebb-5d6f-483e-9ad2-886fa47298bd.json diff --git a/change/@nnecec-prettier-config-e8aecebb-5d6f-483e-9ad2-886fa47298bd.json b/change/@nnecec-prettier-config-e8aecebb-5d6f-483e-9ad2-886fa47298bd.json new file mode 100644 index 0000000..e5825c3 --- /dev/null +++ b/change/@nnecec-prettier-config-e8aecebb-5d6f-483e-9ad2-886fa47298bd.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "proseWrap: always for .md files", + "packageName": "@nnecec/prettier-config", + "email": "nnecec@outlook.com", + "dependentChangeType": "patch" +} diff --git a/packages/prettier/index.js b/packages/prettier/index.js index 96d0477..8077ec9 100644 --- a/packages/prettier/index.js +++ b/packages/prettier/index.js @@ -13,12 +13,6 @@ module.exports = { printWidth: 120, }, }, - { - files: ['*.md'], - options: { - proseWrap: 'never', - }, - }, ], printWidth: 100, proseWrap: 'always',