Skip to content

Commit eeff2b8

Browse files
authored
chore: temporarily remove prettier-plugin-sentences-per-line + dedupe tseslint deps (#1500)
<!-- 👋 Hi, thanks for sending a PR to eslint-plugin-package-json! 🗂 Please fill out all fields below and make sure each item is true and [x] checked. Otherwise we may not be able to review your PR. --> ## PR Checklist - [x] Addresses an existing open issue: fixes #1495 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/main/.github/CONTRIBUTING.md) were taken ## Overview There were a few formatting issues with list after removing `prettier-plugin-sentences-per-line`. I don't have time to investigate now, will do later.
1 parent bc9aa17 commit eeff2b8

File tree

5 files changed

+9
-126
lines changed

5 files changed

+9
-126
lines changed

docs/rules/order-properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Pass in:
5454
- `"legacy"` - to order properties specified by [npm documentation](https://docs.npmjs.com/cli/v10/configuring-npm/package-json).
5555
- `"sort-package-json"` - to order properties by the default order specified in [sort-package-json](https://github.com/keithamus/sort-package-json).
5656
- `Array<string>` - to specify an array of top-level package properties to lint sorting on only those properties.
57-
All properties not in this collection will be sorted by "sort-package-json" specifications.
57+
All properties not in this collection will be sorted by "sort-package-json" specifications.
5858

5959
```json
6060
{

docs/rules/require-attribution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ When publishing a package, it's helpful to include some amount of attribution.
1414
The npm supports two ways of defining attribution in a `package.json`:
1515

1616
- `author`: this is either a string with name, email, and url combined, or an object with `name`, `email`, and `url`.
17-
This is generally the original creator of the package, or sole maintainer in smaller projects.
17+
This is generally the original creator of the package, or sole maintainer in smaller projects.
1818
- `contributors`: a list of all collaborators contributing to the project.
19-
Each item in the array has the same `name`, `email`, and `url` properties as `author` has.
19+
Each item in the array has the same `name`, `email`, and `url` properties as `author` has.
2020

2121
### Examples with Default Options (preferContributorsOnly: false)
2222

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@
9898
"prettier": "3.7.0",
9999
"prettier-plugin-curly": "0.4.0",
100100
"prettier-plugin-packagejson": "2.5.19",
101-
"prettier-plugin-sentences-per-line": "0.2.0",
102101
"prettier-plugin-sh": "0.18.0",
103102
"tsdown": "0.18.0",
104103
"typescript": "5.9.3",

pnpm-lock.yaml

Lines changed: 4 additions & 121 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prettier.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ const config = {
77
plugins: [
88
"prettier-plugin-curly",
99
"prettier-plugin-packagejson",
10-
"prettier-plugin-sentences-per-line",
10+
// To be restored once https://github.com/JoshuaKGoldberg/sentences-per-line/issues/866 is resolved
11+
// "prettier-plugin-sentences-per-line",
1112
"prettier-plugin-sh",
1213
],
1314
useTabs: true,

0 commit comments

Comments
 (0)