mirror of
https://github.com/apple/pkl.git
synced 2026-04-23 00:38:37 +02:00
Implement canonical formatter (#1107)
CLI commands also added: `pkl format check` and `pkl format apply`.
This commit is contained in:
14
pkl-formatter/src/test/files/FormatterSnippetTests/output/map-function.pkl
vendored
Normal file
14
pkl-formatter/src/test/files/FormatterSnippetTests/output/map-function.pkl
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
foo =
|
||||
Map(
|
||||
1000, "some random string",
|
||||
20000, "another random string",
|
||||
30000, "yet another random string",
|
||||
)
|
||||
|
||||
incorrect =
|
||||
Map(
|
||||
"This has", 1000000,
|
||||
"an incorrect number", 2000000,
|
||||
"of parameters", 30000000,
|
||||
"passed to Map",
|
||||
)
|
||||
Reference in New Issue
Block a user