Skip to content

Commit b8cfe56

Browse files
authored
chore: hourcekeeping, bump all (dev) deps (#715)
1 parent ca5eb3e commit b8cfe56

File tree

7 files changed

+1853
-2822
lines changed

7 files changed

+1853
-2822
lines changed

.changeset/brave-ants-laugh.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-prettier": patch
3+
---
4+
5+
chore: hourcekeeping, bump all (dev) deps

.github/workflows/ci.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -12,47 +12,47 @@ concurrency:
1212

1313
jobs:
1414
ci:
15-
name: Lint and Test on Node ${{ matrix.node-version }} (ESLint ${{ matrix.eslint-version }})
15+
name: Lint and Test on Node ${{ matrix.node }} (ESLint ${{ matrix.eslint }})
1616
runs-on: ubuntu-latest
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
node-version:
20+
node:
2121
- 22
2222
- 20
2323
- 18
24-
eslint-version:
24+
eslint:
2525
- 9
2626
- 8
2727
include:
28-
- node-version: 16
29-
eslint-version: 8
30-
- node-version: 14
31-
eslint-version: 8
28+
- node: 16
29+
eslint: 8
30+
- node: 14
31+
eslint: 8
3232

3333
steps:
3434
- uses: actions/checkout@v4
3535

3636
- uses: pnpm/action-setup@v4
3737

38-
- name: Use Node.js ${{ matrix.node-version }}
38+
- name: Use Node.js ${{ matrix.node }}
3939
uses: actions/setup-node@v4
4040
with:
41-
node-version: ${{ matrix.node-version }}
41+
node-version: ${{ matrix.node }}
4242
cache: pnpm
4343

4444
- name: Install
45-
run: pnpm install
45+
run: pnpm install --prefer-frozen-lockfile
4646

47-
- name: Install ESLint ${{ matrix.node-version }}
48-
if: ${{ matrix.eslint-version != 9 }}
49-
run: pnpm install -D eslint@${{ matrix.eslint-version }} eslint-plugin-svelte@2 svelte@3
47+
- name: Install ESLint ${{ matrix.node }}
48+
if: ${{ matrix.eslint != 9 }}
49+
run: pnpm install -D eslint@${{ matrix.eslint }} @graphql-eslint/eslint-plugin@3 eslint-plugin-svelte@2 svelte@3 vue-eslint-parser@9
5050

5151
- name: Test
5252
run: pnpm mocha
5353

5454
- name: Perf
5555
# Skip on node 14, as eslint-plugin-n contains syntax that doesn't work
5656
# with node 14
57-
if: ${{ matrix.node-version != 14 }}
57+
if: ${{ matrix.node != 14 }}
5858
run: TIMING=1 pnpm lint

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
cache: pnpm
2121

2222
- name: Install Dependencies
23-
run: pnpm install
23+
run: pnpm install --prefer-frozen-lockfile
2424

2525
- name: Create Release Pull Request or Publish to npm
2626
id: changesets

.lintstagedrc

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2-
"*.{js,md,ts}": ["eslint --cache -f friendly --fix"],
3-
"*.{json,yml}": ["prettier --write"]
2+
"*.{js,md,mjs,ts}": ["eslint --cache --fix"],
3+
"*.{json,yml}": ["prettier --write"],
4+
".*rc": ["prettier --write"]
45
}

