Skip to content

Commit d703c55

Browse files
committed
Core: add 1 more list-related default hint
Based on fsprojects/fantomas@034b7b1
1 parent c978b08 commit d703c55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/FSharpLint.Core/fsharplint.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@
443443
"pattern: x::[] ===> [x]",
444444

445445
"x @ [] ===> x",
446+
"[x] @ y ===> x::y",
446447

447448
"List.isEmpty [] ===> true",
448449
"Array.isEmpty [||] ===> true",

0 commit comments

Comments
 (0)