Skip to content

timeOmitTickUnit

SPGoding edited this page Apr 26, 2020 · 1 revision

Rule Details

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

Whether or not to omit the tick units of time arguments.

  • (boolean)

Examples

Default

{
    "timeOmitTickUnit": false
}

👍 Good

schedule function spgoding:test 1t

👎 Bad

schedule function spgoding:test 1

True

{
    "timeOmitTickUnit": true
}

👍 Good

schedule function spgoding:test 1

👎 Bad

schedule function spgoding:test 1t

History

This rule was introduced in DHP 2.0.0.

Clone this wiki locally