Skip to content

chore(deps): update dependency @sxzz/eslint-config to v4 #315

chore(deps): update dependency @sxzz/eslint-config to v4

chore(deps): update dependency @sxzz/eslint-config to v4 #315

Triggered via pull request November 28, 2024 19:56
Status Failure
Total duration 1m 9s
Artifacts

unit-test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 9 warnings
lint: src/core/options.ts#L103
Move function 'normalizeObjectValues' to the outer scope
lint: src/index.ts#L155
The character class(es) '[$A-Z_a-z\u00A0-\uFFFF]', '[$A-Z_a-z\u00A0-\uFFFF]' can be simplified using the `i` flag
lint
Process completed with exit code 1.
tests/rolldown.test.ts > rolldown: tests/rolldown.test.ts#L18
Error: Snapshot `rolldown 1` mismatched - Expected + Received "import "node:process"; //#region tests/fixtures/main.js - const platform = 'darwin'; - console.log('hello "darwin"', platform); + const platform = "darwin"; + console.log("hello \"darwin\"", platform); console.log(DEV); //#endregion export { platform };" ❯ tests/rolldown.test.ts:18:16
test (ubuntu-latest, 20)
Process completed with exit code 1.
tests/rolldown.test.ts > rolldown: tests/rolldown.test.ts#L18
Error: Snapshot `rolldown 1` mismatched - Expected + Received "import "node:process"; //#region tests/fixtures/main.js - const platform = 'darwin'; - console.log('hello "darwin"', platform); + const platform = "darwin"; + console.log("hello \"darwin\"", platform); console.log(DEV); //#endregion export { platform };" ❯ tests/rolldown.test.ts:18:16
test (ubuntu-latest, 18)
Process completed with exit code 1.
tests/rolldown.test.ts > rolldown: tests/rolldown.test.ts#L18
Error: Snapshot `rolldown 1` mismatched - Expected + Received "import "node:process"; //#region tests/fixtures/main.js - const platform = 'darwin'; - console.log('hello "darwin"', platform); + const platform = "darwin"; + console.log("hello \"darwin\"", platform); console.log(DEV); //#endregion export { platform };" ❯ tests/rolldown.test.ts:18:16
test (windows-latest, 20)
Process completed with exit code 1.
tests/rolldown.test.ts > rolldown: tests/rolldown.test.ts#L18
Error: Snapshot `rolldown 1` mismatched - Expected + Received "import "node:process"; //#region tests/fixtures/main.js - const platform = 'darwin'; - console.log('hello "darwin"', platform); + const platform = "darwin"; + console.log("hello \"darwin\"", platform); console.log(DEV); //#endregion export { platform };" ❯ tests/rolldown.test.ts:18:16
test (windows-latest, 18)
Process completed with exit code 1.
lint: src/index.ts#L9
Expected "createUnplugin" to come before "UnpluginInstance"
lint: src/index.ts#L11
Expected "@rollup/pluginutils" to come before "unplugin"
lint: src/index.ts#L13
Expected "resolveOptions" to come before "ReplaceItem"
lint: tests/esbuild.test.ts#L3
Expected "esbuild" to come before "vitest"
lint: tests/rolldown.test.ts#L3
Expected "rolldown" to come before "vitest"
lint: tests/rollup.test.ts#L3
Expected "@vue-macros/test-utils" to come before "vitest"
lint: tests/vite.test.ts#L3
Expected "vite" to come before "vitest"
lint: tests/webpack.test.ts#L2
Expected "node:os" to come before "node:path"
lint: tests/webpack.test.ts#L3
Expected "node:fs/promises" to come before "node:os"