Skip to content

fix: keep delimiters and directives with their documents, make recursive sort reliable - #326

Merged
pascalre merged 3 commits into
masterfrom
feat/document-handling
Nov 19, 2026
Merged

pascalre merged 3 commits into
masterfrom
feat/document-handling

fix(formatter): stay silent when formatting through the formatter

0e3e73b
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 19, 2026 in 20s

Annotations

Check warning on line 36 in src/controller/document-transformer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

arrow function is equivalent to `Boolean`. Use `Boolean` directly.

See more on https://sonarcloud.io/project/issues?id=pascalre_vscode-yaml-sort&issues=AaH1aEPUu47YQoh2NUe8&open=AaH1aEPUu47YQoh2NUe8&pullRequest=326

Check warning on line 1 in src/util/file-util.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:path` over `path`.

See more on https://sonarcloud.io/project/issues?id=pascalre_vscode-yaml-sort&issues=AaH1aERRu47YQoh2NUe-&open=AaH1aERRu47YQoh2NUe-&pullRequest=326

Check warning on line 1 in src/controller/file-sorter.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:fs` over `fs`.

See more on https://sonarcloud.io/project/issues?id=pascalre_vscode-yaml-sort&issues=AaH1aERKu47YQoh2NUe9&open=AaH1aERKu47YQoh2NUe9&pullRequest=326