Skip to content

Commit a7c1f3b

Browse files
committedDec 22, 2023
chore: update deps
Signed-off-by: prisis <d.bannert@anolilab.de>
1 parent 933e269 commit a7c1f3b

File tree

3 files changed

+19
-45
lines changed

3 files changed

+19
-45
lines changed
 

‎packages/eslint-config/__tests__/__snapshots__/old-config-loading.test.ts.snap

-27
This file was deleted.

‎packages/eslint-config/__tests__/old-config-loading.test.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { rm } from "node:fs/promises";
33
import { join } from "node:path";
44
import { promisify } from "node:util";
55

6-
import { afterEach, beforeEach, describe, expect,it} from "vitest";
6+
import { afterEach, beforeEach, describe, expect, it } from "vitest";
77

88
const ONE_SECOND_IN_MS = 1000;
99

@@ -24,15 +24,16 @@ describe("integration - old config", () => {
2424
it(
2525
"installs & works",
2626
async () => {
27+
expect.assertions(2);
2728
await execAsync("pnpm --ignore-workspace i", { cwd: TEST_DIR });
2829

2930
const { stderr, stdout } = await execAsync("pnpm exec eslint -c ./.eslintrc.js . || true", {
3031
cwd: TEST_DIR,
3132
env: { ...process.env, FORCE_COLOR: "0" },
3233
});
3334

34-
expect(stderr.replace(TEST_DIR, "mocked-root-dir")).toMatchSnapshot("stderr", "stderr should be empty");
35-
expect(stdout.replace(TEST_DIR, "mocked-root-dir")).toMatchSnapshot("stdout", "stdout should show 4 errors");
35+
expect(stderr.replace(TEST_DIR, "mocked-root-dir")).toContain("");
36+
expect(stdout.replace(TEST_DIR, "mocked-root-dir")).toContain("4 problems (3 errors, 1 warning)");
3637
},
3738
240 * ONE_SECOND_IN_MS,
3839
);

‎packages/eslint-config/package.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,13 @@
176176
},
177177
"devDependencies": {
178178
"@anolilab/semantic-release-preset": "8.0.2",
179-
"@arthurgeron/eslint-plugin-react-usememo": "^2.1.2",
179+
"@arthurgeron/eslint-plugin-react-usememo": "^2.2.1",
180180
"@testing-library/dom": "^9.3.3",
181181
"@total-typescript/ts-reset": "^0.5.1",
182-
"@types/confusing-browser-globals": "^1.0.2",
183-
"@types/eslint": "^8.44.6",
184-
"@types/semver": "^7.5.4",
185-
"eslint": "^8.52.0",
182+
"@types/confusing-browser-globals": "^1.0.3",
183+
"@types/eslint": "^8.56.0",
184+
"@types/semver": "^7.5.6",
185+
"eslint": "^8.56.0",
186186
"eslint-find-rules": "^4.1.0",
187187
"eslint-plugin-babel": "^5.3.1",
188188
"eslint-plugin-cypress": "^2.15.1",
@@ -193,30 +193,30 @@
193193
"eslint-plugin-jest-async": "^1.0.3",
194194
"eslint-plugin-jest-dom": "^5.1.0",
195195
"eslint-plugin-jest-formatting": "^3.1.0",
196-
"eslint-plugin-jsdoc": "^46.8.2",
196+
"eslint-plugin-jsdoc": "^46.9.1",
197197
"eslint-plugin-jsx-a11y": "^6.8.0",
198198
"eslint-plugin-no-unsanitized": "^4.0.2",
199199
"eslint-plugin-prefer-object-spread": "^1.2.1",
200200
"eslint-plugin-react": "^7.33.2",
201201
"eslint-plugin-react-hooks": "^4.6.0",
202-
"eslint-plugin-react-redux": "^4.0.0",
203-
"eslint-plugin-ssr-friendly": "^1.2.0",
202+
"eslint-plugin-react-redux": "^4.1.0",
203+
"eslint-plugin-ssr-friendly": "^1.3.0",
204204
"eslint-plugin-storybook": "^0.6.15",
205205
"eslint-plugin-tailwindcss": "^3.13.0",
206-
"eslint-plugin-testing-library": "^6.1.0",
206+
"eslint-plugin-testing-library": "^6.2.0",
207207
"eslint-plugin-validate-jsx-nesting": "^0.1.1",
208-
"eslint-plugin-vitest": "^0.3.8",
208+
"eslint-plugin-vitest": "^0.3.18",
209209
"eslint-plugin-you-dont-need-lodash-underscore": "^6.13.0",
210210
"eslint-plugin-you-dont-need-momentjs": "^1.6.0",
211211
"eslint-plugin-zod": "^1.4.0",
212212
"jest": "^29.7.0",
213213
"react": "^18.2.0",
214214
"rimraf": "^5.0.5",
215-
"semantic-release": "^22.0.6",
216-
"tsup": "^7.2.0",
217-
"type-fest": "^4.6.0",
218-
"typescript": "^5.2.2",
219-
"vitest": "^0.34.6"
215+
"semantic-release": "^22.0.12",
216+
"tsup": "^8.0.1",
217+
"type-fest": "^4.8.3",
218+
"typescript": "^5.3.3",
219+
"vitest": "^1.1.0"
220220
},
221221
"peerDependencies": {
222222
"@arthurgeron/eslint-plugin-react-usememo": "^2.0.1",

0 commit comments

Comments
 (0)
Please sign in to comment.