.prettierrc

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
"prettier-plugin-svelte"
88
],
99
"overrides": [
10+
{
11+
"files": [".*rc"],
12+
"excludeFiles": [".nvmrc"],
13+
"options": {
14+
"parser": "json"
15+
}
16+
},
1017
{
1118
"files": [".changeset/**/*", "CHANGELOG.md"],
1219
"options": {

package.json

+26-26
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "eslint-plugin-prettier",
33
"version": "5.2.3",
44
"description": "Runs prettier as an eslint rule",
5-
"repository": "git+https://github.com/prettier/eslint-plugin-prettier.git",
5+
"repository": "https://github.com/prettier/eslint-plugin-prettier.git",
66
"homepage": "https://github.com/prettier/eslint-plugin-prettier#readme",
77
"author": "Teddy Katz",
88
"contributors": [
@@ -43,9 +43,9 @@
4343
"scripts": {
4444
"check": "prettier --check . && pnpm lint",
4545
"format": "prettier --write . && pnpm lint --fix",
46-
"lint": "eslint . --cache -f friendly --max-warnings 10",
46+
"lint": "eslint . --cache --max-warnings 10",
4747
"prepare": "simple-git-hooks",
48-
"release": "pnpm check && pnpm test && changeset publish",
48+
"release": "pnpm check && mocha && clean-pkg-json changeset publish",
4949
"test": "pnpm lint && mocha"
5050
},
5151
"peerDependencies": {
@@ -64,39 +64,39 @@
6464
},
6565
"dependencies": {
6666
"prettier-linter-helpers": "^1.0.0",
67-
"synckit": "^0.9.1"
67+
"synckit": "^0.10.2"
6868
},
6969
"devDependencies": {
70-
"@1stg/remark-preset": "^3.0.0",
71-
"@changesets/changelog-github": "^0.5.0",
72-
"@changesets/cli": "^2.27.1",
73-
"@commitlint/config-conventional": "^18.4.3",
70+
"@1stg/remark-preset": "^3.0.1",
71+
"@changesets/changelog-github": "^0.5.1",
72+
"@changesets/cli": "^2.28.1",
73+
"@commitlint/cli": "^19.8.0",
74+
"@commitlint/config-conventional": "^19.8.0",
7475
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
75-
"@eslint/js": "^9.21.0",
76-
"@graphql-eslint/eslint-plugin": "^3.20.1",
77-
"@html-eslint/parser": "^0.24.1",
78-
"@prettier/plugin-pug": "^3.0.0",
76+
"@eslint/js": "^9.23.0",
77+
"@graphql-eslint/eslint-plugin": "^4.3.0",
78+
"@html-eslint/parser": "^0.36.0",
79+
"@prettier/plugin-pug": "^3.2.1",
7980
"@types/prettier-linter-helpers": "^1.0.4",
80-
"commitlint": "^18.4.3",
81-
"eslint": "^9.21.0",
81+
"clean-pkg-json": "^1.2.1",
82+
"eslint": "^9.23.0",
8283
"eslint-config-prettier": "^10.1.1",
83-
"eslint-formatter-friendly": "^7.0.0",
8484
"eslint-mdx": "^3.1.5",
85-
"eslint-plugin-eslint-plugin": "^5.2.1",
85+
"eslint-plugin-eslint-plugin": "^6.4.0",
8686
"eslint-plugin-mdx": "^3.2.0",
87-
"eslint-plugin-n": "^16.5.0",
87+
"eslint-plugin-n": "^17.16.2",
8888
"eslint-plugin-prettier": "link:.",
8989
"eslint-plugin-pug": "^1.2.5",
90-
"eslint-plugin-svelte": "^3.0.2",
91-
"graphql": "^16.8.1",
92-
"lint-staged": "^15.2.0",
93-
"mocha": "^10.2.0",
90+
"eslint-plugin-svelte": "^3.3.3",
91+
"graphql": "^16.10.0",
92+
"lint-staged": "^15.5.0",
93+
"mocha": "^11.1.0",
9494
"prettier": "^3.5.3",
95-
"prettier-plugin-pkg": "^0.18.0",
96-
"prettier-plugin-svelte": "^3.1.2",
97-
"simple-git-hooks": "^2.9.0",
98-
"svelte": "^5.20.5",
99-
"vue-eslint-parser": "^9.3.2"
95+
"prettier-plugin-pkg": "^0.18.1",
96+
"prettier-plugin-svelte": "^3.3.3",
97+
"simple-git-hooks": "^2.12.1",
98+
"svelte": "^5.25.3",
99+
"vue-eslint-parser": "^10.1.1"
100100
},
101101
"pnpm": {
102102
"patchedDependencies": {

0 commit comments

Comments
 (0)