Skip to content
SPGoding edited this page Apr 26, 2020 · 1 revision

Rule Details

🎨 Stylistic: this is a stylistic rule used by the formatting feature.

Enforce the end of line (EOL) character in mcfunction files.

  • ("auto"): use platform-specific EOL characters.
  • ("CRLF"): use \r\n as the EOL character.
  • ("LF"): use \n as the EOL character.

Examples

Default

{
    "eol": "auto"
}

CRLF

{
    "eol": "CRLF"
}

LF

{
    "eol": "LF"
}

History

This rule was introduced in DHP 2.0.0.

Clone this wiki locally