Skip to content

feat: use modern AST #8

feat: use modern AST

feat: use modern AST #8

Triggered via pull request July 21, 2024 17:49
Status Failure
Total duration 23s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
Lint: node_modules/svelte/src/compiler/phases/types.d.ts#L13
Could not find a declaration file for module './scope.js'. '/home/runner/work/prettier-plugin-svelte/prettier-plugin-svelte/node_modules/svelte/src/compiler/phases/scope.js' implicitly has an 'any' type.
Lint: node_modules/svelte/src/compiler/types/index.d.ts#L11
Could not find a declaration file for module '../phases/scope.js'. '/home/runner/work/prettier-plugin-svelte/prettier-plugin-svelte/node_modules/svelte/src/compiler/phases/scope.js' implicitly has an 'any' type.
Lint: node_modules/svelte/src/compiler/types/index.d.ts#L14
Could not find a declaration file for module '../utils/compile_diagnostic.js'. '/home/runner/work/prettier-plugin-svelte/prettier-plugin-svelte/node_modules/svelte/src/compiler/utils/compile_diagnostic.js' implicitly has an 'any' type.
Lint: src/embed.ts#L61
Property 'type' does not exist on type 'SvelteOptions'.
Lint: src/embed.ts#L64
Property 'type' does not exist on type '{ start: number; end: number; styles: string; comment: Comment | null; }'.
Lint: src/embed.ts#L76
Property 'type' does not exist on type 'Node'.
Lint: src/embed.ts#L90
Property 'expression' does not exist on type 'Node'.
Lint: src/embed.ts#L91
Property 'expression' does not exist on type 'Node'.
Lint: src/embed.ts#L94
Property 'context' does not exist on type 'Node'.
Lint: src/embed.ts#L95
Property 'parameters' does not exist on type 'Node'.
Test
Process completed with exit code 1.
Lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/