Skip to content

fix(fmt): respect configured CSS line endings - #36520

Draft
rathodkunj2005 wants to merge 1 commit into
denoland:mainfrom
rathodkunj2005:fix/editorconfig-css-eol
Draft

fix(fmt): respect configured CSS line endings#36520
rathodkunj2005 wants to merge 1 commit into
denoland:mainfrom
rathodkunj2005:fix/editorconfig-css-eol

Conversation

@rathodkunj2005

Copy link
Copy Markdown
Contributor

Summary

  • propagate the resolved newLineKind option into the lax CSS formatter instead of always forcing LF
  • preserve the existing LF default when no line-ending option is configured
  • add regression coverage for CRLF CSS formatting

Fixes #36445

Verification

  • ./tools/format.js --check cli/tools/fmt.rs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deno fmt does not respect editorconfig end_of_line

1 participant