@codingame/monaco-editor-wrapper 3.1.0 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lua2.js CHANGED
@@ -99,6 +99,7 @@ var lua = [
99
99
  "enum": [
100
100
  "action-after-return",
101
101
  "ambiguity-1",
102
+ "ambiguous-syntax",
102
103
  "args-after-dots",
103
104
  "assign-type-mismatch",
104
105
  "await-in-sync",
@@ -136,6 +137,30 @@ var lua = [
136
137
  "keyword",
137
138
  "local-limit",
138
139
  "lowercase-global",
140
+ "lua-doc-miss-sign",
141
+ "luadoc-error-diag-mode",
142
+ "luadoc-miss-alias-extends",
143
+ "luadoc-miss-alias-name",
144
+ "luadoc-miss-arg-name",
145
+ "luadoc-miss-cate-name",
146
+ "luadoc-miss-class-extends-name",
147
+ "luadoc-miss-class-name",
148
+ "luadoc-miss-diag-mode",
149
+ "luadoc-miss-diag-name",
150
+ "luadoc-miss-field-extends",
151
+ "luadoc-miss-field-name",
152
+ "luadoc-miss-fun-after-overload",
153
+ "luadoc-miss-generic-name",
154
+ "luadoc-miss-local-name",
155
+ "luadoc-miss-module-name",
156
+ "luadoc-miss-operator-name",
157
+ "luadoc-miss-param-extends",
158
+ "luadoc-miss-param-name",
159
+ "luadoc-miss-sign-name",
160
+ "luadoc-miss-symbol",
161
+ "luadoc-miss-type-name",
162
+ "luadoc-miss-vararg-type",
163
+ "luadoc-miss-version",
139
164
  "malformed-number",
140
165
  "miss-end",
141
166
  "miss-esc-x",
@@ -570,7 +595,7 @@ var lua = [
570
595
  },
571
596
  "assign-type-mismatch": {
572
597
  "default": "Opened",
573
- "description": "%config.diagnostics.assign-type-mismatch%",
598
+ "description": "Enable diagnostics for assignments in which the value's type does not match the type of the assigned variable.",
574
599
  "enum": [
575
600
  "Any",
576
601
  "Opened",
@@ -583,7 +608,7 @@ var lua = [
583
608
  },
584
609
  "await-in-sync": {
585
610
  "default": "None",
586
- "description": "%config.diagnostics.await-in-sync%",
611
+ "description": "Enable diagnostics for calls of asynchronous functions within a synchronous function.",
587
612
  "enum": [
588
613
  "Any",
589
614
  "Opened",
@@ -596,7 +621,7 @@ var lua = [
596
621
  },
597
622
  "cast-local-type": {
598
623
  "default": "Opened",
599
- "description": "%config.diagnostics.cast-local-type%",
624
+ "description": "Enable diagnostics for casts of local variables where the target type does not match the defined type.",
600
625
  "enum": [
601
626
  "Any",
602
627
  "Opened",
@@ -609,7 +634,7 @@ var lua = [
609
634
  },
610
635
  "cast-type-mismatch": {
611
636
  "default": "Opened",
612
- "description": "%config.diagnostics.cast-type-mismatch%",
637
+ "description": "Enable diagnostics for casts where the target type does not match the initial type.",
613
638
  "enum": [
614
639
  "Any",
615
640
  "Opened",
@@ -635,7 +660,7 @@ var lua = [
635
660
  },
636
661
  "close-non-object": {
637
662
  "default": "Any",
638
- "description": "%config.diagnostics.close-non-object%",
663
+ "description": "Enable diagnostics for attempts to close a variable with a non-object.",
639
664
  "enum": [
640
665
  "Any",
641
666
  "Opened",
@@ -648,7 +673,7 @@ var lua = [
648
673
  },
649
674
  "code-after-break": {
650
675
  "default": "Opened",
651
- "description": "%config.diagnostics.code-after-break%",
676
+ "description": "Enable diagnostics for code placed after a break statement in a loop.",
652
677
  "enum": [
653
678
  "Any",
654
679
  "Opened",
@@ -661,7 +686,7 @@ var lua = [
661
686
  },
662
687
  "codestyle-check": {
663
688
  "default": "None",
664
- "description": "%config.diagnostics.codestyle-check%",
689
+ "description": "Enable diagnostics for incorrectly styled lines.",
665
690
  "enum": [
666
691
  "Any",
667
692
  "Opened",
@@ -674,7 +699,7 @@ var lua = [
674
699
  },
675
700
  "count-down-loop": {
676
701
  "default": "Any",
677
- "description": "%config.diagnostics.count-down-loop%",
702
+ "description": "Enable diagnostics for `for` loops which will never reach their max/limit because the loop is incrementing instead of decrementing.",
678
703
  "enum": [
679
704
  "Any",
680
705
  "Opened",
@@ -687,7 +712,7 @@ var lua = [
687
712
  },
688
713
  "deprecated": {
689
714
  "default": "Any",
690
- "description": "%config.diagnostics.deprecated%",
715
+ "description": "Enable diagnostics to highlight deprecated API.",
691
716
  "enum": [
692
717
  "Any",
693
718
  "Opened",
@@ -700,7 +725,7 @@ var lua = [
700
725
  },
701
726
  "different-requires": {
702
727
  "default": "Any",
703
- "description": "%config.diagnostics.different-requires%",
728
+ "description": "Enable diagnostics for files which are required by two different paths.",
704
729
  "enum": [
705
730
  "Any",
706
731
  "Opened",
@@ -713,7 +738,7 @@ var lua = [
713
738
  },
714
739
  "discard-returns": {
715
740
  "default": "Any",
716
- "description": "%config.diagnostics.discard-returns%",
741
+ "description": "Enable diagnostics for calls of functions annotated with `---@nodiscard` where the return values are ignored.",
717
742
  "enum": [
718
743
  "Any",
719
744
  "Opened",
@@ -726,7 +751,7 @@ var lua = [
726
751
  },
727
752
  "doc-field-no-class": {
728
753
  "default": "Any",
729
- "description": "%config.diagnostics.doc-field-no-class%",
754
+ "description": "Enable diagnostics to highlight a field annotation without a defining class annotation.",
730
755
  "enum": [
731
756
  "Any",
732
757
  "Opened",
@@ -739,7 +764,7 @@ var lua = [
739
764
  },
740
765
  "duplicate-doc-alias": {
741
766
  "default": "Any",
742
- "description": "%config.diagnostics.duplicate-doc-alias%",
767
+ "description": "Enable diagnostics for a duplicated alias annotation name.",
743
768
  "enum": [
744
769
  "Any",
745
770
  "Opened",
@@ -752,7 +777,7 @@ var lua = [
752
777
  },
753
778
  "duplicate-doc-field": {
754
779
  "default": "Any",
755
- "description": "%config.diagnostics.duplicate-doc-field%",
780
+ "description": "Enable diagnostics for a duplicated field annotation name.",
756
781
  "enum": [
757
782
  "Any",
758
783
  "Opened",
@@ -765,7 +790,7 @@ var lua = [
765
790
  },
766
791
  "duplicate-doc-param": {
767
792
  "default": "Any",
768
- "description": "%config.diagnostics.duplicate-doc-param%",
793
+ "description": "Enable diagnostics for a duplicated param annotation name.",
769
794
  "enum": [
770
795
  "Any",
771
796
  "Opened",
@@ -791,7 +816,7 @@ var lua = [
791
816
  },
792
817
  "duplicate-set-field": {
793
818
  "default": "Any",
794
- "description": "%config.diagnostics.duplicate-set-field%",
819
+ "description": "Enable diagnostics for setting the same field in a class more than once.",
795
820
  "enum": [
796
821
  "Any",
797
822
  "Opened",
@@ -843,7 +868,7 @@ var lua = [
843
868
  },
844
869
  "missing-parameter": {
845
870
  "default": "Any",
846
- "description": "%config.diagnostics.missing-parameter%",
871
+ "description": "Enable diagnostics for function calls where the number of arguments is less than the number of annotated function parameters.",
847
872
  "enum": [
848
873
  "Any",
849
874
  "Opened",
@@ -856,7 +881,7 @@ var lua = [
856
881
  },
857
882
  "missing-return": {
858
883
  "default": "Any",
859
- "description": "%config.diagnostics.missing-return%",
884
+ "description": "Enable diagnostics for functions with return annotations which have no return statement.",
860
885
  "enum": [
861
886
  "Any",
862
887
  "Opened",
@@ -869,7 +894,7 @@ var lua = [
869
894
  },
870
895
  "missing-return-value": {
871
896
  "default": "Any",
872
- "description": "%config.diagnostics.missing-return-value%",
897
+ "description": "Enable diagnostics for return statements without values although the containing function declares returns.",
873
898
  "enum": [
874
899
  "Any",
875
900
  "Opened",
@@ -882,7 +907,7 @@ var lua = [
882
907
  },
883
908
  "need-check-nil": {
884
909
  "default": "Opened",
885
- "description": "%config.diagnostics.need-check-nil%",
910
+ "description": "Enable diagnostics for variable usages if `nil` or an optional (potentially `nil`) value was assigned to the variable before.",
886
911
  "enum": [
887
912
  "Any",
888
913
  "Opened",
@@ -895,7 +920,7 @@ var lua = [
895
920
  },
896
921
  "newfield-call": {
897
922
  "default": "Any",
898
- "description": "在字面量表中,2行代码之间缺少分隔符,在语法上被解析为了一次索引操作",
923
+ "description": "Enable newfield call diagnostics. It is raised when the parenthesis of a function call appear on the following line when defining a field in a table.",
899
924
  "enum": [
900
925
  "Any",
901
926
  "Opened",
@@ -921,7 +946,7 @@ var lua = [
921
946
  },
922
947
  "no-unknown": {
923
948
  "default": "None",
924
- "description": "%config.diagnostics.no-unknown%",
949
+ "description": "Enable diagnostics for cases in which the type cannot be inferred.",
925
950
  "enum": [
926
951
  "Any",
927
952
  "Opened",
@@ -934,7 +959,7 @@ var lua = [
934
959
  },
935
960
  "not-yieldable": {
936
961
  "default": "None",
937
- "description": "%config.diagnostics.not-yieldable%",
962
+ "description": "Enable diagnostics for calls to `coroutine.yield()` when it is not permitted.",
938
963
  "enum": [
939
964
  "Any",
940
965
  "Opened",
@@ -947,7 +972,7 @@ var lua = [
947
972
  },
948
973
  "param-type-mismatch": {
949
974
  "default": "Opened",
950
- "description": "%config.diagnostics.param-type-mismatch%",
975
+ "description": "Enable diagnostics for function calls where the type of a provided parameter does not match the type of the annotated function definition.",
951
976
  "enum": [
952
977
  "Any",
953
978
  "Opened",
@@ -986,7 +1011,7 @@ var lua = [
986
1011
  },
987
1012
  "redundant-return": {
988
1013
  "default": "Opened",
989
- "description": "%config.diagnostics.redundant-return%",
1014
+ "description": "Enable diagnostics for return statements which are not needed because the function would exit on its own.",
990
1015
  "enum": [
991
1016
  "Any",
992
1017
  "Opened",
@@ -999,7 +1024,7 @@ var lua = [
999
1024
  },
1000
1025
  "redundant-return-value": {
1001
1026
  "default": "Any",
1002
- "description": "%config.diagnostics.redundant-return-value%",
1027
+ "description": "Enable diagnostics for return statements which return an extra value which is not specified by a return annotation.",
1003
1028
  "enum": [
1004
1029
  "Any",
1005
1030
  "Opened",
@@ -1025,7 +1050,7 @@ var lua = [
1025
1050
  },
1026
1051
  "return-type-mismatch": {
1027
1052
  "default": "Opened",
1028
- "description": "%config.diagnostics.return-type-mismatch%",
1053
+ "description": "Enable diagnostics for return values whose type does not match the type declared in the corresponding return annotation.",
1029
1054
  "enum": [
1030
1055
  "Any",
1031
1056
  "Opened",
@@ -1038,7 +1063,7 @@ var lua = [
1038
1063
  },
1039
1064
  "spell-check": {
1040
1065
  "default": "None",
1041
- "description": "%config.diagnostics.spell-check%",
1066
+ "description": "Enable diagnostics for typos in strings.",
1042
1067
  "enum": [
1043
1068
  "Any",
1044
1069
  "Opened",
@@ -1064,7 +1089,7 @@ var lua = [
1064
1089
  },
1065
1090
  "unbalanced-assignments": {
1066
1091
  "default": "Any",
1067
- "description": "%config.diagnostics.unbalanced-assignments%",
1092
+ "description": "Enable diagnostics on multiple assignments if not all variables obtain a value (e.g., `local x,y = 1`).",
1068
1093
  "enum": [
1069
1094
  "Any",
1070
1095
  "Opened",
@@ -1077,7 +1102,7 @@ var lua = [
1077
1102
  },
1078
1103
  "undefined-doc-class": {
1079
1104
  "default": "Any",
1080
- "description": "%config.diagnostics.undefined-doc-class%",
1105
+ "description": "Enable diagnostics for class annotations in which an undefined class is referenced.",
1081
1106
  "enum": [
1082
1107
  "Any",
1083
1108
  "Opened",
@@ -1090,7 +1115,7 @@ var lua = [
1090
1115
  },
1091
1116
  "undefined-doc-name": {
1092
1117
  "default": "Any",
1093
- "description": "%config.diagnostics.undefined-doc-name%",
1118
+ "description": "Enable diagnostics for type annotations referencing an undefined type or alias.",
1094
1119
  "enum": [
1095
1120
  "Any",
1096
1121
  "Opened",
@@ -1103,7 +1128,7 @@ var lua = [
1103
1128
  },
1104
1129
  "undefined-doc-param": {
1105
1130
  "default": "Any",
1106
- "description": "%config.diagnostics.undefined-doc-param%",
1131
+ "description": "Enable diagnostics for cases in which a parameter annotation is given without declaring the parameter in the function definition.",
1107
1132
  "enum": [
1108
1133
  "Any",
1109
1134
  "Opened",
@@ -1129,7 +1154,7 @@ var lua = [
1129
1154
  },
1130
1155
  "undefined-field": {
1131
1156
  "default": "Opened",
1132
- "description": "%config.diagnostics.undefined-field%",
1157
+ "description": "Enable diagnostics for cases in which an undefined field of a variable is read.",
1133
1158
  "enum": [
1134
1159
  "Any",
1135
1160
  "Opened",
@@ -1155,7 +1180,7 @@ var lua = [
1155
1180
  },
1156
1181
  "unknown-cast-variable": {
1157
1182
  "default": "Any",
1158
- "description": "%config.diagnostics.unknown-cast-variable%",
1183
+ "description": "Enable diagnostics for casts of undefined variables.",
1159
1184
  "enum": [
1160
1185
  "Any",
1161
1186
  "Opened",
@@ -1168,7 +1193,7 @@ var lua = [
1168
1193
  },
1169
1194
  "unknown-diag-code": {
1170
1195
  "default": "Any",
1171
- "description": "%config.diagnostics.unknown-diag-code%",
1196
+ "description": "Enable diagnostics in cases in which an unknown diagnostics code is entered.",
1172
1197
  "enum": [
1173
1198
  "Any",
1174
1199
  "Opened",
@@ -1181,7 +1206,7 @@ var lua = [
1181
1206
  },
1182
1207
  "unknown-operator": {
1183
1208
  "default": "Any",
1184
- "description": "%config.diagnostics.unknown-operator%",
1209
+ "description": "Enable diagnostics for unknown operators.",
1185
1210
  "enum": [
1186
1211
  "Any",
1187
1212
  "Opened",
@@ -1194,7 +1219,7 @@ var lua = [
1194
1219
  },
1195
1220
  "unreachable-code": {
1196
1221
  "default": "Opened",
1197
- "description": "%config.diagnostics.unreachable-code%",
1222
+ "description": "Enable diagnostics for unreachable code.",
1198
1223
  "enum": [
1199
1224
  "Any",
1200
1225
  "Opened",
@@ -1283,7 +1308,7 @@ var lua = [
1283
1308
  },
1284
1309
  "assign-type-mismatch": {
1285
1310
  "default": "Warning",
1286
- "description": "%config.diagnostics.assign-type-mismatch%",
1311
+ "description": "Enable diagnostics for assignments in which the value's type does not match the type of the assigned variable.",
1287
1312
  "enum": [
1288
1313
  "Error",
1289
1314
  "Warning",
@@ -1298,7 +1323,7 @@ var lua = [
1298
1323
  },
1299
1324
  "await-in-sync": {
1300
1325
  "default": "Warning",
1301
- "description": "%config.diagnostics.await-in-sync%",
1326
+ "description": "Enable diagnostics for calls of asynchronous functions within a synchronous function.",
1302
1327
  "enum": [
1303
1328
  "Error",
1304
1329
  "Warning",
@@ -1313,7 +1338,7 @@ var lua = [
1313
1338
  },
1314
1339
  "cast-local-type": {
1315
1340
  "default": "Warning",
1316
- "description": "%config.diagnostics.cast-local-type%",
1341
+ "description": "Enable diagnostics for casts of local variables where the target type does not match the defined type.",
1317
1342
  "enum": [
1318
1343
  "Error",
1319
1344
  "Warning",
@@ -1328,7 +1353,7 @@ var lua = [
1328
1353
  },
1329
1354
  "cast-type-mismatch": {
1330
1355
  "default": "Warning",
1331
- "description": "%config.diagnostics.cast-type-mismatch%",
1356
+ "description": "Enable diagnostics for casts where the target type does not match the initial type.",
1332
1357
  "enum": [
1333
1358
  "Error",
1334
1359
  "Warning",
@@ -1358,7 +1383,7 @@ var lua = [
1358
1383
  },
1359
1384
  "close-non-object": {
1360
1385
  "default": "Warning",
1361
- "description": "%config.diagnostics.close-non-object%",
1386
+ "description": "Enable diagnostics for attempts to close a variable with a non-object.",
1362
1387
  "enum": [
1363
1388
  "Error",
1364
1389
  "Warning",
@@ -1373,7 +1398,7 @@ var lua = [
1373
1398
  },
1374
1399
  "code-after-break": {
1375
1400
  "default": "Hint",
1376
- "description": "%config.diagnostics.code-after-break%",
1401
+ "description": "Enable diagnostics for code placed after a break statement in a loop.",
1377
1402
  "enum": [
1378
1403
  "Error",
1379
1404
  "Warning",
@@ -1388,7 +1413,7 @@ var lua = [
1388
1413
  },
1389
1414
  "codestyle-check": {
1390
1415
  "default": "Warning",
1391
- "description": "%config.diagnostics.codestyle-check%",
1416
+ "description": "Enable diagnostics for incorrectly styled lines.",
1392
1417
  "enum": [
1393
1418
  "Error",
1394
1419
  "Warning",
@@ -1403,7 +1428,7 @@ var lua = [
1403
1428
  },
1404
1429
  "count-down-loop": {
1405
1430
  "default": "Warning",
1406
- "description": "%config.diagnostics.count-down-loop%",
1431
+ "description": "Enable diagnostics for `for` loops which will never reach their max/limit because the loop is incrementing instead of decrementing.",
1407
1432
  "enum": [
1408
1433
  "Error",
1409
1434
  "Warning",
@@ -1418,7 +1443,7 @@ var lua = [
1418
1443
  },
1419
1444
  "deprecated": {
1420
1445
  "default": "Warning",
1421
- "description": "%config.diagnostics.deprecated%",
1446
+ "description": "Enable diagnostics to highlight deprecated API.",
1422
1447
  "enum": [
1423
1448
  "Error",
1424
1449
  "Warning",
@@ -1433,7 +1458,7 @@ var lua = [
1433
1458
  },
1434
1459
  "different-requires": {
1435
1460
  "default": "Warning",
1436
- "description": "%config.diagnostics.different-requires%",
1461
+ "description": "Enable diagnostics for files which are required by two different paths.",
1437
1462
  "enum": [
1438
1463
  "Error",
1439
1464
  "Warning",
@@ -1448,7 +1473,7 @@ var lua = [
1448
1473
  },
1449
1474
  "discard-returns": {
1450
1475
  "default": "Warning",
1451
- "description": "%config.diagnostics.discard-returns%",
1476
+ "description": "Enable diagnostics for calls of functions annotated with `---@nodiscard` where the return values are ignored.",
1452
1477
  "enum": [
1453
1478
  "Error",
1454
1479
  "Warning",
@@ -1463,7 +1488,7 @@ var lua = [
1463
1488
  },
1464
1489
  "doc-field-no-class": {
1465
1490
  "default": "Warning",
1466
- "description": "%config.diagnostics.doc-field-no-class%",
1491
+ "description": "Enable diagnostics to highlight a field annotation without a defining class annotation.",
1467
1492
  "enum": [
1468
1493
  "Error",
1469
1494
  "Warning",
@@ -1478,7 +1503,7 @@ var lua = [
1478
1503
  },
1479
1504
  "duplicate-doc-alias": {
1480
1505
  "default": "Warning",
1481
- "description": "%config.diagnostics.duplicate-doc-alias%",
1506
+ "description": "Enable diagnostics for a duplicated alias annotation name.",
1482
1507
  "enum": [
1483
1508
  "Error",
1484
1509
  "Warning",
@@ -1493,7 +1518,7 @@ var lua = [
1493
1518
  },
1494
1519
  "duplicate-doc-field": {
1495
1520
  "default": "Warning",
1496
- "description": "%config.diagnostics.duplicate-doc-field%",
1521
+ "description": "Enable diagnostics for a duplicated field annotation name.",
1497
1522
  "enum": [
1498
1523
  "Error",
1499
1524
  "Warning",
@@ -1508,7 +1533,7 @@ var lua = [
1508
1533
  },
1509
1534
  "duplicate-doc-param": {
1510
1535
  "default": "Warning",
1511
- "description": "%config.diagnostics.duplicate-doc-param%",
1536
+ "description": "Enable diagnostics for a duplicated param annotation name.",
1512
1537
  "enum": [
1513
1538
  "Error",
1514
1539
  "Warning",
@@ -1538,7 +1563,7 @@ var lua = [
1538
1563
  },
1539
1564
  "duplicate-set-field": {
1540
1565
  "default": "Warning",
1541
- "description": "%config.diagnostics.duplicate-set-field%",
1566
+ "description": "Enable diagnostics for setting the same field in a class more than once.",
1542
1567
  "enum": [
1543
1568
  "Error",
1544
1569
  "Warning",
@@ -1598,7 +1623,7 @@ var lua = [
1598
1623
  },
1599
1624
  "missing-parameter": {
1600
1625
  "default": "Warning",
1601
- "description": "%config.diagnostics.missing-parameter%",
1626
+ "description": "Enable diagnostics for function calls where the number of arguments is less than the number of annotated function parameters.",
1602
1627
  "enum": [
1603
1628
  "Error",
1604
1629
  "Warning",
@@ -1613,7 +1638,7 @@ var lua = [
1613
1638
  },
1614
1639
  "missing-return": {
1615
1640
  "default": "Warning",
1616
- "description": "%config.diagnostics.missing-return%",
1641
+ "description": "Enable diagnostics for functions with return annotations which have no return statement.",
1617
1642
  "enum": [
1618
1643
  "Error",
1619
1644
  "Warning",
@@ -1628,7 +1653,7 @@ var lua = [
1628
1653
  },
1629
1654
  "missing-return-value": {
1630
1655
  "default": "Warning",
1631
- "description": "%config.diagnostics.missing-return-value%",
1656
+ "description": "Enable diagnostics for return statements without values although the containing function declares returns.",
1632
1657
  "enum": [
1633
1658
  "Error",
1634
1659
  "Warning",
@@ -1643,7 +1668,7 @@ var lua = [
1643
1668
  },
1644
1669
  "need-check-nil": {
1645
1670
  "default": "Warning",
1646
- "description": "%config.diagnostics.need-check-nil%",
1671
+ "description": "Enable diagnostics for variable usages if `nil` or an optional (potentially `nil`) value was assigned to the variable before.",
1647
1672
  "enum": [
1648
1673
  "Error",
1649
1674
  "Warning",
@@ -1658,7 +1683,7 @@ var lua = [
1658
1683
  },
1659
1684
  "newfield-call": {
1660
1685
  "default": "Warning",
1661
- "description": "在字面量表中,2行代码之间缺少分隔符,在语法上被解析为了一次索引操作",
1686
+ "description": "Enable newfield call diagnostics. It is raised when the parenthesis of a function call appear on the following line when defining a field in a table.",
1662
1687
  "enum": [
1663
1688
  "Error",
1664
1689
  "Warning",
@@ -1688,7 +1713,7 @@ var lua = [
1688
1713
  },
1689
1714
  "no-unknown": {
1690
1715
  "default": "Warning",
1691
- "description": "%config.diagnostics.no-unknown%",
1716
+ "description": "Enable diagnostics for cases in which the type cannot be inferred.",
1692
1717
  "enum": [
1693
1718
  "Error",
1694
1719
  "Warning",
@@ -1703,7 +1728,7 @@ var lua = [
1703
1728
  },
1704
1729
  "not-yieldable": {
1705
1730
  "default": "Warning",
1706
- "description": "%config.diagnostics.not-yieldable%",
1731
+ "description": "Enable diagnostics for calls to `coroutine.yield()` when it is not permitted.",
1707
1732
  "enum": [
1708
1733
  "Error",
1709
1734
  "Warning",
@@ -1718,7 +1743,7 @@ var lua = [
1718
1743
  },
1719
1744
  "param-type-mismatch": {
1720
1745
  "default": "Warning",
1721
- "description": "%config.diagnostics.param-type-mismatch%",
1746
+ "description": "Enable diagnostics for function calls where the type of a provided parameter does not match the type of the annotated function definition.",
1722
1747
  "enum": [
1723
1748
  "Error",
1724
1749
  "Warning",
@@ -1763,7 +1788,7 @@ var lua = [
1763
1788
  },
1764
1789
  "redundant-return": {
1765
1790
  "default": "Hint",
1766
- "description": "%config.diagnostics.redundant-return%",
1791
+ "description": "Enable diagnostics for return statements which are not needed because the function would exit on its own.",
1767
1792
  "enum": [
1768
1793
  "Error",
1769
1794
  "Warning",
@@ -1778,7 +1803,7 @@ var lua = [
1778
1803
  },
1779
1804
  "redundant-return-value": {
1780
1805
  "default": "Warning",
1781
- "description": "%config.diagnostics.redundant-return-value%",
1806
+ "description": "Enable diagnostics for return statements which return an extra value which is not specified by a return annotation.",
1782
1807
  "enum": [
1783
1808
  "Error",
1784
1809
  "Warning",
@@ -1808,7 +1833,7 @@ var lua = [
1808
1833
  },
1809
1834
  "return-type-mismatch": {
1810
1835
  "default": "Warning",
1811
- "description": "%config.diagnostics.return-type-mismatch%",
1836
+ "description": "Enable diagnostics for return values whose type does not match the type declared in the corresponding return annotation.",
1812
1837
  "enum": [
1813
1838
  "Error",
1814
1839
  "Warning",
@@ -1823,7 +1848,7 @@ var lua = [
1823
1848
  },
1824
1849
  "spell-check": {
1825
1850
  "default": "Information",
1826
- "description": "%config.diagnostics.spell-check%",
1851
+ "description": "Enable diagnostics for typos in strings.",
1827
1852
  "enum": [
1828
1853
  "Error",
1829
1854
  "Warning",
@@ -1853,7 +1878,7 @@ var lua = [
1853
1878
  },
1854
1879
  "unbalanced-assignments": {
1855
1880
  "default": "Warning",
1856
- "description": "%config.diagnostics.unbalanced-assignments%",
1881
+ "description": "Enable diagnostics on multiple assignments if not all variables obtain a value (e.g., `local x,y = 1`).",
1857
1882
  "enum": [
1858
1883
  "Error",
1859
1884
  "Warning",
@@ -1868,7 +1893,7 @@ var lua = [
1868
1893
  },
1869
1894
  "undefined-doc-class": {
1870
1895
  "default": "Warning",
1871
- "description": "%config.diagnostics.undefined-doc-class%",
1896
+ "description": "Enable diagnostics for class annotations in which an undefined class is referenced.",
1872
1897
  "enum": [
1873
1898
  "Error",
1874
1899
  "Warning",
@@ -1883,7 +1908,7 @@ var lua = [
1883
1908
  },
1884
1909
  "undefined-doc-name": {
1885
1910
  "default": "Warning",
1886
- "description": "%config.diagnostics.undefined-doc-name%",
1911
+ "description": "Enable diagnostics for type annotations referencing an undefined type or alias.",
1887
1912
  "enum": [
1888
1913
  "Error",
1889
1914
  "Warning",
@@ -1898,7 +1923,7 @@ var lua = [
1898
1923
  },
1899
1924
  "undefined-doc-param": {
1900
1925
  "default": "Warning",
1901
- "description": "%config.diagnostics.undefined-doc-param%",
1926
+ "description": "Enable diagnostics for cases in which a parameter annotation is given without declaring the parameter in the function definition.",
1902
1927
  "enum": [
1903
1928
  "Error",
1904
1929
  "Warning",
@@ -1928,7 +1953,7 @@ var lua = [
1928
1953
  },
1929
1954
  "undefined-field": {
1930
1955
  "default": "Warning",
1931
- "description": "%config.diagnostics.undefined-field%",
1956
+ "description": "Enable diagnostics for cases in which an undefined field of a variable is read.",
1932
1957
  "enum": [
1933
1958
  "Error",
1934
1959
  "Warning",
@@ -1958,7 +1983,7 @@ var lua = [
1958
1983
  },
1959
1984
  "unknown-cast-variable": {
1960
1985
  "default": "Warning",
1961
- "description": "%config.diagnostics.unknown-cast-variable%",
1986
+ "description": "Enable diagnostics for casts of undefined variables.",
1962
1987
  "enum": [
1963
1988
  "Error",
1964
1989
  "Warning",
@@ -1973,7 +1998,7 @@ var lua = [
1973
1998
  },
1974
1999
  "unknown-diag-code": {
1975
2000
  "default": "Warning",
1976
- "description": "%config.diagnostics.unknown-diag-code%",
2001
+ "description": "Enable diagnostics in cases in which an unknown diagnostics code is entered.",
1977
2002
  "enum": [
1978
2003
  "Error",
1979
2004
  "Warning",
@@ -1988,7 +2013,7 @@ var lua = [
1988
2013
  },
1989
2014
  "unknown-operator": {
1990
2015
  "default": "Warning",
1991
- "description": "%config.diagnostics.unknown-operator%",
2016
+ "description": "Enable diagnostics for unknown operators.",
1992
2017
  "enum": [
1993
2018
  "Error",
1994
2019
  "Warning",
@@ -2003,7 +2028,7 @@ var lua = [
2003
2028
  },
2004
2029
  "unreachable-code": {
2005
2030
  "default": "Hint",
2006
- "description": "%config.diagnostics.unreachable-code%",
2031
+ "description": "Enable diagnostics for unreachable code.",
2007
2032
  "enum": [
2008
2033
  "Error",
2009
2034
  "Warning",
@@ -2498,7 +2523,7 @@ var lua = [
2498
2523
  },
2499
2524
  "Lua.runtime.plugin": {
2500
2525
  "default": "",
2501
- "markdownDescription": "Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugin) to learn more.",
2526
+ "markdownDescription": "Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugins) to learn more.",
2502
2527
  "scope": 4,
2503
2528
  "type": "string"
2504
2529
  },
@@ -2606,7 +2631,7 @@ var lua = [
2606
2631
  },
2607
2632
  "Lua.telemetry.enable": {
2608
2633
  "default": null,
2609
- "markdownDescription": "Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Privacy-Policy).\n",
2634
+ "markdownDescription": "Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Home#privacy).\n",
2610
2635
  "scope": 4,
2611
2636
  "tags": [
2612
2637
  "telemetry"