Skip to content

Files

Latest commit

 

History

History
24 lines (15 loc) · 329 Bytes

object_shorthand.md

File metadata and controls

24 lines (15 loc) · 329 Bytes

Pattern: Missing use of object shorthand

Issue: -

Description

Use property value shorthand in objects, when explicit braces are used.

Examples

test = "value"

# Good
{test}
test: test

# Bad
{test: test}

Further Reading