Debian Codegraph @

test_suite/import_sorting_groups.jsonnet.fmt.golden

raw
1 local a = import 'a.jsonnet';
2 local b = import 'b.jsonnet';
3
4 // shadowing - the imports in this group are not reordered
5 local b = import 'b.jsonnet';
6 local a = import 'a.jsonnet';
7 local a = import 'a.jsonnet';
8
9 // shadowing (non-consecutive) - the imports in this group are not reordered
10 local b = import 'b.jsonnet';
11 local a = import 'a.jsonnet';
12 local b = import 'a.jsonnet';
13
14 // Shadowing of variables from previous groups doesn't affect it.
15 local a = import 'a.jsonnet';
16 local b = import 'b.jsonnet';
17
18 local y = import 'x.jsonnet';
19 local z = import 'z.jsonnet';
20 // This comment separates groups
21 local w = import 'w.jsonnet';
22 local x = import 'z.jsonnet';
23
24 true