Skip to content

Improve(ESLint): Diagnostic messages and formatting in linting rules #96

Improve(ESLint): Diagnostic messages and formatting in linting rules

Improve(ESLint): Diagnostic messages and formatting in linting rules #96

Triggered via push July 9, 2026 12:56
Status Failure
Total duration 8m 7s
Artifacts

ci-release.yml

on: push
Matrix: build-examples
Matrix: test
audit-site-i18n
3m 28s
audit-site-i18n
release
0s
release
deploy-site
0s
deploy-site
publish-vscode
0s
publish-vscode
publish-open-vsx
0s
publish-open-vsx
Fit to window
Zoom out
Zoom in

Annotations

10 errors
type-check
Process completed with exit code 1.
type-check
@master/css-cli#type-check: command (/home/runner/work/css/css/packages/cli) /home/runner/setup-pnpm/node_modules/.bin/bin/pnpm run type-check exited (1)
type-check
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
test (ubuntu-latest)
Process completed with exit code 1.
test (ubuntu-latest)
@master/eslint-config-css#test: command (/home/runner/work/css/css/packages/eslint-config) /home/runner/setup-pnpm/node_modules/.bin/bin/pnpm run test exited (1)
tests/test.ts > ESLint Configuration is valid: packages/eslint-config/tests/test.ts#L10
AssertionError: expected [ …(9) ] to deeply equal [ …(9) ] - Expected + Received [ - "No consistent class order followed.", - "\"m:0.625rem\", \"m:5x\", and \"m:10x@sm\" are overridden by \"m:1.875rem\" and \"m:3.125rem@sm\".", - "No consistent class order followed.", - "Prefer \"font:xs\" over \"font:.75rem\".", - "Prefer \"font:2xl@sm\" over \"font:1.5rem@sm\".", - "Prefer \"mx:8x mt:8x\" over \"m:8x\" because \"mb:12x\" overrides part of it.", - "Prefer \"m:xl\" over \"m:8x\".", - "Prefer \"font:3xl@md\" over \"font:2rem@md\".", - "Prefer \"mb:2xl\" over \"mb:12x\".", + "Sort classes into the expected order: \"m:0.625rem m:1.875rem m:5x m:3.125rem@sm m:10x@sm\".", + "Remove classes \"m:0.625rem m:5x m:10x@sm\"; they are overridden by later classes \"m:1.875rem m:3.125rem@sm\".", + "Sort classes into the expected order: \"block m:8x mb:12x font:.75rem font:1.5rem@sm font:2rem@md\".", + "Use canonical class \"font:xs\" instead of \"font:.75rem\".", + "Use canonical class \"font:2xl@sm\" instead of \"font:1.5rem@sm\".", + "Replace \"m:8x\" with \"mx:8x mt:8x\"; later class \"mb:12x\" overrides part of \"m:8x\".", + "Use canonical class \"m:xl\" instead of \"m:8x\".", + "Use canonical class \"font:3xl@md\" instead of \"font:2rem@md\".", + "Use canonical class \"mb:2xl\" instead of \"mb:12x\".", ] ❯ tests/test.ts:10:72
test (macos-latest)
The strategy configuration was canceled because "test.ubuntu-latest" failed
test (macos-latest)
The operation was canceled.
test (windows-latest)
The strategy configuration was canceled because "test.ubuntu-latest" failed
test (windows-latest)
The operation was canceled.