From f980c2db3064a9f7f1480b1fe896458976ac6efb Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Mon, 25 Nov 2024 16:14:18 +0100 Subject: [PATCH 01/23] ESLINTJS-65 Remove decorated rules from ESLint plugin --- .cirrus.yml | 2 + package.json | 5 +- packages/jsts/src/rules/.gitignore | 2 + .../jsts/src/rules/S100/generated-meta.ts | 50 +++ packages/jsts/src/rules/S100/meta.ts | 34 +- .../jsts/src/rules/S101/generated-meta.ts | 50 +++ packages/jsts/src/rules/S101/meta.ts | 34 +- .../jsts/src/rules/S103/generated-meta.ts | 34 ++ .../jsts/src/rules/{core => S103}/index.ts | 10 +- packages/jsts/src/rules/S103/meta.ts | 22 ++ .../jsts/src/rules/S104/generated-meta.ts | 50 +++ packages/jsts/src/rules/S104/meta.ts | 34 +- .../jsts/src/rules/S105/generated-meta.ts | 34 ++ packages/jsts/src/rules/S105/meta.ts | 18 +- .../jsts/src/rules/S106/generated-meta.ts | 33 ++ packages/jsts/src/rules/S106/index.ts | 22 ++ packages/jsts/src/rules/S106/meta.ts | 22 ++ .../jsts/src/rules/S1066/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1066/meta.ts | 17 +- .../jsts/src/rules/S1067/generated-meta.ts | 50 +++ packages/jsts/src/rules/S1067/meta.ts | 34 +- .../jsts/src/rules/S1068/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1068/index.ts | 4 +- packages/jsts/src/rules/S1068/meta.ts | 18 +- .../jsts/src/rules/S107/generated-meta.ts | 50 +++ packages/jsts/src/rules/S107/meta.ts | 34 +- packages/jsts/src/rules/S107/rule.ts | 4 +- .../jsts/src/rules/S1077/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1077/meta.ts | 18 +- .../jsts/src/rules/S108/generated-meta.ts | 34 ++ packages/jsts/src/rules/S108/index.ts | 22 ++ packages/jsts/src/rules/S108/meta.ts | 22 ++ .../jsts/src/rules/S1082/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1082/meta.ts | 17 +- .../jsts/src/rules/S109/generated-meta.ts | 33 ++ packages/jsts/src/rules/S109/meta.ts | 17 +- packages/jsts/src/rules/S109/rule.ts | 2 +- .../jsts/src/rules/S1090/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1090/index.ts | 22 ++ packages/jsts/src/rules/S1090/meta.ts | 22 ++ .../jsts/src/rules/S1105/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1105/index.ts | 4 +- packages/jsts/src/rules/S1105/meta.ts | 18 +- .../jsts/src/rules/S1110/generated-meta.ts | 35 ++ packages/jsts/src/rules/S1110/meta.ts | 19 +- .../jsts/src/rules/S1116/generated-meta.ts | 35 ++ packages/jsts/src/rules/S1116/index.ts | 2 +- packages/jsts/src/rules/S1116/meta.ts | 19 +- .../jsts/src/rules/S1117/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1117/index.ts | 22 ++ packages/jsts/src/rules/S1117/meta.ts | 22 ++ .../jsts/src/rules/S1119/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1119/meta.ts | 17 +- .../jsts/src/rules/S1121/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1121/meta.ts | 17 +- .../jsts/src/rules/S1125/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1125/meta.ts | 17 +- .../jsts/src/rules/S1126/generated-meta.ts | 35 ++ packages/jsts/src/rules/S1126/meta.ts | 19 +- .../jsts/src/rules/S1128/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1128/meta.ts | 18 +- .../jsts/src/rules/S113/generated-meta.ts | 35 ++ packages/jsts/src/rules/S113/index.ts | 22 ++ packages/jsts/src/rules/S113/meta.ts | 22 ++ .../jsts/src/rules/S1131/generated-meta.ts | 35 ++ packages/jsts/src/rules/S1131/index.ts | 22 ++ packages/jsts/src/rules/S1131/meta.ts | 22 ++ .../jsts/src/rules/S1134/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1134/meta.ts | 17 +- .../jsts/src/rules/S1135/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1135/meta.ts | 17 +- .../jsts/src/rules/S1143/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1143/index.ts | 22 ++ packages/jsts/src/rules/S1143/meta.ts | 22 ++ .../jsts/src/rules/S1154/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1154/meta.ts | 18 +- .../jsts/src/rules/S117/generated-meta.ts | 50 +++ packages/jsts/src/rules/S117/meta.ts | 34 +- .../jsts/src/rules/S1172/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1172/meta.ts | 18 +- .../jsts/src/rules/S1186/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1186/index.ts | 2 +- packages/jsts/src/rules/S1186/meta.ts | 18 +- .../jsts/src/rules/S1192/generated-meta.ts | 54 +++ packages/jsts/src/rules/S1192/meta.ts | 38 +- .../jsts/src/rules/S1199/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1199/index.ts | 22 ++ packages/jsts/src/rules/S1199/meta.ts | 22 ++ .../jsts/src/rules/S121/generated-meta.ts | 33 ++ packages/jsts/src/rules/S121/index.ts | 22 ++ packages/jsts/src/rules/S121/meta.ts | 22 ++ .../jsts/src/rules/S1219/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1219/meta.ts | 17 +- .../jsts/src/rules/S122/generated-meta.ts | 34 ++ packages/jsts/src/rules/S122/index.ts | 22 ++ packages/jsts/src/rules/S122/meta.ts | 22 ++ .../jsts/src/rules/S1226/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1226/meta.ts | 18 +- .../jsts/src/rules/S124/generated-meta.ts | 56 +++ packages/jsts/src/rules/S124/meta.ts | 40 +-- .../jsts/src/rules/S125/generated-meta.ts | 34 ++ packages/jsts/src/rules/S125/meta.ts | 18 +- .../jsts/src/rules/S126/generated-meta.ts | 33 ++ packages/jsts/src/rules/S126/meta.ts | 17 +- .../jsts/src/rules/S1264/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1264/meta.ts | 18 +- .../jsts/src/rules/S128/generated-meta.ts | 33 ++ packages/jsts/src/rules/S128/meta.ts | 17 +- .../jsts/src/rules/S1301/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1301/meta.ts | 17 +- .../jsts/src/rules/S131/generated-meta.ts | 34 ++ packages/jsts/src/rules/S131/meta.ts | 18 +- packages/jsts/src/rules/S131/rule.ts | 2 +- .../jsts/src/rules/S1313/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1313/meta.ts | 17 +- .../jsts/src/rules/S1314/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1314/index.ts | 22 ++ packages/jsts/src/rules/S1314/meta.ts | 22 ++ .../jsts/src/rules/S1321/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1321/index.ts | 22 ++ packages/jsts/src/rules/S1321/meta.ts | 22 ++ .../jsts/src/rules/S134/generated-meta.ts | 51 +++ packages/jsts/src/rules/S134/meta.ts | 35 +- .../jsts/src/rules/S135/generated-meta.ts | 33 ++ packages/jsts/src/rules/S135/meta.ts | 17 +- .../jsts/src/rules/S138/generated-meta.ts | 50 +++ packages/jsts/src/rules/S138/meta.ts | 34 +- .../jsts/src/rules/S139/generated-meta.ts | 34 ++ packages/jsts/src/rules/S139/index.ts | 22 ++ packages/jsts/src/rules/S139/meta.ts | 22 ++ .../jsts/src/rules/S1438/generated-meta.ts | 35 ++ packages/jsts/src/rules/S1438/index.ts | 2 +- packages/jsts/src/rules/S1438/meta.ts | 19 +- .../jsts/src/rules/S1439/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1439/meta.ts | 17 +- .../jsts/src/rules/S1440/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1440/index.ts | 22 ++ packages/jsts/src/rules/S1440/meta.ts | 22 ++ .../jsts/src/rules/S1441/generated-meta.ts | 35 ++ packages/jsts/src/rules/S1441/index.ts | 22 ++ packages/jsts/src/rules/S1441/meta.ts | 22 ++ .../jsts/src/rules/S1442/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1442/index.ts | 22 ++ packages/jsts/src/rules/S1442/meta.ts | 22 ++ .../jsts/src/rules/S1444/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1444/meta.ts | 18 +- .../jsts/src/rules/S1451/generated-meta.ts | 53 +++ packages/jsts/src/rules/S1451/meta.ts | 37 +- .../jsts/src/rules/S1472/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1472/meta.ts | 17 +- .../jsts/src/rules/S1479/generated-meta.ts | 45 +++ packages/jsts/src/rules/S1479/meta.ts | 29 +- .../jsts/src/rules/S1481/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1481/meta.ts | 17 +- .../jsts/src/rules/S1488/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1488/meta.ts | 18 +- .../jsts/src/rules/S1515/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1515/meta.ts | 17 +- .../jsts/src/rules/S1516/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1516/index.ts | 22 ++ packages/jsts/src/rules/S1516/meta.ts | 22 ++ .../jsts/src/rules/S1523/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1523/meta.ts | 17 +- packages/jsts/src/rules/S1523/rule.ts | 4 +- .../jsts/src/rules/S1525/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1525/index.ts | 22 ++ packages/jsts/src/rules/S1525/meta.ts | 22 ++ .../jsts/src/rules/S1526/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1526/meta.ts | 17 +- .../jsts/src/rules/S1527/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1527/meta.ts | 17 +- .../jsts/src/rules/S1528/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1528/meta.ts | 18 +- .../jsts/src/rules/S1529/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1529/meta.ts | 17 +- .../jsts/src/rules/S1530/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1530/meta.ts | 17 +- .../jsts/src/rules/S1533/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1533/meta.ts | 18 +- .../jsts/src/rules/S1534/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1534/meta.ts | 18 +- packages/jsts/src/rules/S1534/rule.ts | 6 +- .../jsts/src/rules/S1535/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1535/meta.ts | 17 +- .../jsts/src/rules/S1536/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1536/index.ts | 22 ++ packages/jsts/src/rules/S1536/meta.ts | 22 ++ .../jsts/src/rules/S1537/generated-meta.ts | 35 ++ packages/jsts/src/rules/S1537/index.ts | 22 ++ packages/jsts/src/rules/S1537/meta.ts | 22 ++ .../jsts/src/rules/S1539/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1539/index.ts | 22 ++ packages/jsts/src/rules/S1539/meta.ts | 22 ++ .../jsts/src/rules/S1541/generated-meta.ts | 50 +++ packages/jsts/src/rules/S1541/meta.ts | 34 +- .../jsts/src/rules/S1607/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1607/meta.ts | 17 +- .../jsts/src/rules/S1656/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1656/index.ts | 22 ++ packages/jsts/src/rules/S1656/meta.ts | 22 ++ .../jsts/src/rules/S1751/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1751/meta.ts | 17 +- .../jsts/src/rules/S1763/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1763/index.ts | 4 +- packages/jsts/src/rules/S1763/meta.ts | 18 +- .../jsts/src/rules/S1764/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1764/meta.ts | 17 +- .../jsts/src/rules/S1774/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1774/index.ts | 22 ++ packages/jsts/src/rules/S1774/meta.ts | 22 ++ .../jsts/src/rules/S1788/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1788/index.ts | 2 +- packages/jsts/src/rules/S1788/meta.ts | 17 +- .../jsts/src/rules/S1821/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1821/meta.ts | 17 +- .../jsts/src/rules/S1848/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1848/meta.ts | 17 +- .../jsts/src/rules/S1854/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1854/meta.ts | 17 +- .../jsts/src/rules/S1862/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1862/meta.ts | 17 +- .../jsts/src/rules/S1871/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1871/meta.ts | 18 +- .../jsts/src/rules/S1874/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1874/meta.ts | 17 +- .../jsts/src/rules/S1940/generated-meta.ts | 34 ++ packages/jsts/src/rules/S1940/meta.ts | 18 +- .../jsts/src/rules/S1994/generated-meta.ts | 33 ++ packages/jsts/src/rules/S1994/meta.ts | 17 +- .../jsts/src/rules/S2004/generated-meta.ts | 50 +++ packages/jsts/src/rules/S2004/meta.ts | 34 +- .../jsts/src/rules/S2068/generated-meta.ts | 53 +++ packages/jsts/src/rules/S2068/meta.ts | 37 +- .../jsts/src/rules/S2077/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2077/meta.ts | 17 +- .../jsts/src/rules/S2092/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2092/meta.ts | 17 +- .../jsts/src/rules/S2094/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2094/index.ts | 22 ++ packages/jsts/src/rules/S2094/meta.ts | 22 ++ .../jsts/src/rules/S2123/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2123/meta.ts | 17 +- .../jsts/src/rules/S2137/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2137/meta.ts | 17 +- .../jsts/src/rules/S2138/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2138/meta.ts | 17 +- .../jsts/src/rules/S2187/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2187/meta.ts | 17 +- .../jsts/src/rules/S2189/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2189/meta.ts | 17 +- packages/jsts/src/rules/S2189/rule.ts | 4 +- .../jsts/src/rules/S2201/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2201/meta.ts | 17 +- .../jsts/src/rules/S2208/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2208/meta.ts | 17 +- .../jsts/src/rules/S2234/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2234/meta.ts | 17 +- .../jsts/src/rules/S2245/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2245/meta.ts | 17 +- .../jsts/src/rules/S2251/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2251/meta.ts | 17 +- .../jsts/src/rules/S2255/generated-meta.ts | 34 ++ packages/jsts/src/rules/S2255/meta.ts | 18 +- .../jsts/src/rules/S2259/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2259/meta.ts | 17 +- .../jsts/src/rules/S2301/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2301/meta.ts | 17 +- .../jsts/src/rules/S2310/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2310/meta.ts | 17 +- .../jsts/src/rules/S2376/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2376/index.ts | 4 +- packages/jsts/src/rules/S2376/meta.ts | 17 +- .../jsts/src/rules/S2392/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2392/meta.ts | 17 +- .../jsts/src/rules/S2424/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2424/meta.ts | 17 +- .../jsts/src/rules/S2427/generated-meta.ts | 34 ++ packages/jsts/src/rules/S2427/index.ts | 22 ++ packages/jsts/src/rules/S2427/meta.ts | 22 ++ .../jsts/src/rules/S2428/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2428/meta.ts | 17 +- .../jsts/src/rules/S2430/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2430/index.ts | 4 +- packages/jsts/src/rules/S2430/meta.ts | 17 +- .../jsts/src/rules/S2432/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2432/index.ts | 22 ++ packages/jsts/src/rules/S2432/meta.ts | 22 ++ .../jsts/src/rules/S2486/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2486/meta.ts | 17 +- .../jsts/src/rules/S2589/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2589/meta.ts | 17 +- .../jsts/src/rules/S2598/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2598/meta.ts | 17 +- .../jsts/src/rules/S2612/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2612/meta.ts | 17 +- .../jsts/src/rules/S2639/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2639/meta.ts | 17 +- .../jsts/src/rules/S2681/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2681/meta.ts | 17 +- .../jsts/src/rules/S2685/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2685/index.ts | 22 ++ packages/jsts/src/rules/S2685/meta.ts | 22 ++ .../jsts/src/rules/S2688/generated-meta.ts | 34 ++ packages/jsts/src/rules/S2688/index.ts | 4 +- packages/jsts/src/rules/S2688/meta.ts | 18 +- .../jsts/src/rules/S2692/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2692/meta.ts | 17 +- .../jsts/src/rules/S2699/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2699/meta.ts | 17 +- .../jsts/src/rules/S2703/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2703/meta.ts | 17 +- .../jsts/src/rules/S2737/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2737/meta.ts | 17 +- .../jsts/src/rules/S2755/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2755/meta.ts | 17 +- .../jsts/src/rules/S2757/generated-meta.ts | 34 ++ packages/jsts/src/rules/S2757/meta.ts | 18 +- .../jsts/src/rules/S2814/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2814/index.ts | 2 +- packages/jsts/src/rules/S2814/meta.ts | 17 +- .../jsts/src/rules/S2817/generated-meta.ts | 34 ++ packages/jsts/src/rules/S2817/meta.ts | 18 +- .../jsts/src/rules/S2819/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2819/meta.ts | 17 +- .../jsts/src/rules/S2870/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2870/meta.ts | 17 +- .../jsts/src/rules/S2871/generated-meta.ts | 35 ++ packages/jsts/src/rules/S2871/meta.ts | 19 +- .../jsts/src/rules/S2933/generated-meta.ts | 34 ++ packages/jsts/src/rules/S2933/index.ts | 22 ++ packages/jsts/src/rules/S2933/meta.ts | 22 ++ .../jsts/src/rules/S2966/generated-meta.ts | 34 ++ packages/jsts/src/rules/S2966/index.ts | 22 ++ packages/jsts/src/rules/S2966/meta.ts | 22 ++ .../jsts/src/rules/S2970/generated-meta.ts | 33 ++ packages/jsts/src/rules/S2970/meta.ts | 17 +- .../jsts/src/rules/S2990/generated-meta.ts | 34 ++ packages/jsts/src/rules/S2990/meta.ts | 18 +- .../jsts/src/rules/S2999/generated-meta.ts | 50 +++ packages/jsts/src/rules/S2999/meta.ts | 34 +- .../jsts/src/rules/S3001/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3001/meta.ts | 17 +- .../jsts/src/rules/S3003/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3003/meta.ts | 17 +- .../jsts/src/rules/S3257/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3257/index.ts | 22 ++ packages/jsts/src/rules/S3257/meta.ts | 22 ++ .../jsts/src/rules/S3317/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3317/meta.ts | 17 +- .../jsts/src/rules/S3330/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3330/meta.ts | 17 +- .../jsts/src/rules/S3353/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3353/index.ts | 22 ++ packages/jsts/src/rules/S3353/meta.ts | 22 ++ .../jsts/src/rules/S3358/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3358/meta.ts | 17 +- .../jsts/src/rules/S3402/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3402/meta.ts | 17 +- .../jsts/src/rules/S3403/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3403/meta.ts | 18 +- .../jsts/src/rules/S3415/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3415/meta.ts | 18 +- .../jsts/src/rules/S3498/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3498/index.ts | 4 +- packages/jsts/src/rules/S3498/meta.ts | 18 +- .../jsts/src/rules/S3499/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3499/meta.ts | 18 +- .../jsts/src/rules/S3500/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3500/meta.ts | 17 +- .../jsts/src/rules/S3504/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3504/index.ts | 4 +- packages/jsts/src/rules/S3504/meta.ts | 18 +- .../jsts/src/rules/S3512/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3512/index.ts | 4 +- packages/jsts/src/rules/S3512/meta.ts | 18 +- .../jsts/src/rules/S3513/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3513/meta.ts | 17 +- .../jsts/src/rules/S3514/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3514/meta.ts | 17 +- .../jsts/src/rules/S3516/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3516/meta.ts | 17 +- .../jsts/src/rules/S3523/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3523/index.ts | 22 ++ packages/jsts/src/rules/S3523/meta.ts | 22 ++ .../jsts/src/rules/S3524/generated-meta.ts | 53 +++ packages/jsts/src/rules/S3524/meta.ts | 37 +- .../jsts/src/rules/S3525/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3525/meta.ts | 17 +- .../jsts/src/rules/S3531/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3531/meta.ts | 17 +- .../jsts/src/rules/S3533/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3533/meta.ts | 17 +- .../jsts/src/rules/S3579/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3579/meta.ts | 17 +- .../jsts/src/rules/S3616/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3616/meta.ts | 17 +- .../jsts/src/rules/S3626/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3626/meta.ts | 18 +- .../jsts/src/rules/S3686/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3686/meta.ts | 17 +- .../jsts/src/rules/S3696/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3696/index.ts | 4 +- packages/jsts/src/rules/S3696/meta.ts | 18 +- .../jsts/src/rules/S3699/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3699/meta.ts | 17 +- .../jsts/src/rules/S3723/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3723/meta.ts | 18 +- packages/jsts/src/rules/S3723/rule.ts | 6 +- .../jsts/src/rules/S3735/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3735/meta.ts | 17 +- .../jsts/src/rules/S3757/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3757/meta.ts | 17 +- .../jsts/src/rules/S3758/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3758/meta.ts | 17 +- .../jsts/src/rules/S3760/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3760/meta.ts | 17 +- .../jsts/src/rules/S3776/generated-meta.ts | 45 +++ packages/jsts/src/rules/S3776/meta.ts | 29 +- .../jsts/src/rules/S3782/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3782/meta.ts | 17 +- .../jsts/src/rules/S3785/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3785/meta.ts | 17 +- .../jsts/src/rules/S3786/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3786/index.ts | 22 ++ packages/jsts/src/rules/S3786/meta.ts | 22 ++ .../jsts/src/rules/S3796/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3796/meta.ts | 17 +- .../jsts/src/rules/S3798/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3798/meta.ts | 17 +- .../jsts/src/rules/S3799/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3799/index.ts | 22 ++ packages/jsts/src/rules/S3799/meta.ts | 22 ++ .../jsts/src/rules/S3800/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3800/meta.ts | 17 +- .../jsts/src/rules/S3801/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3801/meta.ts | 17 +- .../jsts/src/rules/S3812/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3812/index.ts | 22 ++ packages/jsts/src/rules/S3812/meta.ts | 22 ++ .../jsts/src/rules/S3827/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3827/meta.ts | 17 +- .../jsts/src/rules/S3834/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3834/index.ts | 22 ++ packages/jsts/src/rules/S3834/meta.ts | 22 ++ .../jsts/src/rules/S3854/generated-meta.ts | 33 ++ packages/jsts/src/rules/S3854/meta.ts | 17 +- packages/jsts/src/rules/S3854/rule.ts | 6 +- .../jsts/src/rules/S3863/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3863/index.ts | 22 ++ packages/jsts/src/rules/S3863/meta.ts | 22 ++ .../jsts/src/rules/S3923/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3923/meta.ts | 18 +- .../jsts/src/rules/S3972/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3972/meta.ts | 18 +- .../jsts/src/rules/S3973/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3973/meta.ts | 18 +- .../jsts/src/rules/S3981/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3981/meta.ts | 18 +- .../jsts/src/rules/S3984/generated-meta.ts | 34 ++ packages/jsts/src/rules/S3984/meta.ts | 18 +- .../jsts/src/rules/S4023/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4023/index.ts | 2 +- packages/jsts/src/rules/S4023/meta.ts | 18 +- .../jsts/src/rules/S4030/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4030/meta.ts | 17 +- .../jsts/src/rules/S4036/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4036/meta.ts | 17 +- .../jsts/src/rules/S4043/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4043/meta.ts | 18 +- .../jsts/src/rules/S4084/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4084/meta.ts | 17 +- .../jsts/src/rules/S4123/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4123/meta.ts | 17 +- .../jsts/src/rules/S4124/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4124/index.ts | 22 ++ packages/jsts/src/rules/S4124/meta.ts | 22 ++ .../jsts/src/rules/S4125/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4125/index.ts | 22 ++ packages/jsts/src/rules/S4125/meta.ts | 22 ++ .../jsts/src/rules/S4136/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4136/index.ts | 22 ++ packages/jsts/src/rules/S4136/meta.ts | 22 ++ .../jsts/src/rules/S4137/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4137/index.ts | 22 ++ packages/jsts/src/rules/S4137/meta.ts | 22 ++ .../jsts/src/rules/S4138/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4138/index.ts | 2 +- packages/jsts/src/rules/S4138/meta.ts | 18 +- .../jsts/src/rules/S4139/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4139/meta.ts | 17 +- .../jsts/src/rules/S4140/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4140/index.ts | 22 ++ packages/jsts/src/rules/S4140/meta.ts | 22 ++ .../jsts/src/rules/S4143/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4143/meta.ts | 17 +- .../jsts/src/rules/S4144/generated-meta.ts | 45 +++ packages/jsts/src/rules/S4144/meta.ts | 29 +- .../jsts/src/rules/S4156/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4156/index.ts | 2 +- packages/jsts/src/rules/S4156/meta.ts | 18 +- .../jsts/src/rules/S4157/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4157/index.ts | 22 ++ packages/jsts/src/rules/S4157/meta.ts | 22 ++ .../jsts/src/rules/S4158/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4158/meta.ts | 17 +- .../jsts/src/rules/S4165/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4165/meta.ts | 17 +- .../jsts/src/rules/S4204/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4204/index.ts | 22 ++ packages/jsts/src/rules/S4204/meta.ts | 22 ++ .../jsts/src/rules/S4275/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4275/meta.ts | 17 +- packages/jsts/src/rules/S4275/rule.ts | 4 +- .../jsts/src/rules/S4322/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4322/meta.ts | 18 +- .../jsts/src/rules/S4323/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4323/meta.ts | 17 +- .../jsts/src/rules/S4324/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4324/meta.ts | 17 +- .../jsts/src/rules/S4325/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4325/index.ts | 22 ++ packages/jsts/src/rules/S4325/meta.ts | 22 ++ .../jsts/src/rules/S4326/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4326/index.ts | 22 ++ packages/jsts/src/rules/S4326/meta.ts | 22 ++ .../jsts/src/rules/S4327/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4327/index.ts | 2 +- packages/jsts/src/rules/S4327/meta.ts | 17 +- .../jsts/src/rules/S4328/generated-meta.ts | 53 +++ packages/jsts/src/rules/S4328/meta.ts | 37 +- .../jsts/src/rules/S4335/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4335/meta.ts | 17 +- .../jsts/src/rules/S4423/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4423/meta.ts | 17 +- .../jsts/src/rules/S4426/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4426/meta.ts | 17 +- .../jsts/src/rules/S4502/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4502/meta.ts | 17 +- .../jsts/src/rules/S4507/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4507/meta.ts | 18 +- .../jsts/src/rules/S4524/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4524/meta.ts | 17 +- .../jsts/src/rules/S4619/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4619/meta.ts | 18 +- .../jsts/src/rules/S4621/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4621/meta.ts | 18 +- .../jsts/src/rules/S4622/generated-meta.ts | 50 +++ packages/jsts/src/rules/S4622/meta.ts | 34 +- .../jsts/src/rules/S4623/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4623/meta.ts | 18 +- .../jsts/src/rules/S4624/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4624/meta.ts | 17 +- .../jsts/src/rules/S4634/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4634/meta.ts | 18 +- .../jsts/src/rules/S4721/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4721/meta.ts | 17 +- .../jsts/src/rules/S4782/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4782/meta.ts | 18 +- .../jsts/src/rules/S4784/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4784/meta.ts | 18 +- .../jsts/src/rules/S4787/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4787/meta.ts | 18 +- .../jsts/src/rules/S4790/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4790/meta.ts | 17 +- .../jsts/src/rules/S4798/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4798/meta.ts | 17 +- .../jsts/src/rules/S4817/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4817/meta.ts | 18 +- .../jsts/src/rules/S4818/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4818/meta.ts | 18 +- .../jsts/src/rules/S4822/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4822/meta.ts | 17 +- .../jsts/src/rules/S4823/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4823/meta.ts | 18 +- .../jsts/src/rules/S4829/generated-meta.ts | 34 ++ packages/jsts/src/rules/S4829/meta.ts | 18 +- .../jsts/src/rules/S4830/generated-meta.ts | 33 ++ packages/jsts/src/rules/S4830/meta.ts | 17 +- .../jsts/src/rules/S5042/generated-meta.ts | 34 ++ packages/jsts/src/rules/S5042/meta.ts | 18 +- .../jsts/src/rules/S5122/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5122/meta.ts | 17 +- .../jsts/src/rules/S5148/generated-meta.ts | 34 ++ packages/jsts/src/rules/S5148/meta.ts | 18 +- .../jsts/src/rules/S5247/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5247/meta.ts | 17 +- .../jsts/src/rules/S5254/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5254/meta.ts | 17 +- .../jsts/src/rules/S5256/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5256/meta.ts | 17 +- .../jsts/src/rules/S5257/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5257/meta.ts | 17 +- .../jsts/src/rules/S5260/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5260/meta.ts | 17 +- .../jsts/src/rules/S5264/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5264/meta.ts | 17 +- .../jsts/src/rules/S5332/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5332/meta.ts | 17 +- .../jsts/src/rules/S5443/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5443/meta.ts | 17 +- .../jsts/src/rules/S5527/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5527/meta.ts | 17 +- .../jsts/src/rules/S5542/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5542/meta.ts | 17 +- .../jsts/src/rules/S5547/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5547/meta.ts | 17 +- .../jsts/src/rules/S5604/generated-meta.ts | 53 +++ packages/jsts/src/rules/S5604/meta.ts | 37 +- .../jsts/src/rules/S5659/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5659/meta.ts | 17 +- .../jsts/src/rules/S5689/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5689/meta.ts | 17 +- .../jsts/src/rules/S5691/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5691/meta.ts | 17 +- .../jsts/src/rules/S5693/generated-meta.ts | 53 +++ packages/jsts/src/rules/S5693/meta.ts | 37 +- .../jsts/src/rules/S5725/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5725/meta.ts | 17 +- .../jsts/src/rules/S5728/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5728/meta.ts | 17 +- .../jsts/src/rules/S5730/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5730/meta.ts | 17 +- .../jsts/src/rules/S5732/generated-meta.ts | 34 ++ packages/jsts/src/rules/S5732/meta.ts | 18 +- .../jsts/src/rules/S5734/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5734/meta.ts | 17 +- .../jsts/src/rules/S5736/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5736/meta.ts | 17 +- .../jsts/src/rules/S5739/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5739/meta.ts | 17 +- .../jsts/src/rules/S5742/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5742/meta.ts | 17 +- .../jsts/src/rules/S5743/generated-meta.ts | 34 ++ packages/jsts/src/rules/S5743/meta.ts | 18 +- .../jsts/src/rules/S5757/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5757/meta.ts | 17 +- .../jsts/src/rules/S5759/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5759/meta.ts | 17 +- .../jsts/src/rules/S5842/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5842/meta.ts | 17 +- .../jsts/src/rules/S5843/generated-meta.ts | 50 +++ packages/jsts/src/rules/S5843/meta.ts | 34 +- .../jsts/src/rules/S5850/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5850/meta.ts | 17 +- .../jsts/src/rules/S5852/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5852/meta.ts | 17 +- .../jsts/src/rules/S5856/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5856/meta.ts | 17 +- .../jsts/src/rules/S5860/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5860/meta.ts | 17 +- .../jsts/src/rules/S5863/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5863/meta.ts | 17 +- .../jsts/src/rules/S5867/generated-meta.ts | 34 ++ packages/jsts/src/rules/S5867/meta.ts | 18 +- .../jsts/src/rules/S5868/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5868/meta.ts | 17 +- .../jsts/src/rules/S5869/generated-meta.ts | 34 ++ packages/jsts/src/rules/S5869/meta.ts | 18 +- .../jsts/src/rules/S5876/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5876/meta.ts | 17 +- .../jsts/src/rules/S5958/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5958/meta.ts | 17 +- .../jsts/src/rules/S5973/generated-meta.ts | 33 ++ packages/jsts/src/rules/S5973/meta.ts | 17 +- .../jsts/src/rules/S6019/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6019/meta.ts | 18 +- .../jsts/src/rules/S6035/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6035/meta.ts | 18 +- .../jsts/src/rules/S6079/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6079/meta.ts | 17 +- .../jsts/src/rules/S6080/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6080/meta.ts | 17 +- .../jsts/src/rules/S6092/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6092/meta.ts | 17 +- .../jsts/src/rules/S6245/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6245/meta.ts | 18 +- .../jsts/src/rules/S6249/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6249/meta.ts | 17 +- .../jsts/src/rules/S6252/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6252/meta.ts | 17 +- .../jsts/src/rules/S6265/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6265/meta.ts | 18 +- .../jsts/src/rules/S6268/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6268/meta.ts | 17 +- .../jsts/src/rules/S6270/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6270/meta.ts | 17 +- .../jsts/src/rules/S6275/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6275/meta.ts | 17 +- .../jsts/src/rules/S6281/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6281/meta.ts | 17 +- .../jsts/src/rules/S6299/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6299/meta.ts | 17 +- .../jsts/src/rules/S6302/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6302/meta.ts | 17 +- .../jsts/src/rules/S6303/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6303/meta.ts | 17 +- .../jsts/src/rules/S6304/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6304/meta.ts | 17 +- .../jsts/src/rules/S6308/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6308/meta.ts | 17 +- .../jsts/src/rules/S6317/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6317/meta.ts | 17 +- .../jsts/src/rules/S6319/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6319/meta.ts | 17 +- .../jsts/src/rules/S6321/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6321/meta.ts | 17 +- .../jsts/src/rules/S6323/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6323/meta.ts | 17 +- .../jsts/src/rules/S6324/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6324/meta.ts | 17 +- .../jsts/src/rules/S6325/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6325/index.ts | 22 ++ packages/jsts/src/rules/S6325/meta.ts | 22 ++ .../jsts/src/rules/S6326/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6326/meta.ts | 18 +- .../jsts/src/rules/S6327/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6327/meta.ts | 17 +- .../jsts/src/rules/S6328/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6328/meta.ts | 17 +- .../jsts/src/rules/S6329/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6329/meta.ts | 17 +- .../jsts/src/rules/S6330/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6330/meta.ts | 17 +- .../jsts/src/rules/S6331/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6331/meta.ts | 17 +- .../jsts/src/rules/S6332/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6332/meta.ts | 17 +- .../jsts/src/rules/S6333/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6333/meta.ts | 17 +- .../jsts/src/rules/S6351/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6351/meta.ts | 17 +- .../jsts/src/rules/S6353/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6353/meta.ts | 17 +- .../jsts/src/rules/S6397/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6397/meta.ts | 17 +- .../jsts/src/rules/S6426/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6426/meta.ts | 18 +- .../jsts/src/rules/S6435/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6435/index.ts | 22 ++ packages/jsts/src/rules/S6435/meta.ts | 22 ++ .../jsts/src/rules/S6438/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6438/index.ts | 22 ++ packages/jsts/src/rules/S6438/meta.ts | 22 ++ .../jsts/src/rules/S6439/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6439/meta.ts | 18 +- .../jsts/src/rules/S6440/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6440/meta.ts | 17 +- .../jsts/src/rules/S6441/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6441/meta.ts | 17 +- .../jsts/src/rules/S6442/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6442/meta.ts | 18 +- .../jsts/src/rules/S6443/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6443/meta.ts | 18 +- .../jsts/src/rules/S6477/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6477/meta.ts | 17 +- .../jsts/src/rules/S6478/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6478/meta.ts | 17 +- .../jsts/src/rules/S6479/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6479/meta.ts | 17 +- .../jsts/src/rules/S6480/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6480/index.ts | 22 ++ packages/jsts/src/rules/S6480/meta.ts | 22 ++ .../jsts/src/rules/S6481/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6481/meta.ts | 17 +- .../jsts/src/rules/S6486/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6486/meta.ts | 17 +- .../jsts/src/rules/S6509/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6509/index.ts | 22 ++ packages/jsts/src/rules/S6509/meta.ts | 22 ++ .../jsts/src/rules/S6522/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6522/index.ts | 22 ++ packages/jsts/src/rules/S6522/meta.ts | 22 ++ .../jsts/src/rules/S6523/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6523/index.ts | 22 ++ packages/jsts/src/rules/S6523/meta.ts | 22 ++ .../jsts/src/rules/S6534/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6534/index.ts | 22 ++ packages/jsts/src/rules/S6534/meta.ts | 22 ++ .../jsts/src/rules/S6535/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6535/meta.ts | 18 +- packages/jsts/src/rules/S6535/rule.ts | 6 +- .../jsts/src/rules/S6544/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6544/meta.ts | 17 +- packages/jsts/src/rules/S6544/rule.ts | 6 +- .../jsts/src/rules/S6550/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6550/index.ts | 22 ++ packages/jsts/src/rules/S6550/meta.ts | 22 ++ .../jsts/src/rules/S6551/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6551/index.ts | 2 +- packages/jsts/src/rules/S6551/meta.ts | 18 +- .../jsts/src/rules/S6557/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6557/index.ts | 2 +- packages/jsts/src/rules/S6557/meta.ts | 18 +- .../jsts/src/rules/S6564/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6564/meta.ts | 17 +- .../jsts/src/rules/S6565/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6565/index.ts | 22 ++ packages/jsts/src/rules/S6565/meta.ts | 22 ++ .../jsts/src/rules/S6568/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6568/index.ts | 22 ++ packages/jsts/src/rules/S6568/meta.ts | 22 ++ .../jsts/src/rules/S6569/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6569/index.ts | 22 ++ packages/jsts/src/rules/S6569/meta.ts | 22 ++ .../jsts/src/rules/S6571/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6571/index.ts | 2 +- packages/jsts/src/rules/S6571/meta.ts | 17 +- .../jsts/src/rules/S6572/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6572/meta.ts | 18 +- packages/jsts/src/rules/S6572/rule.ts | 2 +- .../jsts/src/rules/S6578/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6578/index.ts | 22 ++ packages/jsts/src/rules/S6578/meta.ts | 22 ++ .../jsts/src/rules/S6582/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6582/meta.ts | 17 +- packages/jsts/src/rules/S6582/rule.ts | 2 +- .../jsts/src/rules/S6583/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6583/index.ts | 22 ++ packages/jsts/src/rules/S6583/meta.ts | 22 ++ .../jsts/src/rules/S6590/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6590/index.ts | 22 ++ packages/jsts/src/rules/S6590/meta.ts | 22 ++ .../jsts/src/rules/S6594/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6594/meta.ts | 18 +- .../jsts/src/rules/S6598/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6598/index.ts | 2 +- packages/jsts/src/rules/S6598/meta.ts | 18 +- .../jsts/src/rules/S6606/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6606/meta.ts | 18 +- packages/jsts/src/rules/S6606/rule.ts | 2 +- .../jsts/src/rules/S6627/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6627/meta.ts | 17 +- .../jsts/src/rules/S6635/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6635/index.ts | 22 ++ packages/jsts/src/rules/S6635/meta.ts | 22 ++ .../jsts/src/rules/S6637/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6637/index.ts | 22 ++ packages/jsts/src/rules/S6637/meta.ts | 22 ++ .../jsts/src/rules/S6638/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6638/index.ts | 22 ++ packages/jsts/src/rules/S6638/meta.ts | 22 ++ .../jsts/src/rules/S6643/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6643/index.ts | 4 +- packages/jsts/src/rules/S6643/meta.ts | 17 +- .../jsts/src/rules/S6644/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6644/index.ts | 22 ++ packages/jsts/src/rules/S6644/meta.ts | 22 ++ .../jsts/src/rules/S6645/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6645/index.ts | 22 ++ packages/jsts/src/rules/S6645/meta.ts | 22 ++ .../jsts/src/rules/S6647/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6647/meta.ts | 18 +- packages/jsts/src/rules/S6647/rule.ts | 4 +- .../jsts/src/rules/S6650/generated-meta.ts | 35 ++ packages/jsts/src/rules/S6650/index.ts | 22 ++ packages/jsts/src/rules/S6650/meta.ts | 22 ++ .../jsts/src/rules/S6653/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6653/index.ts | 22 ++ packages/jsts/src/rules/S6653/meta.ts | 22 ++ .../jsts/src/rules/S6654/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6654/index.ts | 22 ++ packages/jsts/src/rules/S6654/meta.ts | 22 ++ .../jsts/src/rules/S6657/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6657/index.ts | 22 ++ packages/jsts/src/rules/S6657/meta.ts | 22 ++ .../jsts/src/rules/S6660/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6660/index.ts | 4 +- packages/jsts/src/rules/S6660/meta.ts | 18 +- .../jsts/src/rules/S6661/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6661/index.ts | 4 +- packages/jsts/src/rules/S6661/meta.ts | 18 +- .../jsts/src/rules/S6666/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6666/index.ts | 4 +- packages/jsts/src/rules/S6666/meta.ts | 18 +- .../jsts/src/rules/S6671/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6671/index.ts | 22 ++ packages/jsts/src/rules/S6671/meta.ts | 22 ++ .../jsts/src/rules/S6676/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6676/index.ts | 4 +- packages/jsts/src/rules/S6676/meta.ts | 18 +- .../jsts/src/rules/S6679/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6679/index.ts | 4 +- packages/jsts/src/rules/S6679/meta.ts | 18 +- .../jsts/src/rules/S6746/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6746/index.ts | 22 ++ packages/jsts/src/rules/S6746/meta.ts | 22 ++ .../jsts/src/rules/S6747/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6747/meta.ts | 18 +- .../jsts/src/rules/S6748/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6748/index.ts | 22 ++ packages/jsts/src/rules/S6748/meta.ts | 22 ++ .../jsts/src/rules/S6749/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6749/meta.ts | 18 +- .../jsts/src/rules/S6750/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6750/index.ts | 22 ++ packages/jsts/src/rules/S6750/meta.ts | 22 ++ .../jsts/src/rules/S6754/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6754/meta.ts | 18 +- .../jsts/src/rules/S6756/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6756/index.ts | 22 ++ packages/jsts/src/rules/S6756/meta.ts | 22 ++ .../jsts/src/rules/S6757/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6757/index.ts | 22 ++ packages/jsts/src/rules/S6757/meta.ts | 22 ++ .../jsts/src/rules/S6759/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6759/meta.ts | 18 +- .../jsts/src/rules/S6761/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6761/index.ts | 22 ++ packages/jsts/src/rules/S6761/meta.ts | 22 ++ .../jsts/src/rules/S6763/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6763/index.ts | 22 ++ packages/jsts/src/rules/S6763/meta.ts | 22 ++ .../jsts/src/rules/S6766/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6766/index.ts | 22 ++ packages/jsts/src/rules/S6766/meta.ts | 22 ++ .../jsts/src/rules/S6767/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6767/index.ts | 22 ++ packages/jsts/src/rules/S6767/meta.ts | 22 ++ .../jsts/src/rules/S6770/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6770/index.ts | 22 ++ packages/jsts/src/rules/S6770/meta.ts | 22 ++ .../jsts/src/rules/S6772/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6772/index.ts | 22 ++ packages/jsts/src/rules/S6772/meta.ts | 22 ++ .../jsts/src/rules/S6774/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6774/index.ts | 22 ++ packages/jsts/src/rules/S6774/meta.ts | 22 ++ .../jsts/src/rules/S6775/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6775/index.ts | 22 ++ packages/jsts/src/rules/S6775/meta.ts | 22 ++ .../jsts/src/rules/S6788/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6788/meta.ts | 17 +- .../jsts/src/rules/S6789/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6789/index.ts | 22 ++ packages/jsts/src/rules/S6789/meta.ts | 22 ++ .../jsts/src/rules/S6790/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6790/index.ts | 22 ++ packages/jsts/src/rules/S6790/meta.ts | 22 ++ .../jsts/src/rules/S6791/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6791/meta.ts | 17 +- .../jsts/src/rules/S6793/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6793/index.ts | 22 ++ packages/jsts/src/rules/S6793/meta.ts | 22 ++ .../jsts/src/rules/S6807/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6807/index.ts | 22 ++ packages/jsts/src/rules/S6807/meta.ts | 22 ++ .../jsts/src/rules/S6811/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6811/index.ts | 22 ++ packages/jsts/src/rules/S6811/meta.ts | 22 ++ .../jsts/src/rules/S6819/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6819/index.ts | 22 ++ packages/jsts/src/rules/S6819/meta.ts | 22 ++ .../jsts/src/rules/S6821/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6821/index.ts | 22 ++ packages/jsts/src/rules/S6821/meta.ts | 22 ++ .../jsts/src/rules/S6822/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6822/index.ts | 22 ++ packages/jsts/src/rules/S6822/meta.ts | 22 ++ .../jsts/src/rules/S6823/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6823/index.ts | 22 ++ packages/jsts/src/rules/S6823/meta.ts | 22 ++ .../jsts/src/rules/S6824/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6824/index.ts | 22 ++ packages/jsts/src/rules/S6824/meta.ts | 22 ++ .../jsts/src/rules/S6825/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6825/index.ts | 22 ++ packages/jsts/src/rules/S6825/meta.ts | 22 ++ .../jsts/src/rules/S6827/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6827/meta.ts | 17 +- .../jsts/src/rules/S6836/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6836/index.ts | 22 ++ packages/jsts/src/rules/S6836/meta.ts | 22 ++ .../jsts/src/rules/S6840/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6840/index.ts | 22 ++ packages/jsts/src/rules/S6840/meta.ts | 22 ++ .../jsts/src/rules/S6841/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6841/index.ts | 22 ++ packages/jsts/src/rules/S6841/meta.ts | 22 ++ .../jsts/src/rules/S6842/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6842/index.ts | 22 ++ packages/jsts/src/rules/S6842/meta.ts | 22 ++ .../jsts/src/rules/S6843/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6843/index.ts | 22 ++ packages/jsts/src/rules/S6843/meta.ts | 22 ++ .../jsts/src/rules/S6844/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6844/meta.ts | 17 +- .../jsts/src/rules/S6845/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6845/index.ts | 22 ++ packages/jsts/src/rules/S6845/meta.ts | 22 ++ .../jsts/src/rules/S6846/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6846/index.ts | 22 ++ packages/jsts/src/rules/S6846/meta.ts | 22 ++ .../jsts/src/rules/S6847/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6847/index.ts | 22 ++ packages/jsts/src/rules/S6847/meta.ts | 22 ++ .../jsts/src/rules/S6848/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6848/index.ts | 22 ++ packages/jsts/src/rules/S6848/meta.ts | 22 ++ .../jsts/src/rules/S6850/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6850/index.ts | 22 ++ packages/jsts/src/rules/S6850/meta.ts | 22 ++ .../jsts/src/rules/S6851/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6851/index.ts | 22 ++ packages/jsts/src/rules/S6851/meta.ts | 22 ++ .../jsts/src/rules/S6852/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6852/index.ts | 22 ++ packages/jsts/src/rules/S6852/meta.ts | 22 ++ .../jsts/src/rules/S6853/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6853/meta.ts | 17 +- .../jsts/src/rules/S6859/generated-meta.ts | 34 ++ packages/jsts/src/rules/S6859/index.ts | 22 ++ packages/jsts/src/rules/S6859/meta.ts | 22 ++ .../jsts/src/rules/S6861/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6861/index.ts | 22 ++ packages/jsts/src/rules/S6861/meta.ts | 22 ++ .../jsts/src/rules/S6957/generated-meta.ts | 50 +++ packages/jsts/src/rules/S6957/meta.ts | 34 +- .../jsts/src/rules/S6958/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6958/meta.ts | 17 +- .../jsts/src/rules/S6959/generated-meta.ts | 33 ++ packages/jsts/src/rules/S6959/meta.ts | 17 +- .../jsts/src/rules/S7059/generated-meta.ts | 33 ++ packages/jsts/src/rules/S7059/meta.ts | 17 +- .../jsts/src/rules/S7060/generated-meta.ts | 34 ++ packages/jsts/src/rules/S7060/meta.ts | 18 +- .../jsts/src/rules/S878/generated-meta.ts | 33 ++ packages/jsts/src/rules/S878/index.ts | 22 ++ packages/jsts/src/rules/S878/meta.ts | 22 ++ .../jsts/src/rules/S881/generated-meta.ts | 34 ++ packages/jsts/src/rules/S881/meta.ts | 18 +- .../jsts/src/rules/S888/generated-meta.ts | 33 ++ packages/jsts/src/rules/S888/meta.ts | 17 +- .../jsts/src/rules/S905/generated-meta.ts | 33 ++ packages/jsts/src/rules/S905/index.ts | 2 +- packages/jsts/src/rules/S905/meta.ts | 17 +- .../jsts/src/rules/S909/generated-meta.ts | 33 ++ packages/jsts/src/rules/S909/index.ts | 22 ++ packages/jsts/src/rules/S909/meta.ts | 22 ++ .../jsts/src/rules/S930/generated-meta.ts | 33 ++ packages/jsts/src/rules/S930/meta.ts | 17 +- packages/jsts/src/rules/decorated.ts | 71 ---- packages/jsts/src/rules/external.ts | 141 -------- packages/jsts/src/rules/external/a11y.ts | 22 ++ packages/jsts/src/rules/external/core.ts | 24 ++ packages/jsts/src/rules/external/react.ts | 22 ++ packages/jsts/src/rules/index.ts | 10 +- packages/jsts/src/rules/original.ts | 297 --------------- packages/jsts/src/rules/plugin.ts | 339 +----------------- .../jsts/src/rules/typescript-eslint/index.ts | 8 +- .../jsts/tests/linter/issues/message.test.ts | 2 +- tools/generate-meta.ts | 44 +-- tools/generate-rule-indexes.ts | 88 +++++ tools/tsconfig.json | 9 +- 1053 files changed, 21268 insertions(+), 6101 deletions(-) create mode 100644 packages/jsts/src/rules/.gitignore create mode 100644 packages/jsts/src/rules/S100/generated-meta.ts create mode 100644 packages/jsts/src/rules/S101/generated-meta.ts create mode 100644 packages/jsts/src/rules/S103/generated-meta.ts rename packages/jsts/src/rules/{core => S103}/index.ts (69%) create mode 100644 packages/jsts/src/rules/S103/meta.ts create mode 100644 packages/jsts/src/rules/S104/generated-meta.ts create mode 100644 packages/jsts/src/rules/S105/generated-meta.ts create mode 100644 packages/jsts/src/rules/S106/generated-meta.ts create mode 100644 packages/jsts/src/rules/S106/index.ts create mode 100644 packages/jsts/src/rules/S106/meta.ts create mode 100644 packages/jsts/src/rules/S1066/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1067/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1068/generated-meta.ts create mode 100644 packages/jsts/src/rules/S107/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1077/generated-meta.ts create mode 100644 packages/jsts/src/rules/S108/generated-meta.ts create mode 100644 packages/jsts/src/rules/S108/index.ts create mode 100644 packages/jsts/src/rules/S108/meta.ts create mode 100644 packages/jsts/src/rules/S1082/generated-meta.ts create mode 100644 packages/jsts/src/rules/S109/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1090/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1090/index.ts create mode 100644 packages/jsts/src/rules/S1090/meta.ts create mode 100644 packages/jsts/src/rules/S1105/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1110/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1116/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1117/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1117/index.ts create mode 100644 packages/jsts/src/rules/S1117/meta.ts create mode 100644 packages/jsts/src/rules/S1119/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1121/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1125/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1126/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1128/generated-meta.ts create mode 100644 packages/jsts/src/rules/S113/generated-meta.ts create mode 100644 packages/jsts/src/rules/S113/index.ts create mode 100644 packages/jsts/src/rules/S113/meta.ts create mode 100644 packages/jsts/src/rules/S1131/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1131/index.ts create mode 100644 packages/jsts/src/rules/S1131/meta.ts create mode 100644 packages/jsts/src/rules/S1134/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1135/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1143/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1143/index.ts create mode 100644 packages/jsts/src/rules/S1143/meta.ts create mode 100644 packages/jsts/src/rules/S1154/generated-meta.ts create mode 100644 packages/jsts/src/rules/S117/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1172/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1186/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1192/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1199/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1199/index.ts create mode 100644 packages/jsts/src/rules/S1199/meta.ts create mode 100644 packages/jsts/src/rules/S121/generated-meta.ts create mode 100644 packages/jsts/src/rules/S121/index.ts create mode 100644 packages/jsts/src/rules/S121/meta.ts create mode 100644 packages/jsts/src/rules/S1219/generated-meta.ts create mode 100644 packages/jsts/src/rules/S122/generated-meta.ts create mode 100644 packages/jsts/src/rules/S122/index.ts create mode 100644 packages/jsts/src/rules/S122/meta.ts create mode 100644 packages/jsts/src/rules/S1226/generated-meta.ts create mode 100644 packages/jsts/src/rules/S124/generated-meta.ts create mode 100644 packages/jsts/src/rules/S125/generated-meta.ts create mode 100644 packages/jsts/src/rules/S126/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1264/generated-meta.ts create mode 100644 packages/jsts/src/rules/S128/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1301/generated-meta.ts create mode 100644 packages/jsts/src/rules/S131/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1313/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1314/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1314/index.ts create mode 100644 packages/jsts/src/rules/S1314/meta.ts create mode 100644 packages/jsts/src/rules/S1321/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1321/index.ts create mode 100644 packages/jsts/src/rules/S1321/meta.ts create mode 100644 packages/jsts/src/rules/S134/generated-meta.ts create mode 100644 packages/jsts/src/rules/S135/generated-meta.ts create mode 100644 packages/jsts/src/rules/S138/generated-meta.ts create mode 100644 packages/jsts/src/rules/S139/generated-meta.ts create mode 100644 packages/jsts/src/rules/S139/index.ts create mode 100644 packages/jsts/src/rules/S139/meta.ts create mode 100644 packages/jsts/src/rules/S1438/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1439/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1440/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1440/index.ts create mode 100644 packages/jsts/src/rules/S1440/meta.ts create mode 100644 packages/jsts/src/rules/S1441/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1441/index.ts create mode 100644 packages/jsts/src/rules/S1441/meta.ts create mode 100644 packages/jsts/src/rules/S1442/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1442/index.ts create mode 100644 packages/jsts/src/rules/S1442/meta.ts create mode 100644 packages/jsts/src/rules/S1444/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1451/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1472/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1479/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1481/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1488/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1515/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1516/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1516/index.ts create mode 100644 packages/jsts/src/rules/S1516/meta.ts create mode 100644 packages/jsts/src/rules/S1523/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1525/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1525/index.ts create mode 100644 packages/jsts/src/rules/S1525/meta.ts create mode 100644 packages/jsts/src/rules/S1526/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1527/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1528/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1529/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1530/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1533/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1534/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1535/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1536/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1536/index.ts create mode 100644 packages/jsts/src/rules/S1536/meta.ts create mode 100644 packages/jsts/src/rules/S1537/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1537/index.ts create mode 100644 packages/jsts/src/rules/S1537/meta.ts create mode 100644 packages/jsts/src/rules/S1539/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1539/index.ts create mode 100644 packages/jsts/src/rules/S1539/meta.ts create mode 100644 packages/jsts/src/rules/S1541/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1607/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1656/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1656/index.ts create mode 100644 packages/jsts/src/rules/S1656/meta.ts create mode 100644 packages/jsts/src/rules/S1751/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1763/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1764/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1774/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1774/index.ts create mode 100644 packages/jsts/src/rules/S1774/meta.ts create mode 100644 packages/jsts/src/rules/S1788/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1821/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1848/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1854/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1862/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1871/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1874/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1940/generated-meta.ts create mode 100644 packages/jsts/src/rules/S1994/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2004/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2068/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2077/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2092/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2094/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2094/index.ts create mode 100644 packages/jsts/src/rules/S2094/meta.ts create mode 100644 packages/jsts/src/rules/S2123/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2137/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2138/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2187/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2189/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2201/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2208/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2234/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2245/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2251/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2255/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2259/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2301/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2310/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2376/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2392/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2424/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2427/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2427/index.ts create mode 100644 packages/jsts/src/rules/S2427/meta.ts create mode 100644 packages/jsts/src/rules/S2428/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2430/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2432/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2432/index.ts create mode 100644 packages/jsts/src/rules/S2432/meta.ts create mode 100644 packages/jsts/src/rules/S2486/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2589/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2598/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2612/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2639/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2681/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2685/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2685/index.ts create mode 100644 packages/jsts/src/rules/S2685/meta.ts create mode 100644 packages/jsts/src/rules/S2688/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2692/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2699/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2703/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2737/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2755/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2757/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2814/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2817/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2819/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2870/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2871/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2933/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2933/index.ts create mode 100644 packages/jsts/src/rules/S2933/meta.ts create mode 100644 packages/jsts/src/rules/S2966/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2966/index.ts create mode 100644 packages/jsts/src/rules/S2966/meta.ts create mode 100644 packages/jsts/src/rules/S2970/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2990/generated-meta.ts create mode 100644 packages/jsts/src/rules/S2999/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3001/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3003/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3257/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3257/index.ts create mode 100644 packages/jsts/src/rules/S3257/meta.ts create mode 100644 packages/jsts/src/rules/S3317/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3330/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3353/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3353/index.ts create mode 100644 packages/jsts/src/rules/S3353/meta.ts create mode 100644 packages/jsts/src/rules/S3358/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3402/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3403/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3415/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3498/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3499/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3500/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3504/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3512/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3513/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3514/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3516/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3523/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3523/index.ts create mode 100644 packages/jsts/src/rules/S3523/meta.ts create mode 100644 packages/jsts/src/rules/S3524/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3525/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3531/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3533/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3579/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3616/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3626/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3686/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3696/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3699/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3723/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3735/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3757/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3758/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3760/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3776/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3782/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3785/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3786/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3786/index.ts create mode 100644 packages/jsts/src/rules/S3786/meta.ts create mode 100644 packages/jsts/src/rules/S3796/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3798/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3799/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3799/index.ts create mode 100644 packages/jsts/src/rules/S3799/meta.ts create mode 100644 packages/jsts/src/rules/S3800/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3801/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3812/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3812/index.ts create mode 100644 packages/jsts/src/rules/S3812/meta.ts create mode 100644 packages/jsts/src/rules/S3827/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3834/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3834/index.ts create mode 100644 packages/jsts/src/rules/S3834/meta.ts create mode 100644 packages/jsts/src/rules/S3854/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3863/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3863/index.ts create mode 100644 packages/jsts/src/rules/S3863/meta.ts create mode 100644 packages/jsts/src/rules/S3923/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3972/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3973/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3981/generated-meta.ts create mode 100644 packages/jsts/src/rules/S3984/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4023/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4030/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4036/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4043/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4084/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4123/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4124/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4124/index.ts create mode 100644 packages/jsts/src/rules/S4124/meta.ts create mode 100644 packages/jsts/src/rules/S4125/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4125/index.ts create mode 100644 packages/jsts/src/rules/S4125/meta.ts create mode 100644 packages/jsts/src/rules/S4136/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4136/index.ts create mode 100644 packages/jsts/src/rules/S4136/meta.ts create mode 100644 packages/jsts/src/rules/S4137/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4137/index.ts create mode 100644 packages/jsts/src/rules/S4137/meta.ts create mode 100644 packages/jsts/src/rules/S4138/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4139/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4140/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4140/index.ts create mode 100644 packages/jsts/src/rules/S4140/meta.ts create mode 100644 packages/jsts/src/rules/S4143/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4144/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4156/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4157/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4157/index.ts create mode 100644 packages/jsts/src/rules/S4157/meta.ts create mode 100644 packages/jsts/src/rules/S4158/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4165/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4204/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4204/index.ts create mode 100644 packages/jsts/src/rules/S4204/meta.ts create mode 100644 packages/jsts/src/rules/S4275/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4322/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4323/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4324/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4325/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4325/index.ts create mode 100644 packages/jsts/src/rules/S4325/meta.ts create mode 100644 packages/jsts/src/rules/S4326/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4326/index.ts create mode 100644 packages/jsts/src/rules/S4326/meta.ts create mode 100644 packages/jsts/src/rules/S4327/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4328/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4335/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4423/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4426/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4502/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4507/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4524/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4619/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4621/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4622/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4623/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4624/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4634/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4721/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4782/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4784/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4787/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4790/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4798/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4817/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4818/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4822/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4823/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4829/generated-meta.ts create mode 100644 packages/jsts/src/rules/S4830/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5042/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5122/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5148/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5247/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5254/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5256/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5257/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5260/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5264/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5332/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5443/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5527/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5542/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5547/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5604/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5659/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5689/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5691/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5693/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5725/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5728/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5730/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5732/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5734/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5736/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5739/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5742/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5743/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5757/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5759/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5842/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5843/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5850/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5852/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5856/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5860/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5863/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5867/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5868/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5869/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5876/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5958/generated-meta.ts create mode 100644 packages/jsts/src/rules/S5973/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6019/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6035/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6079/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6080/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6092/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6245/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6249/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6252/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6265/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6268/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6270/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6275/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6281/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6299/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6302/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6303/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6304/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6308/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6317/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6319/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6321/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6323/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6324/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6325/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6325/index.ts create mode 100644 packages/jsts/src/rules/S6325/meta.ts create mode 100644 packages/jsts/src/rules/S6326/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6327/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6328/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6329/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6330/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6331/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6332/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6333/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6351/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6353/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6397/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6426/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6435/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6435/index.ts create mode 100644 packages/jsts/src/rules/S6435/meta.ts create mode 100644 packages/jsts/src/rules/S6438/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6438/index.ts create mode 100644 packages/jsts/src/rules/S6438/meta.ts create mode 100644 packages/jsts/src/rules/S6439/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6440/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6441/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6442/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6443/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6477/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6478/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6479/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6480/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6480/index.ts create mode 100644 packages/jsts/src/rules/S6480/meta.ts create mode 100644 packages/jsts/src/rules/S6481/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6486/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6509/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6509/index.ts create mode 100644 packages/jsts/src/rules/S6509/meta.ts create mode 100644 packages/jsts/src/rules/S6522/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6522/index.ts create mode 100644 packages/jsts/src/rules/S6522/meta.ts create mode 100644 packages/jsts/src/rules/S6523/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6523/index.ts create mode 100644 packages/jsts/src/rules/S6523/meta.ts create mode 100644 packages/jsts/src/rules/S6534/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6534/index.ts create mode 100644 packages/jsts/src/rules/S6534/meta.ts create mode 100644 packages/jsts/src/rules/S6535/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6544/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6550/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6550/index.ts create mode 100644 packages/jsts/src/rules/S6550/meta.ts create mode 100644 packages/jsts/src/rules/S6551/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6557/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6564/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6565/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6565/index.ts create mode 100644 packages/jsts/src/rules/S6565/meta.ts create mode 100644 packages/jsts/src/rules/S6568/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6568/index.ts create mode 100644 packages/jsts/src/rules/S6568/meta.ts create mode 100644 packages/jsts/src/rules/S6569/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6569/index.ts create mode 100644 packages/jsts/src/rules/S6569/meta.ts create mode 100644 packages/jsts/src/rules/S6571/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6572/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6578/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6578/index.ts create mode 100644 packages/jsts/src/rules/S6578/meta.ts create mode 100644 packages/jsts/src/rules/S6582/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6583/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6583/index.ts create mode 100644 packages/jsts/src/rules/S6583/meta.ts create mode 100644 packages/jsts/src/rules/S6590/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6590/index.ts create mode 100644 packages/jsts/src/rules/S6590/meta.ts create mode 100644 packages/jsts/src/rules/S6594/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6598/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6606/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6627/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6635/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6635/index.ts create mode 100644 packages/jsts/src/rules/S6635/meta.ts create mode 100644 packages/jsts/src/rules/S6637/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6637/index.ts create mode 100644 packages/jsts/src/rules/S6637/meta.ts create mode 100644 packages/jsts/src/rules/S6638/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6638/index.ts create mode 100644 packages/jsts/src/rules/S6638/meta.ts create mode 100644 packages/jsts/src/rules/S6643/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6644/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6644/index.ts create mode 100644 packages/jsts/src/rules/S6644/meta.ts create mode 100644 packages/jsts/src/rules/S6645/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6645/index.ts create mode 100644 packages/jsts/src/rules/S6645/meta.ts create mode 100644 packages/jsts/src/rules/S6647/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6650/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6650/index.ts create mode 100644 packages/jsts/src/rules/S6650/meta.ts create mode 100644 packages/jsts/src/rules/S6653/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6653/index.ts create mode 100644 packages/jsts/src/rules/S6653/meta.ts create mode 100644 packages/jsts/src/rules/S6654/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6654/index.ts create mode 100644 packages/jsts/src/rules/S6654/meta.ts create mode 100644 packages/jsts/src/rules/S6657/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6657/index.ts create mode 100644 packages/jsts/src/rules/S6657/meta.ts create mode 100644 packages/jsts/src/rules/S6660/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6661/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6666/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6671/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6671/index.ts create mode 100644 packages/jsts/src/rules/S6671/meta.ts create mode 100644 packages/jsts/src/rules/S6676/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6679/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6746/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6746/index.ts create mode 100644 packages/jsts/src/rules/S6746/meta.ts create mode 100644 packages/jsts/src/rules/S6747/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6748/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6748/index.ts create mode 100644 packages/jsts/src/rules/S6748/meta.ts create mode 100644 packages/jsts/src/rules/S6749/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6750/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6750/index.ts create mode 100644 packages/jsts/src/rules/S6750/meta.ts create mode 100644 packages/jsts/src/rules/S6754/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6756/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6756/index.ts create mode 100644 packages/jsts/src/rules/S6756/meta.ts create mode 100644 packages/jsts/src/rules/S6757/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6757/index.ts create mode 100644 packages/jsts/src/rules/S6757/meta.ts create mode 100644 packages/jsts/src/rules/S6759/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6761/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6761/index.ts create mode 100644 packages/jsts/src/rules/S6761/meta.ts create mode 100644 packages/jsts/src/rules/S6763/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6763/index.ts create mode 100644 packages/jsts/src/rules/S6763/meta.ts create mode 100644 packages/jsts/src/rules/S6766/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6766/index.ts create mode 100644 packages/jsts/src/rules/S6766/meta.ts create mode 100644 packages/jsts/src/rules/S6767/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6767/index.ts create mode 100644 packages/jsts/src/rules/S6767/meta.ts create mode 100644 packages/jsts/src/rules/S6770/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6770/index.ts create mode 100644 packages/jsts/src/rules/S6770/meta.ts create mode 100644 packages/jsts/src/rules/S6772/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6772/index.ts create mode 100644 packages/jsts/src/rules/S6772/meta.ts create mode 100644 packages/jsts/src/rules/S6774/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6774/index.ts create mode 100644 packages/jsts/src/rules/S6774/meta.ts create mode 100644 packages/jsts/src/rules/S6775/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6775/index.ts create mode 100644 packages/jsts/src/rules/S6775/meta.ts create mode 100644 packages/jsts/src/rules/S6788/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6789/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6789/index.ts create mode 100644 packages/jsts/src/rules/S6789/meta.ts create mode 100644 packages/jsts/src/rules/S6790/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6790/index.ts create mode 100644 packages/jsts/src/rules/S6790/meta.ts create mode 100644 packages/jsts/src/rules/S6791/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6793/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6793/index.ts create mode 100644 packages/jsts/src/rules/S6793/meta.ts create mode 100644 packages/jsts/src/rules/S6807/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6807/index.ts create mode 100644 packages/jsts/src/rules/S6807/meta.ts create mode 100644 packages/jsts/src/rules/S6811/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6811/index.ts create mode 100644 packages/jsts/src/rules/S6811/meta.ts create mode 100644 packages/jsts/src/rules/S6819/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6819/index.ts create mode 100644 packages/jsts/src/rules/S6819/meta.ts create mode 100644 packages/jsts/src/rules/S6821/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6821/index.ts create mode 100644 packages/jsts/src/rules/S6821/meta.ts create mode 100644 packages/jsts/src/rules/S6822/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6822/index.ts create mode 100644 packages/jsts/src/rules/S6822/meta.ts create mode 100644 packages/jsts/src/rules/S6823/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6823/index.ts create mode 100644 packages/jsts/src/rules/S6823/meta.ts create mode 100644 packages/jsts/src/rules/S6824/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6824/index.ts create mode 100644 packages/jsts/src/rules/S6824/meta.ts create mode 100644 packages/jsts/src/rules/S6825/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6825/index.ts create mode 100644 packages/jsts/src/rules/S6825/meta.ts create mode 100644 packages/jsts/src/rules/S6827/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6836/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6836/index.ts create mode 100644 packages/jsts/src/rules/S6836/meta.ts create mode 100644 packages/jsts/src/rules/S6840/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6840/index.ts create mode 100644 packages/jsts/src/rules/S6840/meta.ts create mode 100644 packages/jsts/src/rules/S6841/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6841/index.ts create mode 100644 packages/jsts/src/rules/S6841/meta.ts create mode 100644 packages/jsts/src/rules/S6842/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6842/index.ts create mode 100644 packages/jsts/src/rules/S6842/meta.ts create mode 100644 packages/jsts/src/rules/S6843/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6843/index.ts create mode 100644 packages/jsts/src/rules/S6843/meta.ts create mode 100644 packages/jsts/src/rules/S6844/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6845/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6845/index.ts create mode 100644 packages/jsts/src/rules/S6845/meta.ts create mode 100644 packages/jsts/src/rules/S6846/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6846/index.ts create mode 100644 packages/jsts/src/rules/S6846/meta.ts create mode 100644 packages/jsts/src/rules/S6847/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6847/index.ts create mode 100644 packages/jsts/src/rules/S6847/meta.ts create mode 100644 packages/jsts/src/rules/S6848/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6848/index.ts create mode 100644 packages/jsts/src/rules/S6848/meta.ts create mode 100644 packages/jsts/src/rules/S6850/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6850/index.ts create mode 100644 packages/jsts/src/rules/S6850/meta.ts create mode 100644 packages/jsts/src/rules/S6851/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6851/index.ts create mode 100644 packages/jsts/src/rules/S6851/meta.ts create mode 100644 packages/jsts/src/rules/S6852/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6852/index.ts create mode 100644 packages/jsts/src/rules/S6852/meta.ts create mode 100644 packages/jsts/src/rules/S6853/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6859/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6859/index.ts create mode 100644 packages/jsts/src/rules/S6859/meta.ts create mode 100644 packages/jsts/src/rules/S6861/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6861/index.ts create mode 100644 packages/jsts/src/rules/S6861/meta.ts create mode 100644 packages/jsts/src/rules/S6957/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6958/generated-meta.ts create mode 100644 packages/jsts/src/rules/S6959/generated-meta.ts create mode 100644 packages/jsts/src/rules/S7059/generated-meta.ts create mode 100644 packages/jsts/src/rules/S7060/generated-meta.ts create mode 100644 packages/jsts/src/rules/S878/generated-meta.ts create mode 100644 packages/jsts/src/rules/S878/index.ts create mode 100644 packages/jsts/src/rules/S878/meta.ts create mode 100644 packages/jsts/src/rules/S881/generated-meta.ts create mode 100644 packages/jsts/src/rules/S888/generated-meta.ts create mode 100644 packages/jsts/src/rules/S905/generated-meta.ts create mode 100644 packages/jsts/src/rules/S909/generated-meta.ts create mode 100644 packages/jsts/src/rules/S909/index.ts create mode 100644 packages/jsts/src/rules/S909/meta.ts create mode 100644 packages/jsts/src/rules/S930/generated-meta.ts delete mode 100644 packages/jsts/src/rules/decorated.ts delete mode 100644 packages/jsts/src/rules/external.ts create mode 100644 packages/jsts/src/rules/external/a11y.ts create mode 100644 packages/jsts/src/rules/external/core.ts create mode 100644 packages/jsts/src/rules/external/react.ts delete mode 100644 packages/jsts/src/rules/original.ts create mode 100644 tools/generate-rule-indexes.ts diff --git a/.cirrus.yml b/.cirrus.yml index fd2edca6a50..fdcc304e6c3 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -308,6 +308,7 @@ eslint_plugin_test_task: - . ~/.profile - source cirrus-env QA - source set_maven_build_version $BUILD_NUMBER + - npm install -g tsx - npm run eslint-plugin:build - cd its/eslint8-plugin-sonarjs - npm install @@ -336,6 +337,7 @@ eslint8_node16_plugin_test_task: - . ~/.profile - source cirrus-env QA - source set_maven_build_version $BUILD_NUMBER + - npm install -g tsx - npm run eslint-plugin:build - cd its/eslint8-plugin-sonarjs - npm install diff --git a/package.json b/package.json index 24ed747f427..4f0b0cedcc2 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "ruling-parametrized": "node tools/prepare-ruling.js && SONAR_RULING_SETTINGS=../settings.js tsx --tsconfig packages/tsconfig.test.json --test packages/ruling/tests/projects/*.ruling.test.ts", "ruling-sync": "rsync -avh packages/ruling/tests/actual/jsts/ its/ruling/src/test/expected/jsts/ --delete", "update-ruling-data": "mvn -f sonar-plugin/sonar-javascript-plugin/pom.xml compile && npx tsx packages/ruling/tests/tools/parseRulesData.ts", - "bridge:compile": "tsc -b packages profiling && npm run _:bridge:copy-protofiles", + "create-rule-indexes": "tsx tools/generate-rule-indexes.ts", + "bridge:compile": "npm run create-rule-indexes && tsc -b packages profiling && npm run _:bridge:copy-protofiles", "bridge:test": "tsx --tsconfig packages/tsconfig.test.json --test --test-reporter spec --test-reporter-destination stdout \"packages/*/src/rules/*[!node_modules]/**/*.test.ts\" \"packages/*[!ruling]/tests/**/*.test.ts\"", "bridge:test:cov": "odz run npm run bridge:test || true && odz report --reporters=text-lcov > lcov.info", "bridge:bundle": "node esbuild.mjs", @@ -37,7 +38,7 @@ "_:plugin-fetch-node": "node tools/fetch-node/scripts/wrapper.mjs", "_:plugin:pre-build": "npm run _:plugin:prepare-bridge && npm run _:plugin-fetch-node", "_:plugin:copy-bridge": "cpy sonarjs-1.0.0.tgz sonar-plugin/sonar-javascript-plugin/target/classes && cpy sonarjs-1.0.0.tgz sonar-plugin/standalone/target/classes", - "eslint-plugin:build": "npm ci && npm run eslint-plugin:compile && cd lib && npm pack", + "eslint-plugin:build": "npm run create-rule-indexes && npm ci && npm run eslint-plugin:compile && cd lib && npm pack", "eslint-plugin:compile": "npm run _:bridge:clear && npm run eslint-plugin:check && npm run eslint-plugin:emit && npm run eslint-plugin:types && npm run eslint-plugin:package-json && npm run eslint-plugin:copy-assets", "eslint-plugin:check": "tsc -p tsconfig-plugin.json --noEmit", "eslint-plugin:emit": "tsc -p tsconfig-plugin.json --noCheck --module commonjs --moduleResolution node --outDir lib/cjs", diff --git a/packages/jsts/src/rules/.gitignore b/packages/jsts/src/rules/.gitignore new file mode 100644 index 00000000000..260dac8013b --- /dev/null +++ b/packages/jsts/src/rules/.gitignore @@ -0,0 +1,2 @@ +rules.ts +plugin-rules.ts \ No newline at end of file diff --git a/packages/jsts/src/rules/S100/generated-meta.ts b/packages/jsts/src/rules/S100/generated-meta.ts new file mode 100644 index 00000000000..818b8d69d77 --- /dev/null +++ b/packages/jsts/src/rules/S100/generated-meta.ts @@ -0,0 +1,50 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Function and method names should comply with a naming convention', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S100/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S100'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + format: { + type: 'string', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S100/meta.ts b/packages/jsts/src/rules/S100/meta.ts index 818b8d69d77..6dabcc0d031 100644 --- a/packages/jsts/src/rules/S100/meta.ts +++ b/packages/jsts/src/rules/S100/meta.ts @@ -17,34 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Function and method names should comply with a naming convention', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S100/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S100'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - format: { - type: 'string', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'function-name'; diff --git a/packages/jsts/src/rules/S101/generated-meta.ts b/packages/jsts/src/rules/S101/generated-meta.ts new file mode 100644 index 00000000000..a8cb186e4ff --- /dev/null +++ b/packages/jsts/src/rules/S101/generated-meta.ts @@ -0,0 +1,50 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Class names should comply with a naming convention', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S101/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S101'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + format: { + type: 'string', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S101/meta.ts b/packages/jsts/src/rules/S101/meta.ts index a8cb186e4ff..456bf8fe4b3 100644 --- a/packages/jsts/src/rules/S101/meta.ts +++ b/packages/jsts/src/rules/S101/meta.ts @@ -17,34 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Class names should comply with a naming convention', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S101/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S101'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - format: { - type: 'string', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'class-name'; diff --git a/packages/jsts/src/rules/S103/generated-meta.ts b/packages/jsts/src/rules/S103/generated-meta.ts new file mode 100644 index 00000000000..20acb88dbc2 --- /dev/null +++ b/packages/jsts/src/rules/S103/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Lines should not be too long', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S103/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S103'; diff --git a/packages/jsts/src/rules/core/index.ts b/packages/jsts/src/rules/S103/index.ts similarity index 69% rename from packages/jsts/src/rules/core/index.ts rename to packages/jsts/src/rules/S103/index.ts index 00303ce211c..4f0566017e0 100644 --- a/packages/jsts/src/rules/core/index.ts +++ b/packages/jsts/src/rules/S103/index.ts @@ -17,12 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { Linter } from 'eslint'; -/** - * ESLint core rules. - * - * TODO: check typescript-eslint to import core rules: - * https://github.com/typescript-eslint/typescript-eslint/blob/75df60587d045438df448d76cc0ee093c8c31e28/packages/eslint-plugin/src/util/getESLintCoreRule.ts - */ -export const eslintRules = Object.fromEntries(new Linter({ configType: 'eslintrc' }).getRules()); +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('max-len'); diff --git a/packages/jsts/src/rules/S103/meta.ts b/packages/jsts/src/rules/S103/meta.ts new file mode 100644 index 00000000000..79eed56de52 --- /dev/null +++ b/packages/jsts/src/rules/S103/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'max-len'; diff --git a/packages/jsts/src/rules/S104/generated-meta.ts b/packages/jsts/src/rules/S104/generated-meta.ts new file mode 100644 index 00000000000..a370dff46de --- /dev/null +++ b/packages/jsts/src/rules/S104/generated-meta.ts @@ -0,0 +1,50 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Files should not have too many lines of code', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S104/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S104'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + maximum: { + type: 'integer', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S104/meta.ts b/packages/jsts/src/rules/S104/meta.ts index a370dff46de..7d58659d88b 100644 --- a/packages/jsts/src/rules/S104/meta.ts +++ b/packages/jsts/src/rules/S104/meta.ts @@ -17,34 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Files should not have too many lines of code', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S104/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S104'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - maximum: { - type: 'integer', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'max-lines'; diff --git a/packages/jsts/src/rules/S105/generated-meta.ts b/packages/jsts/src/rules/S105/generated-meta.ts new file mode 100644 index 00000000000..bdb1ef9536b --- /dev/null +++ b/packages/jsts/src/rules/S105/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Tabulation characters should not be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S105/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S105'; diff --git a/packages/jsts/src/rules/S105/meta.ts b/packages/jsts/src/rules/S105/meta.ts index bdb1ef9536b..f093628854e 100644 --- a/packages/jsts/src/rules/S105/meta.ts +++ b/packages/jsts/src/rules/S105/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Tabulation characters should not be used', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S105/javascript', - requiresTypeChecking: false, - }, - deprecated: true, -}; - -export const sonarKey = 'S105'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-tab'; diff --git a/packages/jsts/src/rules/S106/generated-meta.ts b/packages/jsts/src/rules/S106/generated-meta.ts new file mode 100644 index 00000000000..6c7dc232b36 --- /dev/null +++ b/packages/jsts/src/rules/S106/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Standard outputs should not be used directly to log anything', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S106/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S106'; diff --git a/packages/jsts/src/rules/S106/index.ts b/packages/jsts/src/rules/S106/index.ts new file mode 100644 index 00000000000..a68049cb7b2 --- /dev/null +++ b/packages/jsts/src/rules/S106/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-console'); diff --git a/packages/jsts/src/rules/S106/meta.ts b/packages/jsts/src/rules/S106/meta.ts new file mode 100644 index 00000000000..27cce5f1c54 --- /dev/null +++ b/packages/jsts/src/rules/S106/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-console'; diff --git a/packages/jsts/src/rules/S1066/generated-meta.ts b/packages/jsts/src/rules/S1066/generated-meta.ts new file mode 100644 index 00000000000..5beb16da361 --- /dev/null +++ b/packages/jsts/src/rules/S1066/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Mergeable "if" statements should be combined', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1066/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1066'; diff --git a/packages/jsts/src/rules/S1066/meta.ts b/packages/jsts/src/rules/S1066/meta.ts index 5beb16da361..9a31db2ab73 100644 --- a/packages/jsts/src/rules/S1066/meta.ts +++ b/packages/jsts/src/rules/S1066/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Mergeable "if" statements should be combined', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1066/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1066'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-collapsible-if'; diff --git a/packages/jsts/src/rules/S1067/generated-meta.ts b/packages/jsts/src/rules/S1067/generated-meta.ts new file mode 100644 index 00000000000..bb164a14b70 --- /dev/null +++ b/packages/jsts/src/rules/S1067/generated-meta.ts @@ -0,0 +1,50 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Expressions should not be too complex', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1067/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1067'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 2, + items: [ + { + type: 'object', + properties: { + max: { + type: 'integer', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S1067/meta.ts b/packages/jsts/src/rules/S1067/meta.ts index bb164a14b70..52fe950351f 100644 --- a/packages/jsts/src/rules/S1067/meta.ts +++ b/packages/jsts/src/rules/S1067/meta.ts @@ -17,34 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Expressions should not be too complex', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1067/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1067'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 2, - items: [ - { - type: 'object', - properties: { - max: { - type: 'integer', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'expression-complexity'; diff --git a/packages/jsts/src/rules/S1068/generated-meta.ts b/packages/jsts/src/rules/S1068/generated-meta.ts new file mode 100644 index 00000000000..593f106abb3 --- /dev/null +++ b/packages/jsts/src/rules/S1068/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Unused private class members should be removed', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1068/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S1068'; diff --git a/packages/jsts/src/rules/S1068/index.ts b/packages/jsts/src/rules/S1068/index.ts index 7492434458d..cf6c2ed187b 100644 --- a/packages/jsts/src/rules/S1068/index.ts +++ b/packages/jsts/src/rules/S1068/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; -export const rule = decorate(eslintRules['no-unused-private-class-members']); +export const rule = decorate(getESLintCoreRule('no-unused-private-class-members')); diff --git a/packages/jsts/src/rules/S1068/meta.ts b/packages/jsts/src/rules/S1068/meta.ts index 593f106abb3..1ef562d723b 100644 --- a/packages/jsts/src/rules/S1068/meta.ts +++ b/packages/jsts/src/rules/S1068/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Unused private class members should be removed', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1068/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S1068'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-unused-private-class-members'; diff --git a/packages/jsts/src/rules/S107/generated-meta.ts b/packages/jsts/src/rules/S107/generated-meta.ts new file mode 100644 index 00000000000..92338365dbd --- /dev/null +++ b/packages/jsts/src/rules/S107/generated-meta.ts @@ -0,0 +1,50 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Functions should not have too many parameters', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S107/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S107'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + max: { + type: 'integer', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S107/meta.ts b/packages/jsts/src/rules/S107/meta.ts index 92338365dbd..53dfaf60f58 100644 --- a/packages/jsts/src/rules/S107/meta.ts +++ b/packages/jsts/src/rules/S107/meta.ts @@ -17,34 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Functions should not have too many parameters', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S107/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S107'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - max: { - type: 'integer', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'max-params'; diff --git a/packages/jsts/src/rules/S107/rule.ts b/packages/jsts/src/rules/S107/rule.ts index 7050b374f8b..3de6a21bec3 100644 --- a/packages/jsts/src/rules/S107/rule.ts +++ b/packages/jsts/src/rules/S107/rule.ts @@ -22,7 +22,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; import { TSESTree } from '@typescript-eslint/utils'; -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { generateMeta, getFullyQualifiedName, @@ -34,7 +34,7 @@ import { import { FromSchema } from 'json-schema-to-ts'; import { meta, schema } from './meta.js'; -const eslintMaxParams = eslintRules['max-params']; +const eslintMaxParams = getESLintCoreRule('max-params'); const DEFAULT_MAXIMUM_FUNCTION_PARAMETERS = 7; diff --git a/packages/jsts/src/rules/S1077/generated-meta.ts b/packages/jsts/src/rules/S1077/generated-meta.ts new file mode 100644 index 00000000000..c90f99fa414 --- /dev/null +++ b/packages/jsts/src/rules/S1077/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: + 'Image, area, button with image and object elements should have an alternative text', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1077/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1077'; diff --git a/packages/jsts/src/rules/S1077/meta.ts b/packages/jsts/src/rules/S1077/meta.ts index c90f99fa414..bbcc940e909 100644 --- a/packages/jsts/src/rules/S1077/meta.ts +++ b/packages/jsts/src/rules/S1077/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: - 'Image, area, button with image and object elements should have an alternative text', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1077/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1077'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'alt-text'; diff --git a/packages/jsts/src/rules/S108/generated-meta.ts b/packages/jsts/src/rules/S108/generated-meta.ts new file mode 100644 index 00000000000..278274d08b9 --- /dev/null +++ b/packages/jsts/src/rules/S108/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Nested blocks of code should not be left empty', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S108/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S108'; diff --git a/packages/jsts/src/rules/S108/index.ts b/packages/jsts/src/rules/S108/index.ts new file mode 100644 index 00000000000..ab421c5e47a --- /dev/null +++ b/packages/jsts/src/rules/S108/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-empty'); diff --git a/packages/jsts/src/rules/S108/meta.ts b/packages/jsts/src/rules/S108/meta.ts new file mode 100644 index 00000000000..15cd833ef4e --- /dev/null +++ b/packages/jsts/src/rules/S108/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-empty'; diff --git a/packages/jsts/src/rules/S1082/generated-meta.ts b/packages/jsts/src/rules/S1082/generated-meta.ts new file mode 100644 index 00000000000..3760b963697 --- /dev/null +++ b/packages/jsts/src/rules/S1082/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Mouse events should have corresponding keyboard events', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1082/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1082'; diff --git a/packages/jsts/src/rules/S1082/meta.ts b/packages/jsts/src/rules/S1082/meta.ts index 3760b963697..c26074685a9 100644 --- a/packages/jsts/src/rules/S1082/meta.ts +++ b/packages/jsts/src/rules/S1082/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Mouse events should have corresponding keyboard events', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1082/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1082'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'mouse-events-a11y'; diff --git a/packages/jsts/src/rules/S109/generated-meta.ts b/packages/jsts/src/rules/S109/generated-meta.ts new file mode 100644 index 00000000000..a0f39b76fc7 --- /dev/null +++ b/packages/jsts/src/rules/S109/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Magic numbers should not be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S109/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S109'; diff --git a/packages/jsts/src/rules/S109/meta.ts b/packages/jsts/src/rules/S109/meta.ts index a0f39b76fc7..84c535edb40 100644 --- a/packages/jsts/src/rules/S109/meta.ts +++ b/packages/jsts/src/rules/S109/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Magic numbers should not be used', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S109/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S109'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-magic-numbers'; diff --git a/packages/jsts/src/rules/S109/rule.ts b/packages/jsts/src/rules/S109/rule.ts index 2b4eb116e81..8a64901640d 100644 --- a/packages/jsts/src/rules/S109/rule.ts +++ b/packages/jsts/src/rules/S109/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { generateMeta, getNodeParent, isMethodInvocation } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S1090/generated-meta.ts b/packages/jsts/src/rules/S1090/generated-meta.ts new file mode 100644 index 00000000000..fd11ab8d1ab --- /dev/null +++ b/packages/jsts/src/rules/S1090/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'iFrames must have a title', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1090/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1090'; diff --git a/packages/jsts/src/rules/S1090/index.ts b/packages/jsts/src/rules/S1090/index.ts new file mode 100644 index 00000000000..20ca37a718f --- /dev/null +++ b/packages/jsts/src/rules/S1090/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['iframe-has-title']; diff --git a/packages/jsts/src/rules/S1090/meta.ts b/packages/jsts/src/rules/S1090/meta.ts new file mode 100644 index 00000000000..0629505a42b --- /dev/null +++ b/packages/jsts/src/rules/S1090/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'iframe-has-title'; diff --git a/packages/jsts/src/rules/S1105/generated-meta.ts b/packages/jsts/src/rules/S1105/generated-meta.ts new file mode 100644 index 00000000000..9b569f34a3b --- /dev/null +++ b/packages/jsts/src/rules/S1105/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'An open curly brace should be located at the end of a line', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1105/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S1105'; diff --git a/packages/jsts/src/rules/S1105/index.ts b/packages/jsts/src/rules/S1105/index.ts index 311322e69b2..eac860e4145 100644 --- a/packages/jsts/src/rules/S1105/index.ts +++ b/packages/jsts/src/rules/S1105/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; -export const rule = decorate(eslintRules['brace-style']); +export const rule = decorate(getESLintCoreRule('brace-style')); diff --git a/packages/jsts/src/rules/S1105/meta.ts b/packages/jsts/src/rules/S1105/meta.ts index 9b569f34a3b..5d015796285 100644 --- a/packages/jsts/src/rules/S1105/meta.ts +++ b/packages/jsts/src/rules/S1105/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'An open curly brace should be located at the end of a line', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1105/javascript', - requiresTypeChecking: false, - }, - deprecated: true, -}; - -export const sonarKey = 'S1105'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'brace-style'; diff --git a/packages/jsts/src/rules/S1110/generated-meta.ts b/packages/jsts/src/rules/S1110/generated-meta.ts new file mode 100644 index 00000000000..e0d921815f3 --- /dev/null +++ b/packages/jsts/src/rules/S1110/generated-meta.ts @@ -0,0 +1,35 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Redundant pairs of parentheses should be removed', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1110/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', + deprecated: true, +}; + +export const sonarKey = 'S1110'; diff --git a/packages/jsts/src/rules/S1110/meta.ts b/packages/jsts/src/rules/S1110/meta.ts index e0d921815f3..2988ee1de6a 100644 --- a/packages/jsts/src/rules/S1110/meta.ts +++ b/packages/jsts/src/rules/S1110/meta.ts @@ -17,19 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Redundant pairs of parentheses should be removed', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1110/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', - deprecated: true, -}; - -export const sonarKey = 'S1110'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-redundant-parentheses'; diff --git a/packages/jsts/src/rules/S1116/generated-meta.ts b/packages/jsts/src/rules/S1116/generated-meta.ts new file mode 100644 index 00000000000..77f39f18132 --- /dev/null +++ b/packages/jsts/src/rules/S1116/generated-meta.ts @@ -0,0 +1,35 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Extra semicolons should be removed', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1116/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', + deprecated: true, +}; + +export const sonarKey = 'S1116'; diff --git a/packages/jsts/src/rules/S1116/index.ts b/packages/jsts/src/rules/S1116/index.ts index 28c6e19ece2..8ebe056c4fa 100644 --- a/packages/jsts/src/rules/S1116/index.ts +++ b/packages/jsts/src/rules/S1116/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-extra-semi']); diff --git a/packages/jsts/src/rules/S1116/meta.ts b/packages/jsts/src/rules/S1116/meta.ts index 77f39f18132..a1f0275f436 100644 --- a/packages/jsts/src/rules/S1116/meta.ts +++ b/packages/jsts/src/rules/S1116/meta.ts @@ -17,19 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Extra semicolons should be removed', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1116/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', - deprecated: true, -}; - -export const sonarKey = 'S1116'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-extra-semi'; diff --git a/packages/jsts/src/rules/S1117/generated-meta.ts b/packages/jsts/src/rules/S1117/generated-meta.ts new file mode 100644 index 00000000000..f67662d2d5b --- /dev/null +++ b/packages/jsts/src/rules/S1117/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Variables should not be shadowed', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1117/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1117'; diff --git a/packages/jsts/src/rules/S1117/index.ts b/packages/jsts/src/rules/S1117/index.ts new file mode 100644 index 00000000000..72cf58115ae --- /dev/null +++ b/packages/jsts/src/rules/S1117/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['no-shadow']; diff --git a/packages/jsts/src/rules/S1117/meta.ts b/packages/jsts/src/rules/S1117/meta.ts new file mode 100644 index 00000000000..94fecdb53db --- /dev/null +++ b/packages/jsts/src/rules/S1117/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-shadow'; diff --git a/packages/jsts/src/rules/S1119/generated-meta.ts b/packages/jsts/src/rules/S1119/generated-meta.ts new file mode 100644 index 00000000000..d8904846de1 --- /dev/null +++ b/packages/jsts/src/rules/S1119/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Labels should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1119/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1119'; diff --git a/packages/jsts/src/rules/S1119/meta.ts b/packages/jsts/src/rules/S1119/meta.ts index d8904846de1..a1c1e7fdb3d 100644 --- a/packages/jsts/src/rules/S1119/meta.ts +++ b/packages/jsts/src/rules/S1119/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Labels should not be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1119/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1119'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-labels'; diff --git a/packages/jsts/src/rules/S1121/generated-meta.ts b/packages/jsts/src/rules/S1121/generated-meta.ts new file mode 100644 index 00000000000..1cb14c29eac --- /dev/null +++ b/packages/jsts/src/rules/S1121/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Assignments should not be made from within sub-expressions', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1121/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1121'; diff --git a/packages/jsts/src/rules/S1121/meta.ts b/packages/jsts/src/rules/S1121/meta.ts index 1cb14c29eac..76ca44d134d 100644 --- a/packages/jsts/src/rules/S1121/meta.ts +++ b/packages/jsts/src/rules/S1121/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Assignments should not be made from within sub-expressions', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1121/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1121'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-nested-assignment'; diff --git a/packages/jsts/src/rules/S1125/generated-meta.ts b/packages/jsts/src/rules/S1125/generated-meta.ts new file mode 100644 index 00000000000..6f7ca13175c --- /dev/null +++ b/packages/jsts/src/rules/S1125/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Boolean literals should not be used in comparisons', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1125/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1125'; diff --git a/packages/jsts/src/rules/S1125/meta.ts b/packages/jsts/src/rules/S1125/meta.ts index 6f7ca13175c..143b55f0026 100644 --- a/packages/jsts/src/rules/S1125/meta.ts +++ b/packages/jsts/src/rules/S1125/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Boolean literals should not be used in comparisons', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1125/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1125'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-redundant-boolean'; diff --git a/packages/jsts/src/rules/S1126/generated-meta.ts b/packages/jsts/src/rules/S1126/generated-meta.ts new file mode 100644 index 00000000000..7c29b37fc6e --- /dev/null +++ b/packages/jsts/src/rules/S1126/generated-meta.ts @@ -0,0 +1,35 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: + 'Return of boolean expressions should not be wrapped into an "if-then-else" statement', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1126/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S1126'; diff --git a/packages/jsts/src/rules/S1126/meta.ts b/packages/jsts/src/rules/S1126/meta.ts index 7c29b37fc6e..7eaed825d30 100644 --- a/packages/jsts/src/rules/S1126/meta.ts +++ b/packages/jsts/src/rules/S1126/meta.ts @@ -17,19 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: - 'Return of boolean expressions should not be wrapped into an "if-then-else" statement', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1126/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S1126'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'prefer-single-boolean-return'; diff --git a/packages/jsts/src/rules/S1128/generated-meta.ts b/packages/jsts/src/rules/S1128/generated-meta.ts new file mode 100644 index 00000000000..087f54bbd19 --- /dev/null +++ b/packages/jsts/src/rules/S1128/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Unnecessary imports should be removed', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1128/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S1128'; diff --git a/packages/jsts/src/rules/S1128/meta.ts b/packages/jsts/src/rules/S1128/meta.ts index 087f54bbd19..01bf7d7fca4 100644 --- a/packages/jsts/src/rules/S1128/meta.ts +++ b/packages/jsts/src/rules/S1128/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Unnecessary imports should be removed', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1128/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S1128'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'unused-import'; diff --git a/packages/jsts/src/rules/S113/generated-meta.ts b/packages/jsts/src/rules/S113/generated-meta.ts new file mode 100644 index 00000000000..89654ed6e9c --- /dev/null +++ b/packages/jsts/src/rules/S113/generated-meta.ts @@ -0,0 +1,35 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Files should end with a newline', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S113/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', + deprecated: true, +}; + +export const sonarKey = 'S113'; diff --git a/packages/jsts/src/rules/S113/index.ts b/packages/jsts/src/rules/S113/index.ts new file mode 100644 index 00000000000..1188913020e --- /dev/null +++ b/packages/jsts/src/rules/S113/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('eol-last'); diff --git a/packages/jsts/src/rules/S113/meta.ts b/packages/jsts/src/rules/S113/meta.ts new file mode 100644 index 00000000000..283e2c06266 --- /dev/null +++ b/packages/jsts/src/rules/S113/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'eol-last'; diff --git a/packages/jsts/src/rules/S1131/generated-meta.ts b/packages/jsts/src/rules/S1131/generated-meta.ts new file mode 100644 index 00000000000..79cf4384d3f --- /dev/null +++ b/packages/jsts/src/rules/S1131/generated-meta.ts @@ -0,0 +1,35 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Lines should not end with trailing whitespaces', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1131/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', + deprecated: true, +}; + +export const sonarKey = 'S1131'; diff --git a/packages/jsts/src/rules/S1131/index.ts b/packages/jsts/src/rules/S1131/index.ts new file mode 100644 index 00000000000..759d5bf46bb --- /dev/null +++ b/packages/jsts/src/rules/S1131/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-trailing-spaces'); diff --git a/packages/jsts/src/rules/S1131/meta.ts b/packages/jsts/src/rules/S1131/meta.ts new file mode 100644 index 00000000000..7b452d982c8 --- /dev/null +++ b/packages/jsts/src/rules/S1131/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-trailing-spaces'; diff --git a/packages/jsts/src/rules/S1134/generated-meta.ts b/packages/jsts/src/rules/S1134/generated-meta.ts new file mode 100644 index 00000000000..fad297f6002 --- /dev/null +++ b/packages/jsts/src/rules/S1134/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Track uses of "FIXME" tags', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1134/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1134'; diff --git a/packages/jsts/src/rules/S1134/meta.ts b/packages/jsts/src/rules/S1134/meta.ts index fad297f6002..24687051a4d 100644 --- a/packages/jsts/src/rules/S1134/meta.ts +++ b/packages/jsts/src/rules/S1134/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Track uses of "FIXME" tags', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1134/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1134'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'fixme-tag'; diff --git a/packages/jsts/src/rules/S1135/generated-meta.ts b/packages/jsts/src/rules/S1135/generated-meta.ts new file mode 100644 index 00000000000..3cbb36fee66 --- /dev/null +++ b/packages/jsts/src/rules/S1135/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Track uses of "TODO" tags', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1135/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1135'; diff --git a/packages/jsts/src/rules/S1135/meta.ts b/packages/jsts/src/rules/S1135/meta.ts index 3cbb36fee66..0751a405340 100644 --- a/packages/jsts/src/rules/S1135/meta.ts +++ b/packages/jsts/src/rules/S1135/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Track uses of "TODO" tags', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1135/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1135'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'todo-tag'; diff --git a/packages/jsts/src/rules/S1143/generated-meta.ts b/packages/jsts/src/rules/S1143/generated-meta.ts new file mode 100644 index 00000000000..7eaca7180b3 --- /dev/null +++ b/packages/jsts/src/rules/S1143/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Jump statements should not occur in "finally" blocks', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1143/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1143'; diff --git a/packages/jsts/src/rules/S1143/index.ts b/packages/jsts/src/rules/S1143/index.ts new file mode 100644 index 00000000000..8a322aa8e9b --- /dev/null +++ b/packages/jsts/src/rules/S1143/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-unsafe-finally'); diff --git a/packages/jsts/src/rules/S1143/meta.ts b/packages/jsts/src/rules/S1143/meta.ts new file mode 100644 index 00000000000..b9e0e032073 --- /dev/null +++ b/packages/jsts/src/rules/S1143/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-unsafe-finally'; diff --git a/packages/jsts/src/rules/S1154/generated-meta.ts b/packages/jsts/src/rules/S1154/generated-meta.ts new file mode 100644 index 00000000000..955b0aee51d --- /dev/null +++ b/packages/jsts/src/rules/S1154/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Results of operations on strings should not be ignored', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1154/javascript', + requiresTypeChecking: true, + }, + deprecated: true, +}; + +export const sonarKey = 'S1154'; diff --git a/packages/jsts/src/rules/S1154/meta.ts b/packages/jsts/src/rules/S1154/meta.ts index 955b0aee51d..b2d7d2c5258 100644 --- a/packages/jsts/src/rules/S1154/meta.ts +++ b/packages/jsts/src/rules/S1154/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Results of operations on strings should not be ignored', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1154/javascript', - requiresTypeChecking: true, - }, - deprecated: true, -}; - -export const sonarKey = 'S1154'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'useless-string-operation'; diff --git a/packages/jsts/src/rules/S117/generated-meta.ts b/packages/jsts/src/rules/S117/generated-meta.ts new file mode 100644 index 00000000000..80456b75339 --- /dev/null +++ b/packages/jsts/src/rules/S117/generated-meta.ts @@ -0,0 +1,50 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Variable, property and parameter names should comply with a naming convention', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S117/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S117'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + format: { + type: 'string', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S117/meta.ts b/packages/jsts/src/rules/S117/meta.ts index 80456b75339..ef040a220e3 100644 --- a/packages/jsts/src/rules/S117/meta.ts +++ b/packages/jsts/src/rules/S117/meta.ts @@ -17,34 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Variable, property and parameter names should comply with a naming convention', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S117/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S117'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - format: { - type: 'string', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'variable-name'; diff --git a/packages/jsts/src/rules/S1172/generated-meta.ts b/packages/jsts/src/rules/S1172/generated-meta.ts new file mode 100644 index 00000000000..fe192ac206b --- /dev/null +++ b/packages/jsts/src/rules/S1172/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Unused function parameters should be removed', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1172/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S1172'; diff --git a/packages/jsts/src/rules/S1172/meta.ts b/packages/jsts/src/rules/S1172/meta.ts index fe192ac206b..e82bf7d5602 100644 --- a/packages/jsts/src/rules/S1172/meta.ts +++ b/packages/jsts/src/rules/S1172/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Unused function parameters should be removed', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1172/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S1172'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-unused-function-argument'; diff --git a/packages/jsts/src/rules/S1186/generated-meta.ts b/packages/jsts/src/rules/S1186/generated-meta.ts new file mode 100644 index 00000000000..0122765b37a --- /dev/null +++ b/packages/jsts/src/rules/S1186/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Functions should not be empty', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1186/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S1186'; diff --git a/packages/jsts/src/rules/S1186/index.ts b/packages/jsts/src/rules/S1186/index.ts index 7f78fbbf17b..94e0302081b 100644 --- a/packages/jsts/src/rules/S1186/index.ts +++ b/packages/jsts/src/rules/S1186/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-empty-function']); diff --git a/packages/jsts/src/rules/S1186/meta.ts b/packages/jsts/src/rules/S1186/meta.ts index 0122765b37a..23bb5e079a3 100644 --- a/packages/jsts/src/rules/S1186/meta.ts +++ b/packages/jsts/src/rules/S1186/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Functions should not be empty', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1186/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S1186'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-empty-function'; diff --git a/packages/jsts/src/rules/S1192/generated-meta.ts b/packages/jsts/src/rules/S1192/generated-meta.ts new file mode 100644 index 00000000000..e997f3d8e79 --- /dev/null +++ b/packages/jsts/src/rules/S1192/generated-meta.ts @@ -0,0 +1,54 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'String literals should not be duplicated', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1192/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1192'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 2, + items: [ + { + type: 'object', + properties: { + threshold: { + type: 'integer', + minimum: 2, + }, + ignoreStrings: { + type: 'string', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S1192/meta.ts b/packages/jsts/src/rules/S1192/meta.ts index e997f3d8e79..c51442030a2 100644 --- a/packages/jsts/src/rules/S1192/meta.ts +++ b/packages/jsts/src/rules/S1192/meta.ts @@ -17,38 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'String literals should not be duplicated', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1192/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1192'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 2, - items: [ - { - type: 'object', - properties: { - threshold: { - type: 'integer', - minimum: 2, - }, - ignoreStrings: { - type: 'string', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-duplicate-string'; diff --git a/packages/jsts/src/rules/S1199/generated-meta.ts b/packages/jsts/src/rules/S1199/generated-meta.ts new file mode 100644 index 00000000000..e12391a9fc8 --- /dev/null +++ b/packages/jsts/src/rules/S1199/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Nested code blocks should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1199/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1199'; diff --git a/packages/jsts/src/rules/S1199/index.ts b/packages/jsts/src/rules/S1199/index.ts new file mode 100644 index 00000000000..bba4ea7fa94 --- /dev/null +++ b/packages/jsts/src/rules/S1199/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-lone-blocks'); diff --git a/packages/jsts/src/rules/S1199/meta.ts b/packages/jsts/src/rules/S1199/meta.ts new file mode 100644 index 00000000000..c434d4e010b --- /dev/null +++ b/packages/jsts/src/rules/S1199/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-lone-blocks'; diff --git a/packages/jsts/src/rules/S121/generated-meta.ts b/packages/jsts/src/rules/S121/generated-meta.ts new file mode 100644 index 00000000000..8c3066d0903 --- /dev/null +++ b/packages/jsts/src/rules/S121/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Control structures should use curly braces', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S121/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S121'; diff --git a/packages/jsts/src/rules/S121/index.ts b/packages/jsts/src/rules/S121/index.ts new file mode 100644 index 00000000000..404554c1ce5 --- /dev/null +++ b/packages/jsts/src/rules/S121/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('curly'); diff --git a/packages/jsts/src/rules/S121/meta.ts b/packages/jsts/src/rules/S121/meta.ts new file mode 100644 index 00000000000..a4ca5889f0d --- /dev/null +++ b/packages/jsts/src/rules/S121/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'curly'; diff --git a/packages/jsts/src/rules/S1219/generated-meta.ts b/packages/jsts/src/rules/S1219/generated-meta.ts new file mode 100644 index 00000000000..e9f16caf3ac --- /dev/null +++ b/packages/jsts/src/rules/S1219/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"switch" statements should not contain non-case labels', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1219/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1219'; diff --git a/packages/jsts/src/rules/S1219/meta.ts b/packages/jsts/src/rules/S1219/meta.ts index e9f16caf3ac..a0140fb2702 100644 --- a/packages/jsts/src/rules/S1219/meta.ts +++ b/packages/jsts/src/rules/S1219/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"switch" statements should not contain non-case labels', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1219/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1219'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-case-label-in-switch'; diff --git a/packages/jsts/src/rules/S122/generated-meta.ts b/packages/jsts/src/rules/S122/generated-meta.ts new file mode 100644 index 00000000000..cacbc793ccc --- /dev/null +++ b/packages/jsts/src/rules/S122/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Statements should be on separate lines', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S122/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S122'; diff --git a/packages/jsts/src/rules/S122/index.ts b/packages/jsts/src/rules/S122/index.ts new file mode 100644 index 00000000000..e822972312e --- /dev/null +++ b/packages/jsts/src/rules/S122/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('max-statements-per-line'); diff --git a/packages/jsts/src/rules/S122/meta.ts b/packages/jsts/src/rules/S122/meta.ts new file mode 100644 index 00000000000..efac7cac4b4 --- /dev/null +++ b/packages/jsts/src/rules/S122/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'max-statements-per-line'; diff --git a/packages/jsts/src/rules/S1226/generated-meta.ts b/packages/jsts/src/rules/S1226/generated-meta.ts new file mode 100644 index 00000000000..2938c04a372 --- /dev/null +++ b/packages/jsts/src/rules/S1226/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: + 'Initial values of parameters, caught exceptions, and loop variables should not be ignored', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1226/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1226'; diff --git a/packages/jsts/src/rules/S1226/meta.ts b/packages/jsts/src/rules/S1226/meta.ts index 2938c04a372..44180f512f5 100644 --- a/packages/jsts/src/rules/S1226/meta.ts +++ b/packages/jsts/src/rules/S1226/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: - 'Initial values of parameters, caught exceptions, and loop variables should not be ignored', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1226/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1226'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-parameter-reassignment'; diff --git a/packages/jsts/src/rules/S124/generated-meta.ts b/packages/jsts/src/rules/S124/generated-meta.ts new file mode 100644 index 00000000000..df23bc1fe03 --- /dev/null +++ b/packages/jsts/src/rules/S124/generated-meta.ts @@ -0,0 +1,56 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Track comments matching a regular expression', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S124/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S124'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + regularExpression: { + type: 'string', + }, + message: { + type: 'string', + }, + flags: { + type: 'string', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S124/meta.ts b/packages/jsts/src/rules/S124/meta.ts index df23bc1fe03..4c722311f94 100644 --- a/packages/jsts/src/rules/S124/meta.ts +++ b/packages/jsts/src/rules/S124/meta.ts @@ -17,40 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Track comments matching a regular expression', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S124/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S124'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - regularExpression: { - type: 'string', - }, - message: { - type: 'string', - }, - flags: { - type: 'string', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'comment-regex'; diff --git a/packages/jsts/src/rules/S125/generated-meta.ts b/packages/jsts/src/rules/S125/generated-meta.ts new file mode 100644 index 00000000000..a0ca0a51826 --- /dev/null +++ b/packages/jsts/src/rules/S125/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Sections of code should not be commented out', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S125/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S125'; diff --git a/packages/jsts/src/rules/S125/meta.ts b/packages/jsts/src/rules/S125/meta.ts index a0ca0a51826..9d2cbbe06c8 100644 --- a/packages/jsts/src/rules/S125/meta.ts +++ b/packages/jsts/src/rules/S125/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Sections of code should not be commented out', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S125/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S125'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-commented-code'; diff --git a/packages/jsts/src/rules/S126/generated-meta.ts b/packages/jsts/src/rules/S126/generated-meta.ts new file mode 100644 index 00000000000..f6a937c1f43 --- /dev/null +++ b/packages/jsts/src/rules/S126/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"if ... else if" constructs should end with "else" clauses', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S126/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S126'; diff --git a/packages/jsts/src/rules/S126/meta.ts b/packages/jsts/src/rules/S126/meta.ts index f6a937c1f43..ef773dcb2db 100644 --- a/packages/jsts/src/rules/S126/meta.ts +++ b/packages/jsts/src/rules/S126/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"if ... else if" constructs should end with "else" clauses', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S126/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S126'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'elseif-without-else'; diff --git a/packages/jsts/src/rules/S1264/generated-meta.ts b/packages/jsts/src/rules/S1264/generated-meta.ts new file mode 100644 index 00000000000..3a205c35241 --- /dev/null +++ b/packages/jsts/src/rules/S1264/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'A "while" loop should be used instead of a "for" loop', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1264/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S1264'; diff --git a/packages/jsts/src/rules/S1264/meta.ts b/packages/jsts/src/rules/S1264/meta.ts index 3a205c35241..14bb0d750f6 100644 --- a/packages/jsts/src/rules/S1264/meta.ts +++ b/packages/jsts/src/rules/S1264/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'A "while" loop should be used instead of a "for" loop', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1264/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S1264'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'prefer-while'; diff --git a/packages/jsts/src/rules/S128/generated-meta.ts b/packages/jsts/src/rules/S128/generated-meta.ts new file mode 100644 index 00000000000..182c3bb6703 --- /dev/null +++ b/packages/jsts/src/rules/S128/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Switch cases should end with an unconditional "break" statement', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S128/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S128'; diff --git a/packages/jsts/src/rules/S128/meta.ts b/packages/jsts/src/rules/S128/meta.ts index 182c3bb6703..8c0b776ec95 100644 --- a/packages/jsts/src/rules/S128/meta.ts +++ b/packages/jsts/src/rules/S128/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Switch cases should end with an unconditional "break" statement', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S128/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S128'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-fallthrough'; diff --git a/packages/jsts/src/rules/S1301/generated-meta.ts b/packages/jsts/src/rules/S1301/generated-meta.ts new file mode 100644 index 00000000000..e00777841c3 --- /dev/null +++ b/packages/jsts/src/rules/S1301/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"if" statements should be preferred over "switch" when simpler', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1301/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1301'; diff --git a/packages/jsts/src/rules/S1301/meta.ts b/packages/jsts/src/rules/S1301/meta.ts index e00777841c3..c80d288a153 100644 --- a/packages/jsts/src/rules/S1301/meta.ts +++ b/packages/jsts/src/rules/S1301/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"if" statements should be preferred over "switch" when simpler', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1301/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1301'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-small-switch'; diff --git a/packages/jsts/src/rules/S131/generated-meta.ts b/packages/jsts/src/rules/S131/generated-meta.ts new file mode 100644 index 00000000000..6b9b419efb8 --- /dev/null +++ b/packages/jsts/src/rules/S131/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"switch" statements should have "default" clauses', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S131/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S131'; diff --git a/packages/jsts/src/rules/S131/meta.ts b/packages/jsts/src/rules/S131/meta.ts index 6b9b419efb8..8b818a7c97b 100644 --- a/packages/jsts/src/rules/S131/meta.ts +++ b/packages/jsts/src/rules/S131/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"switch" statements should have "default" clauses', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S131/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S131'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'switch-without-default'; diff --git a/packages/jsts/src/rules/S131/rule.ts b/packages/jsts/src/rules/S131/rule.ts index 97056a69885..b35d87d9223 100644 --- a/packages/jsts/src/rules/S131/rule.ts +++ b/packages/jsts/src/rules/S131/rule.ts @@ -21,7 +21,7 @@ import estree from 'estree'; import { Rule, SourceCode } from 'eslint'; -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { generateMeta, interceptReport, diff --git a/packages/jsts/src/rules/S1313/generated-meta.ts b/packages/jsts/src/rules/S1313/generated-meta.ts new file mode 100644 index 00000000000..3166a23fafa --- /dev/null +++ b/packages/jsts/src/rules/S1313/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using hardcoded IP addresses is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1313/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1313'; diff --git a/packages/jsts/src/rules/S1313/meta.ts b/packages/jsts/src/rules/S1313/meta.ts index 3166a23fafa..92f2f7c0c21 100644 --- a/packages/jsts/src/rules/S1313/meta.ts +++ b/packages/jsts/src/rules/S1313/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using hardcoded IP addresses is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1313/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1313'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-hardcoded-ip'; diff --git a/packages/jsts/src/rules/S1314/generated-meta.ts b/packages/jsts/src/rules/S1314/generated-meta.ts new file mode 100644 index 00000000000..18ac6e0d1d7 --- /dev/null +++ b/packages/jsts/src/rules/S1314/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Octal values should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1314/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1314'; diff --git a/packages/jsts/src/rules/S1314/index.ts b/packages/jsts/src/rules/S1314/index.ts new file mode 100644 index 00000000000..1254832cf7c --- /dev/null +++ b/packages/jsts/src/rules/S1314/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-octal'); diff --git a/packages/jsts/src/rules/S1314/meta.ts b/packages/jsts/src/rules/S1314/meta.ts new file mode 100644 index 00000000000..03b2e01c78e --- /dev/null +++ b/packages/jsts/src/rules/S1314/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-octal'; diff --git a/packages/jsts/src/rules/S1321/generated-meta.ts b/packages/jsts/src/rules/S1321/generated-meta.ts new file mode 100644 index 00000000000..f605c67de5d --- /dev/null +++ b/packages/jsts/src/rules/S1321/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"with" statements should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1321/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1321'; diff --git a/packages/jsts/src/rules/S1321/index.ts b/packages/jsts/src/rules/S1321/index.ts new file mode 100644 index 00000000000..79dc0d83aa8 --- /dev/null +++ b/packages/jsts/src/rules/S1321/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-with'); diff --git a/packages/jsts/src/rules/S1321/meta.ts b/packages/jsts/src/rules/S1321/meta.ts new file mode 100644 index 00000000000..deff51bb56b --- /dev/null +++ b/packages/jsts/src/rules/S1321/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-with'; diff --git a/packages/jsts/src/rules/S134/generated-meta.ts b/packages/jsts/src/rules/S134/generated-meta.ts new file mode 100644 index 00000000000..cdaa946fb92 --- /dev/null +++ b/packages/jsts/src/rules/S134/generated-meta.ts @@ -0,0 +1,51 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: + 'Control flow statements "if", "for", "while", "switch" and "try" should not be nested too deeply', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S134/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S134'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 2, + items: [ + { + type: 'object', + properties: { + maximumNestingLevel: { + type: 'integer', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S134/meta.ts b/packages/jsts/src/rules/S134/meta.ts index cdaa946fb92..dc771656c87 100644 --- a/packages/jsts/src/rules/S134/meta.ts +++ b/packages/jsts/src/rules/S134/meta.ts @@ -17,35 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: - 'Control flow statements "if", "for", "while", "switch" and "try" should not be nested too deeply', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S134/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S134'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 2, - items: [ - { - type: 'object', - properties: { - maximumNestingLevel: { - type: 'integer', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'nested-control-flow'; diff --git a/packages/jsts/src/rules/S135/generated-meta.ts b/packages/jsts/src/rules/S135/generated-meta.ts new file mode 100644 index 00000000000..e61769f73f4 --- /dev/null +++ b/packages/jsts/src/rules/S135/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Loops should not contain more than a single "break" or "continue" statement', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S135/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S135'; diff --git a/packages/jsts/src/rules/S135/meta.ts b/packages/jsts/src/rules/S135/meta.ts index e61769f73f4..9e210494269 100644 --- a/packages/jsts/src/rules/S135/meta.ts +++ b/packages/jsts/src/rules/S135/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Loops should not contain more than a single "break" or "continue" statement', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S135/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S135'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'too-many-break-or-continue-in-loop'; diff --git a/packages/jsts/src/rules/S138/generated-meta.ts b/packages/jsts/src/rules/S138/generated-meta.ts new file mode 100644 index 00000000000..00f89e22e7c --- /dev/null +++ b/packages/jsts/src/rules/S138/generated-meta.ts @@ -0,0 +1,50 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Functions should not have too many lines of code', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S138/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S138'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + maximum: { + type: 'integer', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S138/meta.ts b/packages/jsts/src/rules/S138/meta.ts index 00f89e22e7c..f21a5f3214f 100644 --- a/packages/jsts/src/rules/S138/meta.ts +++ b/packages/jsts/src/rules/S138/meta.ts @@ -17,34 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Functions should not have too many lines of code', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S138/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S138'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - maximum: { - type: 'integer', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'max-lines-per-function'; diff --git a/packages/jsts/src/rules/S139/generated-meta.ts b/packages/jsts/src/rules/S139/generated-meta.ts new file mode 100644 index 00000000000..f339c7ab42f --- /dev/null +++ b/packages/jsts/src/rules/S139/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Comments should not be located at the end of lines of code', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S139/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S139'; diff --git a/packages/jsts/src/rules/S139/index.ts b/packages/jsts/src/rules/S139/index.ts new file mode 100644 index 00000000000..3d66d94d55f --- /dev/null +++ b/packages/jsts/src/rules/S139/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('line-comment-position'); diff --git a/packages/jsts/src/rules/S139/meta.ts b/packages/jsts/src/rules/S139/meta.ts new file mode 100644 index 00000000000..9a0ea6026f7 --- /dev/null +++ b/packages/jsts/src/rules/S139/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'line-comment-position'; diff --git a/packages/jsts/src/rules/S1438/generated-meta.ts b/packages/jsts/src/rules/S1438/generated-meta.ts new file mode 100644 index 00000000000..9663538ed65 --- /dev/null +++ b/packages/jsts/src/rules/S1438/generated-meta.ts @@ -0,0 +1,35 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Statements should end with semicolons', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1438/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', + deprecated: true, +}; + +export const sonarKey = 'S1438'; diff --git a/packages/jsts/src/rules/S1438/index.ts b/packages/jsts/src/rules/S1438/index.ts index 4854d1eefdf..d7f09b3e738 100644 --- a/packages/jsts/src/rules/S1438/index.ts +++ b/packages/jsts/src/rules/S1438/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['semi']); diff --git a/packages/jsts/src/rules/S1438/meta.ts b/packages/jsts/src/rules/S1438/meta.ts index 9663538ed65..4442ca3418c 100644 --- a/packages/jsts/src/rules/S1438/meta.ts +++ b/packages/jsts/src/rules/S1438/meta.ts @@ -17,19 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Statements should end with semicolons', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1438/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', - deprecated: true, -}; - -export const sonarKey = 'S1438'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'semi'; diff --git a/packages/jsts/src/rules/S1439/generated-meta.ts b/packages/jsts/src/rules/S1439/generated-meta.ts new file mode 100644 index 00000000000..f148125fbcb --- /dev/null +++ b/packages/jsts/src/rules/S1439/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Only "while", "do", "for" and "switch" statements should be labelled', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1439/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1439'; diff --git a/packages/jsts/src/rules/S1439/meta.ts b/packages/jsts/src/rules/S1439/meta.ts index f148125fbcb..c7901375a63 100644 --- a/packages/jsts/src/rules/S1439/meta.ts +++ b/packages/jsts/src/rules/S1439/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Only "while", "do", "for" and "switch" statements should be labelled', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1439/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1439'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'label-position'; diff --git a/packages/jsts/src/rules/S1440/generated-meta.ts b/packages/jsts/src/rules/S1440/generated-meta.ts new file mode 100644 index 00000000000..ccee06280e0 --- /dev/null +++ b/packages/jsts/src/rules/S1440/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"===" and "!==" should be used instead of "==" and "!="', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1440/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1440'; diff --git a/packages/jsts/src/rules/S1440/index.ts b/packages/jsts/src/rules/S1440/index.ts new file mode 100644 index 00000000000..9cb707df6d8 --- /dev/null +++ b/packages/jsts/src/rules/S1440/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('eqeqeq'); diff --git a/packages/jsts/src/rules/S1440/meta.ts b/packages/jsts/src/rules/S1440/meta.ts new file mode 100644 index 00000000000..7ffcf0320ae --- /dev/null +++ b/packages/jsts/src/rules/S1440/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'eqeqeq'; diff --git a/packages/jsts/src/rules/S1441/generated-meta.ts b/packages/jsts/src/rules/S1441/generated-meta.ts new file mode 100644 index 00000000000..2b8edfbef4f --- /dev/null +++ b/packages/jsts/src/rules/S1441/generated-meta.ts @@ -0,0 +1,35 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Quotes for string literals should be used consistently', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1441/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', + deprecated: true, +}; + +export const sonarKey = 'S1441'; diff --git a/packages/jsts/src/rules/S1441/index.ts b/packages/jsts/src/rules/S1441/index.ts new file mode 100644 index 00000000000..d2e9ae8225f --- /dev/null +++ b/packages/jsts/src/rules/S1441/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('quotes'); diff --git a/packages/jsts/src/rules/S1441/meta.ts b/packages/jsts/src/rules/S1441/meta.ts new file mode 100644 index 00000000000..da2e0ad1844 --- /dev/null +++ b/packages/jsts/src/rules/S1441/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'quotes'; diff --git a/packages/jsts/src/rules/S1442/generated-meta.ts b/packages/jsts/src/rules/S1442/generated-meta.ts new file mode 100644 index 00000000000..efa5172ad23 --- /dev/null +++ b/packages/jsts/src/rules/S1442/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"alert(...)" should not be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1442/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S1442'; diff --git a/packages/jsts/src/rules/S1442/index.ts b/packages/jsts/src/rules/S1442/index.ts new file mode 100644 index 00000000000..ab48bd8dc12 --- /dev/null +++ b/packages/jsts/src/rules/S1442/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-alert'); diff --git a/packages/jsts/src/rules/S1442/meta.ts b/packages/jsts/src/rules/S1442/meta.ts new file mode 100644 index 00000000000..02668537968 --- /dev/null +++ b/packages/jsts/src/rules/S1442/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-alert'; diff --git a/packages/jsts/src/rules/S1444/generated-meta.ts b/packages/jsts/src/rules/S1444/generated-meta.ts new file mode 100644 index 00000000000..8d41917d42c --- /dev/null +++ b/packages/jsts/src/rules/S1444/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Public "static" fields should be read-only', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1444/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S1444'; diff --git a/packages/jsts/src/rules/S1444/meta.ts b/packages/jsts/src/rules/S1444/meta.ts index 8d41917d42c..64a36d92185 100644 --- a/packages/jsts/src/rules/S1444/meta.ts +++ b/packages/jsts/src/rules/S1444/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Public "static" fields should be read-only', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1444/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S1444'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'public-static-readonly'; diff --git a/packages/jsts/src/rules/S1451/generated-meta.ts b/packages/jsts/src/rules/S1451/generated-meta.ts new file mode 100644 index 00000000000..a3eef623d3a --- /dev/null +++ b/packages/jsts/src/rules/S1451/generated-meta.ts @@ -0,0 +1,53 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Track lack of copyright and license headers', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1451/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1451'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + headerFormat: { + type: 'string', + }, + isRegularExpression: { + type: 'boolean', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S1451/meta.ts b/packages/jsts/src/rules/S1451/meta.ts index a3eef623d3a..5a2ff8a005a 100644 --- a/packages/jsts/src/rules/S1451/meta.ts +++ b/packages/jsts/src/rules/S1451/meta.ts @@ -17,37 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Track lack of copyright and license headers', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1451/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1451'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - headerFormat: { - type: 'string', - }, - isRegularExpression: { - type: 'boolean', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'file-header'; diff --git a/packages/jsts/src/rules/S1472/generated-meta.ts b/packages/jsts/src/rules/S1472/generated-meta.ts new file mode 100644 index 00000000000..14013be1d7f --- /dev/null +++ b/packages/jsts/src/rules/S1472/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Function call arguments should not start on new lines', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1472/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1472'; diff --git a/packages/jsts/src/rules/S1472/meta.ts b/packages/jsts/src/rules/S1472/meta.ts index 14013be1d7f..d744ced7fc9 100644 --- a/packages/jsts/src/rules/S1472/meta.ts +++ b/packages/jsts/src/rules/S1472/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Function call arguments should not start on new lines', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1472/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1472'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'call-argument-line'; diff --git a/packages/jsts/src/rules/S1479/generated-meta.ts b/packages/jsts/src/rules/S1479/generated-meta.ts new file mode 100644 index 00000000000..6e48852f7a0 --- /dev/null +++ b/packages/jsts/src/rules/S1479/generated-meta.ts @@ -0,0 +1,45 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"switch" statements should not have too many "case" clauses', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1479/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1479'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'integer', + minimum: 0, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S1479/meta.ts b/packages/jsts/src/rules/S1479/meta.ts index 6e48852f7a0..a94437ff981 100644 --- a/packages/jsts/src/rules/S1479/meta.ts +++ b/packages/jsts/src/rules/S1479/meta.ts @@ -17,29 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"switch" statements should not have too many "case" clauses', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1479/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1479'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'integer', - minimum: 0, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'max-switch-cases'; diff --git a/packages/jsts/src/rules/S1481/generated-meta.ts b/packages/jsts/src/rules/S1481/generated-meta.ts new file mode 100644 index 00000000000..da9e1c32266 --- /dev/null +++ b/packages/jsts/src/rules/S1481/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Unused local variables and functions should be removed', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1481/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1481'; diff --git a/packages/jsts/src/rules/S1481/meta.ts b/packages/jsts/src/rules/S1481/meta.ts index da9e1c32266..319371138a1 100644 --- a/packages/jsts/src/rules/S1481/meta.ts +++ b/packages/jsts/src/rules/S1481/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Unused local variables and functions should be removed', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1481/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1481'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-unused-vars'; diff --git a/packages/jsts/src/rules/S1488/generated-meta.ts b/packages/jsts/src/rules/S1488/generated-meta.ts new file mode 100644 index 00000000000..a4aec6169a0 --- /dev/null +++ b/packages/jsts/src/rules/S1488/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Local variables should not be declared and then immediately returned or thrown', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1488/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S1488'; diff --git a/packages/jsts/src/rules/S1488/meta.ts b/packages/jsts/src/rules/S1488/meta.ts index a4aec6169a0..c0077643838 100644 --- a/packages/jsts/src/rules/S1488/meta.ts +++ b/packages/jsts/src/rules/S1488/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Local variables should not be declared and then immediately returned or thrown', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1488/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S1488'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'prefer-immediate-return'; diff --git a/packages/jsts/src/rules/S1515/generated-meta.ts b/packages/jsts/src/rules/S1515/generated-meta.ts new file mode 100644 index 00000000000..57e0344c988 --- /dev/null +++ b/packages/jsts/src/rules/S1515/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Functions should not be defined inside loops', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1515/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1515'; diff --git a/packages/jsts/src/rules/S1515/meta.ts b/packages/jsts/src/rules/S1515/meta.ts index 57e0344c988..66b271db3fd 100644 --- a/packages/jsts/src/rules/S1515/meta.ts +++ b/packages/jsts/src/rules/S1515/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Functions should not be defined inside loops', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1515/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1515'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'function-inside-loop'; diff --git a/packages/jsts/src/rules/S1516/generated-meta.ts b/packages/jsts/src/rules/S1516/generated-meta.ts new file mode 100644 index 00000000000..e50ac2815b8 --- /dev/null +++ b/packages/jsts/src/rules/S1516/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Multiline string literals should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1516/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1516'; diff --git a/packages/jsts/src/rules/S1516/index.ts b/packages/jsts/src/rules/S1516/index.ts new file mode 100644 index 00000000000..d429e1d20ff --- /dev/null +++ b/packages/jsts/src/rules/S1516/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-multi-str'); diff --git a/packages/jsts/src/rules/S1516/meta.ts b/packages/jsts/src/rules/S1516/meta.ts new file mode 100644 index 00000000000..2ce88e4ee35 --- /dev/null +++ b/packages/jsts/src/rules/S1516/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-multi-str'; diff --git a/packages/jsts/src/rules/S1523/generated-meta.ts b/packages/jsts/src/rules/S1523/generated-meta.ts new file mode 100644 index 00000000000..8bf45e7c30b --- /dev/null +++ b/packages/jsts/src/rules/S1523/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Dynamically executing code is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1523/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1523'; diff --git a/packages/jsts/src/rules/S1523/meta.ts b/packages/jsts/src/rules/S1523/meta.ts index 8bf45e7c30b..7dce9766f8f 100644 --- a/packages/jsts/src/rules/S1523/meta.ts +++ b/packages/jsts/src/rules/S1523/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Dynamically executing code is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1523/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1523'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'code-eval'; diff --git a/packages/jsts/src/rules/S1523/rule.ts b/packages/jsts/src/rules/S1523/rule.ts index 595eeaf8455..be3a06c12df 100644 --- a/packages/jsts/src/rules/S1523/rule.ts +++ b/packages/jsts/src/rules/S1523/rule.ts @@ -22,11 +22,11 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { generateMeta } from '../helpers/index.js'; import { meta } from './meta.js'; -const noScriptUrlRule = eslintRules['no-script-url']; +const noScriptUrlRule = getESLintCoreRule('no-script-url'); export const rule: Rule.RuleModule = { meta: generateMeta(meta as Rule.RuleMetaData, { diff --git a/packages/jsts/src/rules/S1525/generated-meta.ts b/packages/jsts/src/rules/S1525/generated-meta.ts new file mode 100644 index 00000000000..61febb301c8 --- /dev/null +++ b/packages/jsts/src/rules/S1525/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Debugger statements should not be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1525/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S1525'; diff --git a/packages/jsts/src/rules/S1525/index.ts b/packages/jsts/src/rules/S1525/index.ts new file mode 100644 index 00000000000..877d465571b --- /dev/null +++ b/packages/jsts/src/rules/S1525/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-debugger'); diff --git a/packages/jsts/src/rules/S1525/meta.ts b/packages/jsts/src/rules/S1525/meta.ts new file mode 100644 index 00000000000..4105be28c30 --- /dev/null +++ b/packages/jsts/src/rules/S1525/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-debugger'; diff --git a/packages/jsts/src/rules/S1526/generated-meta.ts b/packages/jsts/src/rules/S1526/generated-meta.ts new file mode 100644 index 00000000000..9d60d044d36 --- /dev/null +++ b/packages/jsts/src/rules/S1526/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Variables declared with "var" should be declared before they are used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1526/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1526'; diff --git a/packages/jsts/src/rules/S1526/meta.ts b/packages/jsts/src/rules/S1526/meta.ts index 9d60d044d36..98c81d73a8b 100644 --- a/packages/jsts/src/rules/S1526/meta.ts +++ b/packages/jsts/src/rules/S1526/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Variables declared with "var" should be declared before they are used', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1526/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1526'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-variable-usage-before-declaration'; diff --git a/packages/jsts/src/rules/S1527/generated-meta.ts b/packages/jsts/src/rules/S1527/generated-meta.ts new file mode 100644 index 00000000000..1109b772ef3 --- /dev/null +++ b/packages/jsts/src/rules/S1527/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Future reserved words should not be used as identifiers', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1527/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1527'; diff --git a/packages/jsts/src/rules/S1527/meta.ts b/packages/jsts/src/rules/S1527/meta.ts index 1109b772ef3..241ef3289b1 100644 --- a/packages/jsts/src/rules/S1527/meta.ts +++ b/packages/jsts/src/rules/S1527/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Future reserved words should not be used as identifiers', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1527/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1527'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'future-reserved-words'; diff --git a/packages/jsts/src/rules/S1528/generated-meta.ts b/packages/jsts/src/rules/S1528/generated-meta.ts new file mode 100644 index 00000000000..28252df2299 --- /dev/null +++ b/packages/jsts/src/rules/S1528/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Array constructors should not be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1528/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S1528'; diff --git a/packages/jsts/src/rules/S1528/meta.ts b/packages/jsts/src/rules/S1528/meta.ts index 28252df2299..48ee9bbe878 100644 --- a/packages/jsts/src/rules/S1528/meta.ts +++ b/packages/jsts/src/rules/S1528/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Array constructors should not be used', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1528/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S1528'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'array-constructor'; diff --git a/packages/jsts/src/rules/S1529/generated-meta.ts b/packages/jsts/src/rules/S1529/generated-meta.ts new file mode 100644 index 00000000000..fc9fc203900 --- /dev/null +++ b/packages/jsts/src/rules/S1529/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Bitwise operators should not be used in boolean contexts', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1529/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1529'; diff --git a/packages/jsts/src/rules/S1529/meta.ts b/packages/jsts/src/rules/S1529/meta.ts index fc9fc203900..843556520f2 100644 --- a/packages/jsts/src/rules/S1529/meta.ts +++ b/packages/jsts/src/rules/S1529/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Bitwise operators should not be used in boolean contexts', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1529/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1529'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'bitwise-operators'; diff --git a/packages/jsts/src/rules/S1530/generated-meta.ts b/packages/jsts/src/rules/S1530/generated-meta.ts new file mode 100644 index 00000000000..47fa8b77ee1 --- /dev/null +++ b/packages/jsts/src/rules/S1530/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Function declarations should not be made within blocks', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1530/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1530'; diff --git a/packages/jsts/src/rules/S1530/meta.ts b/packages/jsts/src/rules/S1530/meta.ts index 47fa8b77ee1..ecc6565bf6c 100644 --- a/packages/jsts/src/rules/S1530/meta.ts +++ b/packages/jsts/src/rules/S1530/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Function declarations should not be made within blocks', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1530/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1530'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-function-declaration-in-block'; diff --git a/packages/jsts/src/rules/S1533/generated-meta.ts b/packages/jsts/src/rules/S1533/generated-meta.ts new file mode 100644 index 00000000000..7eec8fc33f8 --- /dev/null +++ b/packages/jsts/src/rules/S1533/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Wrapper objects should not be used for primitive types', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1533/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S1533'; diff --git a/packages/jsts/src/rules/S1533/meta.ts b/packages/jsts/src/rules/S1533/meta.ts index 7eec8fc33f8..7876a69c3a3 100644 --- a/packages/jsts/src/rules/S1533/meta.ts +++ b/packages/jsts/src/rules/S1533/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Wrapper objects should not be used for primitive types', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1533/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S1533'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-primitive-wrappers'; diff --git a/packages/jsts/src/rules/S1534/generated-meta.ts b/packages/jsts/src/rules/S1534/generated-meta.ts new file mode 100644 index 00000000000..77a8e470645 --- /dev/null +++ b/packages/jsts/src/rules/S1534/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Member names should not be duplicated within a class or object literal', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1534/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S1534'; diff --git a/packages/jsts/src/rules/S1534/meta.ts b/packages/jsts/src/rules/S1534/meta.ts index 77a8e470645..dffd5cbc6ad 100644 --- a/packages/jsts/src/rules/S1534/meta.ts +++ b/packages/jsts/src/rules/S1534/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Member names should not be duplicated within a class or object literal', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1534/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S1534'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-dupe-keys'; diff --git a/packages/jsts/src/rules/S1534/rule.ts b/packages/jsts/src/rules/S1534/rule.ts index af0faec3c94..b7acbeca7e2 100644 --- a/packages/jsts/src/rules/S1534/rule.ts +++ b/packages/jsts/src/rules/S1534/rule.ts @@ -20,15 +20,15 @@ // https://sonarsource.github.io/rspec/#/rspec/S1534/javascript import type { Rule } from 'eslint'; -import { eslintRules } from '../core/index.js'; -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { getESLintCoreRule } from '../external/core.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import pkg from 'eslint-plugin-react'; const { rules: reactRules } = pkg; import { generateMeta, mergeRules } from '../helpers/index.js'; import { decorate } from './decorator.js'; import { meta } from './meta.js'; -const noDupeKeysRule = decorate(eslintRules['no-dupe-keys']); +const noDupeKeysRule = decorate(getESLintCoreRule('no-dupe-keys')); const noDupeClassMembersRule = tsEslintRules['no-dupe-class-members']; const jsxNoDuplicatePropsRule = reactRules['jsx-no-duplicate-props']; diff --git a/packages/jsts/src/rules/S1535/generated-meta.ts b/packages/jsts/src/rules/S1535/generated-meta.ts new file mode 100644 index 00000000000..6c5011d0323 --- /dev/null +++ b/packages/jsts/src/rules/S1535/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"for...in" loops should filter properties before acting on them', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1535/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1535'; diff --git a/packages/jsts/src/rules/S1535/meta.ts b/packages/jsts/src/rules/S1535/meta.ts index 6c5011d0323..4109d8f389b 100644 --- a/packages/jsts/src/rules/S1535/meta.ts +++ b/packages/jsts/src/rules/S1535/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: '"for...in" loops should filter properties before acting on them', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1535/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1535'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'for-in'; diff --git a/packages/jsts/src/rules/S1536/generated-meta.ts b/packages/jsts/src/rules/S1536/generated-meta.ts new file mode 100644 index 00000000000..e6a9f7290e9 --- /dev/null +++ b/packages/jsts/src/rules/S1536/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Function argument names should be unique', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1536/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1536'; diff --git a/packages/jsts/src/rules/S1536/index.ts b/packages/jsts/src/rules/S1536/index.ts new file mode 100644 index 00000000000..624dbce93fb --- /dev/null +++ b/packages/jsts/src/rules/S1536/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-dupe-args'); diff --git a/packages/jsts/src/rules/S1536/meta.ts b/packages/jsts/src/rules/S1536/meta.ts new file mode 100644 index 00000000000..81541732c11 --- /dev/null +++ b/packages/jsts/src/rules/S1536/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-dupe-args'; diff --git a/packages/jsts/src/rules/S1537/generated-meta.ts b/packages/jsts/src/rules/S1537/generated-meta.ts new file mode 100644 index 00000000000..4ae6e94de1b --- /dev/null +++ b/packages/jsts/src/rules/S1537/generated-meta.ts @@ -0,0 +1,35 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Trailing commas should not be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1537/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', + deprecated: true, +}; + +export const sonarKey = 'S1537'; diff --git a/packages/jsts/src/rules/S1537/index.ts b/packages/jsts/src/rules/S1537/index.ts new file mode 100644 index 00000000000..8485538841a --- /dev/null +++ b/packages/jsts/src/rules/S1537/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['comma-dangle']; diff --git a/packages/jsts/src/rules/S1537/meta.ts b/packages/jsts/src/rules/S1537/meta.ts new file mode 100644 index 00000000000..d76143b96c0 --- /dev/null +++ b/packages/jsts/src/rules/S1537/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'comma-dangle'; diff --git a/packages/jsts/src/rules/S1539/generated-meta.ts b/packages/jsts/src/rules/S1539/generated-meta.ts new file mode 100644 index 00000000000..aa13b480490 --- /dev/null +++ b/packages/jsts/src/rules/S1539/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"strict" mode should be used with caution', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1539/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1539'; diff --git a/packages/jsts/src/rules/S1539/index.ts b/packages/jsts/src/rules/S1539/index.ts new file mode 100644 index 00000000000..15f0dc6597d --- /dev/null +++ b/packages/jsts/src/rules/S1539/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('strict'); diff --git a/packages/jsts/src/rules/S1539/meta.ts b/packages/jsts/src/rules/S1539/meta.ts new file mode 100644 index 00000000000..29c0743f70c --- /dev/null +++ b/packages/jsts/src/rules/S1539/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'strict'; diff --git a/packages/jsts/src/rules/S1541/generated-meta.ts b/packages/jsts/src/rules/S1541/generated-meta.ts new file mode 100644 index 00000000000..ddef7e7a421 --- /dev/null +++ b/packages/jsts/src/rules/S1541/generated-meta.ts @@ -0,0 +1,50 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Cyclomatic Complexity of functions should not be too high', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1541/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1541'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 2, + items: [ + { + type: 'object', + properties: { + threshold: { + type: 'integer', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S1541/meta.ts b/packages/jsts/src/rules/S1541/meta.ts index ddef7e7a421..d14dd25246d 100644 --- a/packages/jsts/src/rules/S1541/meta.ts +++ b/packages/jsts/src/rules/S1541/meta.ts @@ -17,34 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Cyclomatic Complexity of functions should not be too high', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1541/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1541'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 2, - items: [ - { - type: 'object', - properties: { - threshold: { - type: 'integer', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'cyclomatic-complexity'; diff --git a/packages/jsts/src/rules/S1607/generated-meta.ts b/packages/jsts/src/rules/S1607/generated-meta.ts new file mode 100644 index 00000000000..060bd51d862 --- /dev/null +++ b/packages/jsts/src/rules/S1607/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Tests should not be skipped without providing a reason', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1607/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1607'; diff --git a/packages/jsts/src/rules/S1607/meta.ts b/packages/jsts/src/rules/S1607/meta.ts index 060bd51d862..c4693d24b6c 100644 --- a/packages/jsts/src/rules/S1607/meta.ts +++ b/packages/jsts/src/rules/S1607/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Tests should not be skipped without providing a reason', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1607/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1607'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-skipped-tests'; diff --git a/packages/jsts/src/rules/S1656/generated-meta.ts b/packages/jsts/src/rules/S1656/generated-meta.ts new file mode 100644 index 00000000000..a43ea906459 --- /dev/null +++ b/packages/jsts/src/rules/S1656/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Variables should not be self-assigned', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1656/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1656'; diff --git a/packages/jsts/src/rules/S1656/index.ts b/packages/jsts/src/rules/S1656/index.ts new file mode 100644 index 00000000000..92c615b9091 --- /dev/null +++ b/packages/jsts/src/rules/S1656/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-self-assign'); diff --git a/packages/jsts/src/rules/S1656/meta.ts b/packages/jsts/src/rules/S1656/meta.ts new file mode 100644 index 00000000000..5536f70f959 --- /dev/null +++ b/packages/jsts/src/rules/S1656/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-self-assign'; diff --git a/packages/jsts/src/rules/S1751/generated-meta.ts b/packages/jsts/src/rules/S1751/generated-meta.ts new file mode 100644 index 00000000000..08751b4dde9 --- /dev/null +++ b/packages/jsts/src/rules/S1751/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Loops with at most one iteration should be refactored', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1751/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1751'; diff --git a/packages/jsts/src/rules/S1751/meta.ts b/packages/jsts/src/rules/S1751/meta.ts index 08751b4dde9..4041315b04a 100644 --- a/packages/jsts/src/rules/S1751/meta.ts +++ b/packages/jsts/src/rules/S1751/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Loops with at most one iteration should be refactored', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1751/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1751'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-one-iteration-loop'; diff --git a/packages/jsts/src/rules/S1763/generated-meta.ts b/packages/jsts/src/rules/S1763/generated-meta.ts new file mode 100644 index 00000000000..128e6010a73 --- /dev/null +++ b/packages/jsts/src/rules/S1763/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'All code should be reachable', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1763/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S1763'; diff --git a/packages/jsts/src/rules/S1763/index.ts b/packages/jsts/src/rules/S1763/index.ts index b7ab588d102..14f9477e97e 100644 --- a/packages/jsts/src/rules/S1763/index.ts +++ b/packages/jsts/src/rules/S1763/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; -export const rule = decorate(eslintRules['no-unreachable']); +export const rule = decorate(getESLintCoreRule('no-unreachable')); diff --git a/packages/jsts/src/rules/S1763/meta.ts b/packages/jsts/src/rules/S1763/meta.ts index 128e6010a73..3b7e4397b53 100644 --- a/packages/jsts/src/rules/S1763/meta.ts +++ b/packages/jsts/src/rules/S1763/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'All code should be reachable', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1763/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S1763'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-unreachable'; diff --git a/packages/jsts/src/rules/S1764/generated-meta.ts b/packages/jsts/src/rules/S1764/generated-meta.ts new file mode 100644 index 00000000000..4f66a59f17f --- /dev/null +++ b/packages/jsts/src/rules/S1764/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Identical expressions should not be used on both sides of a binary operator', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1764/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1764'; diff --git a/packages/jsts/src/rules/S1764/meta.ts b/packages/jsts/src/rules/S1764/meta.ts index 4f66a59f17f..42152a0a7e4 100644 --- a/packages/jsts/src/rules/S1764/meta.ts +++ b/packages/jsts/src/rules/S1764/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Identical expressions should not be used on both sides of a binary operator', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1764/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1764'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-identical-expressions'; diff --git a/packages/jsts/src/rules/S1774/generated-meta.ts b/packages/jsts/src/rules/S1774/generated-meta.ts new file mode 100644 index 00000000000..2cc9f2084eb --- /dev/null +++ b/packages/jsts/src/rules/S1774/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'The ternary operator should not be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1774/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1774'; diff --git a/packages/jsts/src/rules/S1774/index.ts b/packages/jsts/src/rules/S1774/index.ts new file mode 100644 index 00000000000..6ab7ebc4786 --- /dev/null +++ b/packages/jsts/src/rules/S1774/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-ternary'); diff --git a/packages/jsts/src/rules/S1774/meta.ts b/packages/jsts/src/rules/S1774/meta.ts new file mode 100644 index 00000000000..8ee1510a098 --- /dev/null +++ b/packages/jsts/src/rules/S1774/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-ternary'; diff --git a/packages/jsts/src/rules/S1788/generated-meta.ts b/packages/jsts/src/rules/S1788/generated-meta.ts new file mode 100644 index 00000000000..f7eb3742519 --- /dev/null +++ b/packages/jsts/src/rules/S1788/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Function parameters with default values should be last', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1788/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1788'; diff --git a/packages/jsts/src/rules/S1788/index.ts b/packages/jsts/src/rules/S1788/index.ts index e7322967895..e49e08e25ae 100644 --- a/packages/jsts/src/rules/S1788/index.ts +++ b/packages/jsts/src/rules/S1788/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['default-param-last']); diff --git a/packages/jsts/src/rules/S1788/meta.ts b/packages/jsts/src/rules/S1788/meta.ts index f7eb3742519..93d1dddbaf5 100644 --- a/packages/jsts/src/rules/S1788/meta.ts +++ b/packages/jsts/src/rules/S1788/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Function parameters with default values should be last', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1788/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1788'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'default-param-last'; diff --git a/packages/jsts/src/rules/S1821/generated-meta.ts b/packages/jsts/src/rules/S1821/generated-meta.ts new file mode 100644 index 00000000000..5ac61f93b5c --- /dev/null +++ b/packages/jsts/src/rules/S1821/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"switch" statements should not be nested', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1821/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1821'; diff --git a/packages/jsts/src/rules/S1821/meta.ts b/packages/jsts/src/rules/S1821/meta.ts index 5ac61f93b5c..410ec9c3371 100644 --- a/packages/jsts/src/rules/S1821/meta.ts +++ b/packages/jsts/src/rules/S1821/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"switch" statements should not be nested', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1821/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1821'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-nested-switch'; diff --git a/packages/jsts/src/rules/S1848/generated-meta.ts b/packages/jsts/src/rules/S1848/generated-meta.ts new file mode 100644 index 00000000000..b56bb6033ea --- /dev/null +++ b/packages/jsts/src/rules/S1848/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Objects should not be created to be dropped immediately without being used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1848/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1848'; diff --git a/packages/jsts/src/rules/S1848/meta.ts b/packages/jsts/src/rules/S1848/meta.ts index b56bb6033ea..b1a439dd584 100644 --- a/packages/jsts/src/rules/S1848/meta.ts +++ b/packages/jsts/src/rules/S1848/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Objects should not be created to be dropped immediately without being used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1848/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1848'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'constructor-for-side-effects'; diff --git a/packages/jsts/src/rules/S1854/generated-meta.ts b/packages/jsts/src/rules/S1854/generated-meta.ts new file mode 100644 index 00000000000..e01908b275f --- /dev/null +++ b/packages/jsts/src/rules/S1854/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Unused assignments should be removed', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1854/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1854'; diff --git a/packages/jsts/src/rules/S1854/meta.ts b/packages/jsts/src/rules/S1854/meta.ts index e01908b275f..173bde5dd37 100644 --- a/packages/jsts/src/rules/S1854/meta.ts +++ b/packages/jsts/src/rules/S1854/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Unused assignments should be removed', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1854/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1854'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-dead-store'; diff --git a/packages/jsts/src/rules/S1862/generated-meta.ts b/packages/jsts/src/rules/S1862/generated-meta.ts new file mode 100644 index 00000000000..e9dcfffb24d --- /dev/null +++ b/packages/jsts/src/rules/S1862/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"if/else if" chains and "switch" cases should not have the same condition', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1862/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1862'; diff --git a/packages/jsts/src/rules/S1862/meta.ts b/packages/jsts/src/rules/S1862/meta.ts index e9dcfffb24d..dd5ac5c80eb 100644 --- a/packages/jsts/src/rules/S1862/meta.ts +++ b/packages/jsts/src/rules/S1862/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: '"if/else if" chains and "switch" cases should not have the same condition', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1862/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1862'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-identical-conditions'; diff --git a/packages/jsts/src/rules/S1871/generated-meta.ts b/packages/jsts/src/rules/S1871/generated-meta.ts new file mode 100644 index 00000000000..82e4ea48b87 --- /dev/null +++ b/packages/jsts/src/rules/S1871/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: + 'Two branches in a conditional structure should not have exactly the same implementation', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1871/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1871'; diff --git a/packages/jsts/src/rules/S1871/meta.ts b/packages/jsts/src/rules/S1871/meta.ts index 82e4ea48b87..248e3bfd5ea 100644 --- a/packages/jsts/src/rules/S1871/meta.ts +++ b/packages/jsts/src/rules/S1871/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: - 'Two branches in a conditional structure should not have exactly the same implementation', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1871/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1871'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-duplicated-branches'; diff --git a/packages/jsts/src/rules/S1874/generated-meta.ts b/packages/jsts/src/rules/S1874/generated-meta.ts new file mode 100644 index 00000000000..e95eba96a8b --- /dev/null +++ b/packages/jsts/src/rules/S1874/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Deprecated APIs should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1874/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S1874'; diff --git a/packages/jsts/src/rules/S1874/meta.ts b/packages/jsts/src/rules/S1874/meta.ts index e95eba96a8b..78f75c27964 100644 --- a/packages/jsts/src/rules/S1874/meta.ts +++ b/packages/jsts/src/rules/S1874/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Deprecated APIs should not be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1874/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S1874'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'deprecation'; diff --git a/packages/jsts/src/rules/S1940/generated-meta.ts b/packages/jsts/src/rules/S1940/generated-meta.ts new file mode 100644 index 00000000000..8e623631131 --- /dev/null +++ b/packages/jsts/src/rules/S1940/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Boolean checks should not be inverted', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1940/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S1940'; diff --git a/packages/jsts/src/rules/S1940/meta.ts b/packages/jsts/src/rules/S1940/meta.ts index 8e623631131..f5d1ca8e880 100644 --- a/packages/jsts/src/rules/S1940/meta.ts +++ b/packages/jsts/src/rules/S1940/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Boolean checks should not be inverted', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1940/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S1940'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-inverted-boolean-check'; diff --git a/packages/jsts/src/rules/S1994/generated-meta.ts b/packages/jsts/src/rules/S1994/generated-meta.ts new file mode 100644 index 00000000000..e2405e8fbb0 --- /dev/null +++ b/packages/jsts/src/rules/S1994/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"for" loop increment clauses should modify the loops\' counters', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1994/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1994'; diff --git a/packages/jsts/src/rules/S1994/meta.ts b/packages/jsts/src/rules/S1994/meta.ts index e2405e8fbb0..0315dbf0e23 100644 --- a/packages/jsts/src/rules/S1994/meta.ts +++ b/packages/jsts/src/rules/S1994/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"for" loop increment clauses should modify the loops\' counters', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1994/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1994'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'misplaced-loop-counter'; diff --git a/packages/jsts/src/rules/S2004/generated-meta.ts b/packages/jsts/src/rules/S2004/generated-meta.ts new file mode 100644 index 00000000000..0a4246ad695 --- /dev/null +++ b/packages/jsts/src/rules/S2004/generated-meta.ts @@ -0,0 +1,50 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Functions should not be nested too deeply', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2004/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2004'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 2, + items: [ + { + type: 'object', + properties: { + threshold: { + type: 'integer', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S2004/meta.ts b/packages/jsts/src/rules/S2004/meta.ts index 0a4246ad695..596fb7eb93c 100644 --- a/packages/jsts/src/rules/S2004/meta.ts +++ b/packages/jsts/src/rules/S2004/meta.ts @@ -17,34 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Functions should not be nested too deeply', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2004/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2004'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 2, - items: [ - { - type: 'object', - properties: { - threshold: { - type: 'integer', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-nested-functions'; diff --git a/packages/jsts/src/rules/S2068/generated-meta.ts b/packages/jsts/src/rules/S2068/generated-meta.ts new file mode 100644 index 00000000000..cd99b9ffb73 --- /dev/null +++ b/packages/jsts/src/rules/S2068/generated-meta.ts @@ -0,0 +1,53 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Hard-coded credentials are security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2068/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2068'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + credentialWords: { + type: 'array', + items: { + type: 'string', + }, + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S2068/meta.ts b/packages/jsts/src/rules/S2068/meta.ts index cd99b9ffb73..2332f54cbe3 100644 --- a/packages/jsts/src/rules/S2068/meta.ts +++ b/packages/jsts/src/rules/S2068/meta.ts @@ -17,37 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Hard-coded credentials are security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2068/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2068'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - credentialWords: { - type: 'array', - items: { - type: 'string', - }, - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-hardcoded-credentials'; diff --git a/packages/jsts/src/rules/S2077/generated-meta.ts b/packages/jsts/src/rules/S2077/generated-meta.ts new file mode 100644 index 00000000000..b9b8f50d98b --- /dev/null +++ b/packages/jsts/src/rules/S2077/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Formatting SQL queries is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2077/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2077'; diff --git a/packages/jsts/src/rules/S2077/meta.ts b/packages/jsts/src/rules/S2077/meta.ts index b9b8f50d98b..8a53db72c5c 100644 --- a/packages/jsts/src/rules/S2077/meta.ts +++ b/packages/jsts/src/rules/S2077/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Formatting SQL queries is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2077/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2077'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'sql-queries'; diff --git a/packages/jsts/src/rules/S2092/generated-meta.ts b/packages/jsts/src/rules/S2092/generated-meta.ts new file mode 100644 index 00000000000..84eea7a8e70 --- /dev/null +++ b/packages/jsts/src/rules/S2092/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Creating cookies without the "secure" flag is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2092/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2092'; diff --git a/packages/jsts/src/rules/S2092/meta.ts b/packages/jsts/src/rules/S2092/meta.ts index 84eea7a8e70..e8552bac963 100644 --- a/packages/jsts/src/rules/S2092/meta.ts +++ b/packages/jsts/src/rules/S2092/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Creating cookies without the "secure" flag is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2092/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2092'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'insecure-cookie'; diff --git a/packages/jsts/src/rules/S2094/generated-meta.ts b/packages/jsts/src/rules/S2094/generated-meta.ts new file mode 100644 index 00000000000..949e9737bc0 --- /dev/null +++ b/packages/jsts/src/rules/S2094/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Classes should not be empty', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2094/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2094'; diff --git a/packages/jsts/src/rules/S2094/index.ts b/packages/jsts/src/rules/S2094/index.ts new file mode 100644 index 00000000000..77da5b9b763 --- /dev/null +++ b/packages/jsts/src/rules/S2094/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['no-extraneous-class']; diff --git a/packages/jsts/src/rules/S2094/meta.ts b/packages/jsts/src/rules/S2094/meta.ts new file mode 100644 index 00000000000..ca5165a98ad --- /dev/null +++ b/packages/jsts/src/rules/S2094/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-extraneous-class'; diff --git a/packages/jsts/src/rules/S2123/generated-meta.ts b/packages/jsts/src/rules/S2123/generated-meta.ts new file mode 100644 index 00000000000..a068945076b --- /dev/null +++ b/packages/jsts/src/rules/S2123/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Values should not be uselessly incremented', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2123/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2123'; diff --git a/packages/jsts/src/rules/S2123/meta.ts b/packages/jsts/src/rules/S2123/meta.ts index a068945076b..8f481a5d01b 100644 --- a/packages/jsts/src/rules/S2123/meta.ts +++ b/packages/jsts/src/rules/S2123/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Values should not be uselessly incremented', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2123/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2123'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-useless-increment'; diff --git a/packages/jsts/src/rules/S2137/generated-meta.ts b/packages/jsts/src/rules/S2137/generated-meta.ts new file mode 100644 index 00000000000..a0f7ea4de04 --- /dev/null +++ b/packages/jsts/src/rules/S2137/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Special identifiers should not be bound or assigned', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2137/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2137'; diff --git a/packages/jsts/src/rules/S2137/meta.ts b/packages/jsts/src/rules/S2137/meta.ts index a0f7ea4de04..1ac84a1b482 100644 --- a/packages/jsts/src/rules/S2137/meta.ts +++ b/packages/jsts/src/rules/S2137/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Special identifiers should not be bound or assigned', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2137/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2137'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-globals-shadowing'; diff --git a/packages/jsts/src/rules/S2138/generated-meta.ts b/packages/jsts/src/rules/S2138/generated-meta.ts new file mode 100644 index 00000000000..0bdd8476c83 --- /dev/null +++ b/packages/jsts/src/rules/S2138/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"undefined" should not be assigned', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2138/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2138'; diff --git a/packages/jsts/src/rules/S2138/meta.ts b/packages/jsts/src/rules/S2138/meta.ts index 0bdd8476c83..92bb8a6f5e2 100644 --- a/packages/jsts/src/rules/S2138/meta.ts +++ b/packages/jsts/src/rules/S2138/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"undefined" should not be assigned', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2138/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2138'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-undefined-assignment'; diff --git a/packages/jsts/src/rules/S2187/generated-meta.ts b/packages/jsts/src/rules/S2187/generated-meta.ts new file mode 100644 index 00000000000..1c7f9cc63fc --- /dev/null +++ b/packages/jsts/src/rules/S2187/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Test files should contain at least one test case', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2187/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2187'; diff --git a/packages/jsts/src/rules/S2187/meta.ts b/packages/jsts/src/rules/S2187/meta.ts index 1c7f9cc63fc..d6c5fc28260 100644 --- a/packages/jsts/src/rules/S2187/meta.ts +++ b/packages/jsts/src/rules/S2187/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Test files should contain at least one test case', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2187/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2187'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-empty-test-file'; diff --git a/packages/jsts/src/rules/S2189/generated-meta.ts b/packages/jsts/src/rules/S2189/generated-meta.ts new file mode 100644 index 00000000000..357fe653819 --- /dev/null +++ b/packages/jsts/src/rules/S2189/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Loops should not be infinite', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2189/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2189'; diff --git a/packages/jsts/src/rules/S2189/meta.ts b/packages/jsts/src/rules/S2189/meta.ts index 357fe653819..b8355829587 100644 --- a/packages/jsts/src/rules/S2189/meta.ts +++ b/packages/jsts/src/rules/S2189/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Loops should not be infinite', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2189/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2189'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-infinite-loop'; diff --git a/packages/jsts/src/rules/S2189/rule.ts b/packages/jsts/src/rules/S2189/rule.ts index c6cebb2da22..7d71bd2fcbd 100644 --- a/packages/jsts/src/rules/S2189/rule.ts +++ b/packages/jsts/src/rules/S2189/rule.ts @@ -20,7 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S2189/javascript import { Rule, Scope } from 'eslint'; -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import estree from 'estree'; import { childrenOf, @@ -32,7 +32,7 @@ import { import { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; -const noUnmodifiedLoopEslint = eslintRules['no-unmodified-loop-condition']; +const noUnmodifiedLoopEslint = getESLintCoreRule('no-unmodified-loop-condition'); export const rule: Rule.RuleModule = { meta: generateMeta(meta as Rule.RuleMetaData, { diff --git a/packages/jsts/src/rules/S2201/generated-meta.ts b/packages/jsts/src/rules/S2201/generated-meta.ts new file mode 100644 index 00000000000..75366df1fe0 --- /dev/null +++ b/packages/jsts/src/rules/S2201/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Return values from functions without side effects should not be ignored', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2201/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S2201'; diff --git a/packages/jsts/src/rules/S2201/meta.ts b/packages/jsts/src/rules/S2201/meta.ts index 75366df1fe0..87b4e61a0e8 100644 --- a/packages/jsts/src/rules/S2201/meta.ts +++ b/packages/jsts/src/rules/S2201/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Return values from functions without side effects should not be ignored', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2201/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S2201'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-ignored-return'; diff --git a/packages/jsts/src/rules/S2208/generated-meta.ts b/packages/jsts/src/rules/S2208/generated-meta.ts new file mode 100644 index 00000000000..b5666c29214 --- /dev/null +++ b/packages/jsts/src/rules/S2208/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Wildcard imports should not be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2208/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2208'; diff --git a/packages/jsts/src/rules/S2208/meta.ts b/packages/jsts/src/rules/S2208/meta.ts index b5666c29214..73509b17043 100644 --- a/packages/jsts/src/rules/S2208/meta.ts +++ b/packages/jsts/src/rules/S2208/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Wildcard imports should not be used', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2208/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2208'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-wildcard-import'; diff --git a/packages/jsts/src/rules/S2234/generated-meta.ts b/packages/jsts/src/rules/S2234/generated-meta.ts new file mode 100644 index 00000000000..e7cfacff05c --- /dev/null +++ b/packages/jsts/src/rules/S2234/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Parameters should be passed in the correct order', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2234/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S2234'; diff --git a/packages/jsts/src/rules/S2234/meta.ts b/packages/jsts/src/rules/S2234/meta.ts index e7cfacff05c..cf6f478858a 100644 --- a/packages/jsts/src/rules/S2234/meta.ts +++ b/packages/jsts/src/rules/S2234/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Parameters should be passed in the correct order', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2234/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S2234'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'arguments-order'; diff --git a/packages/jsts/src/rules/S2245/generated-meta.ts b/packages/jsts/src/rules/S2245/generated-meta.ts new file mode 100644 index 00000000000..8013c689da1 --- /dev/null +++ b/packages/jsts/src/rules/S2245/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using pseudorandom number generators (PRNGs) is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2245/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2245'; diff --git a/packages/jsts/src/rules/S2245/meta.ts b/packages/jsts/src/rules/S2245/meta.ts index 8013c689da1..b65b35f0c54 100644 --- a/packages/jsts/src/rules/S2245/meta.ts +++ b/packages/jsts/src/rules/S2245/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using pseudorandom number generators (PRNGs) is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2245/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2245'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'pseudo-random'; diff --git a/packages/jsts/src/rules/S2251/generated-meta.ts b/packages/jsts/src/rules/S2251/generated-meta.ts new file mode 100644 index 00000000000..f4148e2430b --- /dev/null +++ b/packages/jsts/src/rules/S2251/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'A "for" loop update clause should move the counter in the right direction', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2251/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2251'; diff --git a/packages/jsts/src/rules/S2251/meta.ts b/packages/jsts/src/rules/S2251/meta.ts index f4148e2430b..2cccc23fc9e 100644 --- a/packages/jsts/src/rules/S2251/meta.ts +++ b/packages/jsts/src/rules/S2251/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'A "for" loop update clause should move the counter in the right direction', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2251/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2251'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'for-loop-increment-sign'; diff --git a/packages/jsts/src/rules/S2255/generated-meta.ts b/packages/jsts/src/rules/S2255/generated-meta.ts new file mode 100644 index 00000000000..b1fe9412802 --- /dev/null +++ b/packages/jsts/src/rules/S2255/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Writing cookies is security-sensitive', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2255/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S2255'; diff --git a/packages/jsts/src/rules/S2255/meta.ts b/packages/jsts/src/rules/S2255/meta.ts index b1fe9412802..64ebcf6ca0f 100644 --- a/packages/jsts/src/rules/S2255/meta.ts +++ b/packages/jsts/src/rules/S2255/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Writing cookies is security-sensitive', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2255/javascript', - requiresTypeChecking: false, - }, - deprecated: true, -}; - -export const sonarKey = 'S2255'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'cookies'; diff --git a/packages/jsts/src/rules/S2259/generated-meta.ts b/packages/jsts/src/rules/S2259/generated-meta.ts new file mode 100644 index 00000000000..2dbf5c42513 --- /dev/null +++ b/packages/jsts/src/rules/S2259/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Properties of variables with "null" or "undefined" values should not be accessed', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2259/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S2259'; diff --git a/packages/jsts/src/rules/S2259/meta.ts b/packages/jsts/src/rules/S2259/meta.ts index 2dbf5c42513..c92be2b5cf4 100644 --- a/packages/jsts/src/rules/S2259/meta.ts +++ b/packages/jsts/src/rules/S2259/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Properties of variables with "null" or "undefined" values should not be accessed', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2259/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S2259'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'null-dereference'; diff --git a/packages/jsts/src/rules/S2301/generated-meta.ts b/packages/jsts/src/rules/S2301/generated-meta.ts new file mode 100644 index 00000000000..a9cef0deb82 --- /dev/null +++ b/packages/jsts/src/rules/S2301/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Methods should not contain selector parameters', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2301/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S2301'; diff --git a/packages/jsts/src/rules/S2301/meta.ts b/packages/jsts/src/rules/S2301/meta.ts index a9cef0deb82..0ef2c2e99af 100644 --- a/packages/jsts/src/rules/S2301/meta.ts +++ b/packages/jsts/src/rules/S2301/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Methods should not contain selector parameters', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2301/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S2301'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-selector-parameter'; diff --git a/packages/jsts/src/rules/S2310/generated-meta.ts b/packages/jsts/src/rules/S2310/generated-meta.ts new file mode 100644 index 00000000000..1177bc855b2 --- /dev/null +++ b/packages/jsts/src/rules/S2310/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Loop counters should not be assigned within the loop body', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2310/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2310'; diff --git a/packages/jsts/src/rules/S2310/meta.ts b/packages/jsts/src/rules/S2310/meta.ts index 1177bc855b2..2e6bb7c23de 100644 --- a/packages/jsts/src/rules/S2310/meta.ts +++ b/packages/jsts/src/rules/S2310/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Loop counters should not be assigned within the loop body', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2310/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2310'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'updated-loop-counter'; diff --git a/packages/jsts/src/rules/S2376/generated-meta.ts b/packages/jsts/src/rules/S2376/generated-meta.ts new file mode 100644 index 00000000000..b8e275c904e --- /dev/null +++ b/packages/jsts/src/rules/S2376/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Property getters and setters should come in pairs', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2376/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2376'; diff --git a/packages/jsts/src/rules/S2376/index.ts b/packages/jsts/src/rules/S2376/index.ts index b0130b280c2..a2206143311 100644 --- a/packages/jsts/src/rules/S2376/index.ts +++ b/packages/jsts/src/rules/S2376/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; -export const rule = decorate(eslintRules['accessor-pairs']); +export const rule = decorate(getESLintCoreRule('accessor-pairs')); diff --git a/packages/jsts/src/rules/S2376/meta.ts b/packages/jsts/src/rules/S2376/meta.ts index b8e275c904e..06ee7698acb 100644 --- a/packages/jsts/src/rules/S2376/meta.ts +++ b/packages/jsts/src/rules/S2376/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Property getters and setters should come in pairs', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2376/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2376'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'accessor-pairs'; diff --git a/packages/jsts/src/rules/S2392/generated-meta.ts b/packages/jsts/src/rules/S2392/generated-meta.ts new file mode 100644 index 00000000000..cc5fb3b2c62 --- /dev/null +++ b/packages/jsts/src/rules/S2392/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Variables should be used in the blocks where they are declared', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2392/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2392'; diff --git a/packages/jsts/src/rules/S2392/meta.ts b/packages/jsts/src/rules/S2392/meta.ts index cc5fb3b2c62..cb6b96c3e09 100644 --- a/packages/jsts/src/rules/S2392/meta.ts +++ b/packages/jsts/src/rules/S2392/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Variables should be used in the blocks where they are declared', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2392/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2392'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'block-scoped-var'; diff --git a/packages/jsts/src/rules/S2424/generated-meta.ts b/packages/jsts/src/rules/S2424/generated-meta.ts new file mode 100644 index 00000000000..2b757b27474 --- /dev/null +++ b/packages/jsts/src/rules/S2424/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Built-in objects should not be overridden', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2424/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2424'; diff --git a/packages/jsts/src/rules/S2424/meta.ts b/packages/jsts/src/rules/S2424/meta.ts index 2b757b27474..19144bfedba 100644 --- a/packages/jsts/src/rules/S2424/meta.ts +++ b/packages/jsts/src/rules/S2424/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Built-in objects should not be overridden', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2424/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2424'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-built-in-override'; diff --git a/packages/jsts/src/rules/S2427/generated-meta.ts b/packages/jsts/src/rules/S2427/generated-meta.ts new file mode 100644 index 00000000000..8f7ac720ce3 --- /dev/null +++ b/packages/jsts/src/rules/S2427/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'The base should be provided to "parseInt"', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2427/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S2427'; diff --git a/packages/jsts/src/rules/S2427/index.ts b/packages/jsts/src/rules/S2427/index.ts new file mode 100644 index 00000000000..17c44456bbf --- /dev/null +++ b/packages/jsts/src/rules/S2427/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('radix'); diff --git a/packages/jsts/src/rules/S2427/meta.ts b/packages/jsts/src/rules/S2427/meta.ts new file mode 100644 index 00000000000..f27bc2e1e64 --- /dev/null +++ b/packages/jsts/src/rules/S2427/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'radix'; diff --git a/packages/jsts/src/rules/S2428/generated-meta.ts b/packages/jsts/src/rules/S2428/generated-meta.ts new file mode 100644 index 00000000000..19c02264c30 --- /dev/null +++ b/packages/jsts/src/rules/S2428/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Object literal syntax should be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2428/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2428'; diff --git a/packages/jsts/src/rules/S2428/meta.ts b/packages/jsts/src/rules/S2428/meta.ts index 19c02264c30..1009ca1af19 100644 --- a/packages/jsts/src/rules/S2428/meta.ts +++ b/packages/jsts/src/rules/S2428/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Object literal syntax should be used', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2428/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2428'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'prefer-object-literal'; diff --git a/packages/jsts/src/rules/S2430/generated-meta.ts b/packages/jsts/src/rules/S2430/generated-meta.ts new file mode 100644 index 00000000000..f75f9935019 --- /dev/null +++ b/packages/jsts/src/rules/S2430/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Constructor names should start with an upper case letter', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2430/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2430'; diff --git a/packages/jsts/src/rules/S2430/index.ts b/packages/jsts/src/rules/S2430/index.ts index 451a385431c..d9a1c9789f8 100644 --- a/packages/jsts/src/rules/S2430/index.ts +++ b/packages/jsts/src/rules/S2430/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; -export const rule = decorate(eslintRules['new-cap']); +export const rule = decorate(getESLintCoreRule('new-cap')); diff --git a/packages/jsts/src/rules/S2430/meta.ts b/packages/jsts/src/rules/S2430/meta.ts index f75f9935019..3a8dd1d886e 100644 --- a/packages/jsts/src/rules/S2430/meta.ts +++ b/packages/jsts/src/rules/S2430/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Constructor names should start with an upper case letter', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2430/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2430'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'new-cap'; diff --git a/packages/jsts/src/rules/S2432/generated-meta.ts b/packages/jsts/src/rules/S2432/generated-meta.ts new file mode 100644 index 00000000000..f710e02d12e --- /dev/null +++ b/packages/jsts/src/rules/S2432/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Setters should not return values', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2432/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2432'; diff --git a/packages/jsts/src/rules/S2432/index.ts b/packages/jsts/src/rules/S2432/index.ts new file mode 100644 index 00000000000..091cef11a95 --- /dev/null +++ b/packages/jsts/src/rules/S2432/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-setter-return'); diff --git a/packages/jsts/src/rules/S2432/meta.ts b/packages/jsts/src/rules/S2432/meta.ts new file mode 100644 index 00000000000..ef961f42b79 --- /dev/null +++ b/packages/jsts/src/rules/S2432/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-setter-return'; diff --git a/packages/jsts/src/rules/S2486/generated-meta.ts b/packages/jsts/src/rules/S2486/generated-meta.ts new file mode 100644 index 00000000000..52532b82a5d --- /dev/null +++ b/packages/jsts/src/rules/S2486/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Exceptions should not be ignored', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2486/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2486'; diff --git a/packages/jsts/src/rules/S2486/meta.ts b/packages/jsts/src/rules/S2486/meta.ts index 52532b82a5d..b72dcbc8647 100644 --- a/packages/jsts/src/rules/S2486/meta.ts +++ b/packages/jsts/src/rules/S2486/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Exceptions should not be ignored', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2486/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2486'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-ignored-exceptions'; diff --git a/packages/jsts/src/rules/S2589/generated-meta.ts b/packages/jsts/src/rules/S2589/generated-meta.ts new file mode 100644 index 00000000000..eae1bf2ed77 --- /dev/null +++ b/packages/jsts/src/rules/S2589/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Boolean expressions should not be gratuitous', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2589/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2589'; diff --git a/packages/jsts/src/rules/S2589/meta.ts b/packages/jsts/src/rules/S2589/meta.ts index eae1bf2ed77..2dcc7858b0a 100644 --- a/packages/jsts/src/rules/S2589/meta.ts +++ b/packages/jsts/src/rules/S2589/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Boolean expressions should not be gratuitous', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2589/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2589'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-gratuitous-expressions'; diff --git a/packages/jsts/src/rules/S2598/generated-meta.ts b/packages/jsts/src/rules/S2598/generated-meta.ts new file mode 100644 index 00000000000..6794a083497 --- /dev/null +++ b/packages/jsts/src/rules/S2598/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'File uploads should be restricted', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2598/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2598'; diff --git a/packages/jsts/src/rules/S2598/meta.ts b/packages/jsts/src/rules/S2598/meta.ts index 6794a083497..e4495378c90 100644 --- a/packages/jsts/src/rules/S2598/meta.ts +++ b/packages/jsts/src/rules/S2598/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'File uploads should be restricted', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2598/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2598'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'file-uploads'; diff --git a/packages/jsts/src/rules/S2612/generated-meta.ts b/packages/jsts/src/rules/S2612/generated-meta.ts new file mode 100644 index 00000000000..f868fdea8d5 --- /dev/null +++ b/packages/jsts/src/rules/S2612/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Setting loose POSIX file permissions is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2612/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2612'; diff --git a/packages/jsts/src/rules/S2612/meta.ts b/packages/jsts/src/rules/S2612/meta.ts index f868fdea8d5..01138d96223 100644 --- a/packages/jsts/src/rules/S2612/meta.ts +++ b/packages/jsts/src/rules/S2612/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Setting loose POSIX file permissions is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2612/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2612'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'file-permissions'; diff --git a/packages/jsts/src/rules/S2639/generated-meta.ts b/packages/jsts/src/rules/S2639/generated-meta.ts new file mode 100644 index 00000000000..a6a895bbb7c --- /dev/null +++ b/packages/jsts/src/rules/S2639/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Empty character classes should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2639/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S2639'; diff --git a/packages/jsts/src/rules/S2639/meta.ts b/packages/jsts/src/rules/S2639/meta.ts index a6a895bbb7c..3b593720262 100644 --- a/packages/jsts/src/rules/S2639/meta.ts +++ b/packages/jsts/src/rules/S2639/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Empty character classes should not be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2639/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S2639'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-empty-character-class'; diff --git a/packages/jsts/src/rules/S2681/generated-meta.ts b/packages/jsts/src/rules/S2681/generated-meta.ts new file mode 100644 index 00000000000..db4bae9ab2a --- /dev/null +++ b/packages/jsts/src/rules/S2681/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Multiline blocks should be enclosed in curly braces', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2681/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2681'; diff --git a/packages/jsts/src/rules/S2681/meta.ts b/packages/jsts/src/rules/S2681/meta.ts index db4bae9ab2a..f0fc971fae0 100644 --- a/packages/jsts/src/rules/S2681/meta.ts +++ b/packages/jsts/src/rules/S2681/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Multiline blocks should be enclosed in curly braces', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2681/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2681'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-unenclosed-multiline-block'; diff --git a/packages/jsts/src/rules/S2685/generated-meta.ts b/packages/jsts/src/rules/S2685/generated-meta.ts new file mode 100644 index 00000000000..ce4442833c9 --- /dev/null +++ b/packages/jsts/src/rules/S2685/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"arguments.caller" and "arguments.callee" should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2685/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2685'; diff --git a/packages/jsts/src/rules/S2685/index.ts b/packages/jsts/src/rules/S2685/index.ts new file mode 100644 index 00000000000..b49762378a0 --- /dev/null +++ b/packages/jsts/src/rules/S2685/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-caller'); diff --git a/packages/jsts/src/rules/S2685/meta.ts b/packages/jsts/src/rules/S2685/meta.ts new file mode 100644 index 00000000000..e71b251f83c --- /dev/null +++ b/packages/jsts/src/rules/S2685/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-caller'; diff --git a/packages/jsts/src/rules/S2688/generated-meta.ts b/packages/jsts/src/rules/S2688/generated-meta.ts new file mode 100644 index 00000000000..060abf68961 --- /dev/null +++ b/packages/jsts/src/rules/S2688/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"NaN" should not be used in comparisons', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2688/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S2688'; diff --git a/packages/jsts/src/rules/S2688/index.ts b/packages/jsts/src/rules/S2688/index.ts index 518ae4f0b07..6dc86c9e470 100644 --- a/packages/jsts/src/rules/S2688/index.ts +++ b/packages/jsts/src/rules/S2688/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; -export const rule = decorate(eslintRules['use-isnan']); +export const rule = decorate(getESLintCoreRule('use-isnan')); diff --git a/packages/jsts/src/rules/S2688/meta.ts b/packages/jsts/src/rules/S2688/meta.ts index 060abf68961..ed176144936 100644 --- a/packages/jsts/src/rules/S2688/meta.ts +++ b/packages/jsts/src/rules/S2688/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: '"NaN" should not be used in comparisons', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2688/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S2688'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'use-isnan'; diff --git a/packages/jsts/src/rules/S2692/generated-meta.ts b/packages/jsts/src/rules/S2692/generated-meta.ts new file mode 100644 index 00000000000..ffa9fbde1dc --- /dev/null +++ b/packages/jsts/src/rules/S2692/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"indexOf" checks should not be for positive numbers', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2692/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S2692'; diff --git a/packages/jsts/src/rules/S2692/meta.ts b/packages/jsts/src/rules/S2692/meta.ts index ffa9fbde1dc..6d79059c39b 100644 --- a/packages/jsts/src/rules/S2692/meta.ts +++ b/packages/jsts/src/rules/S2692/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"indexOf" checks should not be for positive numbers', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2692/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S2692'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'index-of-compare-to-positive-number'; diff --git a/packages/jsts/src/rules/S2699/generated-meta.ts b/packages/jsts/src/rules/S2699/generated-meta.ts new file mode 100644 index 00000000000..c2e71341449 --- /dev/null +++ b/packages/jsts/src/rules/S2699/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Tests should include assertions', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2699/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2699'; diff --git a/packages/jsts/src/rules/S2699/meta.ts b/packages/jsts/src/rules/S2699/meta.ts index c2e71341449..721892c069f 100644 --- a/packages/jsts/src/rules/S2699/meta.ts +++ b/packages/jsts/src/rules/S2699/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Tests should include assertions', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2699/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2699'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'assertions-in-tests'; diff --git a/packages/jsts/src/rules/S2703/generated-meta.ts b/packages/jsts/src/rules/S2703/generated-meta.ts new file mode 100644 index 00000000000..d466d0f65c5 --- /dev/null +++ b/packages/jsts/src/rules/S2703/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Variables should be declared explicitly', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2703/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2703'; diff --git a/packages/jsts/src/rules/S2703/meta.ts b/packages/jsts/src/rules/S2703/meta.ts index d466d0f65c5..d049934ef09 100644 --- a/packages/jsts/src/rules/S2703/meta.ts +++ b/packages/jsts/src/rules/S2703/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Variables should be declared explicitly', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2703/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2703'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-implicit-global'; diff --git a/packages/jsts/src/rules/S2737/generated-meta.ts b/packages/jsts/src/rules/S2737/generated-meta.ts new file mode 100644 index 00000000000..8edf6a17e09 --- /dev/null +++ b/packages/jsts/src/rules/S2737/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"catch" clauses should do more than rethrow', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2737/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2737'; diff --git a/packages/jsts/src/rules/S2737/meta.ts b/packages/jsts/src/rules/S2737/meta.ts index 8edf6a17e09..3ba5f44eac2 100644 --- a/packages/jsts/src/rules/S2737/meta.ts +++ b/packages/jsts/src/rules/S2737/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"catch" clauses should do more than rethrow', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2737/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2737'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-useless-catch'; diff --git a/packages/jsts/src/rules/S2755/generated-meta.ts b/packages/jsts/src/rules/S2755/generated-meta.ts new file mode 100644 index 00000000000..63cd000d2cb --- /dev/null +++ b/packages/jsts/src/rules/S2755/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'XML parsers should not be vulnerable to XXE attacks', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2755/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2755'; diff --git a/packages/jsts/src/rules/S2755/meta.ts b/packages/jsts/src/rules/S2755/meta.ts index 63cd000d2cb..b4e203ecf62 100644 --- a/packages/jsts/src/rules/S2755/meta.ts +++ b/packages/jsts/src/rules/S2755/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'XML parsers should not be vulnerable to XXE attacks', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2755/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2755'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'xml-parser-xxe'; diff --git a/packages/jsts/src/rules/S2757/generated-meta.ts b/packages/jsts/src/rules/S2757/generated-meta.ts new file mode 100644 index 00000000000..a7847d1d55a --- /dev/null +++ b/packages/jsts/src/rules/S2757/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: "Non-existent operators '=+', '=-' and '=!' should not be used", + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2757/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S2757'; diff --git a/packages/jsts/src/rules/S2757/meta.ts b/packages/jsts/src/rules/S2757/meta.ts index a7847d1d55a..bd28e821446 100644 --- a/packages/jsts/src/rules/S2757/meta.ts +++ b/packages/jsts/src/rules/S2757/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: "Non-existent operators '=+', '=-' and '=!' should not be used", - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2757/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S2757'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'non-existent-operator'; diff --git a/packages/jsts/src/rules/S2814/generated-meta.ts b/packages/jsts/src/rules/S2814/generated-meta.ts new file mode 100644 index 00000000000..860ea174157 --- /dev/null +++ b/packages/jsts/src/rules/S2814/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Variables and functions should not be redeclared', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2814/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2814'; diff --git a/packages/jsts/src/rules/S2814/index.ts b/packages/jsts/src/rules/S2814/index.ts index 2532f41ae80..bd0ba5cc530 100644 --- a/packages/jsts/src/rules/S2814/index.ts +++ b/packages/jsts/src/rules/S2814/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-redeclare']); diff --git a/packages/jsts/src/rules/S2814/meta.ts b/packages/jsts/src/rules/S2814/meta.ts index 860ea174157..511c20c2839 100644 --- a/packages/jsts/src/rules/S2814/meta.ts +++ b/packages/jsts/src/rules/S2814/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Variables and functions should not be redeclared', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2814/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2814'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-redeclare'; diff --git a/packages/jsts/src/rules/S2817/generated-meta.ts b/packages/jsts/src/rules/S2817/generated-meta.ts new file mode 100644 index 00000000000..e48bc2b6948 --- /dev/null +++ b/packages/jsts/src/rules/S2817/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Web SQL databases should not be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2817/javascript', + requiresTypeChecking: true, + }, + deprecated: true, +}; + +export const sonarKey = 'S2817'; diff --git a/packages/jsts/src/rules/S2817/meta.ts b/packages/jsts/src/rules/S2817/meta.ts index e48bc2b6948..634f5c003e0 100644 --- a/packages/jsts/src/rules/S2817/meta.ts +++ b/packages/jsts/src/rules/S2817/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Web SQL databases should not be used', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2817/javascript', - requiresTypeChecking: true, - }, - deprecated: true, -}; - -export const sonarKey = 'S2817'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'web-sql-database'; diff --git a/packages/jsts/src/rules/S2819/generated-meta.ts b/packages/jsts/src/rules/S2819/generated-meta.ts new file mode 100644 index 00000000000..329a5affdb6 --- /dev/null +++ b/packages/jsts/src/rules/S2819/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Origins should be verified during cross-origin communications', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2819/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S2819'; diff --git a/packages/jsts/src/rules/S2819/meta.ts b/packages/jsts/src/rules/S2819/meta.ts index 329a5affdb6..3126b80c43f 100644 --- a/packages/jsts/src/rules/S2819/meta.ts +++ b/packages/jsts/src/rules/S2819/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Origins should be verified during cross-origin communications', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2819/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S2819'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'post-message'; diff --git a/packages/jsts/src/rules/S2870/generated-meta.ts b/packages/jsts/src/rules/S2870/generated-meta.ts new file mode 100644 index 00000000000..14d5dd80247 --- /dev/null +++ b/packages/jsts/src/rules/S2870/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"delete" should not be used on arrays', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2870/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S2870'; diff --git a/packages/jsts/src/rules/S2870/meta.ts b/packages/jsts/src/rules/S2870/meta.ts index 14d5dd80247..d8148f9a840 100644 --- a/packages/jsts/src/rules/S2870/meta.ts +++ b/packages/jsts/src/rules/S2870/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"delete" should not be used on arrays', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2870/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S2870'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-array-delete'; diff --git a/packages/jsts/src/rules/S2871/generated-meta.ts b/packages/jsts/src/rules/S2871/generated-meta.ts new file mode 100644 index 00000000000..d2edaf6b2e6 --- /dev/null +++ b/packages/jsts/src/rules/S2871/generated-meta.ts @@ -0,0 +1,35 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: + '"Array.prototype.sort()" and "Array.prototype.toSorted()" should use a compare function', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2871/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S2871'; diff --git a/packages/jsts/src/rules/S2871/meta.ts b/packages/jsts/src/rules/S2871/meta.ts index d2edaf6b2e6..8fe22e73908 100644 --- a/packages/jsts/src/rules/S2871/meta.ts +++ b/packages/jsts/src/rules/S2871/meta.ts @@ -17,19 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: - '"Array.prototype.sort()" and "Array.prototype.toSorted()" should use a compare function', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2871/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S2871'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-alphabetical-sort'; diff --git a/packages/jsts/src/rules/S2933/generated-meta.ts b/packages/jsts/src/rules/S2933/generated-meta.ts new file mode 100644 index 00000000000..a10b62a32be --- /dev/null +++ b/packages/jsts/src/rules/S2933/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Fields that are only assigned in the constructor should be "readonly"', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2933/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S2933'; diff --git a/packages/jsts/src/rules/S2933/index.ts b/packages/jsts/src/rules/S2933/index.ts new file mode 100644 index 00000000000..8c2d6f834a2 --- /dev/null +++ b/packages/jsts/src/rules/S2933/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['prefer-readonly']; diff --git a/packages/jsts/src/rules/S2933/meta.ts b/packages/jsts/src/rules/S2933/meta.ts new file mode 100644 index 00000000000..4d88eeea8ec --- /dev/null +++ b/packages/jsts/src/rules/S2933/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'prefer-readonly'; diff --git a/packages/jsts/src/rules/S2966/generated-meta.ts b/packages/jsts/src/rules/S2966/generated-meta.ts new file mode 100644 index 00000000000..a95cfe0fe45 --- /dev/null +++ b/packages/jsts/src/rules/S2966/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Non-null assertions should not be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2966/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S2966'; diff --git a/packages/jsts/src/rules/S2966/index.ts b/packages/jsts/src/rules/S2966/index.ts new file mode 100644 index 00000000000..fcdb748b1df --- /dev/null +++ b/packages/jsts/src/rules/S2966/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['no-non-null-assertion']; diff --git a/packages/jsts/src/rules/S2966/meta.ts b/packages/jsts/src/rules/S2966/meta.ts new file mode 100644 index 00000000000..3b42ed6a510 --- /dev/null +++ b/packages/jsts/src/rules/S2966/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-non-null-assertion'; diff --git a/packages/jsts/src/rules/S2970/generated-meta.ts b/packages/jsts/src/rules/S2970/generated-meta.ts new file mode 100644 index 00000000000..e06a83faa30 --- /dev/null +++ b/packages/jsts/src/rules/S2970/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Assertions should be complete', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2970/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S2970'; diff --git a/packages/jsts/src/rules/S2970/meta.ts b/packages/jsts/src/rules/S2970/meta.ts index e06a83faa30..82c92ee7fcb 100644 --- a/packages/jsts/src/rules/S2970/meta.ts +++ b/packages/jsts/src/rules/S2970/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Assertions should be complete', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2970/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S2970'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-incomplete-assertions'; diff --git a/packages/jsts/src/rules/S2990/generated-meta.ts b/packages/jsts/src/rules/S2990/generated-meta.ts new file mode 100644 index 00000000000..2b24f53d0d9 --- /dev/null +++ b/packages/jsts/src/rules/S2990/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'The global "this" object should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2990/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S2990'; diff --git a/packages/jsts/src/rules/S2990/meta.ts b/packages/jsts/src/rules/S2990/meta.ts index 2b24f53d0d9..d566ad6745c 100644 --- a/packages/jsts/src/rules/S2990/meta.ts +++ b/packages/jsts/src/rules/S2990/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'The global "this" object should not be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2990/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S2990'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-global-this'; diff --git a/packages/jsts/src/rules/S2999/generated-meta.ts b/packages/jsts/src/rules/S2999/generated-meta.ts new file mode 100644 index 00000000000..eef6f45614e --- /dev/null +++ b/packages/jsts/src/rules/S2999/generated-meta.ts @@ -0,0 +1,50 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"new" should only be used with functions and classes', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S2999/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S2999'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 2, + items: [ + { + type: 'object', + properties: { + considerJSDoc: { + type: 'boolean', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S2999/meta.ts b/packages/jsts/src/rules/S2999/meta.ts index eef6f45614e..5c4631ebdbc 100644 --- a/packages/jsts/src/rules/S2999/meta.ts +++ b/packages/jsts/src/rules/S2999/meta.ts @@ -17,34 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: '"new" should only be used with functions and classes', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S2999/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S2999'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 2, - items: [ - { - type: 'object', - properties: { - considerJSDoc: { - type: 'boolean', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'new-operator-misuse'; diff --git a/packages/jsts/src/rules/S3001/generated-meta.ts b/packages/jsts/src/rules/S3001/generated-meta.ts new file mode 100644 index 00000000000..4e06437d3b4 --- /dev/null +++ b/packages/jsts/src/rules/S3001/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"delete" should be used only with object properties', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3001/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3001'; diff --git a/packages/jsts/src/rules/S3001/meta.ts b/packages/jsts/src/rules/S3001/meta.ts index 4e06437d3b4..33d94e811e8 100644 --- a/packages/jsts/src/rules/S3001/meta.ts +++ b/packages/jsts/src/rules/S3001/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: '"delete" should be used only with object properties', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3001/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3001'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-delete-var'; diff --git a/packages/jsts/src/rules/S3003/generated-meta.ts b/packages/jsts/src/rules/S3003/generated-meta.ts new file mode 100644 index 00000000000..b805ad95e2a --- /dev/null +++ b/packages/jsts/src/rules/S3003/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Comparison operators should not be used with strings', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3003/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S3003'; diff --git a/packages/jsts/src/rules/S3003/meta.ts b/packages/jsts/src/rules/S3003/meta.ts index b805ad95e2a..9d05e071e39 100644 --- a/packages/jsts/src/rules/S3003/meta.ts +++ b/packages/jsts/src/rules/S3003/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Comparison operators should not be used with strings', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3003/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S3003'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'strings-comparison'; diff --git a/packages/jsts/src/rules/S3257/generated-meta.ts b/packages/jsts/src/rules/S3257/generated-meta.ts new file mode 100644 index 00000000000..1b209dd0c1c --- /dev/null +++ b/packages/jsts/src/rules/S3257/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Primitive types should be omitted from initialized or defaulted declarations', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3257/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S3257'; diff --git a/packages/jsts/src/rules/S3257/index.ts b/packages/jsts/src/rules/S3257/index.ts new file mode 100644 index 00000000000..b7902cc3026 --- /dev/null +++ b/packages/jsts/src/rules/S3257/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['no-inferrable-types']; diff --git a/packages/jsts/src/rules/S3257/meta.ts b/packages/jsts/src/rules/S3257/meta.ts new file mode 100644 index 00000000000..508abd47ec3 --- /dev/null +++ b/packages/jsts/src/rules/S3257/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-inferrable-types'; diff --git a/packages/jsts/src/rules/S3317/generated-meta.ts b/packages/jsts/src/rules/S3317/generated-meta.ts new file mode 100644 index 00000000000..b529745e887 --- /dev/null +++ b/packages/jsts/src/rules/S3317/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Default export names and file names should match', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3317/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3317'; diff --git a/packages/jsts/src/rules/S3317/meta.ts b/packages/jsts/src/rules/S3317/meta.ts index b529745e887..f07a83ffc26 100644 --- a/packages/jsts/src/rules/S3317/meta.ts +++ b/packages/jsts/src/rules/S3317/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Default export names and file names should match', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3317/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3317'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'file-name-differ-from-class'; diff --git a/packages/jsts/src/rules/S3330/generated-meta.ts b/packages/jsts/src/rules/S3330/generated-meta.ts new file mode 100644 index 00000000000..f74a2265fe4 --- /dev/null +++ b/packages/jsts/src/rules/S3330/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Creating cookies without the "HttpOnly" flag is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3330/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3330'; diff --git a/packages/jsts/src/rules/S3330/meta.ts b/packages/jsts/src/rules/S3330/meta.ts index f74a2265fe4..71b8a10c348 100644 --- a/packages/jsts/src/rules/S3330/meta.ts +++ b/packages/jsts/src/rules/S3330/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Creating cookies without the "HttpOnly" flag is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3330/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3330'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'cookie-no-httponly'; diff --git a/packages/jsts/src/rules/S3353/generated-meta.ts b/packages/jsts/src/rules/S3353/generated-meta.ts new file mode 100644 index 00000000000..7f25c5e0299 --- /dev/null +++ b/packages/jsts/src/rules/S3353/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Unchanged variables should be marked as "const"', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3353/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S3353'; diff --git a/packages/jsts/src/rules/S3353/index.ts b/packages/jsts/src/rules/S3353/index.ts new file mode 100644 index 00000000000..71c249ef560 --- /dev/null +++ b/packages/jsts/src/rules/S3353/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('prefer-const'); diff --git a/packages/jsts/src/rules/S3353/meta.ts b/packages/jsts/src/rules/S3353/meta.ts new file mode 100644 index 00000000000..fba6b46aa78 --- /dev/null +++ b/packages/jsts/src/rules/S3353/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'prefer-const'; diff --git a/packages/jsts/src/rules/S3358/generated-meta.ts b/packages/jsts/src/rules/S3358/generated-meta.ts new file mode 100644 index 00000000000..0ef5b048294 --- /dev/null +++ b/packages/jsts/src/rules/S3358/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Ternary operators should not be nested', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3358/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3358'; diff --git a/packages/jsts/src/rules/S3358/meta.ts b/packages/jsts/src/rules/S3358/meta.ts index 0ef5b048294..8574cfa04d0 100644 --- a/packages/jsts/src/rules/S3358/meta.ts +++ b/packages/jsts/src/rules/S3358/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Ternary operators should not be nested', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3358/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3358'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-nested-conditional'; diff --git a/packages/jsts/src/rules/S3402/generated-meta.ts b/packages/jsts/src/rules/S3402/generated-meta.ts new file mode 100644 index 00000000000..e93f0283eae --- /dev/null +++ b/packages/jsts/src/rules/S3402/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Strings and non-strings should not be added', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3402/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S3402'; diff --git a/packages/jsts/src/rules/S3402/meta.ts b/packages/jsts/src/rules/S3402/meta.ts index e93f0283eae..f7ab6026909 100644 --- a/packages/jsts/src/rules/S3402/meta.ts +++ b/packages/jsts/src/rules/S3402/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Strings and non-strings should not be added', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3402/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S3402'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-incorrect-string-concat'; diff --git a/packages/jsts/src/rules/S3403/generated-meta.ts b/packages/jsts/src/rules/S3403/generated-meta.ts new file mode 100644 index 00000000000..b6a38d20b10 --- /dev/null +++ b/packages/jsts/src/rules/S3403/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Strict equality operators should not be used with dissimilar types', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3403/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S3403'; diff --git a/packages/jsts/src/rules/S3403/meta.ts b/packages/jsts/src/rules/S3403/meta.ts index b6a38d20b10..8806fcc7381 100644 --- a/packages/jsts/src/rules/S3403/meta.ts +++ b/packages/jsts/src/rules/S3403/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Strict equality operators should not be used with dissimilar types', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3403/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S3403'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'different-types-comparison'; diff --git a/packages/jsts/src/rules/S3415/generated-meta.ts b/packages/jsts/src/rules/S3415/generated-meta.ts new file mode 100644 index 00000000000..6be6ee287c2 --- /dev/null +++ b/packages/jsts/src/rules/S3415/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Assertion arguments should be passed in the correct order', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3415/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S3415'; diff --git a/packages/jsts/src/rules/S3415/meta.ts b/packages/jsts/src/rules/S3415/meta.ts index 6be6ee287c2..bcb05b183c3 100644 --- a/packages/jsts/src/rules/S3415/meta.ts +++ b/packages/jsts/src/rules/S3415/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Assertion arguments should be passed in the correct order', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3415/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S3415'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'inverted-assertion-arguments'; diff --git a/packages/jsts/src/rules/S3498/generated-meta.ts b/packages/jsts/src/rules/S3498/generated-meta.ts new file mode 100644 index 00000000000..8a8c92d88b1 --- /dev/null +++ b/packages/jsts/src/rules/S3498/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Object literal shorthand syntax should be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3498/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S3498'; diff --git a/packages/jsts/src/rules/S3498/index.ts b/packages/jsts/src/rules/S3498/index.ts index 166b40718f7..737691bd336 100644 --- a/packages/jsts/src/rules/S3498/index.ts +++ b/packages/jsts/src/rules/S3498/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; -export const rule = decorate(eslintRules['object-shorthand']); +export const rule = decorate(getESLintCoreRule('object-shorthand')); diff --git a/packages/jsts/src/rules/S3498/meta.ts b/packages/jsts/src/rules/S3498/meta.ts index 8a8c92d88b1..9c6b471f9e5 100644 --- a/packages/jsts/src/rules/S3498/meta.ts +++ b/packages/jsts/src/rules/S3498/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Object literal shorthand syntax should be used', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3498/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S3498'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'object-shorthand'; diff --git a/packages/jsts/src/rules/S3499/generated-meta.ts b/packages/jsts/src/rules/S3499/generated-meta.ts new file mode 100644 index 00000000000..94b316f7129 --- /dev/null +++ b/packages/jsts/src/rules/S3499/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: + 'Shorthand object properties should be grouped at the beginning or end of an object declaration', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3499/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3499'; diff --git a/packages/jsts/src/rules/S3499/meta.ts b/packages/jsts/src/rules/S3499/meta.ts index 94b316f7129..59211823176 100644 --- a/packages/jsts/src/rules/S3499/meta.ts +++ b/packages/jsts/src/rules/S3499/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: - 'Shorthand object properties should be grouped at the beginning or end of an object declaration', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3499/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3499'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'shorthand-property-grouping'; diff --git a/packages/jsts/src/rules/S3500/generated-meta.ts b/packages/jsts/src/rules/S3500/generated-meta.ts new file mode 100644 index 00000000000..a271b7b1e01 --- /dev/null +++ b/packages/jsts/src/rules/S3500/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"const" variables should not be reassigned', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3500/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3500'; diff --git a/packages/jsts/src/rules/S3500/meta.ts b/packages/jsts/src/rules/S3500/meta.ts index a271b7b1e01..ecbd0f20d8c 100644 --- a/packages/jsts/src/rules/S3500/meta.ts +++ b/packages/jsts/src/rules/S3500/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: '"const" variables should not be reassigned', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3500/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3500'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'updated-const-var'; diff --git a/packages/jsts/src/rules/S3504/generated-meta.ts b/packages/jsts/src/rules/S3504/generated-meta.ts new file mode 100644 index 00000000000..aeda662d14c --- /dev/null +++ b/packages/jsts/src/rules/S3504/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Variables should be declared with "let" or "const"', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3504/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S3504'; diff --git a/packages/jsts/src/rules/S3504/index.ts b/packages/jsts/src/rules/S3504/index.ts index 265ab301e69..4b3a0bbd87d 100644 --- a/packages/jsts/src/rules/S3504/index.ts +++ b/packages/jsts/src/rules/S3504/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; -export const rule = decorate(eslintRules['no-var']); +export const rule = decorate(getESLintCoreRule('no-var')); diff --git a/packages/jsts/src/rules/S3504/meta.ts b/packages/jsts/src/rules/S3504/meta.ts index aeda662d14c..626d49b4c9f 100644 --- a/packages/jsts/src/rules/S3504/meta.ts +++ b/packages/jsts/src/rules/S3504/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Variables should be declared with "let" or "const"', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3504/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S3504'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-var'; diff --git a/packages/jsts/src/rules/S3512/generated-meta.ts b/packages/jsts/src/rules/S3512/generated-meta.ts new file mode 100644 index 00000000000..a57e38993d7 --- /dev/null +++ b/packages/jsts/src/rules/S3512/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Template strings should be used instead of concatenation', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3512/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S3512'; diff --git a/packages/jsts/src/rules/S3512/index.ts b/packages/jsts/src/rules/S3512/index.ts index 90ebaf6747e..5625cf560fe 100644 --- a/packages/jsts/src/rules/S3512/index.ts +++ b/packages/jsts/src/rules/S3512/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; -export const rule = decorate(eslintRules['prefer-template']); +export const rule = decorate(getESLintCoreRule('prefer-template')); diff --git a/packages/jsts/src/rules/S3512/meta.ts b/packages/jsts/src/rules/S3512/meta.ts index a57e38993d7..f8ae2304714 100644 --- a/packages/jsts/src/rules/S3512/meta.ts +++ b/packages/jsts/src/rules/S3512/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Template strings should be used instead of concatenation', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3512/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S3512'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'prefer-template'; diff --git a/packages/jsts/src/rules/S3513/generated-meta.ts b/packages/jsts/src/rules/S3513/generated-meta.ts new file mode 100644 index 00000000000..6e5c45e57c9 --- /dev/null +++ b/packages/jsts/src/rules/S3513/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"arguments" should not be accessed directly', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3513/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3513'; diff --git a/packages/jsts/src/rules/S3513/meta.ts b/packages/jsts/src/rules/S3513/meta.ts index 6e5c45e57c9..b35fec037a3 100644 --- a/packages/jsts/src/rules/S3513/meta.ts +++ b/packages/jsts/src/rules/S3513/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"arguments" should not be accessed directly', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3513/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3513'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'arguments-usage'; diff --git a/packages/jsts/src/rules/S3514/generated-meta.ts b/packages/jsts/src/rules/S3514/generated-meta.ts new file mode 100644 index 00000000000..b94967c0d8b --- /dev/null +++ b/packages/jsts/src/rules/S3514/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Destructuring syntax should be used for assignments', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3514/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3514'; diff --git a/packages/jsts/src/rules/S3514/meta.ts b/packages/jsts/src/rules/S3514/meta.ts index b94967c0d8b..b2bd3a34085 100644 --- a/packages/jsts/src/rules/S3514/meta.ts +++ b/packages/jsts/src/rules/S3514/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Destructuring syntax should be used for assignments', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3514/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3514'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'destructuring-assignment-syntax'; diff --git a/packages/jsts/src/rules/S3516/generated-meta.ts b/packages/jsts/src/rules/S3516/generated-meta.ts new file mode 100644 index 00000000000..2a9dede978d --- /dev/null +++ b/packages/jsts/src/rules/S3516/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Function returns should not be invariant', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3516/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3516'; diff --git a/packages/jsts/src/rules/S3516/meta.ts b/packages/jsts/src/rules/S3516/meta.ts index 2a9dede978d..b7711b3512f 100644 --- a/packages/jsts/src/rules/S3516/meta.ts +++ b/packages/jsts/src/rules/S3516/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Function returns should not be invariant', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3516/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3516'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-invariant-returns'; diff --git a/packages/jsts/src/rules/S3523/generated-meta.ts b/packages/jsts/src/rules/S3523/generated-meta.ts new file mode 100644 index 00000000000..2b3797c5db2 --- /dev/null +++ b/packages/jsts/src/rules/S3523/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Function constructors should not be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3523/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S3523'; diff --git a/packages/jsts/src/rules/S3523/index.ts b/packages/jsts/src/rules/S3523/index.ts new file mode 100644 index 00000000000..026452c0481 --- /dev/null +++ b/packages/jsts/src/rules/S3523/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-new-func'); diff --git a/packages/jsts/src/rules/S3523/meta.ts b/packages/jsts/src/rules/S3523/meta.ts new file mode 100644 index 00000000000..6fe5f13eaca --- /dev/null +++ b/packages/jsts/src/rules/S3523/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-new-func'; diff --git a/packages/jsts/src/rules/S3524/generated-meta.ts b/packages/jsts/src/rules/S3524/generated-meta.ts new file mode 100644 index 00000000000..4331dc0c797 --- /dev/null +++ b/packages/jsts/src/rules/S3524/generated-meta.ts @@ -0,0 +1,53 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Braces and parentheses should be used consistently with arrow functions', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3524/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3524'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + requireParameterParentheses: { + type: 'boolean', + }, + requireBodyBraces: { + type: 'boolean', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S3524/meta.ts b/packages/jsts/src/rules/S3524/meta.ts index 4331dc0c797..5c24457b1bb 100644 --- a/packages/jsts/src/rules/S3524/meta.ts +++ b/packages/jsts/src/rules/S3524/meta.ts @@ -17,37 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Braces and parentheses should be used consistently with arrow functions', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3524/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3524'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - requireParameterParentheses: { - type: 'boolean', - }, - requireBodyBraces: { - type: 'boolean', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'arrow-function-convention'; diff --git a/packages/jsts/src/rules/S3525/generated-meta.ts b/packages/jsts/src/rules/S3525/generated-meta.ts new file mode 100644 index 00000000000..75a41f61ec1 --- /dev/null +++ b/packages/jsts/src/rules/S3525/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Class methods should be used instead of "prototype" assignments', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3525/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S3525'; diff --git a/packages/jsts/src/rules/S3525/meta.ts b/packages/jsts/src/rules/S3525/meta.ts index 75a41f61ec1..d256cf6767d 100644 --- a/packages/jsts/src/rules/S3525/meta.ts +++ b/packages/jsts/src/rules/S3525/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Class methods should be used instead of "prototype" assignments', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3525/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S3525'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'class-prototype'; diff --git a/packages/jsts/src/rules/S3531/generated-meta.ts b/packages/jsts/src/rules/S3531/generated-meta.ts new file mode 100644 index 00000000000..b8fc958105e --- /dev/null +++ b/packages/jsts/src/rules/S3531/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Generators should explicitly "yield" a value', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3531/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3531'; diff --git a/packages/jsts/src/rules/S3531/meta.ts b/packages/jsts/src/rules/S3531/meta.ts index b8fc958105e..29752e24334 100644 --- a/packages/jsts/src/rules/S3531/meta.ts +++ b/packages/jsts/src/rules/S3531/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Generators should explicitly "yield" a value', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3531/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3531'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'generator-without-yield'; diff --git a/packages/jsts/src/rules/S3533/generated-meta.ts b/packages/jsts/src/rules/S3533/generated-meta.ts new file mode 100644 index 00000000000..557636f0e59 --- /dev/null +++ b/packages/jsts/src/rules/S3533/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"import" should be used to include external code', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3533/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S3533'; diff --git a/packages/jsts/src/rules/S3533/meta.ts b/packages/jsts/src/rules/S3533/meta.ts index 557636f0e59..5872f475c2e 100644 --- a/packages/jsts/src/rules/S3533/meta.ts +++ b/packages/jsts/src/rules/S3533/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"import" should be used to include external code', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3533/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S3533'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-require-or-define'; diff --git a/packages/jsts/src/rules/S3579/generated-meta.ts b/packages/jsts/src/rules/S3579/generated-meta.ts new file mode 100644 index 00000000000..84b73f25f10 --- /dev/null +++ b/packages/jsts/src/rules/S3579/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Array indexes should be numeric', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3579/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S3579'; diff --git a/packages/jsts/src/rules/S3579/meta.ts b/packages/jsts/src/rules/S3579/meta.ts index 84b73f25f10..fd2bade825c 100644 --- a/packages/jsts/src/rules/S3579/meta.ts +++ b/packages/jsts/src/rules/S3579/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Array indexes should be numeric', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3579/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S3579'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-associative-arrays'; diff --git a/packages/jsts/src/rules/S3616/generated-meta.ts b/packages/jsts/src/rules/S3616/generated-meta.ts new file mode 100644 index 00000000000..34548b0ec04 --- /dev/null +++ b/packages/jsts/src/rules/S3616/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Comma and logical OR operators should not be used in switch cases', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3616/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3616'; diff --git a/packages/jsts/src/rules/S3616/meta.ts b/packages/jsts/src/rules/S3616/meta.ts index 34548b0ec04..9d25d1f89d1 100644 --- a/packages/jsts/src/rules/S3616/meta.ts +++ b/packages/jsts/src/rules/S3616/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Comma and logical OR operators should not be used in switch cases', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3616/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3616'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'comma-or-logical-or-case'; diff --git a/packages/jsts/src/rules/S3626/generated-meta.ts b/packages/jsts/src/rules/S3626/generated-meta.ts new file mode 100644 index 00000000000..4880031c975 --- /dev/null +++ b/packages/jsts/src/rules/S3626/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Jump statements should not be redundant', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3626/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S3626'; diff --git a/packages/jsts/src/rules/S3626/meta.ts b/packages/jsts/src/rules/S3626/meta.ts index 4880031c975..ea4d228d3a5 100644 --- a/packages/jsts/src/rules/S3626/meta.ts +++ b/packages/jsts/src/rules/S3626/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Jump statements should not be redundant', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3626/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S3626'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-redundant-jump'; diff --git a/packages/jsts/src/rules/S3686/generated-meta.ts b/packages/jsts/src/rules/S3686/generated-meta.ts new file mode 100644 index 00000000000..c36b304ed0f --- /dev/null +++ b/packages/jsts/src/rules/S3686/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Functions should be called consistently with or without "new"', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3686/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3686'; diff --git a/packages/jsts/src/rules/S3686/meta.ts b/packages/jsts/src/rules/S3686/meta.ts index c36b304ed0f..0e2e94e8ade 100644 --- a/packages/jsts/src/rules/S3686/meta.ts +++ b/packages/jsts/src/rules/S3686/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Functions should be called consistently with or without "new"', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3686/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3686'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'inconsistent-function-call'; diff --git a/packages/jsts/src/rules/S3696/generated-meta.ts b/packages/jsts/src/rules/S3696/generated-meta.ts new file mode 100644 index 00000000000..15f47294d2c --- /dev/null +++ b/packages/jsts/src/rules/S3696/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Literals should not be thrown', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3696/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S3696'; diff --git a/packages/jsts/src/rules/S3696/index.ts b/packages/jsts/src/rules/S3696/index.ts index 00f62795919..f241e3bf115 100644 --- a/packages/jsts/src/rules/S3696/index.ts +++ b/packages/jsts/src/rules/S3696/index.ts @@ -17,11 +17,11 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; /** * TypeScript ESLint implementation of 'no-throw-literal' does not support JavaScript code. * Therefore, we decorate ESLint's implemention of the rule. */ -export const rule = decorate(eslintRules['no-throw-literal']); +export const rule = decorate(getESLintCoreRule('no-throw-literal')); diff --git a/packages/jsts/src/rules/S3696/meta.ts b/packages/jsts/src/rules/S3696/meta.ts index 15f47294d2c..ede963306b1 100644 --- a/packages/jsts/src/rules/S3696/meta.ts +++ b/packages/jsts/src/rules/S3696/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Literals should not be thrown', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3696/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S3696'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-throw-literal'; diff --git a/packages/jsts/src/rules/S3699/generated-meta.ts b/packages/jsts/src/rules/S3699/generated-meta.ts new file mode 100644 index 00000000000..2b32c9f45b0 --- /dev/null +++ b/packages/jsts/src/rules/S3699/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'The return value of void functions should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3699/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3699'; diff --git a/packages/jsts/src/rules/S3699/meta.ts b/packages/jsts/src/rules/S3699/meta.ts index 2b32c9f45b0..42eb5068fdb 100644 --- a/packages/jsts/src/rules/S3699/meta.ts +++ b/packages/jsts/src/rules/S3699/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'The return value of void functions should not be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3699/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3699'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-use-of-empty-return-value'; diff --git a/packages/jsts/src/rules/S3723/generated-meta.ts b/packages/jsts/src/rules/S3723/generated-meta.ts new file mode 100644 index 00000000000..b357b579255 --- /dev/null +++ b/packages/jsts/src/rules/S3723/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Trailing commas should be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3723/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S3723'; diff --git a/packages/jsts/src/rules/S3723/meta.ts b/packages/jsts/src/rules/S3723/meta.ts index b357b579255..581ee7a4bc8 100644 --- a/packages/jsts/src/rules/S3723/meta.ts +++ b/packages/jsts/src/rules/S3723/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Trailing commas should be used', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3723/javascript', - requiresTypeChecking: false, - }, - deprecated: true, -}; - -export const sonarKey = 'S3723'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'enforce-trailing-comma'; diff --git a/packages/jsts/src/rules/S3723/rule.ts b/packages/jsts/src/rules/S3723/rule.ts index 87f7612bc61..584da2beb89 100644 --- a/packages/jsts/src/rules/S3723/rule.ts +++ b/packages/jsts/src/rules/S3723/rule.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S3723/javascript -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { generateMeta } from '../helpers/index.js'; import { meta } from './meta.js'; import type { Rule } from 'eslint'; @@ -29,6 +29,6 @@ import type { Rule } from 'eslint'; * same ESLint implementation, but the plugin doesn't allow rule key duplicates. */ export const rule = { - ...eslintRules['comma-dangle'], - meta: generateMeta(meta as Rule.RuleMetaData, eslintRules['comma-dangle'].meta), + ...getESLintCoreRule('comma-dangle'), + meta: generateMeta(meta as Rule.RuleMetaData, getESLintCoreRule('comma-dangle').meta), }; diff --git a/packages/jsts/src/rules/S3735/generated-meta.ts b/packages/jsts/src/rules/S3735/generated-meta.ts new file mode 100644 index 00000000000..ebe535c8c7c --- /dev/null +++ b/packages/jsts/src/rules/S3735/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"void" should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3735/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S3735'; diff --git a/packages/jsts/src/rules/S3735/meta.ts b/packages/jsts/src/rules/S3735/meta.ts index ebe535c8c7c..6467d676421 100644 --- a/packages/jsts/src/rules/S3735/meta.ts +++ b/packages/jsts/src/rules/S3735/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"void" should not be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3735/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S3735'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'void-use'; diff --git a/packages/jsts/src/rules/S3757/generated-meta.ts b/packages/jsts/src/rules/S3757/generated-meta.ts new file mode 100644 index 00000000000..5eae3addad2 --- /dev/null +++ b/packages/jsts/src/rules/S3757/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Arithmetic operations should not result in "NaN"', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3757/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S3757'; diff --git a/packages/jsts/src/rules/S3757/meta.ts b/packages/jsts/src/rules/S3757/meta.ts index 5eae3addad2..cbdb9204af3 100644 --- a/packages/jsts/src/rules/S3757/meta.ts +++ b/packages/jsts/src/rules/S3757/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Arithmetic operations should not result in "NaN"', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3757/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S3757'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'operation-returning-nan'; diff --git a/packages/jsts/src/rules/S3758/generated-meta.ts b/packages/jsts/src/rules/S3758/generated-meta.ts new file mode 100644 index 00000000000..9787b944589 --- /dev/null +++ b/packages/jsts/src/rules/S3758/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Values not convertible to numbers should not be used in numeric comparisons', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3758/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S3758'; diff --git a/packages/jsts/src/rules/S3758/meta.ts b/packages/jsts/src/rules/S3758/meta.ts index 9787b944589..257d3a49821 100644 --- a/packages/jsts/src/rules/S3758/meta.ts +++ b/packages/jsts/src/rules/S3758/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Values not convertible to numbers should not be used in numeric comparisons', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3758/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S3758'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'values-not-convertible-to-numbers'; diff --git a/packages/jsts/src/rules/S3760/generated-meta.ts b/packages/jsts/src/rules/S3760/generated-meta.ts new file mode 100644 index 00000000000..b9e7a820409 --- /dev/null +++ b/packages/jsts/src/rules/S3760/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Arithmetic operators should only have numbers as operands', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3760/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S3760'; diff --git a/packages/jsts/src/rules/S3760/meta.ts b/packages/jsts/src/rules/S3760/meta.ts index b9e7a820409..8b01761103d 100644 --- a/packages/jsts/src/rules/S3760/meta.ts +++ b/packages/jsts/src/rules/S3760/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Arithmetic operators should only have numbers as operands', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3760/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S3760'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'non-number-in-arithmetic-expression'; diff --git a/packages/jsts/src/rules/S3776/generated-meta.ts b/packages/jsts/src/rules/S3776/generated-meta.ts new file mode 100644 index 00000000000..0289e74d6d5 --- /dev/null +++ b/packages/jsts/src/rules/S3776/generated-meta.ts @@ -0,0 +1,45 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Cognitive Complexity of functions should not be too high', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3776/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3776'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 2, + items: [ + { + type: 'integer', + minimum: 0, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S3776/meta.ts b/packages/jsts/src/rules/S3776/meta.ts index 0289e74d6d5..71af9e9b19e 100644 --- a/packages/jsts/src/rules/S3776/meta.ts +++ b/packages/jsts/src/rules/S3776/meta.ts @@ -17,29 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Cognitive Complexity of functions should not be too high', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3776/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3776'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 2, - items: [ - { - type: 'integer', - minimum: 0, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'cognitive-complexity'; diff --git a/packages/jsts/src/rules/S3782/generated-meta.ts b/packages/jsts/src/rules/S3782/generated-meta.ts new file mode 100644 index 00000000000..5644b3c07e2 --- /dev/null +++ b/packages/jsts/src/rules/S3782/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Arguments to built-in functions should match documented types', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3782/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S3782'; diff --git a/packages/jsts/src/rules/S3782/meta.ts b/packages/jsts/src/rules/S3782/meta.ts index 5644b3c07e2..43880b62843 100644 --- a/packages/jsts/src/rules/S3782/meta.ts +++ b/packages/jsts/src/rules/S3782/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Arguments to built-in functions should match documented types', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3782/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S3782'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'argument-type'; diff --git a/packages/jsts/src/rules/S3785/generated-meta.ts b/packages/jsts/src/rules/S3785/generated-meta.ts new file mode 100644 index 00000000000..b96b9b5e122 --- /dev/null +++ b/packages/jsts/src/rules/S3785/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"in" should not be used with primitive types', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3785/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S3785'; diff --git a/packages/jsts/src/rules/S3785/meta.ts b/packages/jsts/src/rules/S3785/meta.ts index b96b9b5e122..bff23b02bd8 100644 --- a/packages/jsts/src/rules/S3785/meta.ts +++ b/packages/jsts/src/rules/S3785/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: '"in" should not be used with primitive types', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3785/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S3785'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'in-operator-type-error'; diff --git a/packages/jsts/src/rules/S3786/generated-meta.ts b/packages/jsts/src/rules/S3786/generated-meta.ts new file mode 100644 index 00000000000..87fa7441ac9 --- /dev/null +++ b/packages/jsts/src/rules/S3786/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Template literal placeholder syntax should not be used in regular strings', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3786/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3786'; diff --git a/packages/jsts/src/rules/S3786/index.ts b/packages/jsts/src/rules/S3786/index.ts new file mode 100644 index 00000000000..b014708a78c --- /dev/null +++ b/packages/jsts/src/rules/S3786/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-template-curly-in-string'); diff --git a/packages/jsts/src/rules/S3786/meta.ts b/packages/jsts/src/rules/S3786/meta.ts new file mode 100644 index 00000000000..203f0de699a --- /dev/null +++ b/packages/jsts/src/rules/S3786/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-template-curly-in-string'; diff --git a/packages/jsts/src/rules/S3796/generated-meta.ts b/packages/jsts/src/rules/S3796/generated-meta.ts new file mode 100644 index 00000000000..9103034a709 --- /dev/null +++ b/packages/jsts/src/rules/S3796/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Callbacks of array methods should have return statements', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3796/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S3796'; diff --git a/packages/jsts/src/rules/S3796/meta.ts b/packages/jsts/src/rules/S3796/meta.ts index 9103034a709..63ba9a4425e 100644 --- a/packages/jsts/src/rules/S3796/meta.ts +++ b/packages/jsts/src/rules/S3796/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Callbacks of array methods should have return statements', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3796/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S3796'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'array-callback-without-return'; diff --git a/packages/jsts/src/rules/S3798/generated-meta.ts b/packages/jsts/src/rules/S3798/generated-meta.ts new file mode 100644 index 00000000000..f7997c6d62e --- /dev/null +++ b/packages/jsts/src/rules/S3798/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Variables and functions should not be declared in the global scope', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3798/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3798'; diff --git a/packages/jsts/src/rules/S3798/meta.ts b/packages/jsts/src/rules/S3798/meta.ts index f7997c6d62e..632963cb831 100644 --- a/packages/jsts/src/rules/S3798/meta.ts +++ b/packages/jsts/src/rules/S3798/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Variables and functions should not be declared in the global scope', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3798/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3798'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'declarations-in-global-scope'; diff --git a/packages/jsts/src/rules/S3799/generated-meta.ts b/packages/jsts/src/rules/S3799/generated-meta.ts new file mode 100644 index 00000000000..7243b74f61e --- /dev/null +++ b/packages/jsts/src/rules/S3799/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Destructuring patterns should not be empty', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3799/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3799'; diff --git a/packages/jsts/src/rules/S3799/index.ts b/packages/jsts/src/rules/S3799/index.ts new file mode 100644 index 00000000000..3aa7c9f687c --- /dev/null +++ b/packages/jsts/src/rules/S3799/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-empty-pattern'); diff --git a/packages/jsts/src/rules/S3799/meta.ts b/packages/jsts/src/rules/S3799/meta.ts new file mode 100644 index 00000000000..175873fb44c --- /dev/null +++ b/packages/jsts/src/rules/S3799/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-empty-pattern'; diff --git a/packages/jsts/src/rules/S3800/generated-meta.ts b/packages/jsts/src/rules/S3800/generated-meta.ts new file mode 100644 index 00000000000..c624e604cef --- /dev/null +++ b/packages/jsts/src/rules/S3800/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Functions should always return the same type', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3800/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S3800'; diff --git a/packages/jsts/src/rules/S3800/meta.ts b/packages/jsts/src/rules/S3800/meta.ts index c624e604cef..cc99aea32d2 100644 --- a/packages/jsts/src/rules/S3800/meta.ts +++ b/packages/jsts/src/rules/S3800/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Functions should always return the same type', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3800/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S3800'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'function-return-type'; diff --git a/packages/jsts/src/rules/S3801/generated-meta.ts b/packages/jsts/src/rules/S3801/generated-meta.ts new file mode 100644 index 00000000000..6a508352d41 --- /dev/null +++ b/packages/jsts/src/rules/S3801/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Functions should use "return" consistently', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3801/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3801'; diff --git a/packages/jsts/src/rules/S3801/meta.ts b/packages/jsts/src/rules/S3801/meta.ts index 6a508352d41..eb8ab24f600 100644 --- a/packages/jsts/src/rules/S3801/meta.ts +++ b/packages/jsts/src/rules/S3801/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Functions should use "return" consistently', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3801/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3801'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-inconsistent-returns'; diff --git a/packages/jsts/src/rules/S3812/generated-meta.ts b/packages/jsts/src/rules/S3812/generated-meta.ts new file mode 100644 index 00000000000..87328845f2f --- /dev/null +++ b/packages/jsts/src/rules/S3812/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Parentheses should be used when negating "in" and "instanceof" operations', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3812/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S3812'; diff --git a/packages/jsts/src/rules/S3812/index.ts b/packages/jsts/src/rules/S3812/index.ts new file mode 100644 index 00000000000..dfaed1d47a4 --- /dev/null +++ b/packages/jsts/src/rules/S3812/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-unsafe-negation'); diff --git a/packages/jsts/src/rules/S3812/meta.ts b/packages/jsts/src/rules/S3812/meta.ts new file mode 100644 index 00000000000..c9cba41630f --- /dev/null +++ b/packages/jsts/src/rules/S3812/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-unsafe-negation'; diff --git a/packages/jsts/src/rules/S3827/generated-meta.ts b/packages/jsts/src/rules/S3827/generated-meta.ts new file mode 100644 index 00000000000..5f1fafdbf9b --- /dev/null +++ b/packages/jsts/src/rules/S3827/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Variables should be defined before being used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3827/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3827'; diff --git a/packages/jsts/src/rules/S3827/meta.ts b/packages/jsts/src/rules/S3827/meta.ts index 5f1fafdbf9b..45e7d7fb2b0 100644 --- a/packages/jsts/src/rules/S3827/meta.ts +++ b/packages/jsts/src/rules/S3827/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Variables should be defined before being used', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3827/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3827'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-reference-error'; diff --git a/packages/jsts/src/rules/S3834/generated-meta.ts b/packages/jsts/src/rules/S3834/generated-meta.ts new file mode 100644 index 00000000000..0ec1949ceeb --- /dev/null +++ b/packages/jsts/src/rules/S3834/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"new" operator should not be used with Symbol and BigInt', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3834/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3834'; diff --git a/packages/jsts/src/rules/S3834/index.ts b/packages/jsts/src/rules/S3834/index.ts new file mode 100644 index 00000000000..94fe4a64d00 --- /dev/null +++ b/packages/jsts/src/rules/S3834/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-new-native-nonconstructor'); diff --git a/packages/jsts/src/rules/S3834/meta.ts b/packages/jsts/src/rules/S3834/meta.ts new file mode 100644 index 00000000000..ad4c42911d4 --- /dev/null +++ b/packages/jsts/src/rules/S3834/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-new-native-nonconstructor'; diff --git a/packages/jsts/src/rules/S3854/generated-meta.ts b/packages/jsts/src/rules/S3854/generated-meta.ts new file mode 100644 index 00000000000..b97fe2534f2 --- /dev/null +++ b/packages/jsts/src/rules/S3854/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"super()" should be invoked appropriately', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3854/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3854'; diff --git a/packages/jsts/src/rules/S3854/meta.ts b/packages/jsts/src/rules/S3854/meta.ts index b97fe2534f2..71064a2aded 100644 --- a/packages/jsts/src/rules/S3854/meta.ts +++ b/packages/jsts/src/rules/S3854/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: '"super()" should be invoked appropriately', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3854/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3854'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'super-invocation'; diff --git a/packages/jsts/src/rules/S3854/rule.ts b/packages/jsts/src/rules/S3854/rule.ts index 22665e1e907..e3b806d210c 100644 --- a/packages/jsts/src/rules/S3854/rule.ts +++ b/packages/jsts/src/rules/S3854/rule.ts @@ -20,12 +20,12 @@ // https://sonarsource.github.io/rspec/#/rspec/S3854/javascript import type { Rule } from 'eslint'; -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { generateMeta, mergeRules } from '../helpers/index.js'; import { meta } from './meta.js'; -const constructorSuperRule = eslintRules['constructor-super']; -const noThisBeforeSuperRule = eslintRules['no-this-before-super']; +const constructorSuperRule = getESLintCoreRule('constructor-super'); +const noThisBeforeSuperRule = getESLintCoreRule('no-this-before-super'); export const rule: Rule.RuleModule = { meta: generateMeta(meta as Rule.RuleMetaData, { diff --git a/packages/jsts/src/rules/S3863/generated-meta.ts b/packages/jsts/src/rules/S3863/generated-meta.ts new file mode 100644 index 00000000000..0a3d968ae94 --- /dev/null +++ b/packages/jsts/src/rules/S3863/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Imports from the same module should be merged', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3863/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S3863'; diff --git a/packages/jsts/src/rules/S3863/index.ts b/packages/jsts/src/rules/S3863/index.ts new file mode 100644 index 00000000000..bb09854753a --- /dev/null +++ b/packages/jsts/src/rules/S3863/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from 'eslint-plugin-import'; +export const rule = rules['no-duplicates']; diff --git a/packages/jsts/src/rules/S3863/meta.ts b/packages/jsts/src/rules/S3863/meta.ts new file mode 100644 index 00000000000..2a597c6b452 --- /dev/null +++ b/packages/jsts/src/rules/S3863/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-duplicates'; diff --git a/packages/jsts/src/rules/S3923/generated-meta.ts b/packages/jsts/src/rules/S3923/generated-meta.ts new file mode 100644 index 00000000000..435ae1a8642 --- /dev/null +++ b/packages/jsts/src/rules/S3923/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: + 'All branches in a conditional structure should not have exactly the same implementation', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3923/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S3923'; diff --git a/packages/jsts/src/rules/S3923/meta.ts b/packages/jsts/src/rules/S3923/meta.ts index 435ae1a8642..3ae1112c408 100644 --- a/packages/jsts/src/rules/S3923/meta.ts +++ b/packages/jsts/src/rules/S3923/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: - 'All branches in a conditional structure should not have exactly the same implementation', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3923/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S3923'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-all-duplicated-branches'; diff --git a/packages/jsts/src/rules/S3972/generated-meta.ts b/packages/jsts/src/rules/S3972/generated-meta.ts new file mode 100644 index 00000000000..fda0976c756 --- /dev/null +++ b/packages/jsts/src/rules/S3972/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Conditionals should start on new lines', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3972/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S3972'; diff --git a/packages/jsts/src/rules/S3972/meta.ts b/packages/jsts/src/rules/S3972/meta.ts index fda0976c756..e34f5fb2ecc 100644 --- a/packages/jsts/src/rules/S3972/meta.ts +++ b/packages/jsts/src/rules/S3972/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Conditionals should start on new lines', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3972/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S3972'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-same-line-conditional'; diff --git a/packages/jsts/src/rules/S3973/generated-meta.ts b/packages/jsts/src/rules/S3973/generated-meta.ts new file mode 100644 index 00000000000..933ec7bd48c --- /dev/null +++ b/packages/jsts/src/rules/S3973/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'A conditionally executed single line should be denoted by indentation', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3973/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S3973'; diff --git a/packages/jsts/src/rules/S3973/meta.ts b/packages/jsts/src/rules/S3973/meta.ts index 933ec7bd48c..df29f3f0268 100644 --- a/packages/jsts/src/rules/S3973/meta.ts +++ b/packages/jsts/src/rules/S3973/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'A conditionally executed single line should be denoted by indentation', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3973/javascript', - requiresTypeChecking: false, - }, - deprecated: true, -}; - -export const sonarKey = 'S3973'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'conditional-indentation'; diff --git a/packages/jsts/src/rules/S3981/generated-meta.ts b/packages/jsts/src/rules/S3981/generated-meta.ts new file mode 100644 index 00000000000..4ba03c812f7 --- /dev/null +++ b/packages/jsts/src/rules/S3981/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Collection size and array length comparisons should make sense', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3981/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S3981'; diff --git a/packages/jsts/src/rules/S3981/meta.ts b/packages/jsts/src/rules/S3981/meta.ts index 4ba03c812f7..d3521275aee 100644 --- a/packages/jsts/src/rules/S3981/meta.ts +++ b/packages/jsts/src/rules/S3981/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Collection size and array length comparisons should make sense', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3981/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S3981'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-collection-size-mischeck'; diff --git a/packages/jsts/src/rules/S3984/generated-meta.ts b/packages/jsts/src/rules/S3984/generated-meta.ts new file mode 100644 index 00000000000..a88643e6429 --- /dev/null +++ b/packages/jsts/src/rules/S3984/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Errors should not be created without being thrown', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S3984/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S3984'; diff --git a/packages/jsts/src/rules/S3984/meta.ts b/packages/jsts/src/rules/S3984/meta.ts index a88643e6429..e33392f77a1 100644 --- a/packages/jsts/src/rules/S3984/meta.ts +++ b/packages/jsts/src/rules/S3984/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Errors should not be created without being thrown', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S3984/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S3984'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-unthrown-error'; diff --git a/packages/jsts/src/rules/S4023/generated-meta.ts b/packages/jsts/src/rules/S4023/generated-meta.ts new file mode 100644 index 00000000000..ae7b84c9692 --- /dev/null +++ b/packages/jsts/src/rules/S4023/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Interfaces should not be empty', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4023/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S4023'; diff --git a/packages/jsts/src/rules/S4023/index.ts b/packages/jsts/src/rules/S4023/index.ts index 387e874fd5f..f699b84e3e0 100644 --- a/packages/jsts/src/rules/S4023/index.ts +++ b/packages/jsts/src/rules/S4023/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-empty-interface']); diff --git a/packages/jsts/src/rules/S4023/meta.ts b/packages/jsts/src/rules/S4023/meta.ts index ae7b84c9692..d24d19bf81d 100644 --- a/packages/jsts/src/rules/S4023/meta.ts +++ b/packages/jsts/src/rules/S4023/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Interfaces should not be empty', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4023/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S4023'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-empty-interface'; diff --git a/packages/jsts/src/rules/S4030/generated-meta.ts b/packages/jsts/src/rules/S4030/generated-meta.ts new file mode 100644 index 00000000000..7b04eadbfb0 --- /dev/null +++ b/packages/jsts/src/rules/S4030/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Collection contents should be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4030/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4030'; diff --git a/packages/jsts/src/rules/S4030/meta.ts b/packages/jsts/src/rules/S4030/meta.ts index 7b04eadbfb0..aadfa503dc1 100644 --- a/packages/jsts/src/rules/S4030/meta.ts +++ b/packages/jsts/src/rules/S4030/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Collection contents should be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4030/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4030'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-unused-collection'; diff --git a/packages/jsts/src/rules/S4036/generated-meta.ts b/packages/jsts/src/rules/S4036/generated-meta.ts new file mode 100644 index 00000000000..c546ec49a55 --- /dev/null +++ b/packages/jsts/src/rules/S4036/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Searching OS commands in PATH is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4036/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4036'; diff --git a/packages/jsts/src/rules/S4036/meta.ts b/packages/jsts/src/rules/S4036/meta.ts index c546ec49a55..ebc8203d700 100644 --- a/packages/jsts/src/rules/S4036/meta.ts +++ b/packages/jsts/src/rules/S4036/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Searching OS commands in PATH is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4036/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4036'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-os-command-from-path'; diff --git a/packages/jsts/src/rules/S4043/generated-meta.ts b/packages/jsts/src/rules/S4043/generated-meta.ts new file mode 100644 index 00000000000..3d07a9e9e51 --- /dev/null +++ b/packages/jsts/src/rules/S4043/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Array-mutating methods should not be used misleadingly', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4043/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S4043'; diff --git a/packages/jsts/src/rules/S4043/meta.ts b/packages/jsts/src/rules/S4043/meta.ts index 3d07a9e9e51..0afddf8733f 100644 --- a/packages/jsts/src/rules/S4043/meta.ts +++ b/packages/jsts/src/rules/S4043/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Array-mutating methods should not be used misleadingly', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4043/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S4043'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-misleading-array-reverse'; diff --git a/packages/jsts/src/rules/S4084/generated-meta.ts b/packages/jsts/src/rules/S4084/generated-meta.ts new file mode 100644 index 00000000000..72c4a94143b --- /dev/null +++ b/packages/jsts/src/rules/S4084/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Media elements should have captions', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4084/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4084'; diff --git a/packages/jsts/src/rules/S4084/meta.ts b/packages/jsts/src/rules/S4084/meta.ts index 72c4a94143b..f449c5c79fa 100644 --- a/packages/jsts/src/rules/S4084/meta.ts +++ b/packages/jsts/src/rules/S4084/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Media elements should have captions', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4084/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4084'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'media-has-caption'; diff --git a/packages/jsts/src/rules/S4123/generated-meta.ts b/packages/jsts/src/rules/S4123/generated-meta.ts new file mode 100644 index 00000000000..8ae89b5b670 --- /dev/null +++ b/packages/jsts/src/rules/S4123/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"await" should only be used with promises', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4123/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S4123'; diff --git a/packages/jsts/src/rules/S4123/meta.ts b/packages/jsts/src/rules/S4123/meta.ts index 8ae89b5b670..17b774bbe6f 100644 --- a/packages/jsts/src/rules/S4123/meta.ts +++ b/packages/jsts/src/rules/S4123/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"await" should only be used with promises', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4123/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S4123'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-invalid-await'; diff --git a/packages/jsts/src/rules/S4124/generated-meta.ts b/packages/jsts/src/rules/S4124/generated-meta.ts new file mode 100644 index 00000000000..a85ef9e6f14 --- /dev/null +++ b/packages/jsts/src/rules/S4124/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Constructors should not be declared inside interfaces', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4124/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4124'; diff --git a/packages/jsts/src/rules/S4124/index.ts b/packages/jsts/src/rules/S4124/index.ts new file mode 100644 index 00000000000..ca3321f708f --- /dev/null +++ b/packages/jsts/src/rules/S4124/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['no-misused-new']; diff --git a/packages/jsts/src/rules/S4124/meta.ts b/packages/jsts/src/rules/S4124/meta.ts new file mode 100644 index 00000000000..78329e00e5d --- /dev/null +++ b/packages/jsts/src/rules/S4124/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-misused-new'; diff --git a/packages/jsts/src/rules/S4125/generated-meta.ts b/packages/jsts/src/rules/S4125/generated-meta.ts new file mode 100644 index 00000000000..1d9193a0328 --- /dev/null +++ b/packages/jsts/src/rules/S4125/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"typeof" expressions should only be compared to valid values', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4125/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4125'; diff --git a/packages/jsts/src/rules/S4125/index.ts b/packages/jsts/src/rules/S4125/index.ts new file mode 100644 index 00000000000..47bd6ca79a7 --- /dev/null +++ b/packages/jsts/src/rules/S4125/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('valid-typeof'); diff --git a/packages/jsts/src/rules/S4125/meta.ts b/packages/jsts/src/rules/S4125/meta.ts new file mode 100644 index 00000000000..8cc6101fbf8 --- /dev/null +++ b/packages/jsts/src/rules/S4125/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'valid-typeof'; diff --git a/packages/jsts/src/rules/S4136/generated-meta.ts b/packages/jsts/src/rules/S4136/generated-meta.ts new file mode 100644 index 00000000000..465db6bc5d0 --- /dev/null +++ b/packages/jsts/src/rules/S4136/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Method overloads should be grouped together', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4136/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4136'; diff --git a/packages/jsts/src/rules/S4136/index.ts b/packages/jsts/src/rules/S4136/index.ts new file mode 100644 index 00000000000..b7930a3da16 --- /dev/null +++ b/packages/jsts/src/rules/S4136/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['adjacent-overload-signatures']; diff --git a/packages/jsts/src/rules/S4136/meta.ts b/packages/jsts/src/rules/S4136/meta.ts new file mode 100644 index 00000000000..646bd47db27 --- /dev/null +++ b/packages/jsts/src/rules/S4136/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'adjacent-overload-signatures'; diff --git a/packages/jsts/src/rules/S4137/generated-meta.ts b/packages/jsts/src/rules/S4137/generated-meta.ts new file mode 100644 index 00000000000..313886db211 --- /dev/null +++ b/packages/jsts/src/rules/S4137/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Type assertions should use "as"', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4137/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4137'; diff --git a/packages/jsts/src/rules/S4137/index.ts b/packages/jsts/src/rules/S4137/index.ts new file mode 100644 index 00000000000..e0f2e3880d9 --- /dev/null +++ b/packages/jsts/src/rules/S4137/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['consistent-type-assertions']; diff --git a/packages/jsts/src/rules/S4137/meta.ts b/packages/jsts/src/rules/S4137/meta.ts new file mode 100644 index 00000000000..664a245c239 --- /dev/null +++ b/packages/jsts/src/rules/S4137/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'consistent-type-assertions'; diff --git a/packages/jsts/src/rules/S4138/generated-meta.ts b/packages/jsts/src/rules/S4138/generated-meta.ts new file mode 100644 index 00000000000..30ebc4b87f9 --- /dev/null +++ b/packages/jsts/src/rules/S4138/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"for of" should be used with Iterables', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4138/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S4138'; diff --git a/packages/jsts/src/rules/S4138/index.ts b/packages/jsts/src/rules/S4138/index.ts index e80ef85386d..80a2f54029e 100644 --- a/packages/jsts/src/rules/S4138/index.ts +++ b/packages/jsts/src/rules/S4138/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['prefer-for-of']); diff --git a/packages/jsts/src/rules/S4138/meta.ts b/packages/jsts/src/rules/S4138/meta.ts index 30ebc4b87f9..5d2b28e0742 100644 --- a/packages/jsts/src/rules/S4138/meta.ts +++ b/packages/jsts/src/rules/S4138/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"for of" should be used with Iterables', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4138/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S4138'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'prefer-for-of'; diff --git a/packages/jsts/src/rules/S4139/generated-meta.ts b/packages/jsts/src/rules/S4139/generated-meta.ts new file mode 100644 index 00000000000..22d46b4d242 --- /dev/null +++ b/packages/jsts/src/rules/S4139/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"for in" should not be used with iterables', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4139/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S4139'; diff --git a/packages/jsts/src/rules/S4139/meta.ts b/packages/jsts/src/rules/S4139/meta.ts index 22d46b4d242..02a28474e2f 100644 --- a/packages/jsts/src/rules/S4139/meta.ts +++ b/packages/jsts/src/rules/S4139/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"for in" should not be used with iterables', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4139/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S4139'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-for-in-iterable'; diff --git a/packages/jsts/src/rules/S4140/generated-meta.ts b/packages/jsts/src/rules/S4140/generated-meta.ts new file mode 100644 index 00000000000..d78bd2e78fe --- /dev/null +++ b/packages/jsts/src/rules/S4140/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Sparse arrays should not be created with extra commas', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4140/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4140'; diff --git a/packages/jsts/src/rules/S4140/index.ts b/packages/jsts/src/rules/S4140/index.ts new file mode 100644 index 00000000000..b8de6acca85 --- /dev/null +++ b/packages/jsts/src/rules/S4140/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-sparse-arrays'); diff --git a/packages/jsts/src/rules/S4140/meta.ts b/packages/jsts/src/rules/S4140/meta.ts new file mode 100644 index 00000000000..0378e086a97 --- /dev/null +++ b/packages/jsts/src/rules/S4140/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-sparse-arrays'; diff --git a/packages/jsts/src/rules/S4143/generated-meta.ts b/packages/jsts/src/rules/S4143/generated-meta.ts new file mode 100644 index 00000000000..ddd70d71937 --- /dev/null +++ b/packages/jsts/src/rules/S4143/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Collection elements should not be replaced unconditionally', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4143/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4143'; diff --git a/packages/jsts/src/rules/S4143/meta.ts b/packages/jsts/src/rules/S4143/meta.ts index ddd70d71937..02ab90d2587 100644 --- a/packages/jsts/src/rules/S4143/meta.ts +++ b/packages/jsts/src/rules/S4143/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Collection elements should not be replaced unconditionally', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4143/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4143'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-element-overwrite'; diff --git a/packages/jsts/src/rules/S4144/generated-meta.ts b/packages/jsts/src/rules/S4144/generated-meta.ts new file mode 100644 index 00000000000..3ea5f7f4fdd --- /dev/null +++ b/packages/jsts/src/rules/S4144/generated-meta.ts @@ -0,0 +1,45 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Functions should not have identical implementations', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4144/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4144'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 2, + items: [ + { + type: 'integer', + minimum: 3, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S4144/meta.ts b/packages/jsts/src/rules/S4144/meta.ts index 3ea5f7f4fdd..972255fd1e5 100644 --- a/packages/jsts/src/rules/S4144/meta.ts +++ b/packages/jsts/src/rules/S4144/meta.ts @@ -17,29 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Functions should not have identical implementations', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4144/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4144'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 2, - items: [ - { - type: 'integer', - minimum: 3, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-identical-functions'; diff --git a/packages/jsts/src/rules/S4156/generated-meta.ts b/packages/jsts/src/rules/S4156/generated-meta.ts new file mode 100644 index 00000000000..c9de3ed1843 --- /dev/null +++ b/packages/jsts/src/rules/S4156/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"module" should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4156/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S4156'; diff --git a/packages/jsts/src/rules/S4156/index.ts b/packages/jsts/src/rules/S4156/index.ts index cb740c59935..e7734e4c887 100644 --- a/packages/jsts/src/rules/S4156/index.ts +++ b/packages/jsts/src/rules/S4156/index.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S4156/javascript -import { tsEslintRules as rules } from '../typescript-eslint/index.js'; +import { rules } from '../typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(rules['prefer-namespace-keyword']); diff --git a/packages/jsts/src/rules/S4156/meta.ts b/packages/jsts/src/rules/S4156/meta.ts index c9de3ed1843..1f830e1bd6f 100644 --- a/packages/jsts/src/rules/S4156/meta.ts +++ b/packages/jsts/src/rules/S4156/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"module" should not be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4156/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S4156'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'prefer-namespace-keyword'; diff --git a/packages/jsts/src/rules/S4157/generated-meta.ts b/packages/jsts/src/rules/S4157/generated-meta.ts new file mode 100644 index 00000000000..d6da04627b0 --- /dev/null +++ b/packages/jsts/src/rules/S4157/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Default type parameters should be omitted', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4157/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S4157'; diff --git a/packages/jsts/src/rules/S4157/index.ts b/packages/jsts/src/rules/S4157/index.ts new file mode 100644 index 00000000000..a9451fdf2da --- /dev/null +++ b/packages/jsts/src/rules/S4157/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['no-unnecessary-type-arguments']; diff --git a/packages/jsts/src/rules/S4157/meta.ts b/packages/jsts/src/rules/S4157/meta.ts new file mode 100644 index 00000000000..49a2c7e3fe2 --- /dev/null +++ b/packages/jsts/src/rules/S4157/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-unnecessary-type-arguments'; diff --git a/packages/jsts/src/rules/S4158/generated-meta.ts b/packages/jsts/src/rules/S4158/generated-meta.ts new file mode 100644 index 00000000000..ac3e1e6c96f --- /dev/null +++ b/packages/jsts/src/rules/S4158/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Empty collections should not be accessed or iterated', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4158/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4158'; diff --git a/packages/jsts/src/rules/S4158/meta.ts b/packages/jsts/src/rules/S4158/meta.ts index ac3e1e6c96f..8b518bd14b8 100644 --- a/packages/jsts/src/rules/S4158/meta.ts +++ b/packages/jsts/src/rules/S4158/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Empty collections should not be accessed or iterated', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4158/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4158'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-empty-collection'; diff --git a/packages/jsts/src/rules/S4165/generated-meta.ts b/packages/jsts/src/rules/S4165/generated-meta.ts new file mode 100644 index 00000000000..12c3a50db3a --- /dev/null +++ b/packages/jsts/src/rules/S4165/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Assignments should not be redundant', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4165/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4165'; diff --git a/packages/jsts/src/rules/S4165/meta.ts b/packages/jsts/src/rules/S4165/meta.ts index 12c3a50db3a..fe829a2e5b8 100644 --- a/packages/jsts/src/rules/S4165/meta.ts +++ b/packages/jsts/src/rules/S4165/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Assignments should not be redundant', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4165/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4165'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-redundant-assignments'; diff --git a/packages/jsts/src/rules/S4204/generated-meta.ts b/packages/jsts/src/rules/S4204/generated-meta.ts new file mode 100644 index 00000000000..0d8738a2f6f --- /dev/null +++ b/packages/jsts/src/rules/S4204/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'The "any" type should not be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4204/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S4204'; diff --git a/packages/jsts/src/rules/S4204/index.ts b/packages/jsts/src/rules/S4204/index.ts new file mode 100644 index 00000000000..b4a0b3b8b79 --- /dev/null +++ b/packages/jsts/src/rules/S4204/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['no-explicit-any']; diff --git a/packages/jsts/src/rules/S4204/meta.ts b/packages/jsts/src/rules/S4204/meta.ts new file mode 100644 index 00000000000..edb0826b0ef --- /dev/null +++ b/packages/jsts/src/rules/S4204/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-explicit-any'; diff --git a/packages/jsts/src/rules/S4275/generated-meta.ts b/packages/jsts/src/rules/S4275/generated-meta.ts new file mode 100644 index 00000000000..3144cdcdbb6 --- /dev/null +++ b/packages/jsts/src/rules/S4275/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Getters and setters should access the expected fields', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4275/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4275'; diff --git a/packages/jsts/src/rules/S4275/meta.ts b/packages/jsts/src/rules/S4275/meta.ts index 3144cdcdbb6..8bb8640254f 100644 --- a/packages/jsts/src/rules/S4275/meta.ts +++ b/packages/jsts/src/rules/S4275/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Getters and setters should access the expected fields', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4275/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4275'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-accessor-field-mismatch'; diff --git a/packages/jsts/src/rules/S4275/rule.ts b/packages/jsts/src/rules/S4275/rule.ts index 838fb9dd52c..748d2264624 100644 --- a/packages/jsts/src/rules/S4275/rule.ts +++ b/packages/jsts/src/rules/S4275/rule.ts @@ -32,10 +32,10 @@ import { report, toSecondaryLocation, } from '../helpers/index.js'; -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { meta } from './meta.js'; -const getterReturnRule = eslintRules['getter-return']; +const getterReturnRule = getESLintCoreRule('getter-return'); type AccessorNode = TSESTree.Property | TSESTree.MethodDefinition; function isAccessorNode(node: TSESTree.Node | null | undefined): node is AccessorNode { diff --git a/packages/jsts/src/rules/S4322/generated-meta.ts b/packages/jsts/src/rules/S4322/generated-meta.ts new file mode 100644 index 00000000000..793e1807289 --- /dev/null +++ b/packages/jsts/src/rules/S4322/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Type predicates should be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4322/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S4322'; diff --git a/packages/jsts/src/rules/S4322/meta.ts b/packages/jsts/src/rules/S4322/meta.ts index 793e1807289..0ea99cbae5d 100644 --- a/packages/jsts/src/rules/S4322/meta.ts +++ b/packages/jsts/src/rules/S4322/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Type predicates should be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4322/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S4322'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'prefer-type-guard'; diff --git a/packages/jsts/src/rules/S4323/generated-meta.ts b/packages/jsts/src/rules/S4323/generated-meta.ts new file mode 100644 index 00000000000..fad7bc2e85b --- /dev/null +++ b/packages/jsts/src/rules/S4323/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Type aliases should be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4323/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4323'; diff --git a/packages/jsts/src/rules/S4323/meta.ts b/packages/jsts/src/rules/S4323/meta.ts index fad7bc2e85b..f8e2169e7a0 100644 --- a/packages/jsts/src/rules/S4323/meta.ts +++ b/packages/jsts/src/rules/S4323/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Type aliases should be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4323/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4323'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'use-type-alias'; diff --git a/packages/jsts/src/rules/S4324/generated-meta.ts b/packages/jsts/src/rules/S4324/generated-meta.ts new file mode 100644 index 00000000000..662e12148ee --- /dev/null +++ b/packages/jsts/src/rules/S4324/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Primitive return types should be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4324/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S4324'; diff --git a/packages/jsts/src/rules/S4324/meta.ts b/packages/jsts/src/rules/S4324/meta.ts index 662e12148ee..1c573edf4d9 100644 --- a/packages/jsts/src/rules/S4324/meta.ts +++ b/packages/jsts/src/rules/S4324/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Primitive return types should be used', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4324/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S4324'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-return-type-any'; diff --git a/packages/jsts/src/rules/S4325/generated-meta.ts b/packages/jsts/src/rules/S4325/generated-meta.ts new file mode 100644 index 00000000000..bc3710f94d1 --- /dev/null +++ b/packages/jsts/src/rules/S4325/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Redundant casts and non-null assertions should be avoided', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4325/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S4325'; diff --git a/packages/jsts/src/rules/S4325/index.ts b/packages/jsts/src/rules/S4325/index.ts new file mode 100644 index 00000000000..a7394139b72 --- /dev/null +++ b/packages/jsts/src/rules/S4325/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['no-unnecessary-type-assertion']; diff --git a/packages/jsts/src/rules/S4325/meta.ts b/packages/jsts/src/rules/S4325/meta.ts new file mode 100644 index 00000000000..71dd18de65e --- /dev/null +++ b/packages/jsts/src/rules/S4325/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-unnecessary-type-assertion'; diff --git a/packages/jsts/src/rules/S4326/generated-meta.ts b/packages/jsts/src/rules/S4326/generated-meta.ts new file mode 100644 index 00000000000..2c03e08eb90 --- /dev/null +++ b/packages/jsts/src/rules/S4326/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"await" should not be used redundantly', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4326/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S4326'; diff --git a/packages/jsts/src/rules/S4326/index.ts b/packages/jsts/src/rules/S4326/index.ts new file mode 100644 index 00000000000..93b095b3025 --- /dev/null +++ b/packages/jsts/src/rules/S4326/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-return-await'); diff --git a/packages/jsts/src/rules/S4326/meta.ts b/packages/jsts/src/rules/S4326/meta.ts new file mode 100644 index 00000000000..1f32e742f6a --- /dev/null +++ b/packages/jsts/src/rules/S4326/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-return-await'; diff --git a/packages/jsts/src/rules/S4327/generated-meta.ts b/packages/jsts/src/rules/S4327/generated-meta.ts new file mode 100644 index 00000000000..cdca583f08a --- /dev/null +++ b/packages/jsts/src/rules/S4327/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"this" should not be assigned to variables', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4327/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4327'; diff --git a/packages/jsts/src/rules/S4327/index.ts b/packages/jsts/src/rules/S4327/index.ts index c6c9d20d09f..b47ca941d1f 100644 --- a/packages/jsts/src/rules/S4327/index.ts +++ b/packages/jsts/src/rules/S4327/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-this-alias']); diff --git a/packages/jsts/src/rules/S4327/meta.ts b/packages/jsts/src/rules/S4327/meta.ts index cdca583f08a..1021004d6e8 100644 --- a/packages/jsts/src/rules/S4327/meta.ts +++ b/packages/jsts/src/rules/S4327/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"this" should not be assigned to variables', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4327/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4327'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-this-alias'; diff --git a/packages/jsts/src/rules/S4328/generated-meta.ts b/packages/jsts/src/rules/S4328/generated-meta.ts new file mode 100644 index 00000000000..f7ad69f9d89 --- /dev/null +++ b/packages/jsts/src/rules/S4328/generated-meta.ts @@ -0,0 +1,53 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Dependencies should be explicit', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4328/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4328'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + whitelist: { + type: 'array', + items: { + type: 'string', + }, + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S4328/meta.ts b/packages/jsts/src/rules/S4328/meta.ts index f7ad69f9d89..adfbcc411ed 100644 --- a/packages/jsts/src/rules/S4328/meta.ts +++ b/packages/jsts/src/rules/S4328/meta.ts @@ -17,37 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Dependencies should be explicit', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4328/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4328'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - whitelist: { - type: 'array', - items: { - type: 'string', - }, - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-implicit-dependencies'; diff --git a/packages/jsts/src/rules/S4335/generated-meta.ts b/packages/jsts/src/rules/S4335/generated-meta.ts new file mode 100644 index 00000000000..471f0dce2aa --- /dev/null +++ b/packages/jsts/src/rules/S4335/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Type intersections should use meaningful types', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4335/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S4335'; diff --git a/packages/jsts/src/rules/S4335/meta.ts b/packages/jsts/src/rules/S4335/meta.ts index 471f0dce2aa..e9a2747c8d8 100644 --- a/packages/jsts/src/rules/S4335/meta.ts +++ b/packages/jsts/src/rules/S4335/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Type intersections should use meaningful types', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4335/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S4335'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-useless-intersection'; diff --git a/packages/jsts/src/rules/S4423/generated-meta.ts b/packages/jsts/src/rules/S4423/generated-meta.ts new file mode 100644 index 00000000000..8b7e6687b5c --- /dev/null +++ b/packages/jsts/src/rules/S4423/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Weak SSL/TLS protocols should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4423/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4423'; diff --git a/packages/jsts/src/rules/S4423/meta.ts b/packages/jsts/src/rules/S4423/meta.ts index 8b7e6687b5c..a6295f51189 100644 --- a/packages/jsts/src/rules/S4423/meta.ts +++ b/packages/jsts/src/rules/S4423/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Weak SSL/TLS protocols should not be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4423/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4423'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'weak-ssl'; diff --git a/packages/jsts/src/rules/S4426/generated-meta.ts b/packages/jsts/src/rules/S4426/generated-meta.ts new file mode 100644 index 00000000000..6cbe1072251 --- /dev/null +++ b/packages/jsts/src/rules/S4426/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Cryptographic keys should be robust', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4426/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4426'; diff --git a/packages/jsts/src/rules/S4426/meta.ts b/packages/jsts/src/rules/S4426/meta.ts index 6cbe1072251..65e0463d943 100644 --- a/packages/jsts/src/rules/S4426/meta.ts +++ b/packages/jsts/src/rules/S4426/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Cryptographic keys should be robust', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4426/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4426'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-weak-keys'; diff --git a/packages/jsts/src/rules/S4502/generated-meta.ts b/packages/jsts/src/rules/S4502/generated-meta.ts new file mode 100644 index 00000000000..c586afdb14c --- /dev/null +++ b/packages/jsts/src/rules/S4502/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Disabling CSRF protections is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4502/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4502'; diff --git a/packages/jsts/src/rules/S4502/meta.ts b/packages/jsts/src/rules/S4502/meta.ts index c586afdb14c..fddac50a531 100644 --- a/packages/jsts/src/rules/S4502/meta.ts +++ b/packages/jsts/src/rules/S4502/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Disabling CSRF protections is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4502/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4502'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'csrf'; diff --git a/packages/jsts/src/rules/S4507/generated-meta.ts b/packages/jsts/src/rules/S4507/generated-meta.ts new file mode 100644 index 00000000000..ae8b8bef4f4 --- /dev/null +++ b/packages/jsts/src/rules/S4507/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: + 'Delivering code in production with debug features activated is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4507/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4507'; diff --git a/packages/jsts/src/rules/S4507/meta.ts b/packages/jsts/src/rules/S4507/meta.ts index ae8b8bef4f4..6ea3844f6ec 100644 --- a/packages/jsts/src/rules/S4507/meta.ts +++ b/packages/jsts/src/rules/S4507/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: - 'Delivering code in production with debug features activated is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4507/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4507'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'production-debug'; diff --git a/packages/jsts/src/rules/S4524/generated-meta.ts b/packages/jsts/src/rules/S4524/generated-meta.ts new file mode 100644 index 00000000000..95a33ff863c --- /dev/null +++ b/packages/jsts/src/rules/S4524/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"default" clauses should be last', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4524/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4524'; diff --git a/packages/jsts/src/rules/S4524/meta.ts b/packages/jsts/src/rules/S4524/meta.ts index 95a33ff863c..1b03209ecad 100644 --- a/packages/jsts/src/rules/S4524/meta.ts +++ b/packages/jsts/src/rules/S4524/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"default" clauses should be last', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4524/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4524'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'prefer-default-last'; diff --git a/packages/jsts/src/rules/S4619/generated-meta.ts b/packages/jsts/src/rules/S4619/generated-meta.ts new file mode 100644 index 00000000000..3fe2f53ca7e --- /dev/null +++ b/packages/jsts/src/rules/S4619/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"in" should not be used on arrays', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4619/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S4619'; diff --git a/packages/jsts/src/rules/S4619/meta.ts b/packages/jsts/src/rules/S4619/meta.ts index 3fe2f53ca7e..33cc4ff5f5c 100644 --- a/packages/jsts/src/rules/S4619/meta.ts +++ b/packages/jsts/src/rules/S4619/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"in" should not be used on arrays', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4619/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S4619'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-in-misuse'; diff --git a/packages/jsts/src/rules/S4621/generated-meta.ts b/packages/jsts/src/rules/S4621/generated-meta.ts new file mode 100644 index 00000000000..a35b3877533 --- /dev/null +++ b/packages/jsts/src/rules/S4621/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Union and intersection types should not include duplicated constituents', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4621/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S4621'; diff --git a/packages/jsts/src/rules/S4621/meta.ts b/packages/jsts/src/rules/S4621/meta.ts index a35b3877533..da6821851c8 100644 --- a/packages/jsts/src/rules/S4621/meta.ts +++ b/packages/jsts/src/rules/S4621/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Union and intersection types should not include duplicated constituents', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4621/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S4621'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-duplicate-in-composite'; diff --git a/packages/jsts/src/rules/S4622/generated-meta.ts b/packages/jsts/src/rules/S4622/generated-meta.ts new file mode 100644 index 00000000000..e689f743613 --- /dev/null +++ b/packages/jsts/src/rules/S4622/generated-meta.ts @@ -0,0 +1,50 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Union types should not have too many elements', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4622/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4622'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + threshold: { + type: 'integer', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S4622/meta.ts b/packages/jsts/src/rules/S4622/meta.ts index e689f743613..c518ac3778c 100644 --- a/packages/jsts/src/rules/S4622/meta.ts +++ b/packages/jsts/src/rules/S4622/meta.ts @@ -17,34 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Union types should not have too many elements', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4622/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4622'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - threshold: { - type: 'integer', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'max-union-size'; diff --git a/packages/jsts/src/rules/S4623/generated-meta.ts b/packages/jsts/src/rules/S4623/generated-meta.ts new file mode 100644 index 00000000000..e812e1a339b --- /dev/null +++ b/packages/jsts/src/rules/S4623/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"undefined" should not be passed as the value of optional parameters', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4623/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S4623'; diff --git a/packages/jsts/src/rules/S4623/meta.ts b/packages/jsts/src/rules/S4623/meta.ts index e812e1a339b..410f680a8c1 100644 --- a/packages/jsts/src/rules/S4623/meta.ts +++ b/packages/jsts/src/rules/S4623/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"undefined" should not be passed as the value of optional parameters', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4623/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S4623'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-undefined-argument'; diff --git a/packages/jsts/src/rules/S4624/generated-meta.ts b/packages/jsts/src/rules/S4624/generated-meta.ts new file mode 100644 index 00000000000..0de47f976e2 --- /dev/null +++ b/packages/jsts/src/rules/S4624/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Template literals should not be nested', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4624/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4624'; diff --git a/packages/jsts/src/rules/S4624/meta.ts b/packages/jsts/src/rules/S4624/meta.ts index 0de47f976e2..a35a9fd73cb 100644 --- a/packages/jsts/src/rules/S4624/meta.ts +++ b/packages/jsts/src/rules/S4624/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Template literals should not be nested', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4624/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4624'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-nested-template-literals'; diff --git a/packages/jsts/src/rules/S4634/generated-meta.ts b/packages/jsts/src/rules/S4634/generated-meta.ts new file mode 100644 index 00000000000..06eb0b2bf6b --- /dev/null +++ b/packages/jsts/src/rules/S4634/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Shorthand promises should be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4634/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S4634'; diff --git a/packages/jsts/src/rules/S4634/meta.ts b/packages/jsts/src/rules/S4634/meta.ts index 06eb0b2bf6b..957b08341e9 100644 --- a/packages/jsts/src/rules/S4634/meta.ts +++ b/packages/jsts/src/rules/S4634/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Shorthand promises should be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4634/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S4634'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'prefer-promise-shorthand'; diff --git a/packages/jsts/src/rules/S4721/generated-meta.ts b/packages/jsts/src/rules/S4721/generated-meta.ts new file mode 100644 index 00000000000..36a7950f142 --- /dev/null +++ b/packages/jsts/src/rules/S4721/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using shell interpreter when executing OS commands is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4721/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4721'; diff --git a/packages/jsts/src/rules/S4721/meta.ts b/packages/jsts/src/rules/S4721/meta.ts index 36a7950f142..e99e00868ae 100644 --- a/packages/jsts/src/rules/S4721/meta.ts +++ b/packages/jsts/src/rules/S4721/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using shell interpreter when executing OS commands is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4721/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4721'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'os-command'; diff --git a/packages/jsts/src/rules/S4782/generated-meta.ts b/packages/jsts/src/rules/S4782/generated-meta.ts new file mode 100644 index 00000000000..093d069c6dc --- /dev/null +++ b/packages/jsts/src/rules/S4782/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: "Optional property declarations should not use both '?' and 'undefined' syntax", + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4782/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S4782'; diff --git a/packages/jsts/src/rules/S4782/meta.ts b/packages/jsts/src/rules/S4782/meta.ts index 093d069c6dc..7e0cffdba2c 100644 --- a/packages/jsts/src/rules/S4782/meta.ts +++ b/packages/jsts/src/rules/S4782/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: "Optional property declarations should not use both '?' and 'undefined' syntax", - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4782/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S4782'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-redundant-optional'; diff --git a/packages/jsts/src/rules/S4784/generated-meta.ts b/packages/jsts/src/rules/S4784/generated-meta.ts new file mode 100644 index 00000000000..cd53f4d6d69 --- /dev/null +++ b/packages/jsts/src/rules/S4784/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using regular expressions is security-sensitive', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4784/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S4784'; diff --git a/packages/jsts/src/rules/S4784/meta.ts b/packages/jsts/src/rules/S4784/meta.ts index cd53f4d6d69..1a4afed233b 100644 --- a/packages/jsts/src/rules/S4784/meta.ts +++ b/packages/jsts/src/rules/S4784/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using regular expressions is security-sensitive', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4784/javascript', - requiresTypeChecking: false, - }, - deprecated: true, -}; - -export const sonarKey = 'S4784'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'regular-expr'; diff --git a/packages/jsts/src/rules/S4787/generated-meta.ts b/packages/jsts/src/rules/S4787/generated-meta.ts new file mode 100644 index 00000000000..1d65cdced33 --- /dev/null +++ b/packages/jsts/src/rules/S4787/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Encrypting data is security-sensitive', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4787/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S4787'; diff --git a/packages/jsts/src/rules/S4787/meta.ts b/packages/jsts/src/rules/S4787/meta.ts index 1d65cdced33..463dcfcdce8 100644 --- a/packages/jsts/src/rules/S4787/meta.ts +++ b/packages/jsts/src/rules/S4787/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Encrypting data is security-sensitive', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4787/javascript', - requiresTypeChecking: false, - }, - deprecated: true, -}; - -export const sonarKey = 'S4787'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'encryption'; diff --git a/packages/jsts/src/rules/S4790/generated-meta.ts b/packages/jsts/src/rules/S4790/generated-meta.ts new file mode 100644 index 00000000000..f06ce1f3e8b --- /dev/null +++ b/packages/jsts/src/rules/S4790/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using weak hashing algorithms is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4790/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4790'; diff --git a/packages/jsts/src/rules/S4790/meta.ts b/packages/jsts/src/rules/S4790/meta.ts index f06ce1f3e8b..14167859112 100644 --- a/packages/jsts/src/rules/S4790/meta.ts +++ b/packages/jsts/src/rules/S4790/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using weak hashing algorithms is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4790/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4790'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'hashing'; diff --git a/packages/jsts/src/rules/S4798/generated-meta.ts b/packages/jsts/src/rules/S4798/generated-meta.ts new file mode 100644 index 00000000000..4ff11d8c1da --- /dev/null +++ b/packages/jsts/src/rules/S4798/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Optional boolean parameters should have default value', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4798/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4798'; diff --git a/packages/jsts/src/rules/S4798/meta.ts b/packages/jsts/src/rules/S4798/meta.ts index 4ff11d8c1da..5ccbb8e0c84 100644 --- a/packages/jsts/src/rules/S4798/meta.ts +++ b/packages/jsts/src/rules/S4798/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Optional boolean parameters should have default value', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4798/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4798'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'bool-param-default'; diff --git a/packages/jsts/src/rules/S4817/generated-meta.ts b/packages/jsts/src/rules/S4817/generated-meta.ts new file mode 100644 index 00000000000..240e2593621 --- /dev/null +++ b/packages/jsts/src/rules/S4817/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Executing XPath expressions is security-sensitive', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4817/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S4817'; diff --git a/packages/jsts/src/rules/S4817/meta.ts b/packages/jsts/src/rules/S4817/meta.ts index 240e2593621..3ae86e92cce 100644 --- a/packages/jsts/src/rules/S4817/meta.ts +++ b/packages/jsts/src/rules/S4817/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Executing XPath expressions is security-sensitive', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4817/javascript', - requiresTypeChecking: false, - }, - deprecated: true, -}; - -export const sonarKey = 'S4817'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'xpath'; diff --git a/packages/jsts/src/rules/S4818/generated-meta.ts b/packages/jsts/src/rules/S4818/generated-meta.ts new file mode 100644 index 00000000000..189c7657d7b --- /dev/null +++ b/packages/jsts/src/rules/S4818/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using Sockets is security-sensitive', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4818/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S4818'; diff --git a/packages/jsts/src/rules/S4818/meta.ts b/packages/jsts/src/rules/S4818/meta.ts index 189c7657d7b..cd251da402d 100644 --- a/packages/jsts/src/rules/S4818/meta.ts +++ b/packages/jsts/src/rules/S4818/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using Sockets is security-sensitive', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4818/javascript', - requiresTypeChecking: false, - }, - deprecated: true, -}; - -export const sonarKey = 'S4818'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'sockets'; diff --git a/packages/jsts/src/rules/S4822/generated-meta.ts b/packages/jsts/src/rules/S4822/generated-meta.ts new file mode 100644 index 00000000000..9da2662b166 --- /dev/null +++ b/packages/jsts/src/rules/S4822/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Promise rejections should not be caught by "try" blocks', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4822/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S4822'; diff --git a/packages/jsts/src/rules/S4822/meta.ts b/packages/jsts/src/rules/S4822/meta.ts index 9da2662b166..01a54dc609c 100644 --- a/packages/jsts/src/rules/S4822/meta.ts +++ b/packages/jsts/src/rules/S4822/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Promise rejections should not be caught by "try" blocks', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4822/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S4822'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-try-promise'; diff --git a/packages/jsts/src/rules/S4823/generated-meta.ts b/packages/jsts/src/rules/S4823/generated-meta.ts new file mode 100644 index 00000000000..c7036fdb708 --- /dev/null +++ b/packages/jsts/src/rules/S4823/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using command line arguments is security-sensitive', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4823/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S4823'; diff --git a/packages/jsts/src/rules/S4823/meta.ts b/packages/jsts/src/rules/S4823/meta.ts index c7036fdb708..8a325142cd8 100644 --- a/packages/jsts/src/rules/S4823/meta.ts +++ b/packages/jsts/src/rules/S4823/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using command line arguments is security-sensitive', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4823/javascript', - requiresTypeChecking: false, - }, - deprecated: true, -}; - -export const sonarKey = 'S4823'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'process-argv'; diff --git a/packages/jsts/src/rules/S4829/generated-meta.ts b/packages/jsts/src/rules/S4829/generated-meta.ts new file mode 100644 index 00000000000..2d6524c796f --- /dev/null +++ b/packages/jsts/src/rules/S4829/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Reading the Standard Input is security-sensitive', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4829/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S4829'; diff --git a/packages/jsts/src/rules/S4829/meta.ts b/packages/jsts/src/rules/S4829/meta.ts index 2d6524c796f..b0a36f1ee6c 100644 --- a/packages/jsts/src/rules/S4829/meta.ts +++ b/packages/jsts/src/rules/S4829/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Reading the Standard Input is security-sensitive', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4829/javascript', - requiresTypeChecking: false, - }, - deprecated: true, -}; - -export const sonarKey = 'S4829'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'standard-input'; diff --git a/packages/jsts/src/rules/S4830/generated-meta.ts b/packages/jsts/src/rules/S4830/generated-meta.ts new file mode 100644 index 00000000000..0391aaf2142 --- /dev/null +++ b/packages/jsts/src/rules/S4830/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Server certificates should be verified during SSL/TLS connections', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S4830/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S4830'; diff --git a/packages/jsts/src/rules/S4830/meta.ts b/packages/jsts/src/rules/S4830/meta.ts index 0391aaf2142..1cdbafe6a3b 100644 --- a/packages/jsts/src/rules/S4830/meta.ts +++ b/packages/jsts/src/rules/S4830/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Server certificates should be verified during SSL/TLS connections', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S4830/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S4830'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'unverified-certificate'; diff --git a/packages/jsts/src/rules/S5042/generated-meta.ts b/packages/jsts/src/rules/S5042/generated-meta.ts new file mode 100644 index 00000000000..16b0c85c62f --- /dev/null +++ b/packages/jsts/src/rules/S5042/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: + 'Expanding archive files without controlling resource consumption is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5042/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5042'; diff --git a/packages/jsts/src/rules/S5042/meta.ts b/packages/jsts/src/rules/S5042/meta.ts index 16b0c85c62f..3f85228c3b1 100644 --- a/packages/jsts/src/rules/S5042/meta.ts +++ b/packages/jsts/src/rules/S5042/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: - 'Expanding archive files without controlling resource consumption is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5042/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5042'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-unsafe-unzip'; diff --git a/packages/jsts/src/rules/S5122/generated-meta.ts b/packages/jsts/src/rules/S5122/generated-meta.ts new file mode 100644 index 00000000000..5de669b7b59 --- /dev/null +++ b/packages/jsts/src/rules/S5122/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Having a permissive Cross-Origin Resource Sharing policy is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5122/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5122'; diff --git a/packages/jsts/src/rules/S5122/meta.ts b/packages/jsts/src/rules/S5122/meta.ts index 5de669b7b59..780f65d02a3 100644 --- a/packages/jsts/src/rules/S5122/meta.ts +++ b/packages/jsts/src/rules/S5122/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Having a permissive Cross-Origin Resource Sharing policy is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5122/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5122'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'cors'; diff --git a/packages/jsts/src/rules/S5148/generated-meta.ts b/packages/jsts/src/rules/S5148/generated-meta.ts new file mode 100644 index 00000000000..6167c7e5e00 --- /dev/null +++ b/packages/jsts/src/rules/S5148/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: + 'Authorizing an opened window to access back to the originating window is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5148/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5148'; diff --git a/packages/jsts/src/rules/S5148/meta.ts b/packages/jsts/src/rules/S5148/meta.ts index 6167c7e5e00..a1eef0326ba 100644 --- a/packages/jsts/src/rules/S5148/meta.ts +++ b/packages/jsts/src/rules/S5148/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: - 'Authorizing an opened window to access back to the originating window is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5148/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5148'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'link-with-target-blank'; diff --git a/packages/jsts/src/rules/S5247/generated-meta.ts b/packages/jsts/src/rules/S5247/generated-meta.ts new file mode 100644 index 00000000000..6b85e4c7e79 --- /dev/null +++ b/packages/jsts/src/rules/S5247/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Disabling auto-escaping in template engines is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5247/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S5247'; diff --git a/packages/jsts/src/rules/S5247/meta.ts b/packages/jsts/src/rules/S5247/meta.ts index 6b85e4c7e79..7edc4ca1f74 100644 --- a/packages/jsts/src/rules/S5247/meta.ts +++ b/packages/jsts/src/rules/S5247/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Disabling auto-escaping in template engines is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5247/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S5247'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'disabled-auto-escaping'; diff --git a/packages/jsts/src/rules/S5254/generated-meta.ts b/packages/jsts/src/rules/S5254/generated-meta.ts new file mode 100644 index 00000000000..8be9e8d9d4b --- /dev/null +++ b/packages/jsts/src/rules/S5254/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'HTML elements should have a valid language attribute', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5254/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5254'; diff --git a/packages/jsts/src/rules/S5254/meta.ts b/packages/jsts/src/rules/S5254/meta.ts index 8be9e8d9d4b..8d499d8dc14 100644 --- a/packages/jsts/src/rules/S5254/meta.ts +++ b/packages/jsts/src/rules/S5254/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'HTML elements should have a valid language attribute', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5254/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5254'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'html-has-lang'; diff --git a/packages/jsts/src/rules/S5256/generated-meta.ts b/packages/jsts/src/rules/S5256/generated-meta.ts new file mode 100644 index 00000000000..0ad326aee06 --- /dev/null +++ b/packages/jsts/src/rules/S5256/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Tables should have headers', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5256/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5256'; diff --git a/packages/jsts/src/rules/S5256/meta.ts b/packages/jsts/src/rules/S5256/meta.ts index 0ad326aee06..a7ae2d4db6d 100644 --- a/packages/jsts/src/rules/S5256/meta.ts +++ b/packages/jsts/src/rules/S5256/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Tables should have headers', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5256/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5256'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'table-header'; diff --git a/packages/jsts/src/rules/S5257/generated-meta.ts b/packages/jsts/src/rules/S5257/generated-meta.ts new file mode 100644 index 00000000000..0e6bf9bcb79 --- /dev/null +++ b/packages/jsts/src/rules/S5257/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'HTML "" should not be used for layout purposes', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5257/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5257'; diff --git a/packages/jsts/src/rules/S5257/meta.ts b/packages/jsts/src/rules/S5257/meta.ts index 0e6bf9bcb79..6d4ce70cb97 100644 --- a/packages/jsts/src/rules/S5257/meta.ts +++ b/packages/jsts/src/rules/S5257/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'HTML "
" should not be used for layout purposes', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5257/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5257'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-table-as-layout'; diff --git a/packages/jsts/src/rules/S5260/generated-meta.ts b/packages/jsts/src/rules/S5260/generated-meta.ts new file mode 100644 index 00000000000..7ed8e018fbd --- /dev/null +++ b/packages/jsts/src/rules/S5260/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Table cells should reference their headers', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5260/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5260'; diff --git a/packages/jsts/src/rules/S5260/meta.ts b/packages/jsts/src/rules/S5260/meta.ts index 7ed8e018fbd..1ae43f191d1 100644 --- a/packages/jsts/src/rules/S5260/meta.ts +++ b/packages/jsts/src/rules/S5260/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Table cells should reference their headers', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5260/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5260'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'table-header-reference'; diff --git a/packages/jsts/src/rules/S5264/generated-meta.ts b/packages/jsts/src/rules/S5264/generated-meta.ts new file mode 100644 index 00000000000..bc800ea91d2 --- /dev/null +++ b/packages/jsts/src/rules/S5264/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"" tags should provide an alternative content', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5264/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5264'; diff --git a/packages/jsts/src/rules/S5264/meta.ts b/packages/jsts/src/rules/S5264/meta.ts index bc800ea91d2..8fb14f8c7d2 100644 --- a/packages/jsts/src/rules/S5264/meta.ts +++ b/packages/jsts/src/rules/S5264/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"" tags should provide an alternative content', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5264/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5264'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'object-alt-content'; diff --git a/packages/jsts/src/rules/S5332/generated-meta.ts b/packages/jsts/src/rules/S5332/generated-meta.ts new file mode 100644 index 00000000000..9618eeafed8 --- /dev/null +++ b/packages/jsts/src/rules/S5332/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using clear-text protocols is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5332/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5332'; diff --git a/packages/jsts/src/rules/S5332/meta.ts b/packages/jsts/src/rules/S5332/meta.ts index 9618eeafed8..2bb0ae6cea6 100644 --- a/packages/jsts/src/rules/S5332/meta.ts +++ b/packages/jsts/src/rules/S5332/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using clear-text protocols is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5332/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5332'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-clear-text-protocols'; diff --git a/packages/jsts/src/rules/S5443/generated-meta.ts b/packages/jsts/src/rules/S5443/generated-meta.ts new file mode 100644 index 00000000000..6f240d5c73a --- /dev/null +++ b/packages/jsts/src/rules/S5443/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using publicly writable directories is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5443/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5443'; diff --git a/packages/jsts/src/rules/S5443/meta.ts b/packages/jsts/src/rules/S5443/meta.ts index 6f240d5c73a..7b3334e6ceb 100644 --- a/packages/jsts/src/rules/S5443/meta.ts +++ b/packages/jsts/src/rules/S5443/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using publicly writable directories is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5443/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5443'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'publicly-writable-directories'; diff --git a/packages/jsts/src/rules/S5527/generated-meta.ts b/packages/jsts/src/rules/S5527/generated-meta.ts new file mode 100644 index 00000000000..417c9e2e7c6 --- /dev/null +++ b/packages/jsts/src/rules/S5527/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Server hostnames should be verified during SSL/TLS connections', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5527/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5527'; diff --git a/packages/jsts/src/rules/S5527/meta.ts b/packages/jsts/src/rules/S5527/meta.ts index 417c9e2e7c6..3c150f21e65 100644 --- a/packages/jsts/src/rules/S5527/meta.ts +++ b/packages/jsts/src/rules/S5527/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Server hostnames should be verified during SSL/TLS connections', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5527/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5527'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'unverified-hostname'; diff --git a/packages/jsts/src/rules/S5542/generated-meta.ts b/packages/jsts/src/rules/S5542/generated-meta.ts new file mode 100644 index 00000000000..fd053367ae0 --- /dev/null +++ b/packages/jsts/src/rules/S5542/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Encryption algorithms should be used with secure mode and padding scheme', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5542/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5542'; diff --git a/packages/jsts/src/rules/S5542/meta.ts b/packages/jsts/src/rules/S5542/meta.ts index fd053367ae0..421209824e4 100644 --- a/packages/jsts/src/rules/S5542/meta.ts +++ b/packages/jsts/src/rules/S5542/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Encryption algorithms should be used with secure mode and padding scheme', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5542/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5542'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'encryption-secure-mode'; diff --git a/packages/jsts/src/rules/S5547/generated-meta.ts b/packages/jsts/src/rules/S5547/generated-meta.ts new file mode 100644 index 00000000000..345935343cd --- /dev/null +++ b/packages/jsts/src/rules/S5547/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Cipher algorithms should be robust', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5547/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5547'; diff --git a/packages/jsts/src/rules/S5547/meta.ts b/packages/jsts/src/rules/S5547/meta.ts index 345935343cd..9f3b6213c76 100644 --- a/packages/jsts/src/rules/S5547/meta.ts +++ b/packages/jsts/src/rules/S5547/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Cipher algorithms should be robust', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5547/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5547'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-weak-cipher'; diff --git a/packages/jsts/src/rules/S5604/generated-meta.ts b/packages/jsts/src/rules/S5604/generated-meta.ts new file mode 100644 index 00000000000..82eb719e99f --- /dev/null +++ b/packages/jsts/src/rules/S5604/generated-meta.ts @@ -0,0 +1,53 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using intrusive permissions is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5604/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5604'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + permissions: { + type: 'array', + items: { + type: 'string', + }, + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S5604/meta.ts b/packages/jsts/src/rules/S5604/meta.ts index 82eb719e99f..e9e1bdb89fd 100644 --- a/packages/jsts/src/rules/S5604/meta.ts +++ b/packages/jsts/src/rules/S5604/meta.ts @@ -17,37 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using intrusive permissions is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5604/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5604'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - permissions: { - type: 'array', - items: { - type: 'string', - }, - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-intrusive-permissions'; diff --git a/packages/jsts/src/rules/S5659/generated-meta.ts b/packages/jsts/src/rules/S5659/generated-meta.ts new file mode 100644 index 00000000000..676024be846 --- /dev/null +++ b/packages/jsts/src/rules/S5659/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'JWT should be signed and verified with strong cipher algorithms', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5659/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5659'; diff --git a/packages/jsts/src/rules/S5659/meta.ts b/packages/jsts/src/rules/S5659/meta.ts index 676024be846..5e481623477 100644 --- a/packages/jsts/src/rules/S5659/meta.ts +++ b/packages/jsts/src/rules/S5659/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'JWT should be signed and verified with strong cipher algorithms', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5659/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5659'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'insecure-jwt-token'; diff --git a/packages/jsts/src/rules/S5689/generated-meta.ts b/packages/jsts/src/rules/S5689/generated-meta.ts new file mode 100644 index 00000000000..0eaf07c0fce --- /dev/null +++ b/packages/jsts/src/rules/S5689/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Disclosing fingerprints from web application technologies is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5689/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5689'; diff --git a/packages/jsts/src/rules/S5689/meta.ts b/packages/jsts/src/rules/S5689/meta.ts index 0eaf07c0fce..011ffd7302b 100644 --- a/packages/jsts/src/rules/S5689/meta.ts +++ b/packages/jsts/src/rules/S5689/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Disclosing fingerprints from web application technologies is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5689/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5689'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'x-powered-by'; diff --git a/packages/jsts/src/rules/S5691/generated-meta.ts b/packages/jsts/src/rules/S5691/generated-meta.ts new file mode 100644 index 00000000000..63f2225f2ea --- /dev/null +++ b/packages/jsts/src/rules/S5691/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Statically serving hidden files is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5691/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5691'; diff --git a/packages/jsts/src/rules/S5691/meta.ts b/packages/jsts/src/rules/S5691/meta.ts index 63f2225f2ea..91a7eec2e32 100644 --- a/packages/jsts/src/rules/S5691/meta.ts +++ b/packages/jsts/src/rules/S5691/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Statically serving hidden files is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5691/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5691'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'hidden-files'; diff --git a/packages/jsts/src/rules/S5693/generated-meta.ts b/packages/jsts/src/rules/S5693/generated-meta.ts new file mode 100644 index 00000000000..f013313b8ee --- /dev/null +++ b/packages/jsts/src/rules/S5693/generated-meta.ts @@ -0,0 +1,53 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Allowing requests with excessive content length is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5693/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5693'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + fileUploadSizeLimit: { + type: 'integer', + }, + standardSizeLimit: { + type: 'integer', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S5693/meta.ts b/packages/jsts/src/rules/S5693/meta.ts index f013313b8ee..16c3f18c52d 100644 --- a/packages/jsts/src/rules/S5693/meta.ts +++ b/packages/jsts/src/rules/S5693/meta.ts @@ -17,37 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Allowing requests with excessive content length is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5693/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5693'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - fileUploadSizeLimit: { - type: 'integer', - }, - standardSizeLimit: { - type: 'integer', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'content-length'; diff --git a/packages/jsts/src/rules/S5725/generated-meta.ts b/packages/jsts/src/rules/S5725/generated-meta.ts new file mode 100644 index 00000000000..b48463098db --- /dev/null +++ b/packages/jsts/src/rules/S5725/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using remote artifacts without integrity checks is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5725/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S5725'; diff --git a/packages/jsts/src/rules/S5725/meta.ts b/packages/jsts/src/rules/S5725/meta.ts index b48463098db..10c596d3155 100644 --- a/packages/jsts/src/rules/S5725/meta.ts +++ b/packages/jsts/src/rules/S5725/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using remote artifacts without integrity checks is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5725/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S5725'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'disabled-resource-integrity'; diff --git a/packages/jsts/src/rules/S5728/generated-meta.ts b/packages/jsts/src/rules/S5728/generated-meta.ts new file mode 100644 index 00000000000..f3ae2be67d2 --- /dev/null +++ b/packages/jsts/src/rules/S5728/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Disabling content security policy fetch directives is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5728/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5728'; diff --git a/packages/jsts/src/rules/S5728/meta.ts b/packages/jsts/src/rules/S5728/meta.ts index f3ae2be67d2..bae55ea0d17 100644 --- a/packages/jsts/src/rules/S5728/meta.ts +++ b/packages/jsts/src/rules/S5728/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Disabling content security policy fetch directives is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5728/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5728'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'content-security-policy'; diff --git a/packages/jsts/src/rules/S5730/generated-meta.ts b/packages/jsts/src/rules/S5730/generated-meta.ts new file mode 100644 index 00000000000..2dcd8022ac8 --- /dev/null +++ b/packages/jsts/src/rules/S5730/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Allowing mixed-content is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5730/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5730'; diff --git a/packages/jsts/src/rules/S5730/meta.ts b/packages/jsts/src/rules/S5730/meta.ts index 2dcd8022ac8..136dd1e99db 100644 --- a/packages/jsts/src/rules/S5730/meta.ts +++ b/packages/jsts/src/rules/S5730/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Allowing mixed-content is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5730/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5730'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-mixed-content'; diff --git a/packages/jsts/src/rules/S5732/generated-meta.ts b/packages/jsts/src/rules/S5732/generated-meta.ts new file mode 100644 index 00000000000..d9690b5385f --- /dev/null +++ b/packages/jsts/src/rules/S5732/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: + 'Disabling content security policy frame-ancestors directive is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5732/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5732'; diff --git a/packages/jsts/src/rules/S5732/meta.ts b/packages/jsts/src/rules/S5732/meta.ts index d9690b5385f..94c88ea3b7c 100644 --- a/packages/jsts/src/rules/S5732/meta.ts +++ b/packages/jsts/src/rules/S5732/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: - 'Disabling content security policy frame-ancestors directive is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5732/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5732'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'frame-ancestors'; diff --git a/packages/jsts/src/rules/S5734/generated-meta.ts b/packages/jsts/src/rules/S5734/generated-meta.ts new file mode 100644 index 00000000000..de2056a8db0 --- /dev/null +++ b/packages/jsts/src/rules/S5734/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Allowing browsers to sniff MIME types is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5734/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5734'; diff --git a/packages/jsts/src/rules/S5734/meta.ts b/packages/jsts/src/rules/S5734/meta.ts index de2056a8db0..79bb1df4f2b 100644 --- a/packages/jsts/src/rules/S5734/meta.ts +++ b/packages/jsts/src/rules/S5734/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Allowing browsers to sniff MIME types is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5734/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5734'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-mime-sniff'; diff --git a/packages/jsts/src/rules/S5736/generated-meta.ts b/packages/jsts/src/rules/S5736/generated-meta.ts new file mode 100644 index 00000000000..ded7e68432a --- /dev/null +++ b/packages/jsts/src/rules/S5736/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Disabling strict HTTP no-referrer policy is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5736/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5736'; diff --git a/packages/jsts/src/rules/S5736/meta.ts b/packages/jsts/src/rules/S5736/meta.ts index ded7e68432a..a6da1c1ccac 100644 --- a/packages/jsts/src/rules/S5736/meta.ts +++ b/packages/jsts/src/rules/S5736/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Disabling strict HTTP no-referrer policy is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5736/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5736'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-referrer-policy'; diff --git a/packages/jsts/src/rules/S5739/generated-meta.ts b/packages/jsts/src/rules/S5739/generated-meta.ts new file mode 100644 index 00000000000..bb36c409b14 --- /dev/null +++ b/packages/jsts/src/rules/S5739/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Disabling Strict-Transport-Security policy is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5739/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5739'; diff --git a/packages/jsts/src/rules/S5739/meta.ts b/packages/jsts/src/rules/S5739/meta.ts index bb36c409b14..56a15dc409e 100644 --- a/packages/jsts/src/rules/S5739/meta.ts +++ b/packages/jsts/src/rules/S5739/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Disabling Strict-Transport-Security policy is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5739/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5739'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'strict-transport-security'; diff --git a/packages/jsts/src/rules/S5742/generated-meta.ts b/packages/jsts/src/rules/S5742/generated-meta.ts new file mode 100644 index 00000000000..e5cee9e3495 --- /dev/null +++ b/packages/jsts/src/rules/S5742/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Disabling Certificate Transparency monitoring is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5742/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5742'; diff --git a/packages/jsts/src/rules/S5742/meta.ts b/packages/jsts/src/rules/S5742/meta.ts index e5cee9e3495..2eca981e34a 100644 --- a/packages/jsts/src/rules/S5742/meta.ts +++ b/packages/jsts/src/rules/S5742/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Disabling Certificate Transparency monitoring is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5742/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5742'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'certificate-transparency'; diff --git a/packages/jsts/src/rules/S5743/generated-meta.ts b/packages/jsts/src/rules/S5743/generated-meta.ts new file mode 100644 index 00000000000..712349a80aa --- /dev/null +++ b/packages/jsts/src/rules/S5743/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Allowing browsers to perform DNS prefetching is security-sensitive', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5743/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S5743'; diff --git a/packages/jsts/src/rules/S5743/meta.ts b/packages/jsts/src/rules/S5743/meta.ts index 712349a80aa..3737af9e911 100644 --- a/packages/jsts/src/rules/S5743/meta.ts +++ b/packages/jsts/src/rules/S5743/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Allowing browsers to perform DNS prefetching is security-sensitive', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5743/javascript', - requiresTypeChecking: false, - }, - deprecated: true, -}; - -export const sonarKey = 'S5743'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'dns-prefetching'; diff --git a/packages/jsts/src/rules/S5757/generated-meta.ts b/packages/jsts/src/rules/S5757/generated-meta.ts new file mode 100644 index 00000000000..819e050f6c4 --- /dev/null +++ b/packages/jsts/src/rules/S5757/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Allowing confidential information to be logged is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5757/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5757'; diff --git a/packages/jsts/src/rules/S5757/meta.ts b/packages/jsts/src/rules/S5757/meta.ts index 819e050f6c4..03c0c402843 100644 --- a/packages/jsts/src/rules/S5757/meta.ts +++ b/packages/jsts/src/rules/S5757/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Allowing confidential information to be logged is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5757/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5757'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'confidential-information-logging'; diff --git a/packages/jsts/src/rules/S5759/generated-meta.ts b/packages/jsts/src/rules/S5759/generated-meta.ts new file mode 100644 index 00000000000..8d380972347 --- /dev/null +++ b/packages/jsts/src/rules/S5759/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Forwarding client IP address is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5759/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5759'; diff --git a/packages/jsts/src/rules/S5759/meta.ts b/packages/jsts/src/rules/S5759/meta.ts index 8d380972347..22f06252a76 100644 --- a/packages/jsts/src/rules/S5759/meta.ts +++ b/packages/jsts/src/rules/S5759/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Forwarding client IP address is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5759/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5759'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-ip-forward'; diff --git a/packages/jsts/src/rules/S5842/generated-meta.ts b/packages/jsts/src/rules/S5842/generated-meta.ts new file mode 100644 index 00000000000..f0ba7504263 --- /dev/null +++ b/packages/jsts/src/rules/S5842/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Repeated patterns in regular expressions should not match the empty string', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5842/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S5842'; diff --git a/packages/jsts/src/rules/S5842/meta.ts b/packages/jsts/src/rules/S5842/meta.ts index f0ba7504263..94a1ee24af7 100644 --- a/packages/jsts/src/rules/S5842/meta.ts +++ b/packages/jsts/src/rules/S5842/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Repeated patterns in regular expressions should not match the empty string', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5842/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S5842'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'empty-string-repetition'; diff --git a/packages/jsts/src/rules/S5843/generated-meta.ts b/packages/jsts/src/rules/S5843/generated-meta.ts new file mode 100644 index 00000000000..0c634061def --- /dev/null +++ b/packages/jsts/src/rules/S5843/generated-meta.ts @@ -0,0 +1,50 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Regular expressions should not be too complicated', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5843/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S5843'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 2, + items: [ + { + type: 'object', + properties: { + threshold: { + type: 'integer', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S5843/meta.ts b/packages/jsts/src/rules/S5843/meta.ts index 0c634061def..04bdf97eede 100644 --- a/packages/jsts/src/rules/S5843/meta.ts +++ b/packages/jsts/src/rules/S5843/meta.ts @@ -17,34 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Regular expressions should not be too complicated', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5843/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S5843'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 2, - items: [ - { - type: 'object', - properties: { - threshold: { - type: 'integer', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'regex-complexity'; diff --git a/packages/jsts/src/rules/S5850/generated-meta.ts b/packages/jsts/src/rules/S5850/generated-meta.ts new file mode 100644 index 00000000000..333155ce35a --- /dev/null +++ b/packages/jsts/src/rules/S5850/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Alternatives in regular expressions should be grouped when used with anchors', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5850/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S5850'; diff --git a/packages/jsts/src/rules/S5850/meta.ts b/packages/jsts/src/rules/S5850/meta.ts index 333155ce35a..009a603ec58 100644 --- a/packages/jsts/src/rules/S5850/meta.ts +++ b/packages/jsts/src/rules/S5850/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Alternatives in regular expressions should be grouped when used with anchors', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5850/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S5850'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'anchor-precedence'; diff --git a/packages/jsts/src/rules/S5852/generated-meta.ts b/packages/jsts/src/rules/S5852/generated-meta.ts new file mode 100644 index 00000000000..1cb7ec9bbf3 --- /dev/null +++ b/packages/jsts/src/rules/S5852/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using slow regular expressions is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5852/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S5852'; diff --git a/packages/jsts/src/rules/S5852/meta.ts b/packages/jsts/src/rules/S5852/meta.ts index 1cb7ec9bbf3..407f193683a 100644 --- a/packages/jsts/src/rules/S5852/meta.ts +++ b/packages/jsts/src/rules/S5852/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using slow regular expressions is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5852/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S5852'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'slow-regex'; diff --git a/packages/jsts/src/rules/S5856/generated-meta.ts b/packages/jsts/src/rules/S5856/generated-meta.ts new file mode 100644 index 00000000000..cf0446d6736 --- /dev/null +++ b/packages/jsts/src/rules/S5856/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Regular expressions should be syntactically valid', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5856/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S5856'; diff --git a/packages/jsts/src/rules/S5856/meta.ts b/packages/jsts/src/rules/S5856/meta.ts index cf0446d6736..6af4ab9639b 100644 --- a/packages/jsts/src/rules/S5856/meta.ts +++ b/packages/jsts/src/rules/S5856/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Regular expressions should be syntactically valid', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5856/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S5856'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-invalid-regexp'; diff --git a/packages/jsts/src/rules/S5860/generated-meta.ts b/packages/jsts/src/rules/S5860/generated-meta.ts new file mode 100644 index 00000000000..19b9ee82a1b --- /dev/null +++ b/packages/jsts/src/rules/S5860/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Names of regular expressions named groups should be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5860/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S5860'; diff --git a/packages/jsts/src/rules/S5860/meta.ts b/packages/jsts/src/rules/S5860/meta.ts index 19b9ee82a1b..00257dd025f 100644 --- a/packages/jsts/src/rules/S5860/meta.ts +++ b/packages/jsts/src/rules/S5860/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Names of regular expressions named groups should be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5860/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S5860'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'unused-named-groups'; diff --git a/packages/jsts/src/rules/S5863/generated-meta.ts b/packages/jsts/src/rules/S5863/generated-meta.ts new file mode 100644 index 00000000000..9b6b98d55d4 --- /dev/null +++ b/packages/jsts/src/rules/S5863/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Assertions should not be given twice the same argument', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5863/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5863'; diff --git a/packages/jsts/src/rules/S5863/meta.ts b/packages/jsts/src/rules/S5863/meta.ts index 9b6b98d55d4..7180b9e85a5 100644 --- a/packages/jsts/src/rules/S5863/meta.ts +++ b/packages/jsts/src/rules/S5863/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Assertions should not be given twice the same argument', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5863/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5863'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-same-argument-assert'; diff --git a/packages/jsts/src/rules/S5867/generated-meta.ts b/packages/jsts/src/rules/S5867/generated-meta.ts new file mode 100644 index 00000000000..c0cf523d485 --- /dev/null +++ b/packages/jsts/src/rules/S5867/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: + 'Regular expressions using Unicode character classes or property escapes should enable the unicode flag', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5867/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S5867'; diff --git a/packages/jsts/src/rules/S5867/meta.ts b/packages/jsts/src/rules/S5867/meta.ts index c0cf523d485..6513b13c0fc 100644 --- a/packages/jsts/src/rules/S5867/meta.ts +++ b/packages/jsts/src/rules/S5867/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: - 'Regular expressions using Unicode character classes or property escapes should enable the unicode flag', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5867/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S5867'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'unicode-aware-regex'; diff --git a/packages/jsts/src/rules/S5868/generated-meta.ts b/packages/jsts/src/rules/S5868/generated-meta.ts new file mode 100644 index 00000000000..c9be1852fe6 --- /dev/null +++ b/packages/jsts/src/rules/S5868/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Unicode Grapheme Clusters should be avoided inside regex character classes', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5868/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S5868'; diff --git a/packages/jsts/src/rules/S5868/meta.ts b/packages/jsts/src/rules/S5868/meta.ts index c9be1852fe6..87600bd2b88 100644 --- a/packages/jsts/src/rules/S5868/meta.ts +++ b/packages/jsts/src/rules/S5868/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Unicode Grapheme Clusters should be avoided inside regex character classes', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5868/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S5868'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-misleading-character-class'; diff --git a/packages/jsts/src/rules/S5869/generated-meta.ts b/packages/jsts/src/rules/S5869/generated-meta.ts new file mode 100644 index 00000000000..44ff1f3709d --- /dev/null +++ b/packages/jsts/src/rules/S5869/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: + 'Character classes in regular expressions should not contain the same character twice', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5869/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S5869'; diff --git a/packages/jsts/src/rules/S5869/meta.ts b/packages/jsts/src/rules/S5869/meta.ts index 44ff1f3709d..a6f2a9e2fc3 100644 --- a/packages/jsts/src/rules/S5869/meta.ts +++ b/packages/jsts/src/rules/S5869/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: - 'Character classes in regular expressions should not contain the same character twice', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5869/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S5869'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'duplicates-in-character-class'; diff --git a/packages/jsts/src/rules/S5876/generated-meta.ts b/packages/jsts/src/rules/S5876/generated-meta.ts new file mode 100644 index 00000000000..9252a6084ea --- /dev/null +++ b/packages/jsts/src/rules/S5876/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'A new session should be created during user authentication', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5876/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5876'; diff --git a/packages/jsts/src/rules/S5876/meta.ts b/packages/jsts/src/rules/S5876/meta.ts index 9252a6084ea..8daa74af74c 100644 --- a/packages/jsts/src/rules/S5876/meta.ts +++ b/packages/jsts/src/rules/S5876/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'A new session should be created during user authentication', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5876/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5876'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'session-regeneration'; diff --git a/packages/jsts/src/rules/S5958/generated-meta.ts b/packages/jsts/src/rules/S5958/generated-meta.ts new file mode 100644 index 00000000000..511d61594e1 --- /dev/null +++ b/packages/jsts/src/rules/S5958/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Tests should check which exception is thrown', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5958/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5958'; diff --git a/packages/jsts/src/rules/S5958/meta.ts b/packages/jsts/src/rules/S5958/meta.ts index 511d61594e1..6a12555f9df 100644 --- a/packages/jsts/src/rules/S5958/meta.ts +++ b/packages/jsts/src/rules/S5958/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Tests should check which exception is thrown', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5958/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5958'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'test-check-exception'; diff --git a/packages/jsts/src/rules/S5973/generated-meta.ts b/packages/jsts/src/rules/S5973/generated-meta.ts new file mode 100644 index 00000000000..9a3c4fdc296 --- /dev/null +++ b/packages/jsts/src/rules/S5973/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Tests should be stable', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S5973/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S5973'; diff --git a/packages/jsts/src/rules/S5973/meta.ts b/packages/jsts/src/rules/S5973/meta.ts index 9a3c4fdc296..761d59dbc1e 100644 --- a/packages/jsts/src/rules/S5973/meta.ts +++ b/packages/jsts/src/rules/S5973/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Tests should be stable', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S5973/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S5973'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'stable-tests'; diff --git a/packages/jsts/src/rules/S6019/generated-meta.ts b/packages/jsts/src/rules/S6019/generated-meta.ts new file mode 100644 index 00000000000..5a2bb9cced3 --- /dev/null +++ b/packages/jsts/src/rules/S6019/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: + "Reluctant quantifiers in regular expressions should be followed by an expression that can't match the empty string", + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6019/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S6019'; diff --git a/packages/jsts/src/rules/S6019/meta.ts b/packages/jsts/src/rules/S6019/meta.ts index 5a2bb9cced3..339dae8c79d 100644 --- a/packages/jsts/src/rules/S6019/meta.ts +++ b/packages/jsts/src/rules/S6019/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: - "Reluctant quantifiers in regular expressions should be followed by an expression that can't match the empty string", - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6019/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S6019'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-empty-after-reluctant'; diff --git a/packages/jsts/src/rules/S6035/generated-meta.ts b/packages/jsts/src/rules/S6035/generated-meta.ts new file mode 100644 index 00000000000..e5b5a345ddc --- /dev/null +++ b/packages/jsts/src/rules/S6035/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: + 'Single-character alternations in regular expressions should be replaced with character classes', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6035/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S6035'; diff --git a/packages/jsts/src/rules/S6035/meta.ts b/packages/jsts/src/rules/S6035/meta.ts index e5b5a345ddc..0165035aebb 100644 --- a/packages/jsts/src/rules/S6035/meta.ts +++ b/packages/jsts/src/rules/S6035/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: - 'Single-character alternations in regular expressions should be replaced with character classes', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6035/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S6035'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'single-character-alternation'; diff --git a/packages/jsts/src/rules/S6079/generated-meta.ts b/packages/jsts/src/rules/S6079/generated-meta.ts new file mode 100644 index 00000000000..7d093b5277c --- /dev/null +++ b/packages/jsts/src/rules/S6079/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Tests should not execute any code after "done()" is called', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6079/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6079'; diff --git a/packages/jsts/src/rules/S6079/meta.ts b/packages/jsts/src/rules/S6079/meta.ts index 7d093b5277c..be7037c4abd 100644 --- a/packages/jsts/src/rules/S6079/meta.ts +++ b/packages/jsts/src/rules/S6079/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Tests should not execute any code after "done()" is called', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6079/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6079'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-code-after-done'; diff --git a/packages/jsts/src/rules/S6080/generated-meta.ts b/packages/jsts/src/rules/S6080/generated-meta.ts new file mode 100644 index 00000000000..97ed2fec149 --- /dev/null +++ b/packages/jsts/src/rules/S6080/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Disabling Mocha timeouts should be explicit', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6080/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6080'; diff --git a/packages/jsts/src/rules/S6080/meta.ts b/packages/jsts/src/rules/S6080/meta.ts index 97ed2fec149..20e7541522c 100644 --- a/packages/jsts/src/rules/S6080/meta.ts +++ b/packages/jsts/src/rules/S6080/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Disabling Mocha timeouts should be explicit', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6080/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6080'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'disabled-timeout'; diff --git a/packages/jsts/src/rules/S6092/generated-meta.ts b/packages/jsts/src/rules/S6092/generated-meta.ts new file mode 100644 index 00000000000..531ace982ba --- /dev/null +++ b/packages/jsts/src/rules/S6092/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Chai assertions should have only one reason to succeed', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6092/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6092'; diff --git a/packages/jsts/src/rules/S6092/meta.ts b/packages/jsts/src/rules/S6092/meta.ts index 531ace982ba..3e7095e526f 100644 --- a/packages/jsts/src/rules/S6092/meta.ts +++ b/packages/jsts/src/rules/S6092/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Chai assertions should have only one reason to succeed', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6092/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6092'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'chai-determinate-assertion'; diff --git a/packages/jsts/src/rules/S6245/generated-meta.ts b/packages/jsts/src/rules/S6245/generated-meta.ts new file mode 100644 index 00000000000..170b514bdc7 --- /dev/null +++ b/packages/jsts/src/rules/S6245/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Disabling server-side encryption of S3 buckets is security-sensitive', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6245/javascript', + requiresTypeChecking: false, + }, + deprecated: true, +}; + +export const sonarKey = 'S6245'; diff --git a/packages/jsts/src/rules/S6245/meta.ts b/packages/jsts/src/rules/S6245/meta.ts index 170b514bdc7..0fa24224aff 100644 --- a/packages/jsts/src/rules/S6245/meta.ts +++ b/packages/jsts/src/rules/S6245/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Disabling server-side encryption of S3 buckets is security-sensitive', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6245/javascript', - requiresTypeChecking: false, - }, - deprecated: true, -}; - -export const sonarKey = 'S6245'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-s3-bucket-server-encryption'; diff --git a/packages/jsts/src/rules/S6249/generated-meta.ts b/packages/jsts/src/rules/S6249/generated-meta.ts new file mode 100644 index 00000000000..c3b7b5277df --- /dev/null +++ b/packages/jsts/src/rules/S6249/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Authorizing HTTP communications with S3 buckets is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6249/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6249'; diff --git a/packages/jsts/src/rules/S6249/meta.ts b/packages/jsts/src/rules/S6249/meta.ts index c3b7b5277df..93618bab9c5 100644 --- a/packages/jsts/src/rules/S6249/meta.ts +++ b/packages/jsts/src/rules/S6249/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Authorizing HTTP communications with S3 buckets is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6249/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6249'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-s3-bucket-insecure-http'; diff --git a/packages/jsts/src/rules/S6252/generated-meta.ts b/packages/jsts/src/rules/S6252/generated-meta.ts new file mode 100644 index 00000000000..74944b92e74 --- /dev/null +++ b/packages/jsts/src/rules/S6252/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Disabling versioning of S3 buckets is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6252/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6252'; diff --git a/packages/jsts/src/rules/S6252/meta.ts b/packages/jsts/src/rules/S6252/meta.ts index 74944b92e74..c5511711870 100644 --- a/packages/jsts/src/rules/S6252/meta.ts +++ b/packages/jsts/src/rules/S6252/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Disabling versioning of S3 buckets is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6252/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6252'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-s3-bucket-versioning'; diff --git a/packages/jsts/src/rules/S6265/generated-meta.ts b/packages/jsts/src/rules/S6265/generated-meta.ts new file mode 100644 index 00000000000..d0267142ce9 --- /dev/null +++ b/packages/jsts/src/rules/S6265/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: + 'Granting access to S3 buckets to all or authenticated users is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6265/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6265'; diff --git a/packages/jsts/src/rules/S6265/meta.ts b/packages/jsts/src/rules/S6265/meta.ts index d0267142ce9..7a70d4a0fc4 100644 --- a/packages/jsts/src/rules/S6265/meta.ts +++ b/packages/jsts/src/rules/S6265/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: - 'Granting access to S3 buckets to all or authenticated users is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6265/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6265'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-s3-bucket-granted-access'; diff --git a/packages/jsts/src/rules/S6268/generated-meta.ts b/packages/jsts/src/rules/S6268/generated-meta.ts new file mode 100644 index 00000000000..44dec916c05 --- /dev/null +++ b/packages/jsts/src/rules/S6268/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Disabling Angular built-in sanitization is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6268/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6268'; diff --git a/packages/jsts/src/rules/S6268/meta.ts b/packages/jsts/src/rules/S6268/meta.ts index 44dec916c05..327d7673838 100644 --- a/packages/jsts/src/rules/S6268/meta.ts +++ b/packages/jsts/src/rules/S6268/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Disabling Angular built-in sanitization is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6268/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6268'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-angular-bypass-sanitization'; diff --git a/packages/jsts/src/rules/S6270/generated-meta.ts b/packages/jsts/src/rules/S6270/generated-meta.ts new file mode 100644 index 00000000000..91cc45745ae --- /dev/null +++ b/packages/jsts/src/rules/S6270/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Policies authorizing public access to resources are security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6270/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6270'; diff --git a/packages/jsts/src/rules/S6270/meta.ts b/packages/jsts/src/rules/S6270/meta.ts index 91cc45745ae..89b39077f6b 100644 --- a/packages/jsts/src/rules/S6270/meta.ts +++ b/packages/jsts/src/rules/S6270/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Policies authorizing public access to resources are security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6270/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6270'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-iam-public-access'; diff --git a/packages/jsts/src/rules/S6275/generated-meta.ts b/packages/jsts/src/rules/S6275/generated-meta.ts new file mode 100644 index 00000000000..bde57359c6e --- /dev/null +++ b/packages/jsts/src/rules/S6275/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using unencrypted EBS volumes is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6275/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6275'; diff --git a/packages/jsts/src/rules/S6275/meta.ts b/packages/jsts/src/rules/S6275/meta.ts index bde57359c6e..8081057613e 100644 --- a/packages/jsts/src/rules/S6275/meta.ts +++ b/packages/jsts/src/rules/S6275/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using unencrypted EBS volumes is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6275/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6275'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-ec2-unencrypted-ebs-volume'; diff --git a/packages/jsts/src/rules/S6281/generated-meta.ts b/packages/jsts/src/rules/S6281/generated-meta.ts new file mode 100644 index 00000000000..71d0a4e36f4 --- /dev/null +++ b/packages/jsts/src/rules/S6281/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Allowing public ACLs or policies on a S3 bucket is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6281/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6281'; diff --git a/packages/jsts/src/rules/S6281/meta.ts b/packages/jsts/src/rules/S6281/meta.ts index 71d0a4e36f4..106101ffaa1 100644 --- a/packages/jsts/src/rules/S6281/meta.ts +++ b/packages/jsts/src/rules/S6281/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Allowing public ACLs or policies on a S3 bucket is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6281/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6281'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-s3-bucket-public-access'; diff --git a/packages/jsts/src/rules/S6299/generated-meta.ts b/packages/jsts/src/rules/S6299/generated-meta.ts new file mode 100644 index 00000000000..390069916f8 --- /dev/null +++ b/packages/jsts/src/rules/S6299/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Disabling Vue.js built-in escaping is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6299/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6299'; diff --git a/packages/jsts/src/rules/S6299/meta.ts b/packages/jsts/src/rules/S6299/meta.ts index 390069916f8..094ff8ef5dd 100644 --- a/packages/jsts/src/rules/S6299/meta.ts +++ b/packages/jsts/src/rules/S6299/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Disabling Vue.js built-in escaping is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6299/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6299'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-vue-bypass-sanitization'; diff --git a/packages/jsts/src/rules/S6302/generated-meta.ts b/packages/jsts/src/rules/S6302/generated-meta.ts new file mode 100644 index 00000000000..040835bb6f9 --- /dev/null +++ b/packages/jsts/src/rules/S6302/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Policies granting all privileges are security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6302/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6302'; diff --git a/packages/jsts/src/rules/S6302/meta.ts b/packages/jsts/src/rules/S6302/meta.ts index 040835bb6f9..87117ab127e 100644 --- a/packages/jsts/src/rules/S6302/meta.ts +++ b/packages/jsts/src/rules/S6302/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Policies granting all privileges are security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6302/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6302'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-iam-all-privileges'; diff --git a/packages/jsts/src/rules/S6303/generated-meta.ts b/packages/jsts/src/rules/S6303/generated-meta.ts new file mode 100644 index 00000000000..a2b5686bea1 --- /dev/null +++ b/packages/jsts/src/rules/S6303/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using unencrypted RDS DB resources is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6303/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6303'; diff --git a/packages/jsts/src/rules/S6303/meta.ts b/packages/jsts/src/rules/S6303/meta.ts index a2b5686bea1..5c4e3db163e 100644 --- a/packages/jsts/src/rules/S6303/meta.ts +++ b/packages/jsts/src/rules/S6303/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using unencrypted RDS DB resources is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6303/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6303'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-rds-unencrypted-databases'; diff --git a/packages/jsts/src/rules/S6304/generated-meta.ts b/packages/jsts/src/rules/S6304/generated-meta.ts new file mode 100644 index 00000000000..9e283b02591 --- /dev/null +++ b/packages/jsts/src/rules/S6304/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Policies granting access to all resources of an account are security-sensitive', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6304/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6304'; diff --git a/packages/jsts/src/rules/S6304/meta.ts b/packages/jsts/src/rules/S6304/meta.ts index 9e283b02591..f0ac806e89c 100644 --- a/packages/jsts/src/rules/S6304/meta.ts +++ b/packages/jsts/src/rules/S6304/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Policies granting access to all resources of an account are security-sensitive', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6304/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6304'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-iam-all-resources-accessible'; diff --git a/packages/jsts/src/rules/S6308/generated-meta.ts b/packages/jsts/src/rules/S6308/generated-meta.ts new file mode 100644 index 00000000000..c7027b34309 --- /dev/null +++ b/packages/jsts/src/rules/S6308/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using unencrypted Elasticsearch domains is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6308/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6308'; diff --git a/packages/jsts/src/rules/S6308/meta.ts b/packages/jsts/src/rules/S6308/meta.ts index c7027b34309..cb0aa0e2671 100644 --- a/packages/jsts/src/rules/S6308/meta.ts +++ b/packages/jsts/src/rules/S6308/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using unencrypted Elasticsearch domains is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6308/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6308'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-opensearchservice-domain'; diff --git a/packages/jsts/src/rules/S6317/generated-meta.ts b/packages/jsts/src/rules/S6317/generated-meta.ts new file mode 100644 index 00000000000..240a0b60ea6 --- /dev/null +++ b/packages/jsts/src/rules/S6317/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'AWS IAM policies should limit the scope of permissions given', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6317/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6317'; diff --git a/packages/jsts/src/rules/S6317/meta.ts b/packages/jsts/src/rules/S6317/meta.ts index 240a0b60ea6..2f7d73d2854 100644 --- a/packages/jsts/src/rules/S6317/meta.ts +++ b/packages/jsts/src/rules/S6317/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'AWS IAM policies should limit the scope of permissions given', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6317/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6317'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-iam-privilege-escalation'; diff --git a/packages/jsts/src/rules/S6319/generated-meta.ts b/packages/jsts/src/rules/S6319/generated-meta.ts new file mode 100644 index 00000000000..0d411d7f4bf --- /dev/null +++ b/packages/jsts/src/rules/S6319/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using unencrypted SageMaker notebook instances is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6319/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6319'; diff --git a/packages/jsts/src/rules/S6319/meta.ts b/packages/jsts/src/rules/S6319/meta.ts index 0d411d7f4bf..9f4628fe44a 100644 --- a/packages/jsts/src/rules/S6319/meta.ts +++ b/packages/jsts/src/rules/S6319/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using unencrypted SageMaker notebook instances is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6319/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6319'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-sagemaker-unencrypted-notebook'; diff --git a/packages/jsts/src/rules/S6321/generated-meta.ts b/packages/jsts/src/rules/S6321/generated-meta.ts new file mode 100644 index 00000000000..2e0db2ef827 --- /dev/null +++ b/packages/jsts/src/rules/S6321/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Administration services access should be restricted to specific IP addresses', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6321/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6321'; diff --git a/packages/jsts/src/rules/S6321/meta.ts b/packages/jsts/src/rules/S6321/meta.ts index 2e0db2ef827..f92c822fc8a 100644 --- a/packages/jsts/src/rules/S6321/meta.ts +++ b/packages/jsts/src/rules/S6321/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Administration services access should be restricted to specific IP addresses', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6321/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6321'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-restricted-ip-admin-access'; diff --git a/packages/jsts/src/rules/S6323/generated-meta.ts b/packages/jsts/src/rules/S6323/generated-meta.ts new file mode 100644 index 00000000000..7652b66158b --- /dev/null +++ b/packages/jsts/src/rules/S6323/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Alternation in regular expressions should not contain empty alternatives', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6323/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S6323'; diff --git a/packages/jsts/src/rules/S6323/meta.ts b/packages/jsts/src/rules/S6323/meta.ts index 7652b66158b..0ab3ddb5c16 100644 --- a/packages/jsts/src/rules/S6323/meta.ts +++ b/packages/jsts/src/rules/S6323/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Alternation in regular expressions should not contain empty alternatives', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6323/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S6323'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-empty-alternatives'; diff --git a/packages/jsts/src/rules/S6324/generated-meta.ts b/packages/jsts/src/rules/S6324/generated-meta.ts new file mode 100644 index 00000000000..44ad3063915 --- /dev/null +++ b/packages/jsts/src/rules/S6324/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Regular expressions should not contain control characters', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6324/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S6324'; diff --git a/packages/jsts/src/rules/S6324/meta.ts b/packages/jsts/src/rules/S6324/meta.ts index 44ad3063915..1a76059528e 100644 --- a/packages/jsts/src/rules/S6324/meta.ts +++ b/packages/jsts/src/rules/S6324/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Regular expressions should not contain control characters', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6324/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S6324'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-control-regex'; diff --git a/packages/jsts/src/rules/S6325/generated-meta.ts b/packages/jsts/src/rules/S6325/generated-meta.ts new file mode 100644 index 00000000000..f0a2ac746ff --- /dev/null +++ b/packages/jsts/src/rules/S6325/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Regular expression literals should be used when possible', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6325/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6325'; diff --git a/packages/jsts/src/rules/S6325/index.ts b/packages/jsts/src/rules/S6325/index.ts new file mode 100644 index 00000000000..4fbcb0ee7fb --- /dev/null +++ b/packages/jsts/src/rules/S6325/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('prefer-regex-literals'); diff --git a/packages/jsts/src/rules/S6325/meta.ts b/packages/jsts/src/rules/S6325/meta.ts new file mode 100644 index 00000000000..fa6bb561cd6 --- /dev/null +++ b/packages/jsts/src/rules/S6325/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'prefer-regex-literals'; diff --git a/packages/jsts/src/rules/S6326/generated-meta.ts b/packages/jsts/src/rules/S6326/generated-meta.ts new file mode 100644 index 00000000000..5a71875a942 --- /dev/null +++ b/packages/jsts/src/rules/S6326/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Regular expressions should not contain multiple spaces', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6326/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6326'; diff --git a/packages/jsts/src/rules/S6326/meta.ts b/packages/jsts/src/rules/S6326/meta.ts index 5a71875a942..e1c7205dc3f 100644 --- a/packages/jsts/src/rules/S6326/meta.ts +++ b/packages/jsts/src/rules/S6326/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Regular expressions should not contain multiple spaces', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6326/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6326'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-regex-spaces'; diff --git a/packages/jsts/src/rules/S6327/generated-meta.ts b/packages/jsts/src/rules/S6327/generated-meta.ts new file mode 100644 index 00000000000..35174cbced3 --- /dev/null +++ b/packages/jsts/src/rules/S6327/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using unencrypted SNS topics is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6327/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6327'; diff --git a/packages/jsts/src/rules/S6327/meta.ts b/packages/jsts/src/rules/S6327/meta.ts index 35174cbced3..97fa8770b86 100644 --- a/packages/jsts/src/rules/S6327/meta.ts +++ b/packages/jsts/src/rules/S6327/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using unencrypted SNS topics is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6327/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6327'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-sns-unencrypted-topics'; diff --git a/packages/jsts/src/rules/S6328/generated-meta.ts b/packages/jsts/src/rules/S6328/generated-meta.ts new file mode 100644 index 00000000000..64424968cae --- /dev/null +++ b/packages/jsts/src/rules/S6328/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Replacement strings should reference existing regular expression groups', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6328/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S6328'; diff --git a/packages/jsts/src/rules/S6328/meta.ts b/packages/jsts/src/rules/S6328/meta.ts index 64424968cae..883226fef33 100644 --- a/packages/jsts/src/rules/S6328/meta.ts +++ b/packages/jsts/src/rules/S6328/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Replacement strings should reference existing regular expression groups', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6328/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S6328'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'existing-groups'; diff --git a/packages/jsts/src/rules/S6329/generated-meta.ts b/packages/jsts/src/rules/S6329/generated-meta.ts new file mode 100644 index 00000000000..effc363e43f --- /dev/null +++ b/packages/jsts/src/rules/S6329/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Allowing public network access to cloud resources is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6329/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6329'; diff --git a/packages/jsts/src/rules/S6329/meta.ts b/packages/jsts/src/rules/S6329/meta.ts index effc363e43f..783053f8e2d 100644 --- a/packages/jsts/src/rules/S6329/meta.ts +++ b/packages/jsts/src/rules/S6329/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Allowing public network access to cloud resources is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6329/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6329'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-ec2-rds-dms-public'; diff --git a/packages/jsts/src/rules/S6330/generated-meta.ts b/packages/jsts/src/rules/S6330/generated-meta.ts new file mode 100644 index 00000000000..f17bf29eda2 --- /dev/null +++ b/packages/jsts/src/rules/S6330/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using unencrypted SQS queues is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6330/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6330'; diff --git a/packages/jsts/src/rules/S6330/meta.ts b/packages/jsts/src/rules/S6330/meta.ts index f17bf29eda2..56db2b82e76 100644 --- a/packages/jsts/src/rules/S6330/meta.ts +++ b/packages/jsts/src/rules/S6330/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using unencrypted SQS queues is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6330/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6330'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-sqs-unencrypted-queue'; diff --git a/packages/jsts/src/rules/S6331/generated-meta.ts b/packages/jsts/src/rules/S6331/generated-meta.ts new file mode 100644 index 00000000000..ce1977ba617 --- /dev/null +++ b/packages/jsts/src/rules/S6331/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Regular expressions should not contain empty groups', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6331/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S6331'; diff --git a/packages/jsts/src/rules/S6331/meta.ts b/packages/jsts/src/rules/S6331/meta.ts index ce1977ba617..34c24d7d01b 100644 --- a/packages/jsts/src/rules/S6331/meta.ts +++ b/packages/jsts/src/rules/S6331/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Regular expressions should not contain empty groups', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6331/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S6331'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-empty-group'; diff --git a/packages/jsts/src/rules/S6332/generated-meta.ts b/packages/jsts/src/rules/S6332/generated-meta.ts new file mode 100644 index 00000000000..fde4386d7ee --- /dev/null +++ b/packages/jsts/src/rules/S6332/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Using unencrypted EFS file systems is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6332/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6332'; diff --git a/packages/jsts/src/rules/S6332/meta.ts b/packages/jsts/src/rules/S6332/meta.ts index fde4386d7ee..91c7fe0931c 100644 --- a/packages/jsts/src/rules/S6332/meta.ts +++ b/packages/jsts/src/rules/S6332/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Using unencrypted EFS file systems is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6332/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6332'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-efs-unencrypted'; diff --git a/packages/jsts/src/rules/S6333/generated-meta.ts b/packages/jsts/src/rules/S6333/generated-meta.ts new file mode 100644 index 00000000000..70c2b82f292 --- /dev/null +++ b/packages/jsts/src/rules/S6333/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Creating public APIs is security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6333/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6333'; diff --git a/packages/jsts/src/rules/S6333/meta.ts b/packages/jsts/src/rules/S6333/meta.ts index 70c2b82f292..716aca7d1d4 100644 --- a/packages/jsts/src/rules/S6333/meta.ts +++ b/packages/jsts/src/rules/S6333/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Creating public APIs is security-sensitive', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6333/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6333'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'aws-apigateway-public-api'; diff --git a/packages/jsts/src/rules/S6351/generated-meta.ts b/packages/jsts/src/rules/S6351/generated-meta.ts new file mode 100644 index 00000000000..34fe50a9019 --- /dev/null +++ b/packages/jsts/src/rules/S6351/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Regular expressions with the global flag should be used with caution', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6351/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6351'; diff --git a/packages/jsts/src/rules/S6351/meta.ts b/packages/jsts/src/rules/S6351/meta.ts index 34fe50a9019..b898cb4cf87 100644 --- a/packages/jsts/src/rules/S6351/meta.ts +++ b/packages/jsts/src/rules/S6351/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Regular expressions with the global flag should be used with caution', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6351/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6351'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'stateful-regex'; diff --git a/packages/jsts/src/rules/S6353/generated-meta.ts b/packages/jsts/src/rules/S6353/generated-meta.ts new file mode 100644 index 00000000000..001f505de31 --- /dev/null +++ b/packages/jsts/src/rules/S6353/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Regular expression quantifiers and character classes should be used concisely', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6353/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S6353'; diff --git a/packages/jsts/src/rules/S6353/meta.ts b/packages/jsts/src/rules/S6353/meta.ts index 001f505de31..386b5e0be9d 100644 --- a/packages/jsts/src/rules/S6353/meta.ts +++ b/packages/jsts/src/rules/S6353/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Regular expression quantifiers and character classes should be used concisely', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6353/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S6353'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'concise-regex'; diff --git a/packages/jsts/src/rules/S6397/generated-meta.ts b/packages/jsts/src/rules/S6397/generated-meta.ts new file mode 100644 index 00000000000..c139fb7acf2 --- /dev/null +++ b/packages/jsts/src/rules/S6397/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Character classes in regular expressions should not contain only one character', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6397/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S6397'; diff --git a/packages/jsts/src/rules/S6397/meta.ts b/packages/jsts/src/rules/S6397/meta.ts index c139fb7acf2..43ee6b6ef77 100644 --- a/packages/jsts/src/rules/S6397/meta.ts +++ b/packages/jsts/src/rules/S6397/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Character classes in regular expressions should not contain only one character', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6397/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S6397'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'single-char-in-character-classes'; diff --git a/packages/jsts/src/rules/S6426/generated-meta.ts b/packages/jsts/src/rules/S6426/generated-meta.ts new file mode 100644 index 00000000000..a09f1b712b9 --- /dev/null +++ b/packages/jsts/src/rules/S6426/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Exclusive tests should not be commited to version control', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6426/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6426'; diff --git a/packages/jsts/src/rules/S6426/meta.ts b/packages/jsts/src/rules/S6426/meta.ts index a09f1b712b9..1f836b1ed0d 100644 --- a/packages/jsts/src/rules/S6426/meta.ts +++ b/packages/jsts/src/rules/S6426/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Exclusive tests should not be commited to version control', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6426/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6426'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-exclusive-tests'; diff --git a/packages/jsts/src/rules/S6435/generated-meta.ts b/packages/jsts/src/rules/S6435/generated-meta.ts new file mode 100644 index 00000000000..f95af72bacb --- /dev/null +++ b/packages/jsts/src/rules/S6435/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'React "render" functions should return a value', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6435/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6435'; diff --git a/packages/jsts/src/rules/S6435/index.ts b/packages/jsts/src/rules/S6435/index.ts new file mode 100644 index 00000000000..5151b88519d --- /dev/null +++ b/packages/jsts/src/rules/S6435/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['require-render-return']; diff --git a/packages/jsts/src/rules/S6435/meta.ts b/packages/jsts/src/rules/S6435/meta.ts new file mode 100644 index 00000000000..640871ef106 --- /dev/null +++ b/packages/jsts/src/rules/S6435/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'require-render-return'; diff --git a/packages/jsts/src/rules/S6438/generated-meta.ts b/packages/jsts/src/rules/S6438/generated-meta.ts new file mode 100644 index 00000000000..fe168e8b3c3 --- /dev/null +++ b/packages/jsts/src/rules/S6438/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Comments inside JSX expressions should be enclosed in curly braces', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6438/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6438'; diff --git a/packages/jsts/src/rules/S6438/index.ts b/packages/jsts/src/rules/S6438/index.ts new file mode 100644 index 00000000000..c7ecf9ee97a --- /dev/null +++ b/packages/jsts/src/rules/S6438/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['jsx-no-comment-textnodes']; diff --git a/packages/jsts/src/rules/S6438/meta.ts b/packages/jsts/src/rules/S6438/meta.ts new file mode 100644 index 00000000000..f7a6630a9f6 --- /dev/null +++ b/packages/jsts/src/rules/S6438/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'jsx-no-comment-textnodes'; diff --git a/packages/jsts/src/rules/S6439/generated-meta.ts b/packages/jsts/src/rules/S6439/generated-meta.ts new file mode 100644 index 00000000000..8527b3bf1f5 --- /dev/null +++ b/packages/jsts/src/rules/S6439/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'React components should not render non-boolean condition values', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6439/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6439'; diff --git a/packages/jsts/src/rules/S6439/meta.ts b/packages/jsts/src/rules/S6439/meta.ts index 8527b3bf1f5..cef370d87bf 100644 --- a/packages/jsts/src/rules/S6439/meta.ts +++ b/packages/jsts/src/rules/S6439/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'React components should not render non-boolean condition values', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6439/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6439'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'jsx-no-leaked-render'; diff --git a/packages/jsts/src/rules/S6440/generated-meta.ts b/packages/jsts/src/rules/S6440/generated-meta.ts new file mode 100644 index 00000000000..53c02db4e8d --- /dev/null +++ b/packages/jsts/src/rules/S6440/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'React Hooks should be properly called', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6440/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6440'; diff --git a/packages/jsts/src/rules/S6440/meta.ts b/packages/jsts/src/rules/S6440/meta.ts index 53c02db4e8d..73d644aa7b9 100644 --- a/packages/jsts/src/rules/S6440/meta.ts +++ b/packages/jsts/src/rules/S6440/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'React Hooks should be properly called', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6440/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6440'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'rules-of-hooks'; diff --git a/packages/jsts/src/rules/S6441/generated-meta.ts b/packages/jsts/src/rules/S6441/generated-meta.ts new file mode 100644 index 00000000000..ae35f5c6984 --- /dev/null +++ b/packages/jsts/src/rules/S6441/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Unused methods of React components should be removed', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6441/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6441'; diff --git a/packages/jsts/src/rules/S6441/meta.ts b/packages/jsts/src/rules/S6441/meta.ts index ae35f5c6984..92c3eb2ee5d 100644 --- a/packages/jsts/src/rules/S6441/meta.ts +++ b/packages/jsts/src/rules/S6441/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Unused methods of React components should be removed', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6441/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6441'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-unused-class-component-methods'; diff --git a/packages/jsts/src/rules/S6442/generated-meta.ts b/packages/jsts/src/rules/S6442/generated-meta.ts new file mode 100644 index 00000000000..739a9a32165 --- /dev/null +++ b/packages/jsts/src/rules/S6442/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: + "React's useState hook should not be used directly in the render function or body of a component", + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6442/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6442'; diff --git a/packages/jsts/src/rules/S6442/meta.ts b/packages/jsts/src/rules/S6442/meta.ts index 739a9a32165..d61dc3b1c87 100644 --- a/packages/jsts/src/rules/S6442/meta.ts +++ b/packages/jsts/src/rules/S6442/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: - "React's useState hook should not be used directly in the render function or body of a component", - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6442/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6442'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-hook-setter-in-body'; diff --git a/packages/jsts/src/rules/S6443/generated-meta.ts b/packages/jsts/src/rules/S6443/generated-meta.ts new file mode 100644 index 00000000000..07b14bfc273 --- /dev/null +++ b/packages/jsts/src/rules/S6443/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: + 'React state setter function should not be called with its matching state variable', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6443/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6443'; diff --git a/packages/jsts/src/rules/S6443/meta.ts b/packages/jsts/src/rules/S6443/meta.ts index 07b14bfc273..5ebabdc4a6d 100644 --- a/packages/jsts/src/rules/S6443/meta.ts +++ b/packages/jsts/src/rules/S6443/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: - 'React state setter function should not be called with its matching state variable', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6443/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6443'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-useless-react-setstate'; diff --git a/packages/jsts/src/rules/S6477/generated-meta.ts b/packages/jsts/src/rules/S6477/generated-meta.ts new file mode 100644 index 00000000000..046aca7784f --- /dev/null +++ b/packages/jsts/src/rules/S6477/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'JSX list components should have a key property', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6477/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6477'; diff --git a/packages/jsts/src/rules/S6477/meta.ts b/packages/jsts/src/rules/S6477/meta.ts index 046aca7784f..99b5ba3e8e0 100644 --- a/packages/jsts/src/rules/S6477/meta.ts +++ b/packages/jsts/src/rules/S6477/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'JSX list components should have a key property', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6477/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6477'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'jsx-key'; diff --git a/packages/jsts/src/rules/S6478/generated-meta.ts b/packages/jsts/src/rules/S6478/generated-meta.ts new file mode 100644 index 00000000000..d997efe09ed --- /dev/null +++ b/packages/jsts/src/rules/S6478/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'React components should not be nested', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6478/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6478'; diff --git a/packages/jsts/src/rules/S6478/meta.ts b/packages/jsts/src/rules/S6478/meta.ts index d997efe09ed..a5fa520120c 100644 --- a/packages/jsts/src/rules/S6478/meta.ts +++ b/packages/jsts/src/rules/S6478/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'React components should not be nested', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6478/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6478'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-unstable-nested-components'; diff --git a/packages/jsts/src/rules/S6479/generated-meta.ts b/packages/jsts/src/rules/S6479/generated-meta.ts new file mode 100644 index 00000000000..486304abe83 --- /dev/null +++ b/packages/jsts/src/rules/S6479/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'JSX list components should not use array indexes as key', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6479/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6479'; diff --git a/packages/jsts/src/rules/S6479/meta.ts b/packages/jsts/src/rules/S6479/meta.ts index 486304abe83..32d3d1d034d 100644 --- a/packages/jsts/src/rules/S6479/meta.ts +++ b/packages/jsts/src/rules/S6479/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'JSX list components should not use array indexes as key', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6479/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6479'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-array-index-key'; diff --git a/packages/jsts/src/rules/S6480/generated-meta.ts b/packages/jsts/src/rules/S6480/generated-meta.ts new file mode 100644 index 00000000000..85c5aad475d --- /dev/null +++ b/packages/jsts/src/rules/S6480/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Disallow `.bind()` and arrow functions in JSX props', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6480/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6480'; diff --git a/packages/jsts/src/rules/S6480/index.ts b/packages/jsts/src/rules/S6480/index.ts new file mode 100644 index 00000000000..80eedb5323f --- /dev/null +++ b/packages/jsts/src/rules/S6480/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['jsx-no-bind']; diff --git a/packages/jsts/src/rules/S6480/meta.ts b/packages/jsts/src/rules/S6480/meta.ts new file mode 100644 index 00000000000..82a43326386 --- /dev/null +++ b/packages/jsts/src/rules/S6480/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'jsx-no-bind'; diff --git a/packages/jsts/src/rules/S6481/generated-meta.ts b/packages/jsts/src/rules/S6481/generated-meta.ts new file mode 100644 index 00000000000..c1293fc4ada --- /dev/null +++ b/packages/jsts/src/rules/S6481/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'React Context Provider values should have stable identities', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6481/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6481'; diff --git a/packages/jsts/src/rules/S6481/meta.ts b/packages/jsts/src/rules/S6481/meta.ts index c1293fc4ada..e512295920d 100644 --- a/packages/jsts/src/rules/S6481/meta.ts +++ b/packages/jsts/src/rules/S6481/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'React Context Provider values should have stable identities', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6481/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6481'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'jsx-no-constructed-context-values'; diff --git a/packages/jsts/src/rules/S6486/generated-meta.ts b/packages/jsts/src/rules/S6486/generated-meta.ts new file mode 100644 index 00000000000..7bd1fd56b6e --- /dev/null +++ b/packages/jsts/src/rules/S6486/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'JSX list components keys should match up between renders', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6486/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6486'; diff --git a/packages/jsts/src/rules/S6486/meta.ts b/packages/jsts/src/rules/S6486/meta.ts index 7bd1fd56b6e..692463ef513 100644 --- a/packages/jsts/src/rules/S6486/meta.ts +++ b/packages/jsts/src/rules/S6486/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'JSX list components keys should match up between renders', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6486/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6486'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-uniq-key'; diff --git a/packages/jsts/src/rules/S6509/generated-meta.ts b/packages/jsts/src/rules/S6509/generated-meta.ts new file mode 100644 index 00000000000..26ea2fbdcde --- /dev/null +++ b/packages/jsts/src/rules/S6509/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Extra boolean casts should be removed', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6509/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6509'; diff --git a/packages/jsts/src/rules/S6509/index.ts b/packages/jsts/src/rules/S6509/index.ts new file mode 100644 index 00000000000..195f766c8bf --- /dev/null +++ b/packages/jsts/src/rules/S6509/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-extra-boolean-cast'); diff --git a/packages/jsts/src/rules/S6509/meta.ts b/packages/jsts/src/rules/S6509/meta.ts new file mode 100644 index 00000000000..b421d637073 --- /dev/null +++ b/packages/jsts/src/rules/S6509/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-extra-boolean-cast'; diff --git a/packages/jsts/src/rules/S6522/generated-meta.ts b/packages/jsts/src/rules/S6522/generated-meta.ts new file mode 100644 index 00000000000..2b70b10d9cb --- /dev/null +++ b/packages/jsts/src/rules/S6522/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Import variables should not be reassigned', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6522/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6522'; diff --git a/packages/jsts/src/rules/S6522/index.ts b/packages/jsts/src/rules/S6522/index.ts new file mode 100644 index 00000000000..d82e9fb4795 --- /dev/null +++ b/packages/jsts/src/rules/S6522/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-import-assign'); diff --git a/packages/jsts/src/rules/S6522/meta.ts b/packages/jsts/src/rules/S6522/meta.ts new file mode 100644 index 00000000000..5cf2f2a420c --- /dev/null +++ b/packages/jsts/src/rules/S6522/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-import-assign'; diff --git a/packages/jsts/src/rules/S6523/generated-meta.ts b/packages/jsts/src/rules/S6523/generated-meta.ts new file mode 100644 index 00000000000..985c8ab7585 --- /dev/null +++ b/packages/jsts/src/rules/S6523/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Optional chaining should not be used if returning "undefined" throws an error', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6523/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6523'; diff --git a/packages/jsts/src/rules/S6523/index.ts b/packages/jsts/src/rules/S6523/index.ts new file mode 100644 index 00000000000..41ccd2ec603 --- /dev/null +++ b/packages/jsts/src/rules/S6523/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-unsafe-optional-chaining'); diff --git a/packages/jsts/src/rules/S6523/meta.ts b/packages/jsts/src/rules/S6523/meta.ts new file mode 100644 index 00000000000..37dd75a2fae --- /dev/null +++ b/packages/jsts/src/rules/S6523/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-unsafe-optional-chaining'; diff --git a/packages/jsts/src/rules/S6534/generated-meta.ts b/packages/jsts/src/rules/S6534/generated-meta.ts new file mode 100644 index 00000000000..00723791d95 --- /dev/null +++ b/packages/jsts/src/rules/S6534/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Numbers should not lose precision', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6534/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6534'; diff --git a/packages/jsts/src/rules/S6534/index.ts b/packages/jsts/src/rules/S6534/index.ts new file mode 100644 index 00000000000..b6c14a2466c --- /dev/null +++ b/packages/jsts/src/rules/S6534/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-loss-of-precision'); diff --git a/packages/jsts/src/rules/S6534/meta.ts b/packages/jsts/src/rules/S6534/meta.ts new file mode 100644 index 00000000000..b997c6358bd --- /dev/null +++ b/packages/jsts/src/rules/S6534/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-loss-of-precision'; diff --git a/packages/jsts/src/rules/S6535/generated-meta.ts b/packages/jsts/src/rules/S6535/generated-meta.ts new file mode 100644 index 00000000000..3107b9d560a --- /dev/null +++ b/packages/jsts/src/rules/S6535/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Unnecessary character escapes should be removed', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6535/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6535'; diff --git a/packages/jsts/src/rules/S6535/meta.ts b/packages/jsts/src/rules/S6535/meta.ts index 3107b9d560a..fabf6cfc828 100644 --- a/packages/jsts/src/rules/S6535/meta.ts +++ b/packages/jsts/src/rules/S6535/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Unnecessary character escapes should be removed', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6535/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6535'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'unnecessary-character-escapes'; diff --git a/packages/jsts/src/rules/S6535/rule.ts b/packages/jsts/src/rules/S6535/rule.ts index b50fc19ab72..c94a6f97895 100644 --- a/packages/jsts/src/rules/S6535/rule.ts +++ b/packages/jsts/src/rules/S6535/rule.ts @@ -20,7 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S6535/javascript import type { Rule } from 'eslint'; -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { generateMeta, interceptReport, mergeRules } from '../helpers/index.js'; import { meta } from './meta.js'; @@ -32,8 +32,8 @@ import { meta } from './meta.js'; * * Here we arbitrarily choose to decorate 'no-nonoctal-decimal-escape'. */ -const noUselessEscapeRule = eslintRules['no-useless-escape']; -const noNonoctalDecimalEscapeRule = eslintRules['no-nonoctal-decimal-escape']; +const noUselessEscapeRule = getESLintCoreRule('no-useless-escape'); +const noNonoctalDecimalEscapeRule = getESLintCoreRule('no-nonoctal-decimal-escape'); /** * We decorate 'no-nonoctal-decimal-escape' to map suggestions with the message id 'escapeBackslash' to 'nonOctalEscapeBacklash'. diff --git a/packages/jsts/src/rules/S6544/generated-meta.ts b/packages/jsts/src/rules/S6544/generated-meta.ts new file mode 100644 index 00000000000..9b83b00d164 --- /dev/null +++ b/packages/jsts/src/rules/S6544/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Promises should not be misused', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6544/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S6544'; diff --git a/packages/jsts/src/rules/S6544/meta.ts b/packages/jsts/src/rules/S6544/meta.ts index 9b83b00d164..85ac4109fe7 100644 --- a/packages/jsts/src/rules/S6544/meta.ts +++ b/packages/jsts/src/rules/S6544/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Promises should not be misused', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6544/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S6544'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-misused-promises'; diff --git a/packages/jsts/src/rules/S6544/rule.ts b/packages/jsts/src/rules/S6544/rule.ts index 68b569c1ad3..897465d1213 100644 --- a/packages/jsts/src/rules/S6544/rule.ts +++ b/packages/jsts/src/rules/S6544/rule.ts @@ -20,8 +20,8 @@ // https://sonarsource.github.io/rspec/#/rspec/S6544/javascript import type { Rule } from 'eslint'; -import { tsEslintRules } from '../typescript-eslint/index.js'; -import { eslintRules } from '../core/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { FUNCTION_NODES, generateMeta, @@ -68,7 +68,7 @@ const decoratedNoMisusedPromisesRule = interceptReport( }, ); -const noAsyncPromiseExecutorRule = eslintRules['no-async-promise-executor']; +const noAsyncPromiseExecutorRule = getESLintCoreRule('no-async-promise-executor'); const decoratedNoAsyncPromiseExecutorRule = interceptReport( noAsyncPromiseExecutorRule, (context, descriptor) => { diff --git a/packages/jsts/src/rules/S6550/generated-meta.ts b/packages/jsts/src/rules/S6550/generated-meta.ts new file mode 100644 index 00000000000..da57bfb0d0e --- /dev/null +++ b/packages/jsts/src/rules/S6550/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'All enum members should be literals', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6550/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6550'; diff --git a/packages/jsts/src/rules/S6550/index.ts b/packages/jsts/src/rules/S6550/index.ts new file mode 100644 index 00000000000..5bd16218c6c --- /dev/null +++ b/packages/jsts/src/rules/S6550/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['prefer-literal-enum-member']; diff --git a/packages/jsts/src/rules/S6550/meta.ts b/packages/jsts/src/rules/S6550/meta.ts new file mode 100644 index 00000000000..6f987eaaef0 --- /dev/null +++ b/packages/jsts/src/rules/S6550/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'prefer-literal-enum-member'; diff --git a/packages/jsts/src/rules/S6551/generated-meta.ts b/packages/jsts/src/rules/S6551/generated-meta.ts new file mode 100644 index 00000000000..c0249b86ef5 --- /dev/null +++ b/packages/jsts/src/rules/S6551/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: + 'Objects and classes converted or coerced to strings should define a "toString()" method', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6551/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S6551'; diff --git a/packages/jsts/src/rules/S6551/index.ts b/packages/jsts/src/rules/S6551/index.ts index ebfa3040fd5..1298a364b2a 100644 --- a/packages/jsts/src/rules/S6551/index.ts +++ b/packages/jsts/src/rules/S6551/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-base-to-string']); diff --git a/packages/jsts/src/rules/S6551/meta.ts b/packages/jsts/src/rules/S6551/meta.ts index c0249b86ef5..e640eae8d27 100644 --- a/packages/jsts/src/rules/S6551/meta.ts +++ b/packages/jsts/src/rules/S6551/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: - 'Objects and classes converted or coerced to strings should define a "toString()" method', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6551/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S6551'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-base-to-string'; diff --git a/packages/jsts/src/rules/S6557/generated-meta.ts b/packages/jsts/src/rules/S6557/generated-meta.ts new file mode 100644 index 00000000000..aaaeddc7e6d --- /dev/null +++ b/packages/jsts/src/rules/S6557/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Ends of strings should be checked with "startsWith()" and "endsWith()"', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6557/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6557'; diff --git a/packages/jsts/src/rules/S6557/index.ts b/packages/jsts/src/rules/S6557/index.ts index c025b5ec214..db3d2f3afb0 100644 --- a/packages/jsts/src/rules/S6557/index.ts +++ b/packages/jsts/src/rules/S6557/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['prefer-string-starts-ends-with']); diff --git a/packages/jsts/src/rules/S6557/meta.ts b/packages/jsts/src/rules/S6557/meta.ts index aaaeddc7e6d..245e475ee55 100644 --- a/packages/jsts/src/rules/S6557/meta.ts +++ b/packages/jsts/src/rules/S6557/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Ends of strings should be checked with "startsWith()" and "endsWith()"', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6557/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6557'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'prefer-string-starts-ends-with'; diff --git a/packages/jsts/src/rules/S6564/generated-meta.ts b/packages/jsts/src/rules/S6564/generated-meta.ts new file mode 100644 index 00000000000..b8f08dec50d --- /dev/null +++ b/packages/jsts/src/rules/S6564/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Redundant type aliases should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6564/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6564'; diff --git a/packages/jsts/src/rules/S6564/meta.ts b/packages/jsts/src/rules/S6564/meta.ts index b8f08dec50d..f4c001eb5cf 100644 --- a/packages/jsts/src/rules/S6564/meta.ts +++ b/packages/jsts/src/rules/S6564/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Redundant type aliases should not be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6564/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6564'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'redundant-type-aliases'; diff --git a/packages/jsts/src/rules/S6565/generated-meta.ts b/packages/jsts/src/rules/S6565/generated-meta.ts new file mode 100644 index 00000000000..de4b0f615a0 --- /dev/null +++ b/packages/jsts/src/rules/S6565/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Prefer the return type "this" in fluent interfaces', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6565/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6565'; diff --git a/packages/jsts/src/rules/S6565/index.ts b/packages/jsts/src/rules/S6565/index.ts new file mode 100644 index 00000000000..4c0ceb5711a --- /dev/null +++ b/packages/jsts/src/rules/S6565/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['prefer-return-this-type']; diff --git a/packages/jsts/src/rules/S6565/meta.ts b/packages/jsts/src/rules/S6565/meta.ts new file mode 100644 index 00000000000..53f81d2c773 --- /dev/null +++ b/packages/jsts/src/rules/S6565/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'prefer-return-this-type'; diff --git a/packages/jsts/src/rules/S6568/generated-meta.ts b/packages/jsts/src/rules/S6568/generated-meta.ts new file mode 100644 index 00000000000..b937f35f362 --- /dev/null +++ b/packages/jsts/src/rules/S6568/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Non-null assertions should not be used misleadingly', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6568/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6568'; diff --git a/packages/jsts/src/rules/S6568/index.ts b/packages/jsts/src/rules/S6568/index.ts new file mode 100644 index 00000000000..29465dc0524 --- /dev/null +++ b/packages/jsts/src/rules/S6568/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['no-confusing-non-null-assertion']; diff --git a/packages/jsts/src/rules/S6568/meta.ts b/packages/jsts/src/rules/S6568/meta.ts new file mode 100644 index 00000000000..e5e8bf8e846 --- /dev/null +++ b/packages/jsts/src/rules/S6568/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-confusing-non-null-assertion'; diff --git a/packages/jsts/src/rules/S6569/generated-meta.ts b/packages/jsts/src/rules/S6569/generated-meta.ts new file mode 100644 index 00000000000..4a0f23b6353 --- /dev/null +++ b/packages/jsts/src/rules/S6569/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Unnecessary type constraints should be removed', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6569/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6569'; diff --git a/packages/jsts/src/rules/S6569/index.ts b/packages/jsts/src/rules/S6569/index.ts new file mode 100644 index 00000000000..bef93803e88 --- /dev/null +++ b/packages/jsts/src/rules/S6569/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['no-unnecessary-type-constraint']; diff --git a/packages/jsts/src/rules/S6569/meta.ts b/packages/jsts/src/rules/S6569/meta.ts new file mode 100644 index 00000000000..26d71bd309b --- /dev/null +++ b/packages/jsts/src/rules/S6569/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-unnecessary-type-constraint'; diff --git a/packages/jsts/src/rules/S6571/generated-meta.ts b/packages/jsts/src/rules/S6571/generated-meta.ts new file mode 100644 index 00000000000..4c2062414ab --- /dev/null +++ b/packages/jsts/src/rules/S6571/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Type constituents of unions and intersections should not be redundant', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6571/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S6571'; diff --git a/packages/jsts/src/rules/S6571/index.ts b/packages/jsts/src/rules/S6571/index.ts index 594e7aeb0be..979aee51749 100644 --- a/packages/jsts/src/rules/S6571/index.ts +++ b/packages/jsts/src/rules/S6571/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-redundant-type-constituents']); diff --git a/packages/jsts/src/rules/S6571/meta.ts b/packages/jsts/src/rules/S6571/meta.ts index 4c2062414ab..334fa2c27e1 100644 --- a/packages/jsts/src/rules/S6571/meta.ts +++ b/packages/jsts/src/rules/S6571/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Type constituents of unions and intersections should not be redundant', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6571/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S6571'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-redundant-type-constituents'; diff --git a/packages/jsts/src/rules/S6572/generated-meta.ts b/packages/jsts/src/rules/S6572/generated-meta.ts new file mode 100644 index 00000000000..e33d2214899 --- /dev/null +++ b/packages/jsts/src/rules/S6572/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Enum member values should be either all initialized or none', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6572/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6572'; diff --git a/packages/jsts/src/rules/S6572/meta.ts b/packages/jsts/src/rules/S6572/meta.ts index e33d2214899..8d1aa1bad65 100644 --- a/packages/jsts/src/rules/S6572/meta.ts +++ b/packages/jsts/src/rules/S6572/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Enum member values should be either all initialized or none', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6572/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6572'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'prefer-enum-initializers'; diff --git a/packages/jsts/src/rules/S6572/rule.ts b/packages/jsts/src/rules/S6572/rule.ts index 8e8cfdbbea6..4da703bbea1 100644 --- a/packages/jsts/src/rules/S6572/rule.ts +++ b/packages/jsts/src/rules/S6572/rule.ts @@ -24,7 +24,7 @@ import type { Rule } from 'eslint'; import { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isNumberLiteral } from '../helpers/index.js'; import { meta } from './meta.js'; -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; const baseRuleModule = tsEslintRules['prefer-enum-initializers']; // The core implementation of this rule reports all enums for which there is a member value that is diff --git a/packages/jsts/src/rules/S6578/generated-meta.ts b/packages/jsts/src/rules/S6578/generated-meta.ts new file mode 100644 index 00000000000..6e1d9205dca --- /dev/null +++ b/packages/jsts/src/rules/S6578/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Enum values should be unique', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6578/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6578'; diff --git a/packages/jsts/src/rules/S6578/index.ts b/packages/jsts/src/rules/S6578/index.ts new file mode 100644 index 00000000000..878c691b03e --- /dev/null +++ b/packages/jsts/src/rules/S6578/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['no-duplicate-enum-values']; diff --git a/packages/jsts/src/rules/S6578/meta.ts b/packages/jsts/src/rules/S6578/meta.ts new file mode 100644 index 00000000000..113346229d0 --- /dev/null +++ b/packages/jsts/src/rules/S6578/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-duplicate-enum-values'; diff --git a/packages/jsts/src/rules/S6582/generated-meta.ts b/packages/jsts/src/rules/S6582/generated-meta.ts new file mode 100644 index 00000000000..2b5d4db0bd5 --- /dev/null +++ b/packages/jsts/src/rules/S6582/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Optional chaining should be preferred', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6582/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6582'; diff --git a/packages/jsts/src/rules/S6582/meta.ts b/packages/jsts/src/rules/S6582/meta.ts index 2b5d4db0bd5..694ed79d2e7 100644 --- a/packages/jsts/src/rules/S6582/meta.ts +++ b/packages/jsts/src/rules/S6582/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Optional chaining should be preferred', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6582/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6582'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'prefer-optional-chain'; diff --git a/packages/jsts/src/rules/S6582/rule.ts b/packages/jsts/src/rules/S6582/rule.ts index c9bcc4d149e..aeb75691945 100644 --- a/packages/jsts/src/rules/S6582/rule.ts +++ b/packages/jsts/src/rules/S6582/rule.ts @@ -20,7 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S6582/javascript import type { Rule } from 'eslint'; -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { generateMeta } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S6583/generated-meta.ts b/packages/jsts/src/rules/S6583/generated-meta.ts new file mode 100644 index 00000000000..2d2f91c1044 --- /dev/null +++ b/packages/jsts/src/rules/S6583/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Enum members should not mix value types', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6583/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S6583'; diff --git a/packages/jsts/src/rules/S6583/index.ts b/packages/jsts/src/rules/S6583/index.ts new file mode 100644 index 00000000000..585e1a9884a --- /dev/null +++ b/packages/jsts/src/rules/S6583/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['no-mixed-enums']; diff --git a/packages/jsts/src/rules/S6583/meta.ts b/packages/jsts/src/rules/S6583/meta.ts new file mode 100644 index 00000000000..c05ff7a61ff --- /dev/null +++ b/packages/jsts/src/rules/S6583/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-mixed-enums'; diff --git a/packages/jsts/src/rules/S6590/generated-meta.ts b/packages/jsts/src/rules/S6590/generated-meta.ts new file mode 100644 index 00000000000..9712c02f744 --- /dev/null +++ b/packages/jsts/src/rules/S6590/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"as const" assertions should be preferred', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6590/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6590'; diff --git a/packages/jsts/src/rules/S6590/index.ts b/packages/jsts/src/rules/S6590/index.ts new file mode 100644 index 00000000000..af9d67135e1 --- /dev/null +++ b/packages/jsts/src/rules/S6590/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['prefer-as-const']; diff --git a/packages/jsts/src/rules/S6590/meta.ts b/packages/jsts/src/rules/S6590/meta.ts new file mode 100644 index 00000000000..a6c8b3bc769 --- /dev/null +++ b/packages/jsts/src/rules/S6590/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'prefer-as-const'; diff --git a/packages/jsts/src/rules/S6594/generated-meta.ts b/packages/jsts/src/rules/S6594/generated-meta.ts new file mode 100644 index 00000000000..f3ae1a32581 --- /dev/null +++ b/packages/jsts/src/rules/S6594/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"RegExp.exec()" should be preferred over "String.match()"', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6594/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6594'; diff --git a/packages/jsts/src/rules/S6594/meta.ts b/packages/jsts/src/rules/S6594/meta.ts index f3ae1a32581..10aafbce30f 100644 --- a/packages/jsts/src/rules/S6594/meta.ts +++ b/packages/jsts/src/rules/S6594/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"RegExp.exec()" should be preferred over "String.match()"', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6594/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6594'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'prefer-regexp-exec'; diff --git a/packages/jsts/src/rules/S6598/generated-meta.ts b/packages/jsts/src/rules/S6598/generated-meta.ts new file mode 100644 index 00000000000..fee2b13222f --- /dev/null +++ b/packages/jsts/src/rules/S6598/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Function types should be preferred', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6598/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6598'; diff --git a/packages/jsts/src/rules/S6598/index.ts b/packages/jsts/src/rules/S6598/index.ts index a101fde6b4b..f058869e085 100644 --- a/packages/jsts/src/rules/S6598/index.ts +++ b/packages/jsts/src/rules/S6598/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['prefer-function-type']); diff --git a/packages/jsts/src/rules/S6598/meta.ts b/packages/jsts/src/rules/S6598/meta.ts index fee2b13222f..0fe8a6732e9 100644 --- a/packages/jsts/src/rules/S6598/meta.ts +++ b/packages/jsts/src/rules/S6598/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Function types should be preferred', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6598/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6598'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'prefer-function-type'; diff --git a/packages/jsts/src/rules/S6606/generated-meta.ts b/packages/jsts/src/rules/S6606/generated-meta.ts new file mode 100644 index 00000000000..1db3f857fc9 --- /dev/null +++ b/packages/jsts/src/rules/S6606/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Nullish coalescing should be preferred', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6606/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6606'; diff --git a/packages/jsts/src/rules/S6606/meta.ts b/packages/jsts/src/rules/S6606/meta.ts index 1db3f857fc9..19dfa77a4a0 100644 --- a/packages/jsts/src/rules/S6606/meta.ts +++ b/packages/jsts/src/rules/S6606/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Nullish coalescing should be preferred', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6606/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6606'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'prefer-nullish-coalescing'; diff --git a/packages/jsts/src/rules/S6606/rule.ts b/packages/jsts/src/rules/S6606/rule.ts index ce467ca7f53..0b5ab15b1b8 100644 --- a/packages/jsts/src/rules/S6606/rule.ts +++ b/packages/jsts/src/rules/S6606/rule.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { type Rule } from 'eslint'; import { generateMeta, diff --git a/packages/jsts/src/rules/S6627/generated-meta.ts b/packages/jsts/src/rules/S6627/generated-meta.ts new file mode 100644 index 00000000000..2801b1a9d6c --- /dev/null +++ b/packages/jsts/src/rules/S6627/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Users should not use internal APIs', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6627/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6627'; diff --git a/packages/jsts/src/rules/S6627/meta.ts b/packages/jsts/src/rules/S6627/meta.ts index 2801b1a9d6c..a14687c042c 100644 --- a/packages/jsts/src/rules/S6627/meta.ts +++ b/packages/jsts/src/rules/S6627/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Users should not use internal APIs', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6627/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6627'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-internal-api-use'; diff --git a/packages/jsts/src/rules/S6635/generated-meta.ts b/packages/jsts/src/rules/S6635/generated-meta.ts new file mode 100644 index 00000000000..dfbaddc57f2 --- /dev/null +++ b/packages/jsts/src/rules/S6635/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Constructors should not return values', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6635/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6635'; diff --git a/packages/jsts/src/rules/S6635/index.ts b/packages/jsts/src/rules/S6635/index.ts new file mode 100644 index 00000000000..aca53b7794a --- /dev/null +++ b/packages/jsts/src/rules/S6635/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-constructor-return'); diff --git a/packages/jsts/src/rules/S6635/meta.ts b/packages/jsts/src/rules/S6635/meta.ts new file mode 100644 index 00000000000..9d03011f141 --- /dev/null +++ b/packages/jsts/src/rules/S6635/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-constructor-return'; diff --git a/packages/jsts/src/rules/S6637/generated-meta.ts b/packages/jsts/src/rules/S6637/generated-meta.ts new file mode 100644 index 00000000000..97eacc82b11 --- /dev/null +++ b/packages/jsts/src/rules/S6637/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Unnecessary calls to ".bind()" should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6637/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6637'; diff --git a/packages/jsts/src/rules/S6637/index.ts b/packages/jsts/src/rules/S6637/index.ts new file mode 100644 index 00000000000..bbe4d070963 --- /dev/null +++ b/packages/jsts/src/rules/S6637/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-extra-bind'); diff --git a/packages/jsts/src/rules/S6637/meta.ts b/packages/jsts/src/rules/S6637/meta.ts new file mode 100644 index 00000000000..c8231adcb77 --- /dev/null +++ b/packages/jsts/src/rules/S6637/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-extra-bind'; diff --git a/packages/jsts/src/rules/S6638/generated-meta.ts b/packages/jsts/src/rules/S6638/generated-meta.ts new file mode 100644 index 00000000000..0f0a972ad68 --- /dev/null +++ b/packages/jsts/src/rules/S6638/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Binary expressions should not always return the same value', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6638/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6638'; diff --git a/packages/jsts/src/rules/S6638/index.ts b/packages/jsts/src/rules/S6638/index.ts new file mode 100644 index 00000000000..8e551bfc5f2 --- /dev/null +++ b/packages/jsts/src/rules/S6638/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-constant-binary-expression'); diff --git a/packages/jsts/src/rules/S6638/meta.ts b/packages/jsts/src/rules/S6638/meta.ts new file mode 100644 index 00000000000..028ea4fe8e1 --- /dev/null +++ b/packages/jsts/src/rules/S6638/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-constant-binary-expression'; diff --git a/packages/jsts/src/rules/S6643/generated-meta.ts b/packages/jsts/src/rules/S6643/generated-meta.ts new file mode 100644 index 00000000000..0058097808c --- /dev/null +++ b/packages/jsts/src/rules/S6643/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Prototypes of builtin objects should not be modified', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6643/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6643'; diff --git a/packages/jsts/src/rules/S6643/index.ts b/packages/jsts/src/rules/S6643/index.ts index 87269c443dd..8023f47b23c 100644 --- a/packages/jsts/src/rules/S6643/index.ts +++ b/packages/jsts/src/rules/S6643/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; -export const rule = decorate(eslintRules['no-extend-native']); +export const rule = decorate(getESLintCoreRule('no-extend-native')); diff --git a/packages/jsts/src/rules/S6643/meta.ts b/packages/jsts/src/rules/S6643/meta.ts index 0058097808c..9b3b392b733 100644 --- a/packages/jsts/src/rules/S6643/meta.ts +++ b/packages/jsts/src/rules/S6643/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Prototypes of builtin objects should not be modified', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6643/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6643'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-extend-native'; diff --git a/packages/jsts/src/rules/S6644/generated-meta.ts b/packages/jsts/src/rules/S6644/generated-meta.ts new file mode 100644 index 00000000000..89c219ef0d6 --- /dev/null +++ b/packages/jsts/src/rules/S6644/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Ternary operator should not be used instead of simpler alternatives', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6644/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6644'; diff --git a/packages/jsts/src/rules/S6644/index.ts b/packages/jsts/src/rules/S6644/index.ts new file mode 100644 index 00000000000..ecf69a17dd1 --- /dev/null +++ b/packages/jsts/src/rules/S6644/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-unneeded-ternary'); diff --git a/packages/jsts/src/rules/S6644/meta.ts b/packages/jsts/src/rules/S6644/meta.ts new file mode 100644 index 00000000000..00cf2bec75a --- /dev/null +++ b/packages/jsts/src/rules/S6644/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-unneeded-ternary'; diff --git a/packages/jsts/src/rules/S6645/generated-meta.ts b/packages/jsts/src/rules/S6645/generated-meta.ts new file mode 100644 index 00000000000..7837fcd74da --- /dev/null +++ b/packages/jsts/src/rules/S6645/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Variables should not be initialized to undefined', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6645/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6645'; diff --git a/packages/jsts/src/rules/S6645/index.ts b/packages/jsts/src/rules/S6645/index.ts new file mode 100644 index 00000000000..61c86265544 --- /dev/null +++ b/packages/jsts/src/rules/S6645/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-undef-init'); diff --git a/packages/jsts/src/rules/S6645/meta.ts b/packages/jsts/src/rules/S6645/meta.ts new file mode 100644 index 00000000000..9d448fb688e --- /dev/null +++ b/packages/jsts/src/rules/S6645/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-undef-init'; diff --git a/packages/jsts/src/rules/S6647/generated-meta.ts b/packages/jsts/src/rules/S6647/generated-meta.ts new file mode 100644 index 00000000000..38ee7e2a263 --- /dev/null +++ b/packages/jsts/src/rules/S6647/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Unnecessary constructors should be removed', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6647/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6647'; diff --git a/packages/jsts/src/rules/S6647/meta.ts b/packages/jsts/src/rules/S6647/meta.ts index 38ee7e2a263..0d71cc758db 100644 --- a/packages/jsts/src/rules/S6647/meta.ts +++ b/packages/jsts/src/rules/S6647/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Unnecessary constructors should be removed', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6647/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6647'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-useless-constructor'; diff --git a/packages/jsts/src/rules/S6647/rule.ts b/packages/jsts/src/rules/S6647/rule.ts index 609951b518c..5d986e6bacb 100644 --- a/packages/jsts/src/rules/S6647/rule.ts +++ b/packages/jsts/src/rules/S6647/rule.ts @@ -19,7 +19,7 @@ */ import type { TSESTree } from '@typescript-eslint/utils'; import type { Rule } from 'eslint'; -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; import { getVariableFromName } from '../helpers/index.js'; import type estree from 'estree'; @@ -96,7 +96,7 @@ function checkInheritance(node: TSESTree.MethodDefinition, context: Rule.RuleCon return true; } -const eslintNoUselessConstructor = eslintRules['no-useless-constructor']; +const eslintNoUselessConstructor = getESLintCoreRule('no-useless-constructor'); const originalRule: Rule.RuleModule = { meta: eslintNoUselessConstructor.meta, diff --git a/packages/jsts/src/rules/S6650/generated-meta.ts b/packages/jsts/src/rules/S6650/generated-meta.ts new file mode 100644 index 00000000000..ffde3814e70 --- /dev/null +++ b/packages/jsts/src/rules/S6650/generated-meta.ts @@ -0,0 +1,35 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: + 'Renaming import, export, and destructuring assignments should not be to the same name', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6650/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6650'; diff --git a/packages/jsts/src/rules/S6650/index.ts b/packages/jsts/src/rules/S6650/index.ts new file mode 100644 index 00000000000..24379a64142 --- /dev/null +++ b/packages/jsts/src/rules/S6650/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-useless-rename'); diff --git a/packages/jsts/src/rules/S6650/meta.ts b/packages/jsts/src/rules/S6650/meta.ts new file mode 100644 index 00000000000..2997ec71920 --- /dev/null +++ b/packages/jsts/src/rules/S6650/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-useless-rename'; diff --git a/packages/jsts/src/rules/S6653/generated-meta.ts b/packages/jsts/src/rules/S6653/generated-meta.ts new file mode 100644 index 00000000000..98f5cf19c66 --- /dev/null +++ b/packages/jsts/src/rules/S6653/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Use Object.hasOwn static method instead of hasOwnProperty', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6653/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6653'; diff --git a/packages/jsts/src/rules/S6653/index.ts b/packages/jsts/src/rules/S6653/index.ts new file mode 100644 index 00000000000..3107c69da07 --- /dev/null +++ b/packages/jsts/src/rules/S6653/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('prefer-object-has-own'); diff --git a/packages/jsts/src/rules/S6653/meta.ts b/packages/jsts/src/rules/S6653/meta.ts new file mode 100644 index 00000000000..11be76f6761 --- /dev/null +++ b/packages/jsts/src/rules/S6653/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'prefer-object-has-own'; diff --git a/packages/jsts/src/rules/S6654/generated-meta.ts b/packages/jsts/src/rules/S6654/generated-meta.ts new file mode 100644 index 00000000000..ce3e2e7ad3a --- /dev/null +++ b/packages/jsts/src/rules/S6654/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '__proto__ property should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6654/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6654'; diff --git a/packages/jsts/src/rules/S6654/index.ts b/packages/jsts/src/rules/S6654/index.ts new file mode 100644 index 00000000000..8de6a9a9ca4 --- /dev/null +++ b/packages/jsts/src/rules/S6654/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-proto'); diff --git a/packages/jsts/src/rules/S6654/meta.ts b/packages/jsts/src/rules/S6654/meta.ts new file mode 100644 index 00000000000..7b6f03cfe87 --- /dev/null +++ b/packages/jsts/src/rules/S6654/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-proto'; diff --git a/packages/jsts/src/rules/S6657/generated-meta.ts b/packages/jsts/src/rules/S6657/generated-meta.ts new file mode 100644 index 00000000000..76c93db2352 --- /dev/null +++ b/packages/jsts/src/rules/S6657/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Octal escape sequences should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6657/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6657'; diff --git a/packages/jsts/src/rules/S6657/index.ts b/packages/jsts/src/rules/S6657/index.ts new file mode 100644 index 00000000000..6b8f50cd14e --- /dev/null +++ b/packages/jsts/src/rules/S6657/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-octal-escape'); diff --git a/packages/jsts/src/rules/S6657/meta.ts b/packages/jsts/src/rules/S6657/meta.ts new file mode 100644 index 00000000000..bb978afa371 --- /dev/null +++ b/packages/jsts/src/rules/S6657/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-octal-escape'; diff --git a/packages/jsts/src/rules/S6660/generated-meta.ts b/packages/jsts/src/rules/S6660/generated-meta.ts new file mode 100644 index 00000000000..1e2269239d6 --- /dev/null +++ b/packages/jsts/src/rules/S6660/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'If statements should not be the only statement in else blocks', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6660/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6660'; diff --git a/packages/jsts/src/rules/S6660/index.ts b/packages/jsts/src/rules/S6660/index.ts index fd66255b157..8f820edcc88 100644 --- a/packages/jsts/src/rules/S6660/index.ts +++ b/packages/jsts/src/rules/S6660/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; -export const rule = decorate(eslintRules['no-lonely-if']); +export const rule = decorate(getESLintCoreRule('no-lonely-if')); diff --git a/packages/jsts/src/rules/S6660/meta.ts b/packages/jsts/src/rules/S6660/meta.ts index 1e2269239d6..269a860b0d3 100644 --- a/packages/jsts/src/rules/S6660/meta.ts +++ b/packages/jsts/src/rules/S6660/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'If statements should not be the only statement in else blocks', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6660/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6660'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-lonely-if'; diff --git a/packages/jsts/src/rules/S6661/generated-meta.ts b/packages/jsts/src/rules/S6661/generated-meta.ts new file mode 100644 index 00000000000..aef8d5096dc --- /dev/null +++ b/packages/jsts/src/rules/S6661/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Object spread syntax should be used instead of "Object.assign"', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6661/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6661'; diff --git a/packages/jsts/src/rules/S6661/index.ts b/packages/jsts/src/rules/S6661/index.ts index ddab021818f..2bc0e096c09 100644 --- a/packages/jsts/src/rules/S6661/index.ts +++ b/packages/jsts/src/rules/S6661/index.ts @@ -18,12 +18,12 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import type { Rule } from 'eslint'; -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; import { dirname } from 'path/posix'; import { toUnixPath, isSupported } from '../helpers/index.js'; -const decorated = decorate(eslintRules['prefer-object-spread']); +const decorated = decorate(getESLintCoreRule('prefer-object-spread')); export const rule: Rule.RuleModule = { meta: decorated.meta, diff --git a/packages/jsts/src/rules/S6661/meta.ts b/packages/jsts/src/rules/S6661/meta.ts index aef8d5096dc..9bdf3afd38a 100644 --- a/packages/jsts/src/rules/S6661/meta.ts +++ b/packages/jsts/src/rules/S6661/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Object spread syntax should be used instead of "Object.assign"', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6661/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6661'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'prefer-object-spread'; diff --git a/packages/jsts/src/rules/S6666/generated-meta.ts b/packages/jsts/src/rules/S6666/generated-meta.ts new file mode 100644 index 00000000000..4b7954fa9e5 --- /dev/null +++ b/packages/jsts/src/rules/S6666/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Spread syntax should be used instead of "apply()"', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6666/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6666'; diff --git a/packages/jsts/src/rules/S6666/index.ts b/packages/jsts/src/rules/S6666/index.ts index ac8993ed84d..977f3b89bc8 100644 --- a/packages/jsts/src/rules/S6666/index.ts +++ b/packages/jsts/src/rules/S6666/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; -export const rule = decorate(eslintRules['prefer-spread']); +export const rule = decorate(getESLintCoreRule('prefer-spread')); diff --git a/packages/jsts/src/rules/S6666/meta.ts b/packages/jsts/src/rules/S6666/meta.ts index 4b7954fa9e5..a29a0292fe5 100644 --- a/packages/jsts/src/rules/S6666/meta.ts +++ b/packages/jsts/src/rules/S6666/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Spread syntax should be used instead of "apply()"', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6666/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6666'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'prefer-spread'; diff --git a/packages/jsts/src/rules/S6671/generated-meta.ts b/packages/jsts/src/rules/S6671/generated-meta.ts new file mode 100644 index 00000000000..7cb181560dc --- /dev/null +++ b/packages/jsts/src/rules/S6671/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Literals should not be used for promise rejection', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6671/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6671'; diff --git a/packages/jsts/src/rules/S6671/index.ts b/packages/jsts/src/rules/S6671/index.ts new file mode 100644 index 00000000000..7708cb1553d --- /dev/null +++ b/packages/jsts/src/rules/S6671/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../typescript-eslint/index.js'; +export const rule = rules['prefer-promise-reject-errors']; diff --git a/packages/jsts/src/rules/S6671/meta.ts b/packages/jsts/src/rules/S6671/meta.ts new file mode 100644 index 00000000000..2bfd51e6868 --- /dev/null +++ b/packages/jsts/src/rules/S6671/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'prefer-promise-reject-errors'; diff --git a/packages/jsts/src/rules/S6676/generated-meta.ts b/packages/jsts/src/rules/S6676/generated-meta.ts new file mode 100644 index 00000000000..8799cbd04ea --- /dev/null +++ b/packages/jsts/src/rules/S6676/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Calls to ".call()" and ".apply()" methods should not be redundant', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6676/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6676'; diff --git a/packages/jsts/src/rules/S6676/index.ts b/packages/jsts/src/rules/S6676/index.ts index 423610df682..2b5f887ade3 100644 --- a/packages/jsts/src/rules/S6676/index.ts +++ b/packages/jsts/src/rules/S6676/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; -export const rule = decorate(eslintRules['no-useless-call']); +export const rule = decorate(getESLintCoreRule('no-useless-call')); diff --git a/packages/jsts/src/rules/S6676/meta.ts b/packages/jsts/src/rules/S6676/meta.ts index 8799cbd04ea..db92b521aff 100644 --- a/packages/jsts/src/rules/S6676/meta.ts +++ b/packages/jsts/src/rules/S6676/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Calls to ".call()" and ".apply()" methods should not be redundant', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6676/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6676'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-useless-call'; diff --git a/packages/jsts/src/rules/S6679/generated-meta.ts b/packages/jsts/src/rules/S6679/generated-meta.ts new file mode 100644 index 00000000000..56910d6d636 --- /dev/null +++ b/packages/jsts/src/rules/S6679/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"Number.isNaN()" should be used to check for "NaN" value', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6679/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6679'; diff --git a/packages/jsts/src/rules/S6679/index.ts b/packages/jsts/src/rules/S6679/index.ts index 50c8333be6b..1dda311fa61 100644 --- a/packages/jsts/src/rules/S6679/index.ts +++ b/packages/jsts/src/rules/S6679/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { eslintRules } from '../core/index.js'; +import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; -export const rule = decorate(eslintRules['no-self-compare']); +export const rule = decorate(getESLintCoreRule('no-self-compare')); diff --git a/packages/jsts/src/rules/S6679/meta.ts b/packages/jsts/src/rules/S6679/meta.ts index 56910d6d636..a3e92078884 100644 --- a/packages/jsts/src/rules/S6679/meta.ts +++ b/packages/jsts/src/rules/S6679/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: '"Number.isNaN()" should be used to check for "NaN" value', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6679/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6679'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-self-compare'; diff --git a/packages/jsts/src/rules/S6746/generated-meta.ts b/packages/jsts/src/rules/S6746/generated-meta.ts new file mode 100644 index 00000000000..f1bab21bd5f --- /dev/null +++ b/packages/jsts/src/rules/S6746/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'In React "this.state" should not be mutated directly', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6746/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6746'; diff --git a/packages/jsts/src/rules/S6746/index.ts b/packages/jsts/src/rules/S6746/index.ts new file mode 100644 index 00000000000..1c503b8d234 --- /dev/null +++ b/packages/jsts/src/rules/S6746/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['no-direct-mutation-state']; diff --git a/packages/jsts/src/rules/S6746/meta.ts b/packages/jsts/src/rules/S6746/meta.ts new file mode 100644 index 00000000000..54779dc3c77 --- /dev/null +++ b/packages/jsts/src/rules/S6746/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-direct-mutation-state'; diff --git a/packages/jsts/src/rules/S6747/generated-meta.ts b/packages/jsts/src/rules/S6747/generated-meta.ts new file mode 100644 index 00000000000..abdbbf3acb6 --- /dev/null +++ b/packages/jsts/src/rules/S6747/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'JSX elements should not use unknown properties and attributes', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6747/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6747'; diff --git a/packages/jsts/src/rules/S6747/meta.ts b/packages/jsts/src/rules/S6747/meta.ts index abdbbf3acb6..b8f635a2390 100644 --- a/packages/jsts/src/rules/S6747/meta.ts +++ b/packages/jsts/src/rules/S6747/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'JSX elements should not use unknown properties and attributes', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6747/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6747'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-unknown-property'; diff --git a/packages/jsts/src/rules/S6748/generated-meta.ts b/packages/jsts/src/rules/S6748/generated-meta.ts new file mode 100644 index 00000000000..fa99e856b44 --- /dev/null +++ b/packages/jsts/src/rules/S6748/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'React "children" should not be passed as prop', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6748/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6748'; diff --git a/packages/jsts/src/rules/S6748/index.ts b/packages/jsts/src/rules/S6748/index.ts new file mode 100644 index 00000000000..af88821ac76 --- /dev/null +++ b/packages/jsts/src/rules/S6748/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['no-children-prop']; diff --git a/packages/jsts/src/rules/S6748/meta.ts b/packages/jsts/src/rules/S6748/meta.ts new file mode 100644 index 00000000000..abe5ce57f8f --- /dev/null +++ b/packages/jsts/src/rules/S6748/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-children-prop'; diff --git a/packages/jsts/src/rules/S6749/generated-meta.ts b/packages/jsts/src/rules/S6749/generated-meta.ts new file mode 100644 index 00000000000..a1f51bfaef7 --- /dev/null +++ b/packages/jsts/src/rules/S6749/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Redundant React fragments should be removed', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6749/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6749'; diff --git a/packages/jsts/src/rules/S6749/meta.ts b/packages/jsts/src/rules/S6749/meta.ts index a1f51bfaef7..53e8b691996 100644 --- a/packages/jsts/src/rules/S6749/meta.ts +++ b/packages/jsts/src/rules/S6749/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Redundant React fragments should be removed', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6749/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6749'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'jsx-no-useless-fragment'; diff --git a/packages/jsts/src/rules/S6750/generated-meta.ts b/packages/jsts/src/rules/S6750/generated-meta.ts new file mode 100644 index 00000000000..2f0ec4ad457 --- /dev/null +++ b/packages/jsts/src/rules/S6750/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'The return value of "ReactDOM.render" should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6750/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6750'; diff --git a/packages/jsts/src/rules/S6750/index.ts b/packages/jsts/src/rules/S6750/index.ts new file mode 100644 index 00000000000..52c7f7eb0bb --- /dev/null +++ b/packages/jsts/src/rules/S6750/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['no-render-return-value']; diff --git a/packages/jsts/src/rules/S6750/meta.ts b/packages/jsts/src/rules/S6750/meta.ts new file mode 100644 index 00000000000..5a328f88ba7 --- /dev/null +++ b/packages/jsts/src/rules/S6750/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-render-return-value'; diff --git a/packages/jsts/src/rules/S6754/generated-meta.ts b/packages/jsts/src/rules/S6754/generated-meta.ts new file mode 100644 index 00000000000..0f449da9693 --- /dev/null +++ b/packages/jsts/src/rules/S6754/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'The return value of "useState" should be destructured and named symmetrically', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6754/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6754'; diff --git a/packages/jsts/src/rules/S6754/meta.ts b/packages/jsts/src/rules/S6754/meta.ts index 0f449da9693..37077becc78 100644 --- a/packages/jsts/src/rules/S6754/meta.ts +++ b/packages/jsts/src/rules/S6754/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'The return value of "useState" should be destructured and named symmetrically', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6754/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6754'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'hook-use-state'; diff --git a/packages/jsts/src/rules/S6756/generated-meta.ts b/packages/jsts/src/rules/S6756/generated-meta.ts new file mode 100644 index 00000000000..449982808ff --- /dev/null +++ b/packages/jsts/src/rules/S6756/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"setState" should use a callback when referencing the previous state', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6756/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6756'; diff --git a/packages/jsts/src/rules/S6756/index.ts b/packages/jsts/src/rules/S6756/index.ts new file mode 100644 index 00000000000..a3094c2371e --- /dev/null +++ b/packages/jsts/src/rules/S6756/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['no-access-state-in-setstate']; diff --git a/packages/jsts/src/rules/S6756/meta.ts b/packages/jsts/src/rules/S6756/meta.ts new file mode 100644 index 00000000000..4e2c1d22a6e --- /dev/null +++ b/packages/jsts/src/rules/S6756/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-access-state-in-setstate'; diff --git a/packages/jsts/src/rules/S6757/generated-meta.ts b/packages/jsts/src/rules/S6757/generated-meta.ts new file mode 100644 index 00000000000..a8ea00b3214 --- /dev/null +++ b/packages/jsts/src/rules/S6757/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"this" should not be used in functional components', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6757/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6757'; diff --git a/packages/jsts/src/rules/S6757/index.ts b/packages/jsts/src/rules/S6757/index.ts new file mode 100644 index 00000000000..946142cacf1 --- /dev/null +++ b/packages/jsts/src/rules/S6757/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['no-this-in-sfc']; diff --git a/packages/jsts/src/rules/S6757/meta.ts b/packages/jsts/src/rules/S6757/meta.ts new file mode 100644 index 00000000000..5e2be56c94b --- /dev/null +++ b/packages/jsts/src/rules/S6757/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-this-in-sfc'; diff --git a/packages/jsts/src/rules/S6759/generated-meta.ts b/packages/jsts/src/rules/S6759/generated-meta.ts new file mode 100644 index 00000000000..be17b9a8310 --- /dev/null +++ b/packages/jsts/src/rules/S6759/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'React props should be read-only', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6759/javascript', + requiresTypeChecking: true, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6759'; diff --git a/packages/jsts/src/rules/S6759/meta.ts b/packages/jsts/src/rules/S6759/meta.ts index be17b9a8310..ed5b53d1568 100644 --- a/packages/jsts/src/rules/S6759/meta.ts +++ b/packages/jsts/src/rules/S6759/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'React props should be read-only', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6759/javascript', - requiresTypeChecking: true, - }, - fixable: 'code', -}; - -export const sonarKey = 'S6759'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'prefer-read-only-props'; diff --git a/packages/jsts/src/rules/S6761/generated-meta.ts b/packages/jsts/src/rules/S6761/generated-meta.ts new file mode 100644 index 00000000000..a87abfe4377 --- /dev/null +++ b/packages/jsts/src/rules/S6761/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"children" and "dangerouslySetInnerHTML" should not be used together', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6761/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6761'; diff --git a/packages/jsts/src/rules/S6761/index.ts b/packages/jsts/src/rules/S6761/index.ts new file mode 100644 index 00000000000..cc9e311c4c7 --- /dev/null +++ b/packages/jsts/src/rules/S6761/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['no-danger-with-children']; diff --git a/packages/jsts/src/rules/S6761/meta.ts b/packages/jsts/src/rules/S6761/meta.ts new file mode 100644 index 00000000000..bef1109fb70 --- /dev/null +++ b/packages/jsts/src/rules/S6761/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-danger-with-children'; diff --git a/packages/jsts/src/rules/S6763/generated-meta.ts b/packages/jsts/src/rules/S6763/generated-meta.ts new file mode 100644 index 00000000000..d93bfde5ed4 --- /dev/null +++ b/packages/jsts/src/rules/S6763/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: + '"shouldComponentUpdate" should not be defined when extending "React.PureComponent"', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6763/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6763'; diff --git a/packages/jsts/src/rules/S6763/index.ts b/packages/jsts/src/rules/S6763/index.ts new file mode 100644 index 00000000000..dcfd67867cd --- /dev/null +++ b/packages/jsts/src/rules/S6763/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['no-redundant-should-component-update']; diff --git a/packages/jsts/src/rules/S6763/meta.ts b/packages/jsts/src/rules/S6763/meta.ts new file mode 100644 index 00000000000..513bd9e90ee --- /dev/null +++ b/packages/jsts/src/rules/S6763/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-redundant-should-component-update'; diff --git a/packages/jsts/src/rules/S6766/generated-meta.ts b/packages/jsts/src/rules/S6766/generated-meta.ts new file mode 100644 index 00000000000..df889c63734 --- /dev/null +++ b/packages/jsts/src/rules/S6766/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'JSX special characters should be escaped', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6766/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6766'; diff --git a/packages/jsts/src/rules/S6766/index.ts b/packages/jsts/src/rules/S6766/index.ts new file mode 100644 index 00000000000..1852fb7b0c1 --- /dev/null +++ b/packages/jsts/src/rules/S6766/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['no-unescaped-entities']; diff --git a/packages/jsts/src/rules/S6766/meta.ts b/packages/jsts/src/rules/S6766/meta.ts new file mode 100644 index 00000000000..c33525463b6 --- /dev/null +++ b/packages/jsts/src/rules/S6766/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-unescaped-entities'; diff --git a/packages/jsts/src/rules/S6767/generated-meta.ts b/packages/jsts/src/rules/S6767/generated-meta.ts new file mode 100644 index 00000000000..7b630e0ceaa --- /dev/null +++ b/packages/jsts/src/rules/S6767/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Unused React typed props should be removed', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6767/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6767'; diff --git a/packages/jsts/src/rules/S6767/index.ts b/packages/jsts/src/rules/S6767/index.ts new file mode 100644 index 00000000000..118f5b2c898 --- /dev/null +++ b/packages/jsts/src/rules/S6767/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['no-unused-prop-types']; diff --git a/packages/jsts/src/rules/S6767/meta.ts b/packages/jsts/src/rules/S6767/meta.ts new file mode 100644 index 00000000000..5ae83ee695e --- /dev/null +++ b/packages/jsts/src/rules/S6767/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-unused-prop-types'; diff --git a/packages/jsts/src/rules/S6770/generated-meta.ts b/packages/jsts/src/rules/S6770/generated-meta.ts new file mode 100644 index 00000000000..aa3042da305 --- /dev/null +++ b/packages/jsts/src/rules/S6770/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'User-defined JSX components should use Pascal case', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6770/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6770'; diff --git a/packages/jsts/src/rules/S6770/index.ts b/packages/jsts/src/rules/S6770/index.ts new file mode 100644 index 00000000000..c991ee9dd28 --- /dev/null +++ b/packages/jsts/src/rules/S6770/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['jsx-pascal-case']; diff --git a/packages/jsts/src/rules/S6770/meta.ts b/packages/jsts/src/rules/S6770/meta.ts new file mode 100644 index 00000000000..dd6c16277d8 --- /dev/null +++ b/packages/jsts/src/rules/S6770/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'jsx-pascal-case'; diff --git a/packages/jsts/src/rules/S6772/generated-meta.ts b/packages/jsts/src/rules/S6772/generated-meta.ts new file mode 100644 index 00000000000..a693b9d8b3b --- /dev/null +++ b/packages/jsts/src/rules/S6772/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Spacing between inline elements should be explicit', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6772/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6772'; diff --git a/packages/jsts/src/rules/S6772/index.ts b/packages/jsts/src/rules/S6772/index.ts new file mode 100644 index 00000000000..01f0b99a0ff --- /dev/null +++ b/packages/jsts/src/rules/S6772/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['jsx-child-element-spacing']; diff --git a/packages/jsts/src/rules/S6772/meta.ts b/packages/jsts/src/rules/S6772/meta.ts new file mode 100644 index 00000000000..9ddbf211671 --- /dev/null +++ b/packages/jsts/src/rules/S6772/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'jsx-child-element-spacing'; diff --git a/packages/jsts/src/rules/S6774/generated-meta.ts b/packages/jsts/src/rules/S6774/generated-meta.ts new file mode 100644 index 00000000000..f53407e0e97 --- /dev/null +++ b/packages/jsts/src/rules/S6774/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'React components should validate prop types', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6774/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6774'; diff --git a/packages/jsts/src/rules/S6774/index.ts b/packages/jsts/src/rules/S6774/index.ts new file mode 100644 index 00000000000..543ef48374e --- /dev/null +++ b/packages/jsts/src/rules/S6774/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['prop-types']; diff --git a/packages/jsts/src/rules/S6774/meta.ts b/packages/jsts/src/rules/S6774/meta.ts new file mode 100644 index 00000000000..7dd2f484638 --- /dev/null +++ b/packages/jsts/src/rules/S6774/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'prop-types'; diff --git a/packages/jsts/src/rules/S6775/generated-meta.ts b/packages/jsts/src/rules/S6775/generated-meta.ts new file mode 100644 index 00000000000..e609ba94d7f --- /dev/null +++ b/packages/jsts/src/rules/S6775/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'All "defaultProps" should have non-required PropTypes', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6775/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6775'; diff --git a/packages/jsts/src/rules/S6775/index.ts b/packages/jsts/src/rules/S6775/index.ts new file mode 100644 index 00000000000..fd7e067840b --- /dev/null +++ b/packages/jsts/src/rules/S6775/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['default-props-match-prop-types']; diff --git a/packages/jsts/src/rules/S6775/meta.ts b/packages/jsts/src/rules/S6775/meta.ts new file mode 100644 index 00000000000..043508fb778 --- /dev/null +++ b/packages/jsts/src/rules/S6775/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'default-props-match-prop-types'; diff --git a/packages/jsts/src/rules/S6788/generated-meta.ts b/packages/jsts/src/rules/S6788/generated-meta.ts new file mode 100644 index 00000000000..7d2fe82fd89 --- /dev/null +++ b/packages/jsts/src/rules/S6788/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'React\'s "findDOMNode" should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6788/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6788'; diff --git a/packages/jsts/src/rules/S6788/meta.ts b/packages/jsts/src/rules/S6788/meta.ts index 7d2fe82fd89..4be119007ff 100644 --- a/packages/jsts/src/rules/S6788/meta.ts +++ b/packages/jsts/src/rules/S6788/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'React\'s "findDOMNode" should not be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6788/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6788'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-find-dom-node'; diff --git a/packages/jsts/src/rules/S6789/generated-meta.ts b/packages/jsts/src/rules/S6789/generated-meta.ts new file mode 100644 index 00000000000..3f895735fae --- /dev/null +++ b/packages/jsts/src/rules/S6789/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'React\'s "isMounted" should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6789/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6789'; diff --git a/packages/jsts/src/rules/S6789/index.ts b/packages/jsts/src/rules/S6789/index.ts new file mode 100644 index 00000000000..f704cbe7fdc --- /dev/null +++ b/packages/jsts/src/rules/S6789/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['no-is-mounted']; diff --git a/packages/jsts/src/rules/S6789/meta.ts b/packages/jsts/src/rules/S6789/meta.ts new file mode 100644 index 00000000000..26d2937d6de --- /dev/null +++ b/packages/jsts/src/rules/S6789/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-is-mounted'; diff --git a/packages/jsts/src/rules/S6790/generated-meta.ts b/packages/jsts/src/rules/S6790/generated-meta.ts new file mode 100644 index 00000000000..7891f5d73b0 --- /dev/null +++ b/packages/jsts/src/rules/S6790/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'String references should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6790/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6790'; diff --git a/packages/jsts/src/rules/S6790/index.ts b/packages/jsts/src/rules/S6790/index.ts new file mode 100644 index 00000000000..469225dac91 --- /dev/null +++ b/packages/jsts/src/rules/S6790/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/react.js'; +export const rule = rules['no-string-refs']; diff --git a/packages/jsts/src/rules/S6790/meta.ts b/packages/jsts/src/rules/S6790/meta.ts new file mode 100644 index 00000000000..4235b6c45c5 --- /dev/null +++ b/packages/jsts/src/rules/S6790/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-string-refs'; diff --git a/packages/jsts/src/rules/S6791/generated-meta.ts b/packages/jsts/src/rules/S6791/generated-meta.ts new file mode 100644 index 00000000000..5578816dffd --- /dev/null +++ b/packages/jsts/src/rules/S6791/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'React legacy lifecycle methods should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6791/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6791'; diff --git a/packages/jsts/src/rules/S6791/meta.ts b/packages/jsts/src/rules/S6791/meta.ts index 5578816dffd..00878eed929 100644 --- a/packages/jsts/src/rules/S6791/meta.ts +++ b/packages/jsts/src/rules/S6791/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'React legacy lifecycle methods should not be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6791/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6791'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-unsafe'; diff --git a/packages/jsts/src/rules/S6793/generated-meta.ts b/packages/jsts/src/rules/S6793/generated-meta.ts new file mode 100644 index 00000000000..cdded67d1dc --- /dev/null +++ b/packages/jsts/src/rules/S6793/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'ARIA properties in DOM elements should have valid values', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6793/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6793'; diff --git a/packages/jsts/src/rules/S6793/index.ts b/packages/jsts/src/rules/S6793/index.ts new file mode 100644 index 00000000000..deec9a32503 --- /dev/null +++ b/packages/jsts/src/rules/S6793/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['aria-proptypes']; diff --git a/packages/jsts/src/rules/S6793/meta.ts b/packages/jsts/src/rules/S6793/meta.ts new file mode 100644 index 00000000000..8ff2124fb15 --- /dev/null +++ b/packages/jsts/src/rules/S6793/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'aria-proptypes'; diff --git a/packages/jsts/src/rules/S6807/generated-meta.ts b/packages/jsts/src/rules/S6807/generated-meta.ts new file mode 100644 index 00000000000..f42cd221c4e --- /dev/null +++ b/packages/jsts/src/rules/S6807/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'DOM elements with ARIA roles should have the required properties', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6807/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6807'; diff --git a/packages/jsts/src/rules/S6807/index.ts b/packages/jsts/src/rules/S6807/index.ts new file mode 100644 index 00000000000..c0ee96ff7e7 --- /dev/null +++ b/packages/jsts/src/rules/S6807/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['role-has-required-aria-props']; diff --git a/packages/jsts/src/rules/S6807/meta.ts b/packages/jsts/src/rules/S6807/meta.ts new file mode 100644 index 00000000000..4187d34120a --- /dev/null +++ b/packages/jsts/src/rules/S6807/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'role-has-required-aria-props'; diff --git a/packages/jsts/src/rules/S6811/generated-meta.ts b/packages/jsts/src/rules/S6811/generated-meta.ts new file mode 100644 index 00000000000..a9cad86b88e --- /dev/null +++ b/packages/jsts/src/rules/S6811/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'DOM elements with ARIA role should only have supported properties', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6811/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6811'; diff --git a/packages/jsts/src/rules/S6811/index.ts b/packages/jsts/src/rules/S6811/index.ts new file mode 100644 index 00000000000..f411ecfb21a --- /dev/null +++ b/packages/jsts/src/rules/S6811/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['role-supports-aria-props']; diff --git a/packages/jsts/src/rules/S6811/meta.ts b/packages/jsts/src/rules/S6811/meta.ts new file mode 100644 index 00000000000..f46bcd745d3 --- /dev/null +++ b/packages/jsts/src/rules/S6811/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'role-supports-aria-props'; diff --git a/packages/jsts/src/rules/S6819/generated-meta.ts b/packages/jsts/src/rules/S6819/generated-meta.ts new file mode 100644 index 00000000000..e9c40837e9f --- /dev/null +++ b/packages/jsts/src/rules/S6819/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Prefer tag over ARIA role', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6819/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6819'; diff --git a/packages/jsts/src/rules/S6819/index.ts b/packages/jsts/src/rules/S6819/index.ts new file mode 100644 index 00000000000..6cb9ff6e6ee --- /dev/null +++ b/packages/jsts/src/rules/S6819/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['prefer-tag-over-role']; diff --git a/packages/jsts/src/rules/S6819/meta.ts b/packages/jsts/src/rules/S6819/meta.ts new file mode 100644 index 00000000000..ec9c5f60e05 --- /dev/null +++ b/packages/jsts/src/rules/S6819/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'prefer-tag-over-role'; diff --git a/packages/jsts/src/rules/S6821/generated-meta.ts b/packages/jsts/src/rules/S6821/generated-meta.ts new file mode 100644 index 00000000000..0119c3cd659 --- /dev/null +++ b/packages/jsts/src/rules/S6821/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'DOM elements with ARIA roles should have a valid non-abstract role', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6821/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6821'; diff --git a/packages/jsts/src/rules/S6821/index.ts b/packages/jsts/src/rules/S6821/index.ts new file mode 100644 index 00000000000..ca352eaed62 --- /dev/null +++ b/packages/jsts/src/rules/S6821/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['aria-role']; diff --git a/packages/jsts/src/rules/S6821/meta.ts b/packages/jsts/src/rules/S6821/meta.ts new file mode 100644 index 00000000000..0bb9062c7f0 --- /dev/null +++ b/packages/jsts/src/rules/S6821/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'aria-role'; diff --git a/packages/jsts/src/rules/S6822/generated-meta.ts b/packages/jsts/src/rules/S6822/generated-meta.ts new file mode 100644 index 00000000000..59ed6e2fdb0 --- /dev/null +++ b/packages/jsts/src/rules/S6822/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'No redundant ARIA role', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6822/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6822'; diff --git a/packages/jsts/src/rules/S6822/index.ts b/packages/jsts/src/rules/S6822/index.ts new file mode 100644 index 00000000000..63250cd6d87 --- /dev/null +++ b/packages/jsts/src/rules/S6822/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['no-redundant-roles']; diff --git a/packages/jsts/src/rules/S6822/meta.ts b/packages/jsts/src/rules/S6822/meta.ts new file mode 100644 index 00000000000..8f808d78e17 --- /dev/null +++ b/packages/jsts/src/rules/S6822/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-redundant-roles'; diff --git a/packages/jsts/src/rules/S6823/generated-meta.ts b/packages/jsts/src/rules/S6823/generated-meta.ts new file mode 100644 index 00000000000..73759e7ba69 --- /dev/null +++ b/packages/jsts/src/rules/S6823/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: + 'DOM elements with the `aria-activedescendant` property should be accessible via the tab key', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6823/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6823'; diff --git a/packages/jsts/src/rules/S6823/index.ts b/packages/jsts/src/rules/S6823/index.ts new file mode 100644 index 00000000000..7a657c5e4fa --- /dev/null +++ b/packages/jsts/src/rules/S6823/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['aria-activedescendant-has-tabindex']; diff --git a/packages/jsts/src/rules/S6823/meta.ts b/packages/jsts/src/rules/S6823/meta.ts new file mode 100644 index 00000000000..39b45cc3da6 --- /dev/null +++ b/packages/jsts/src/rules/S6823/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'aria-activedescendant-has-tabindex'; diff --git a/packages/jsts/src/rules/S6824/generated-meta.ts b/packages/jsts/src/rules/S6824/generated-meta.ts new file mode 100644 index 00000000000..08a91440b87 --- /dev/null +++ b/packages/jsts/src/rules/S6824/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'No ARIA role or property for unsupported DOM elements', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6824/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6824'; diff --git a/packages/jsts/src/rules/S6824/index.ts b/packages/jsts/src/rules/S6824/index.ts new file mode 100644 index 00000000000..0268738893d --- /dev/null +++ b/packages/jsts/src/rules/S6824/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['aria-unsupported-elements']; diff --git a/packages/jsts/src/rules/S6824/meta.ts b/packages/jsts/src/rules/S6824/meta.ts new file mode 100644 index 00000000000..1684f62ab3b --- /dev/null +++ b/packages/jsts/src/rules/S6824/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'aria-unsupported-elements'; diff --git a/packages/jsts/src/rules/S6825/generated-meta.ts b/packages/jsts/src/rules/S6825/generated-meta.ts new file mode 100644 index 00000000000..9bb9cda3b31 --- /dev/null +++ b/packages/jsts/src/rules/S6825/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Focusable elements should not have "aria-hidden" attribute', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6825/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6825'; diff --git a/packages/jsts/src/rules/S6825/index.ts b/packages/jsts/src/rules/S6825/index.ts new file mode 100644 index 00000000000..dc5d0f56312 --- /dev/null +++ b/packages/jsts/src/rules/S6825/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['no-aria-hidden-on-focusable']; diff --git a/packages/jsts/src/rules/S6825/meta.ts b/packages/jsts/src/rules/S6825/meta.ts new file mode 100644 index 00000000000..13618a8c9fe --- /dev/null +++ b/packages/jsts/src/rules/S6825/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-aria-hidden-on-focusable'; diff --git a/packages/jsts/src/rules/S6827/generated-meta.ts b/packages/jsts/src/rules/S6827/generated-meta.ts new file mode 100644 index 00000000000..3e54a0b6138 --- /dev/null +++ b/packages/jsts/src/rules/S6827/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Anchors should contain accessible content', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6827/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6827'; diff --git a/packages/jsts/src/rules/S6827/meta.ts b/packages/jsts/src/rules/S6827/meta.ts index 3e54a0b6138..07300a146da 100644 --- a/packages/jsts/src/rules/S6827/meta.ts +++ b/packages/jsts/src/rules/S6827/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Anchors should contain accessible content', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6827/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6827'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'anchor-has-content'; diff --git a/packages/jsts/src/rules/S6836/generated-meta.ts b/packages/jsts/src/rules/S6836/generated-meta.ts new file mode 100644 index 00000000000..ac9299566b7 --- /dev/null +++ b/packages/jsts/src/rules/S6836/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"case" and "default" clauses should not contain lexical declarations', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6836/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6836'; diff --git a/packages/jsts/src/rules/S6836/index.ts b/packages/jsts/src/rules/S6836/index.ts new file mode 100644 index 00000000000..6221eed2358 --- /dev/null +++ b/packages/jsts/src/rules/S6836/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-case-declarations'); diff --git a/packages/jsts/src/rules/S6836/meta.ts b/packages/jsts/src/rules/S6836/meta.ts new file mode 100644 index 00000000000..d31c786b2d9 --- /dev/null +++ b/packages/jsts/src/rules/S6836/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-case-declarations'; diff --git a/packages/jsts/src/rules/S6840/generated-meta.ts b/packages/jsts/src/rules/S6840/generated-meta.ts new file mode 100644 index 00000000000..3a61ee20b2d --- /dev/null +++ b/packages/jsts/src/rules/S6840/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'DOM elements should use the "autocomplete" attribute correctly', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6840/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6840'; diff --git a/packages/jsts/src/rules/S6840/index.ts b/packages/jsts/src/rules/S6840/index.ts new file mode 100644 index 00000000000..fe5974e1543 --- /dev/null +++ b/packages/jsts/src/rules/S6840/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['autocomplete-valid']; diff --git a/packages/jsts/src/rules/S6840/meta.ts b/packages/jsts/src/rules/S6840/meta.ts new file mode 100644 index 00000000000..478c6ea095d --- /dev/null +++ b/packages/jsts/src/rules/S6840/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'autocomplete-valid'; diff --git a/packages/jsts/src/rules/S6841/generated-meta.ts b/packages/jsts/src/rules/S6841/generated-meta.ts new file mode 100644 index 00000000000..58bf3083f81 --- /dev/null +++ b/packages/jsts/src/rules/S6841/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"tabIndex" values should be 0 or -1', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6841/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6841'; diff --git a/packages/jsts/src/rules/S6841/index.ts b/packages/jsts/src/rules/S6841/index.ts new file mode 100644 index 00000000000..4ba981fb368 --- /dev/null +++ b/packages/jsts/src/rules/S6841/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['tabindex-no-positive']; diff --git a/packages/jsts/src/rules/S6841/meta.ts b/packages/jsts/src/rules/S6841/meta.ts new file mode 100644 index 00000000000..105194fdc97 --- /dev/null +++ b/packages/jsts/src/rules/S6841/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'tabindex-no-positive'; diff --git a/packages/jsts/src/rules/S6842/generated-meta.ts b/packages/jsts/src/rules/S6842/generated-meta.ts new file mode 100644 index 00000000000..d323b87e7da --- /dev/null +++ b/packages/jsts/src/rules/S6842/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Non-interactive DOM elements should not have interactive ARIA roles', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6842/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6842'; diff --git a/packages/jsts/src/rules/S6842/index.ts b/packages/jsts/src/rules/S6842/index.ts new file mode 100644 index 00000000000..fd065854500 --- /dev/null +++ b/packages/jsts/src/rules/S6842/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['no-noninteractive-element-to-interactive-role']; diff --git a/packages/jsts/src/rules/S6842/meta.ts b/packages/jsts/src/rules/S6842/meta.ts new file mode 100644 index 00000000000..6cd852b50ba --- /dev/null +++ b/packages/jsts/src/rules/S6842/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-noninteractive-element-to-interactive-role'; diff --git a/packages/jsts/src/rules/S6843/generated-meta.ts b/packages/jsts/src/rules/S6843/generated-meta.ts new file mode 100644 index 00000000000..03b106d7fc3 --- /dev/null +++ b/packages/jsts/src/rules/S6843/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Interactive DOM elements should not have non-interactive ARIA roles', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6843/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6843'; diff --git a/packages/jsts/src/rules/S6843/index.ts b/packages/jsts/src/rules/S6843/index.ts new file mode 100644 index 00000000000..acb5bd8c5a4 --- /dev/null +++ b/packages/jsts/src/rules/S6843/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['no-interactive-element-to-noninteractive-role']; diff --git a/packages/jsts/src/rules/S6843/meta.ts b/packages/jsts/src/rules/S6843/meta.ts new file mode 100644 index 00000000000..b9f6a4d9f0a --- /dev/null +++ b/packages/jsts/src/rules/S6843/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-interactive-element-to-noninteractive-role'; diff --git a/packages/jsts/src/rules/S6844/generated-meta.ts b/packages/jsts/src/rules/S6844/generated-meta.ts new file mode 100644 index 00000000000..a115f95b3e3 --- /dev/null +++ b/packages/jsts/src/rules/S6844/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Anchor tags should not be used as buttons', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6844/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6844'; diff --git a/packages/jsts/src/rules/S6844/meta.ts b/packages/jsts/src/rules/S6844/meta.ts index a115f95b3e3..3e5891508a5 100644 --- a/packages/jsts/src/rules/S6844/meta.ts +++ b/packages/jsts/src/rules/S6844/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Anchor tags should not be used as buttons', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6844/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6844'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'anchor-is-valid'; diff --git a/packages/jsts/src/rules/S6845/generated-meta.ts b/packages/jsts/src/rules/S6845/generated-meta.ts new file mode 100644 index 00000000000..0c9a0d3237c --- /dev/null +++ b/packages/jsts/src/rules/S6845/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Non-interactive DOM elements should not have the `tabIndex` property', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6845/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6845'; diff --git a/packages/jsts/src/rules/S6845/index.ts b/packages/jsts/src/rules/S6845/index.ts new file mode 100644 index 00000000000..ffd9befb505 --- /dev/null +++ b/packages/jsts/src/rules/S6845/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['no-noninteractive-tabindex']; diff --git a/packages/jsts/src/rules/S6845/meta.ts b/packages/jsts/src/rules/S6845/meta.ts new file mode 100644 index 00000000000..90655420c2f --- /dev/null +++ b/packages/jsts/src/rules/S6845/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-noninteractive-tabindex'; diff --git a/packages/jsts/src/rules/S6846/generated-meta.ts b/packages/jsts/src/rules/S6846/generated-meta.ts new file mode 100644 index 00000000000..0e253e6b5ac --- /dev/null +++ b/packages/jsts/src/rules/S6846/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'DOM elements should not use the "accesskey" property', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6846/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6846'; diff --git a/packages/jsts/src/rules/S6846/index.ts b/packages/jsts/src/rules/S6846/index.ts new file mode 100644 index 00000000000..f51844ec418 --- /dev/null +++ b/packages/jsts/src/rules/S6846/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['no-access-key']; diff --git a/packages/jsts/src/rules/S6846/meta.ts b/packages/jsts/src/rules/S6846/meta.ts new file mode 100644 index 00000000000..b8273c0cfa4 --- /dev/null +++ b/packages/jsts/src/rules/S6846/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-access-key'; diff --git a/packages/jsts/src/rules/S6847/generated-meta.ts b/packages/jsts/src/rules/S6847/generated-meta.ts new file mode 100644 index 00000000000..0b9554c32fc --- /dev/null +++ b/packages/jsts/src/rules/S6847/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: "Non-interactive elements shouldn't have event handlers", + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6847/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6847'; diff --git a/packages/jsts/src/rules/S6847/index.ts b/packages/jsts/src/rules/S6847/index.ts new file mode 100644 index 00000000000..26760d082ea --- /dev/null +++ b/packages/jsts/src/rules/S6847/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['no-noninteractive-element-interactions']; diff --git a/packages/jsts/src/rules/S6847/meta.ts b/packages/jsts/src/rules/S6847/meta.ts new file mode 100644 index 00000000000..f92ee9ccde4 --- /dev/null +++ b/packages/jsts/src/rules/S6847/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-noninteractive-element-interactions'; diff --git a/packages/jsts/src/rules/S6848/generated-meta.ts b/packages/jsts/src/rules/S6848/generated-meta.ts new file mode 100644 index 00000000000..0e6d48569ff --- /dev/null +++ b/packages/jsts/src/rules/S6848/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Non-interactive DOM elements should not have an interactive handler', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6848/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6848'; diff --git a/packages/jsts/src/rules/S6848/index.ts b/packages/jsts/src/rules/S6848/index.ts new file mode 100644 index 00000000000..a7653d6ff4f --- /dev/null +++ b/packages/jsts/src/rules/S6848/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['no-static-element-interactions']; diff --git a/packages/jsts/src/rules/S6848/meta.ts b/packages/jsts/src/rules/S6848/meta.ts new file mode 100644 index 00000000000..13c87218291 --- /dev/null +++ b/packages/jsts/src/rules/S6848/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-static-element-interactions'; diff --git a/packages/jsts/src/rules/S6850/generated-meta.ts b/packages/jsts/src/rules/S6850/generated-meta.ts new file mode 100644 index 00000000000..d8a37eb4b31 --- /dev/null +++ b/packages/jsts/src/rules/S6850/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Heading elements should have accessible content', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6850/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6850'; diff --git a/packages/jsts/src/rules/S6850/index.ts b/packages/jsts/src/rules/S6850/index.ts new file mode 100644 index 00000000000..d39d864f500 --- /dev/null +++ b/packages/jsts/src/rules/S6850/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['heading-has-content']; diff --git a/packages/jsts/src/rules/S6850/meta.ts b/packages/jsts/src/rules/S6850/meta.ts new file mode 100644 index 00000000000..0659f15e14e --- /dev/null +++ b/packages/jsts/src/rules/S6850/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'heading-has-content'; diff --git a/packages/jsts/src/rules/S6851/generated-meta.ts b/packages/jsts/src/rules/S6851/generated-meta.ts new file mode 100644 index 00000000000..fc6d08aa9eb --- /dev/null +++ b/packages/jsts/src/rules/S6851/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Images should have a non-redundant alternate description', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6851/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6851'; diff --git a/packages/jsts/src/rules/S6851/index.ts b/packages/jsts/src/rules/S6851/index.ts new file mode 100644 index 00000000000..82bee3ad9ad --- /dev/null +++ b/packages/jsts/src/rules/S6851/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['img-redundant-alt']; diff --git a/packages/jsts/src/rules/S6851/meta.ts b/packages/jsts/src/rules/S6851/meta.ts new file mode 100644 index 00000000000..b52eb038bc1 --- /dev/null +++ b/packages/jsts/src/rules/S6851/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'img-redundant-alt'; diff --git a/packages/jsts/src/rules/S6852/generated-meta.ts b/packages/jsts/src/rules/S6852/generated-meta.ts new file mode 100644 index 00000000000..077cee108b1 --- /dev/null +++ b/packages/jsts/src/rules/S6852/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Elements with an interactive role should support focus', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6852/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6852'; diff --git a/packages/jsts/src/rules/S6852/index.ts b/packages/jsts/src/rules/S6852/index.ts new file mode 100644 index 00000000000..a50bc1cede4 --- /dev/null +++ b/packages/jsts/src/rules/S6852/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from '../external/a11y.js'; +export const rule = rules['interactive-supports-focus']; diff --git a/packages/jsts/src/rules/S6852/meta.ts b/packages/jsts/src/rules/S6852/meta.ts new file mode 100644 index 00000000000..d855d5ef0da --- /dev/null +++ b/packages/jsts/src/rules/S6852/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'interactive-supports-focus'; diff --git a/packages/jsts/src/rules/S6853/generated-meta.ts b/packages/jsts/src/rules/S6853/generated-meta.ts new file mode 100644 index 00000000000..e4a81eb226b --- /dev/null +++ b/packages/jsts/src/rules/S6853/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Label elements should have a text label and an associated control', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6853/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6853'; diff --git a/packages/jsts/src/rules/S6853/meta.ts b/packages/jsts/src/rules/S6853/meta.ts index e4a81eb226b..99e5839126a 100644 --- a/packages/jsts/src/rules/S6853/meta.ts +++ b/packages/jsts/src/rules/S6853/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Label elements should have a text label and an associated control', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6853/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6853'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'label-has-associated-control'; diff --git a/packages/jsts/src/rules/S6859/generated-meta.ts b/packages/jsts/src/rules/S6859/generated-meta.ts new file mode 100644 index 00000000000..5c56ae36a95 --- /dev/null +++ b/packages/jsts/src/rules/S6859/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Imports should not use absolute paths', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6859/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S6859'; diff --git a/packages/jsts/src/rules/S6859/index.ts b/packages/jsts/src/rules/S6859/index.ts new file mode 100644 index 00000000000..f27db6c0aa8 --- /dev/null +++ b/packages/jsts/src/rules/S6859/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from 'eslint-plugin-import'; +export const rule = rules['no-absolute-path']; diff --git a/packages/jsts/src/rules/S6859/meta.ts b/packages/jsts/src/rules/S6859/meta.ts new file mode 100644 index 00000000000..b1a7cc0250a --- /dev/null +++ b/packages/jsts/src/rules/S6859/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-absolute-path'; diff --git a/packages/jsts/src/rules/S6861/generated-meta.ts b/packages/jsts/src/rules/S6861/generated-meta.ts new file mode 100644 index 00000000000..d4c03f475ad --- /dev/null +++ b/packages/jsts/src/rules/S6861/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Mutable variables should not be exported', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6861/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6861'; diff --git a/packages/jsts/src/rules/S6861/index.ts b/packages/jsts/src/rules/S6861/index.ts new file mode 100644 index 00000000000..8be07e5c8c5 --- /dev/null +++ b/packages/jsts/src/rules/S6861/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { rules } from 'eslint-plugin-import'; +export const rule = rules['no-mutable-exports']; diff --git a/packages/jsts/src/rules/S6861/meta.ts b/packages/jsts/src/rules/S6861/meta.ts new file mode 100644 index 00000000000..479ccd3e4d4 --- /dev/null +++ b/packages/jsts/src/rules/S6861/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-mutable-exports'; diff --git a/packages/jsts/src/rules/S6957/generated-meta.ts b/packages/jsts/src/rules/S6957/generated-meta.ts new file mode 100644 index 00000000000..8a0d10ae3c7 --- /dev/null +++ b/packages/jsts/src/rules/S6957/generated-meta.ts @@ -0,0 +1,50 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Deprecated React APIs should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6957/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6957'; +import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; +export const schema = { + type: 'array', + minItems: 0, + maxItems: 1, + items: [ + { + type: 'object', + properties: { + 'react-version': { + type: 'string', + }, + }, + additionalProperties: false, + }, + ], +} as const satisfies JSONSchema4; diff --git a/packages/jsts/src/rules/S6957/meta.ts b/packages/jsts/src/rules/S6957/meta.ts index 8a0d10ae3c7..8c5e897146e 100644 --- a/packages/jsts/src/rules/S6957/meta.ts +++ b/packages/jsts/src/rules/S6957/meta.ts @@ -17,34 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Deprecated React APIs should not be used', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6957/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6957'; -import { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -export const schema = { - type: 'array', - minItems: 0, - maxItems: 1, - items: [ - { - type: 'object', - properties: { - 'react-version': { - type: 'string', - }, - }, - additionalProperties: false, - }, - ], -} as const satisfies JSONSchema4; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-deprecated-react'; diff --git a/packages/jsts/src/rules/S6958/generated-meta.ts b/packages/jsts/src/rules/S6958/generated-meta.ts new file mode 100644 index 00000000000..7b25c3e15ff --- /dev/null +++ b/packages/jsts/src/rules/S6958/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Literals should not be used as functions', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6958/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6958'; diff --git a/packages/jsts/src/rules/S6958/meta.ts b/packages/jsts/src/rules/S6958/meta.ts index 7b25c3e15ff..229fac8eff0 100644 --- a/packages/jsts/src/rules/S6958/meta.ts +++ b/packages/jsts/src/rules/S6958/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Literals should not be used as functions', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6958/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S6958'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-literal-call'; diff --git a/packages/jsts/src/rules/S6959/generated-meta.ts b/packages/jsts/src/rules/S6959/generated-meta.ts new file mode 100644 index 00000000000..a9140c53b83 --- /dev/null +++ b/packages/jsts/src/rules/S6959/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: '"Array.reduce()" calls should include an initial value', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6959/javascript', + requiresTypeChecking: true, + }, +}; + +export const sonarKey = 'S6959'; diff --git a/packages/jsts/src/rules/S6959/meta.ts b/packages/jsts/src/rules/S6959/meta.ts index a9140c53b83..68894ac9b51 100644 --- a/packages/jsts/src/rules/S6959/meta.ts +++ b/packages/jsts/src/rules/S6959/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: '"Array.reduce()" calls should include an initial value', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S6959/javascript', - requiresTypeChecking: true, - }, -}; - -export const sonarKey = 'S6959'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'reduce-initial-value'; diff --git a/packages/jsts/src/rules/S7059/generated-meta.ts b/packages/jsts/src/rules/S7059/generated-meta.ts new file mode 100644 index 00000000000..5258e9b603d --- /dev/null +++ b/packages/jsts/src/rules/S7059/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Constructors should not contain asynchronous operations', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S7059/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S7059'; diff --git a/packages/jsts/src/rules/S7059/meta.ts b/packages/jsts/src/rules/S7059/meta.ts index 5258e9b603d..66da76750d8 100644 --- a/packages/jsts/src/rules/S7059/meta.ts +++ b/packages/jsts/src/rules/S7059/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Constructors should not contain asynchronous operations', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S7059/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S7059'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-async-constructor'; diff --git a/packages/jsts/src/rules/S7060/generated-meta.ts b/packages/jsts/src/rules/S7060/generated-meta.ts new file mode 100644 index 00000000000..5732e80f83e --- /dev/null +++ b/packages/jsts/src/rules/S7060/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Module should not import itself', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S7060/javascript', + requiresTypeChecking: false, + }, + fixable: 'code', +}; + +export const sonarKey = 'S7060'; diff --git a/packages/jsts/src/rules/S7060/meta.ts b/packages/jsts/src/rules/S7060/meta.ts index 5732e80f83e..482a76c1aa1 100644 --- a/packages/jsts/src/rules/S7060/meta.ts +++ b/packages/jsts/src/rules/S7060/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Module should not import itself', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S7060/javascript', - requiresTypeChecking: false, - }, - fixable: 'code', -}; - -export const sonarKey = 'S7060'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-self-import'; diff --git a/packages/jsts/src/rules/S878/generated-meta.ts b/packages/jsts/src/rules/S878/generated-meta.ts new file mode 100644 index 00000000000..96216c8e876 --- /dev/null +++ b/packages/jsts/src/rules/S878/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Comma operator should not be used', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S878/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S878'; diff --git a/packages/jsts/src/rules/S878/index.ts b/packages/jsts/src/rules/S878/index.ts new file mode 100644 index 00000000000..2c94a5438ce --- /dev/null +++ b/packages/jsts/src/rules/S878/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-sequences'); diff --git a/packages/jsts/src/rules/S878/meta.ts b/packages/jsts/src/rules/S878/meta.ts new file mode 100644 index 00000000000..52a33c13dba --- /dev/null +++ b/packages/jsts/src/rules/S878/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-sequences'; diff --git a/packages/jsts/src/rules/S881/generated-meta.ts b/packages/jsts/src/rules/S881/generated-meta.ts new file mode 100644 index 00000000000..ce225315281 --- /dev/null +++ b/packages/jsts/src/rules/S881/generated-meta.ts @@ -0,0 +1,34 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: + 'Increment (++) and decrement (--) operators should not be used in a method call or mixed with other operators in an expression', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S881/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S881'; diff --git a/packages/jsts/src/rules/S881/meta.ts b/packages/jsts/src/rules/S881/meta.ts index ce225315281..cc79c25ccd1 100644 --- a/packages/jsts/src/rules/S881/meta.ts +++ b/packages/jsts/src/rules/S881/meta.ts @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: - 'Increment (++) and decrement (--) operators should not be used in a method call or mixed with other operators in an expression', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S881/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S881'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-nested-incdec'; diff --git a/packages/jsts/src/rules/S888/generated-meta.ts b/packages/jsts/src/rules/S888/generated-meta.ts new file mode 100644 index 00000000000..971f4da0298 --- /dev/null +++ b/packages/jsts/src/rules/S888/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Equality operators should not be used in "for" loop termination conditions', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S888/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S888'; diff --git a/packages/jsts/src/rules/S888/meta.ts b/packages/jsts/src/rules/S888/meta.ts index 971f4da0298..1e5d3a5096b 100644 --- a/packages/jsts/src/rules/S888/meta.ts +++ b/packages/jsts/src/rules/S888/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Equality operators should not be used in "for" loop termination conditions', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S888/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S888'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-equals-in-for-termination'; diff --git a/packages/jsts/src/rules/S905/generated-meta.ts b/packages/jsts/src/rules/S905/generated-meta.ts new file mode 100644 index 00000000000..4cb20ef21f7 --- /dev/null +++ b/packages/jsts/src/rules/S905/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Non-empty statements should change control flow or have at least one side-effect', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S905/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S905'; diff --git a/packages/jsts/src/rules/S905/index.ts b/packages/jsts/src/rules/S905/index.ts index d08aa93bdfe..9a9083f6eb5 100644 --- a/packages/jsts/src/rules/S905/index.ts +++ b/packages/jsts/src/rules/S905/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-unused-expressions']); diff --git a/packages/jsts/src/rules/S905/meta.ts b/packages/jsts/src/rules/S905/meta.ts index 4cb20ef21f7..22ea9b2a3f4 100644 --- a/packages/jsts/src/rules/S905/meta.ts +++ b/packages/jsts/src/rules/S905/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Non-empty statements should change control flow or have at least one side-effect', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S905/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S905'; +export * from './generated-meta.js'; +export const implementation = 'decorated'; +export const eslintId = 'no-unused-expressions'; diff --git a/packages/jsts/src/rules/S909/generated-meta.ts b/packages/jsts/src/rules/S909/generated-meta.ts new file mode 100644 index 00000000000..16616fb48e3 --- /dev/null +++ b/packages/jsts/src/rules/S909/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: '"continue" should not be used', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S909/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S909'; diff --git a/packages/jsts/src/rules/S909/index.ts b/packages/jsts/src/rules/S909/index.ts new file mode 100644 index 00000000000..42a62b0714a --- /dev/null +++ b/packages/jsts/src/rules/S909/index.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { getESLintCoreRule } from '../external/core.js'; +export const rule = getESLintCoreRule('no-continue'); diff --git a/packages/jsts/src/rules/S909/meta.ts b/packages/jsts/src/rules/S909/meta.ts new file mode 100644 index 00000000000..042edf12252 --- /dev/null +++ b/packages/jsts/src/rules/S909/meta.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +export * from './generated-meta.js'; +export const implementation = 'external'; +export const eslintId = 'no-continue'; diff --git a/packages/jsts/src/rules/S930/generated-meta.ts b/packages/jsts/src/rules/S930/generated-meta.ts new file mode 100644 index 00000000000..c8a4db3c47a --- /dev/null +++ b/packages/jsts/src/rules/S930/generated-meta.ts @@ -0,0 +1,33 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Function calls should not pass extra arguments', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S930/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S930'; diff --git a/packages/jsts/src/rules/S930/meta.ts b/packages/jsts/src/rules/S930/meta.ts index c8a4db3c47a..1dda13b3fdd 100644 --- a/packages/jsts/src/rules/S930/meta.ts +++ b/packages/jsts/src/rules/S930/meta.ts @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'problem', - docs: { - description: 'Function calls should not pass extra arguments', - recommended: true, - url: 'https://sonarsource.github.io/rspec/#/rspec/S930/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S930'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-extra-arguments'; diff --git a/packages/jsts/src/rules/decorated.ts b/packages/jsts/src/rules/decorated.ts deleted file mode 100644 index 4c222ea07ad..00000000000 --- a/packages/jsts/src/rules/decorated.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * SonarQube JavaScript Plugin - * Copyright (C) 2011-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -export { rule as S2376 } from './S2376/index.js'; // accessor-pairs -export { rule as S1077 } from './S1077/index.js'; // alt-text -export { rule as S6827 } from './S6827/index.js'; // anchor-has-content -export { rule as S6844 } from './S6844/index.js'; // anchor-is-valid -export { rule as S1105 } from './S1105/index.js'; // brace-style -export { rule as S1788 } from './S1788/index.js'; // default-param-last -export { rule as S5254 } from './S5254/index.js'; // html-has-lang -export { rule as S6749 } from './S6749/index.js'; // jsx-no-useless-fragment -export { rule as S6853 } from './S6853/index.js'; // label-has-associated-control -export { rule as S4084 } from './S4084/index.js'; // media-has-caption -export { rule as S2430 } from './S2430/index.js'; // new-cap -export { rule as S4275 } from './S4275/index.js'; // no-accessor-field-mismatch -export { rule as S6551 } from './S6551/index.js'; // no-base-to-string -export { rule as S1186 } from './S1186/index.js'; // no-empty-function -export { rule as S4023 } from './S4023/index.js'; // no-empty-interface -export { rule as S6643 } from './S6643/index.js'; // no-extend-native -export { rule as S1116 } from './S1116/index.js'; // no-extra-semi -export { rule as S6788 } from './S6788/index.js'; // no-find-dom-node -export { rule as S2189 } from './S2189/index.js'; // no-infinite-loop -export { rule as S6660 } from './S6660/index.js'; // no-lonely-if -export { rule as S6544 } from './S6544/index.js'; // no-misused-promises -export { rule as S2814 } from './S2814/index.js'; // no-redeclare -export { rule as S6440 } from './S6440/index.js'; // rules-of-hooks -export { rule as S6571 } from './S6571/index.js'; // no-redundant-type-constituents -export { rule as S6679 } from './S6679/index.js'; // no-self-compare -export { rule as S7060 } from './S7060/index.js'; // no-self-import -export { rule as S4327 } from './S4327/index.js'; // no-this-alias -export { rule as S3696 } from './S3696/index.js'; // no-throw-literal -export { rule as S6747 } from './S6747/index.js'; // no-unknown-property -export { rule as S1763 } from './S1763/index.js'; // no-unreachable -export { rule as S905 } from './S905/index.js'; // no-unused-expressions -export { rule as S1068 } from './S1068/index.js'; // no-unused-private-class-members -export { rule as S6676 } from './S6676/index.js'; // no-useless-call -export { rule as S6647 } from './S6647/index.js'; // no-useless-constructor -export { rule as S3504 } from './S3504/index.js'; // no-var -export { rule as S3498 } from './S3498/index.js'; // object-shorthand -export { rule as S6572 } from './S6572/index.js'; // prefer-enum-initializers -export { rule as S4138 } from './S4138/index.js'; // prefer-for-of -export { rule as S6598 } from './S6598/index.js'; // prefer-function-type -export { rule as S4156 } from './S4156/index.js'; // prefer-namespace-keyword -export { rule as S6606 } from './S6606/index.js'; // prefer-nullish-coalescing -export { rule as S6661 } from './S6661/index.js'; // prefer-object-spread -export { rule as S6666 } from './S6666/index.js'; // prefer-spread -export { rule as S6557 } from './S6557/index.js'; // prefer-string-starts-ends-with -export { rule as S3512 } from './S3512/index.js'; // prefer-template -export { rule as S1438 } from './S1438/index.js'; // semi -export { rule as S107 } from './S107/index.js'; // sonar-max-params -export { rule as S1534 } from './S1534/index.js'; // sonar-no-dupe-keys -export { rule as S131 } from './S131/index.js'; // switch-without-default -export { rule as S6535 } from './S6535/index.js'; // unnecessary-character-escapes -export { rule as S2688 } from './S2688/index.js'; // use-isnan diff --git a/packages/jsts/src/rules/external.ts b/packages/jsts/src/rules/external.ts deleted file mode 100644 index 83300212ed7..00000000000 --- a/packages/jsts/src/rules/external.ts +++ /dev/null @@ -1,141 +0,0 @@ -/* - * SonarQube JavaScript Plugin - * Copyright (C) 2011-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -import { eslintRules } from './core/index.js'; -import pkg from 'eslint-plugin-react'; -const reactPluginRules = pkg.rules; -import { tsEslintRules } from './typescript-eslint/index.js'; -import jsxA11yPlugin from 'eslint-plugin-jsx-a11y'; -const { rules: a11yPluginRules } = jsxA11yPlugin; -import { rules as importPluginRules } from 'eslint-plugin-import'; - -export const rules = { - S103: eslintRules['max-len'], - S106: eslintRules['no-console'], - S108: eslintRules['no-empty'], - S1090: a11yPluginRules['iframe-has-title'], - S1117: tsEslintRules['no-shadow'], - S113: eslintRules['eol-last'], - S1131: eslintRules['no-trailing-spaces'], - S1143: eslintRules['no-unsafe-finally'], - S1199: eslintRules['no-lone-blocks'], - S121: eslintRules['curly'], - S122: eslintRules['max-statements-per-line'], - S1314: eslintRules['no-octal'], - S1321: eslintRules['no-with'], - S139: eslintRules['line-comment-position'], - S1440: eslintRules['eqeqeq'], - S1441: eslintRules['quotes'], - S1442: eslintRules['no-alert'], - S1516: eslintRules['no-multi-str'], - S1525: eslintRules['no-debugger'], - S1536: eslintRules['no-dupe-args'], - S1537: tsEslintRules['comma-dangle'], - S1539: eslintRules['strict'], - S1656: eslintRules['no-self-assign'], - S1774: eslintRules['no-ternary'], - S2094: tsEslintRules['no-extraneous-class'], - S2427: eslintRules['radix'], - S2432: eslintRules['no-setter-return'], - S2685: eslintRules['no-caller'], - S2933: tsEslintRules['prefer-readonly'], - S2966: tsEslintRules['no-non-null-assertion'], - S3257: tsEslintRules['no-inferrable-types'], - S3353: eslintRules['prefer-const'], - S3523: eslintRules['no-new-func'], - S3786: eslintRules['no-template-curly-in-string'], - S3799: eslintRules['no-empty-pattern'], - S3812: eslintRules['no-unsafe-negation'], - S3834: eslintRules['no-new-native-nonconstructor'], - S3863: importPluginRules['no-duplicates'], - S4124: tsEslintRules['no-misused-new'], - S4125: eslintRules['valid-typeof'], - S4136: tsEslintRules['adjacent-overload-signatures'], - S4137: tsEslintRules['consistent-type-assertions'], - S4140: eslintRules['no-sparse-arrays'], - S4157: tsEslintRules['no-unnecessary-type-arguments'], - S4204: tsEslintRules['no-explicit-any'], - S4325: tsEslintRules['no-unnecessary-type-assertion'], - S4326: eslintRules['no-return-await'], - S6325: eslintRules['prefer-regex-literals'], - S6435: reactPluginRules['require-render-return'], - S6438: reactPluginRules['jsx-no-comment-textnodes'], - S6480: reactPluginRules['jsx-no-bind'], - S6509: eslintRules['no-extra-boolean-cast'], - S6522: eslintRules['no-import-assign'], - S6523: eslintRules['no-unsafe-optional-chaining'], - S6534: eslintRules['no-loss-of-precision'], - S6550: tsEslintRules['prefer-literal-enum-member'], - S6565: tsEslintRules['prefer-return-this-type'], - S6568: tsEslintRules['no-confusing-non-null-assertion'], - S6569: tsEslintRules['no-unnecessary-type-constraint'], - S6578: tsEslintRules['no-duplicate-enum-values'], - S6583: tsEslintRules['no-mixed-enums'], - S6590: tsEslintRules['prefer-as-const'], - S6635: eslintRules['no-constructor-return'], - S6637: eslintRules['no-extra-bind'], - S6638: eslintRules['no-constant-binary-expression'], - S6644: eslintRules['no-unneeded-ternary'], - S6645: eslintRules['no-undef-init'], - S6650: eslintRules['no-useless-rename'], - S6653: eslintRules['prefer-object-has-own'], - S6654: eslintRules['no-proto'], - S6657: eslintRules['no-octal-escape'], - S6671: tsEslintRules['prefer-promise-reject-errors'], - S6746: reactPluginRules['no-direct-mutation-state'], - S6748: reactPluginRules['no-children-prop'], - S6750: reactPluginRules['no-render-return-value'], - S6756: reactPluginRules['no-access-state-in-setstate'], - S6757: reactPluginRules['no-this-in-sfc'], - S6761: reactPluginRules['no-danger-with-children'], - S6763: reactPluginRules['no-redundant-should-component-update'], - S6766: reactPluginRules['no-unescaped-entities'], - S6767: reactPluginRules['no-unused-prop-types'], - S6770: reactPluginRules['jsx-pascal-case'], - S6772: reactPluginRules['jsx-child-element-spacing'], - S6774: reactPluginRules['prop-types'], - S6775: reactPluginRules['default-props-match-prop-types'], - S6789: reactPluginRules['no-is-mounted'], - S6790: reactPluginRules['no-string-refs'], - S6793: a11yPluginRules['aria-proptypes'], - S6807: a11yPluginRules['role-has-required-aria-props'], - S6811: a11yPluginRules['role-supports-aria-props'], - S6819: a11yPluginRules['prefer-tag-over-role'], - S6821: a11yPluginRules['aria-role'], - S6822: a11yPluginRules['no-redundant-roles'], - S6823: a11yPluginRules['aria-activedescendant-has-tabindex'], - S6824: a11yPluginRules['aria-unsupported-elements'], - S6825: a11yPluginRules['no-aria-hidden-on-focusable'], - S6836: eslintRules['no-case-declarations'], - S6840: a11yPluginRules['autocomplete-valid'], - S6841: a11yPluginRules['tabindex-no-positive'], - S6842: a11yPluginRules['no-noninteractive-element-to-interactive-role'], - S6843: a11yPluginRules['no-interactive-element-to-noninteractive-role'], - S6845: a11yPluginRules['no-noninteractive-tabindex'], - S6846: a11yPluginRules['no-access-key'], - S6847: a11yPluginRules['no-noninteractive-element-interactions'], - S6848: a11yPluginRules['no-static-element-interactions'], - S6850: a11yPluginRules['heading-has-content'], - S6851: a11yPluginRules['img-redundant-alt'], - S6852: a11yPluginRules['interactive-supports-focus'], - S6859: importPluginRules['no-absolute-path'], - S6861: importPluginRules['no-mutable-exports'], - S878: eslintRules['no-sequences'], - S909: eslintRules['no-continue'], -}; diff --git a/packages/jsts/src/rules/external/a11y.ts b/packages/jsts/src/rules/external/a11y.ts new file mode 100644 index 00000000000..f980075fd93 --- /dev/null +++ b/packages/jsts/src/rules/external/a11y.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import jsxA11yPlugin from 'eslint-plugin-jsx-a11y'; +export const { rules } = jsxA11yPlugin; diff --git a/packages/jsts/src/rules/external/core.ts b/packages/jsts/src/rules/external/core.ts new file mode 100644 index 00000000000..6fd495f7fae --- /dev/null +++ b/packages/jsts/src/rules/external/core.ts @@ -0,0 +1,24 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +import { builtinRules } from 'eslint/use-at-your-own-risk'; + +export function getESLintCoreRule(key: string) { + return builtinRules.get(key)!; +} diff --git a/packages/jsts/src/rules/external/react.ts b/packages/jsts/src/rules/external/react.ts new file mode 100644 index 00000000000..1419c61814b --- /dev/null +++ b/packages/jsts/src/rules/external/react.ts @@ -0,0 +1,22 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import pkg from 'eslint-plugin-react'; +export const { rules } = pkg; diff --git a/packages/jsts/src/rules/index.ts b/packages/jsts/src/rules/index.ts index 65a13f8a3ec..de778e674df 100644 --- a/packages/jsts/src/rules/index.ts +++ b/packages/jsts/src/rules/index.ts @@ -18,14 +18,6 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as originalRules from './original.js'; -import * as decoratedRules from './decorated.js'; -import * as externalRules from './external.js'; - -export const rules = { - ...originalRules, - ...decoratedRules, - ...externalRules.rules, -}; +export * as rules from './rules.js'; export * from './helpers/index.js'; diff --git a/packages/jsts/src/rules/original.ts b/packages/jsts/src/rules/original.ts deleted file mode 100644 index f8ff3c4189f..00000000000 --- a/packages/jsts/src/rules/original.ts +++ /dev/null @@ -1,297 +0,0 @@ -/* - * SonarQube JavaScript Plugin - * Copyright (C) 2011-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -export { rule as S5850 } from './S5850/index.js'; // anchor-precedence -export { rule as S3782 } from './S3782/index.js'; // argument-type -export { rule as S2234 } from './S2234/index.js'; // arguments-order -export { rule as S3513 } from './S3513/index.js'; // arguments-usage -export { rule as S3796 } from './S3796/index.js'; // array-callback-without-return -export { rule as S1528 } from './S1528/index.js'; // array-constructor -export { rule as S3524 } from './S3524/index.js'; // arrow-function-convention -export { rule as S2699 } from './S2699/index.js'; // assertions-in-tests -export { rule as S6333 } from './S6333/index.js'; // aws-apigateway-public-api -export { rule as S6329 } from './S6329/index.js'; // aws-ec2-rds-dms-public -export { rule as S6275 } from './S6275/index.js'; // aws-ec2-unencrypted-ebs-volume -export { rule as S6332 } from './S6332/index.js'; // aws-efs-unencrypted -export { rule as S6302 } from './S6302/index.js'; // aws-iam-all-privileges -export { rule as S6304 } from './S6304/index.js'; // aws-iam-all-resources-accessible -export { rule as S6317 } from './S6317/index.js'; // aws-iam-privilege-escalation -export { rule as S6270 } from './S6270/index.js'; // aws-iam-public-access -export { rule as S6308 } from './S6308/index.js'; // aws-opensearchservice-domain -export { rule as S6303 } from './S6303/index.js'; // aws-rds-unencrypted-databases -export { rule as S6321 } from './S6321/index.js'; // aws-restricted-ip-admin-access -export { rule as S6265 } from './S6265/index.js'; // aws-s3-bucket-granted-access -export { rule as S6249 } from './S6249/index.js'; // aws-s3-bucket-insecure-http -export { rule as S6281 } from './S6281/index.js'; // aws-s3-bucket-public-access -export { rule as S6245 } from './S6245/index.js'; // aws-s3-bucket-server-encryption -export { rule as S6252 } from './S6252/index.js'; // aws-s3-bucket-versioning -export { rule as S6319 } from './S6319/index.js'; // aws-sagemaker-unencrypted-notebook -export { rule as S6327 } from './S6327/index.js'; // aws-sns-unencrypted-topics -export { rule as S6330 } from './S6330/index.js'; // aws-sqs-unencrypted-queue -export { rule as S1529 } from './S1529/index.js'; // bitwise-operators -export { rule as S4798 } from './S4798/index.js'; // bool-param-default -export { rule as S1472 } from './S1472/index.js'; // call-argument-line -export { rule as S5742 } from './S5742/index.js'; // certificate-transparency -export { rule as S6092 } from './S6092/index.js'; // chai-determinate-assertion -export { rule as S101 } from './S101/index.js'; // class-name -export { rule as S3525 } from './S3525/index.js'; // class-prototype -export { rule as S1523 } from './S1523/index.js'; // code-eval -export { rule as S3776 } from './S3776/index.js'; // cognitive-complexity -export { rule as S3616 } from './S3616/index.js'; // comma-or-logical-or-case -export { rule as S124 } from './S124/index.js'; // comment-regex -export { rule as S6353 } from './S6353/index.js'; // concise-regex -export { rule as S3973 } from './S3973/index.js'; // conditional-indentation -export { rule as S5757 } from './S5757/index.js'; // confidential-information-logging -export { rule as S1848 } from './S1848/index.js'; // constructor-for-side-effects -export { rule as S5693 } from './S5693/index.js'; // content-length -export { rule as S5728 } from './S5728/index.js'; // content-security-policy -export { rule as S3330 } from './S3330/index.js'; // cookie-no-httponly -export { rule as S2255 } from './S2255/index.js'; // cookies -export { rule as S5122 } from './S5122/index.js'; // cors -export { rule as S4502 } from './S4502/index.js'; // csrf -export { rule as S1541 } from './S1541/index.js'; // cyclomatic-complexity -export { rule as S3798 } from './S3798/index.js'; // declarations-in-global-scope -export { rule as S1874 } from './S1874/index.js'; // deprecation -export { rule as S3514 } from './S3514/index.js'; // destructuring-assignment-syntax -export { rule as S3403 } from './S3403/index.js'; // different-types-comparison -export { rule as S5247 } from './S5247/index.js'; // disabled-auto-escaping -export { rule as S5725 } from './S5725/index.js'; // disabled-resource-integrity -export { rule as S6080 } from './S6080/index.js'; // disabled-timeout -export { rule as S5743 } from './S5743/index.js'; // dns-prefetching -export { rule as S5869 } from './S5869/index.js'; // duplicates-in-character-class -export { rule as S126 } from './S126/index.js'; // elseif-without-else -export { rule as S5842 } from './S5842/index.js'; // empty-string-repetition -export { rule as S4787 } from './S4787/index.js'; // encryption -export { rule as S5542 } from './S5542/index.js'; // encryption-secure-mode -export { rule as S3723 } from './S3723/index.js'; // enforce-trailing-comma -export { rule as S6328 } from './S6328/index.js'; // existing-groups -export { rule as S1067 } from './S1067/index.js'; // expression-complexity -export { rule as S1451 } from './S1451/index.js'; // file-header -export { rule as S3317 } from './S3317/index.js'; // file-name-differ-from-class -export { rule as S2612 } from './S2612/index.js'; // file-permissions -export { rule as S2598 } from './S2598/index.js'; // file-uploads -export { rule as S1134 } from './S1134/index.js'; // fixme-tag -export { rule as S1535 } from './S1535/index.js'; // for-in -export { rule as S2251 } from './S2251/index.js'; // for-loop-increment-sign -export { rule as S5732 } from './S5732/index.js'; // frame-ancestors -export { rule as S1515 } from './S1515/index.js'; // function-inside-loop -export { rule as S100 } from './S100/index.js'; // function-name -export { rule as S3800 } from './S3800/index.js'; // function-return-type -export { rule as S1527 } from './S1527/index.js'; // future-reserved-words -export { rule as S3531 } from './S3531/index.js'; // generator-without-yield -export { rule as S4790 } from './S4790/index.js'; // hashing -export { rule as S5691 } from './S5691/index.js'; // hidden-files -export { rule as S6754 } from './S6754/index.js'; // hook-use-state -export { rule as S3785 } from './S3785/index.js'; // in-operator-type-error -export { rule as S3686 } from './S3686/index.js'; // inconsistent-function-call -export { rule as S2692 } from './S2692/index.js'; // index-of-compare-to-positive-number -export { rule as S2092 } from './S2092/index.js'; // insecure-cookie -export { rule as S5659 } from './S5659/index.js'; // insecure-jwt-token -export { rule as S3415 } from './S3415/index.js'; // inverted-assertion-arguments -export { rule as S6477 } from './S6477/index.js'; // jsx-key -export { rule as S6481 } from './S6481/index.js'; // jsx-no-constructed-context-values -export { rule as S1439 } from './S1439/index.js'; // label-position -export { rule as S5148 } from './S5148/index.js'; // link-with-target-blank -export { rule as S1479 } from './S1479/index.js'; // max-switch-cases -export { rule as S4622 } from './S4622/index.js'; // max-union-size -export { rule as S1994 } from './S1994/index.js'; // misplaced-loop-counter -export { rule as S1082 } from './S1082/index.js'; // mouse-events-a11y -export { rule as S134 } from './S134/index.js'; // nested-control-flow -export { rule as S2999 } from './S2999/index.js'; // new-operator-misuse -export { rule as S3923 } from './S3923/index.js'; // no-all-duplicated-branches -export { rule as S2871 } from './S2871/index.js'; // no-alphabetical-sort -export { rule as S6268 } from './S6268/index.js'; // no-angular-bypass-sanitization -export { rule as S2870 } from './S2870/index.js'; // no-array-delete -export { rule as S6479 } from './S6479/index.js'; // no-array-index-key -export { rule as S3579 } from './S3579/index.js'; // no-associative-arrays -export { rule as S7059 } from './S7059/index.js'; // no-async-constructor -export { rule as S2424 } from './S2424/index.js'; // no-built-in-override -export { rule as S1219 } from './S1219/index.js'; // no-case-label-in-switch -export { rule as S5332 } from './S5332/index.js'; // no-clear-text-protocols -export { rule as S6079 } from './S6079/index.js'; // no-code-after-done -export { rule as S1066 } from './S1066/index.js'; // no-collapsible-if -export { rule as S3981 } from './S3981/index.js'; // no-collection-size-mischeck -export { rule as S125 } from './S125/index.js'; // no-commented-code -export { rule as S1854 } from './S1854/index.js'; // no-dead-store -export { rule as S3001 } from './S3001/index.js'; // no-delete-var -export { rule as S6957 } from './S6957/index.js'; // no-deprecated-react -export { rule as S4621 } from './S4621/index.js'; // no-duplicate-in-composite -export { rule as S1192 } from './S1192/index.js'; // no-duplicate-string -export { rule as S1871 } from './S1871/index.js'; // no-duplicated-branches -export { rule as S4143 } from './S4143/index.js'; // no-element-overwrite -export { rule as S6019 } from './S6019/index.js'; // no-empty-after-reluctant -export { rule as S6323 } from './S6323/index.js'; // no-empty-alternatives -export { rule as S4158 } from './S4158/index.js'; // no-empty-collection -export { rule as S6331 } from './S6331/index.js'; // no-empty-group -export { rule as S2187 } from './S2187/index.js'; // no-empty-test-file -export { rule as S888 } from './S888/index.js'; // no-equals-in-for-termination -export { rule as S6426 } from './S6426/index.js'; // no-exclusive-tests -export { rule as S930 } from './S930/index.js'; // no-extra-arguments -export { rule as S4139 } from './S4139/index.js'; // no-for-in-iterable -export { rule as S1530 } from './S1530/index.js'; // no-function-declaration-in-block -export { rule as S2990 } from './S2990/index.js'; // no-global-this -export { rule as S2137 } from './S2137/index.js'; // no-globals-shadowing -export { rule as S2589 } from './S2589/index.js'; // no-gratuitous-expressions -export { rule as S2068 } from './S2068/index.js'; // no-hardcoded-credentials -export { rule as S1313 } from './S1313/index.js'; // no-hardcoded-ip -export { rule as S6442 } from './S6442/index.js'; // no-hook-setter-in-body -export { rule as S1862 } from './S1862/index.js'; // no-identical-conditions -export { rule as S1764 } from './S1764/index.js'; // no-identical-expressions -export { rule as S4144 } from './S4144/index.js'; // no-identical-functions -export { rule as S2486 } from './S2486/index.js'; // no-ignored-exceptions -export { rule as S2201 } from './S2201/index.js'; // no-ignored-return -export { rule as S4328 } from './S4328/index.js'; // no-implicit-dependencies -export { rule as S2703 } from './S2703/index.js'; // no-implicit-global -export { rule as S4619 } from './S4619/index.js'; // no-in-misuse -export { rule as S1940 } from './S1940/index.js'; // no-inverted-boolean-check -export { rule as S2970 } from './S2970/index.js'; // no-incomplete-assertions -export { rule as S3801 } from './S3801/index.js'; // no-inconsistent-returns -export { rule as S3402 } from './S3402/index.js'; // no-incorrect-string-concat -export { rule as S6627 } from './S6627/index.js'; // no-internal-api-use -export { rule as S5604 } from './S5604/index.js'; // no-intrusive-permissions -export { rule as S4123 } from './S4123/index.js'; // no-invalid-await -export { rule as S3516 } from './S3516/index.js'; // no-invariant-returns -export { rule as S5759 } from './S5759/index.js'; // no-ip-forward -export { rule as S1119 } from './S1119/index.js'; // no-labels -export { rule as S6958 } from './S6958/index.js'; // no-literal-call -export { rule as S5734 } from './S5734/index.js'; // no-mime-sniff -export { rule as S4043 } from './S4043/index.js'; // no-misleading-array-reverse -export { rule as S5730 } from './S5730/index.js'; // no-mixed-content -export { rule as S1121 } from './S1121/index.js'; // no-nested-assignment -export { rule as S3358 } from './S3358/index.js'; // no-nested-conditional -export { rule as S2004 } from './S2004/index.js'; // no-nested-functions -export { rule as S1821 } from './S1821/index.js'; // no-nested-switch -export { rule as S4624 } from './S4624/index.js'; // no-nested-template-literals -export { rule as S881 } from './S881/index.js'; // no-nested-incdec -export { rule as S1751 } from './S1751/index.js'; // no-one-iteration-loop -export { rule as S4036 } from './S4036/index.js'; // no-os-command-from-path -export { rule as S1226 } from './S1226/index.js'; // no-parameter-reassignment -export { rule as S1533 } from './S1533/index.js'; // no-primitive-wrappers -export { rule as S4165 } from './S4165/index.js'; // no-redundant-assignments -export { rule as S1125 } from './S1125/index.js'; // no-redundant-boolean -export { rule as S3626 } from './S3626/index.js'; // no-redundant-jump -export { rule as S4782 } from './S4782/index.js'; // no-redundant-optional -export { rule as S1110 } from './S1110/index.js'; // no-redundant-parentheses -export { rule as S3827 } from './S3827/index.js'; // no-reference-error -export { rule as S5736 } from './S5736/index.js'; // no-referrer-policy -export { rule as S3533 } from './S3533/index.js'; // no-require-or-define -export { rule as S4324 } from './S4324/index.js'; // no-return-type-any -export { rule as S5863 } from './S5863/index.js'; // no-same-argument-assert -export { rule as S3972 } from './S3972/index.js'; // no-same-line-conditional -export { rule as S1607 } from './S1607/index.js'; // no-skipped-tests -export { rule as S1301 } from './S1301/index.js'; // no-small-switch -export { rule as S105 } from './S105/index.js'; // no-tab -export { rule as S5257 } from './S5257/index.js'; // no-table-as-layout -export { rule as S4822 } from './S4822/index.js'; // no-try-promise -export { rule as S4623 } from './S4623/index.js'; // no-undefined-argument -export { rule as S2138 } from './S2138/index.js'; // no-undefined-assignment -export { rule as S2681 } from './S2681/index.js'; // no-unenclosed-multiline-block -export { rule as S6486 } from './S6486/index.js'; // no-uniq-key -export { rule as S6791 } from './S6791/index.js'; // no-unsafe -export { rule as S5042 } from './S5042/index.js'; // no-unsafe-unzip -export { rule as S6478 } from './S6478/index.js'; // no-unstable-nested-components -export { rule as S3984 } from './S3984/index.js'; // no-unthrown-error -export { rule as S4030 } from './S4030/index.js'; // no-unused-collection -export { rule as S1172 } from './S1172/index.js'; // no-unused-function-argument -export { rule as S3699 } from './S3699/index.js'; // no-use-of-empty-return-value -export { rule as S2737 } from './S2737/index.js'; // no-useless-catch -export { rule as S2123 } from './S2123/index.js'; // no-useless-increment -export { rule as S4335 } from './S4335/index.js'; // no-useless-intersection -export { rule as S6443 } from './S6443/index.js'; // no-useless-react-setstate -export { rule as S1526 } from './S1526/index.js'; // no-variable-usage-before-declaration -export { rule as S6299 } from './S6299/index.js'; // no-vue-bypass-sanitization -export { rule as S5547 } from './S5547/index.js'; // no-weak-cipher -export { rule as S4426 } from './S4426/index.js'; // no-weak-keys -export { rule as S2208 } from './S2208/index.js'; // no-wildcard-import -export { rule as S2757 } from './S2757/index.js'; // non-existent-operator -export { rule as S3760 } from './S3760/index.js'; // non-number-in-arithmetic-expression -export { rule as S2259 } from './S2259/index.js'; // null-dereference -export { rule as S5264 } from './S5264/index.js'; // object-alt-content -export { rule as S3757 } from './S3757/index.js'; // operation-returning-nan -export { rule as S4721 } from './S4721/index.js'; // os-command -export { rule as S2819 } from './S2819/index.js'; // post-message -export { rule as S4524 } from './S4524/index.js'; // prefer-default-last -export { rule as S1488 } from './S1488/index.js'; // prefer-immediate-return -export { rule as S2428 } from './S2428/index.js'; // prefer-object-literal -export { rule as S4634 } from './S4634/index.js'; // prefer-promise-shorthand -export { rule as S1126 } from './S1126/index.js'; // prefer-single-boolean-return -export { rule as S4322 } from './S4322/index.js'; // prefer-type-guard -export { rule as S1264 } from './S1264/index.js'; // prefer-while -export { rule as S4823 } from './S4823/index.js'; // process-argv -export { rule as S4507 } from './S4507/index.js'; // production-debug -export { rule as S2245 } from './S2245/index.js'; // pseudo-random -export { rule as S1444 } from './S1444/index.js'; // public-static-readonly -export { rule as S5443 } from './S5443/index.js'; // publicly-writable-directories -export { rule as S6959 } from './S6959/index.js'; // reduce-initial-value -export { rule as S6564 } from './S6564/index.js'; // redundant-type-aliases -export { rule as S5843 } from './S5843/index.js'; // regex-complexity -export { rule as S4784 } from './S4784/index.js'; // regular-expr -export { rule as S5876 } from './S5876/index.js'; // session-regeneration -export { rule as S3499 } from './S3499/index.js'; // shorthand-property-grouping -export { rule as S6397 } from './S6397/index.js'; // single-char-in-character-classes -export { rule as S6035 } from './S6035/index.js'; // single-character-alternation -export { rule as S5852 } from './S5852/index.js'; // slow-regex -export { rule as S4818 } from './S4818/index.js'; // sockets -export { rule as S2392 } from './S2392/index.js'; // sonar-block-scoped-var -export { rule as S6439 } from './S6439/index.js'; // sonar-jsx-no-leaked-render -export { rule as S104 } from './S104/index.js'; // sonar-max-lines -export { rule as S138 } from './S138/index.js'; // sonar-max-lines-per-function -export { rule as S6324 } from './S6324/index.js'; // sonar-no-control-regex -export { rule as S2639 } from './S2639/index.js'; // sonar-no-empty-character-class -export { rule as S128 } from './S128/index.js'; // sonar-no-fallthrough -export { rule as S5856 } from './S5856/index.js'; // sonar-no-invalid-regexp -export { rule as S109 } from './S109/index.js'; // sonar-no-magic-numbers -export { rule as S5868 } from './S5868/index.js'; // sonar-no-misleading-character-class -export { rule as S6326 } from './S6326/index.js'; // sonar-no-regex-spaces -export { rule as S6441 } from './S6441/index.js'; // sonar-no-unused-class-component-methods -export { rule as S1481 } from './S1481/index.js'; // sonar-no-unused-vars -export { rule as S6582 } from './S6582/index.js'; // sonar-prefer-optional-chain -export { rule as S6759 } from './S6759/index.js'; // sonar-prefer-read-only-props -export { rule as S6594 } from './S6594/index.js'; // sonar-prefer-regexp-exec -export { rule as S2077 } from './S2077/index.js'; // sql-queries -export { rule as S5973 } from './S5973/index.js'; // stable-tests -export { rule as S4829 } from './S4829/index.js'; // standard-input -export { rule as S6351 } from './S6351/index.js'; // stateful-regex -export { rule as S5739 } from './S5739/index.js'; // strict-transport-security -export { rule as S3003 } from './S3003/index.js'; // strings-comparison -export { rule as S3854 } from './S3854/index.js'; // super-invocation -export { rule as S5256 } from './S5256/index.js'; // table-header -export { rule as S5260 } from './S5260/index.js'; // table-header-reference -export { rule as S5958 } from './S5958/index.js'; // test-check-exception -export { rule as S1135 } from './S1135/index.js'; // todo-tag -export { rule as S135 } from './S135/index.js'; // too-many-break-or-continue-in-loop -export { rule as S5867 } from './S5867/index.js'; // unicode-aware-regex -export { rule as S1128 } from './S1128/index.js'; // unused-import -export { rule as S5860 } from './S5860/index.js'; // unused-named-groups -export { rule as S4830 } from './S4830/index.js'; // unverified-certificate -export { rule as S5527 } from './S5527/index.js'; // unverified-hostname -export { rule as S3500 } from './S3500/index.js'; // updated-const-var -export { rule as S2310 } from './S2310/index.js'; // updated-loop-counter -export { rule as S4323 } from './S4323/index.js'; // use-type-alias -export { rule as S1154 } from './S1154/index.js'; // useless-string-operation -export { rule as S3758 } from './S3758/index.js'; // values-not-convertible-to-numbers -export { rule as S117 } from './S117/index.js'; // variable-name -export { rule as S3735 } from './S3735/index.js'; // void-use -export { rule as S4423 } from './S4423/index.js'; // weak-ssl -export { rule as S2817 } from './S2817/index.js'; // web-sql-database -export { rule as S5689 } from './S5689/index.js'; // x-powered-by -export { rule as S2755 } from './S2755/index.js'; // xml-parser-xxe -export { rule as S4817 } from './S4817/index.js'; // xpath -export { rule as S2301 } from './S2301/index.js'; diff --git a/packages/jsts/src/rules/plugin.ts b/packages/jsts/src/rules/plugin.ts index c037ade8004..c95090a4c0e 100644 --- a/packages/jsts/src/rules/plugin.ts +++ b/packages/jsts/src/rules/plugin.ts @@ -22,342 +22,9 @@ * This is the entry point of the ESLint Plugin. * Said differently, this is the public API of the ESLint Plugin. */ -import type { Rule, Linter } from 'eslint'; +import type { Linter } from 'eslint'; -import * as originalRules from './original.js'; -import * as decoratedRules from './decorated.js'; - -export const rules: Record = { - 'anchor-precedence': originalRules.S5850, - 'argument-type': originalRules.S3782, - 'arguments-order': originalRules.S2234, - 'arguments-usage': originalRules.S3513, - 'array-callback-without-return': originalRules.S3796, - 'array-constructor': originalRules.S1528, - 'arrow-function-convention': originalRules.S3524, - 'assertions-in-tests': originalRules.S2699, - 'aws-apigateway-public-api': originalRules.S6333, - 'aws-ec2-rds-dms-public': originalRules.S6329, - 'aws-ec2-unencrypted-ebs-volume': originalRules.S6275, - 'aws-efs-unencrypted': originalRules.S6332, - 'aws-iam-all-privileges': originalRules.S6302, - 'aws-iam-all-resources-accessible': originalRules.S6304, - 'aws-iam-privilege-escalation': originalRules.S6317, - 'aws-iam-public-access': originalRules.S6270, - 'aws-opensearchservice-domain': originalRules.S6308, - 'aws-rds-unencrypted-databases': originalRules.S6303, - 'aws-restricted-ip-admin-access': originalRules.S6321, - 'aws-s3-bucket-granted-access': originalRules.S6265, - 'aws-s3-bucket-insecure-http': originalRules.S6249, - 'aws-s3-bucket-public-access': originalRules.S6281, - 'aws-s3-bucket-server-encryption': originalRules.S6245, - 'aws-s3-bucket-versioning': originalRules.S6252, - 'aws-sagemaker-unencrypted-notebook': originalRules.S6319, - 'aws-sns-unencrypted-topics': originalRules.S6327, - 'aws-sqs-unencrypted-queue': originalRules.S6330, - 'bitwise-operators': originalRules.S1529, - 'bool-param-default': originalRules.S4798, - 'call-argument-line': originalRules.S1472, - 'certificate-transparency': originalRules.S5742, - 'chai-determinate-assertion': originalRules.S6092, - 'class-name': originalRules.S101, - 'class-prototype': originalRules.S3525, - 'code-eval': originalRules.S1523, - 'cognitive-complexity': originalRules.S3776, - 'comma-or-logical-or-case': originalRules.S3616, - 'comment-regex': originalRules.S124, - 'concise-regex': originalRules.S6353, - 'conditional-indentation': originalRules.S3973, - 'confidential-information-logging': originalRules.S5757, - 'constructor-for-side-effects': originalRules.S1848, - 'content-length': originalRules.S5693, - 'content-security-policy': originalRules.S5728, - 'cookie-no-httponly': originalRules.S3330, - cookies: originalRules.S2255, - cors: originalRules.S5122, - csrf: originalRules.S4502, - 'cyclomatic-complexity': originalRules.S1541, - 'declarations-in-global-scope': originalRules.S3798, - deprecation: originalRules.S1874, - 'destructuring-assignment-syntax': originalRules.S3514, - 'different-types-comparison': originalRules.S3403, - 'disabled-auto-escaping': originalRules.S5247, - 'disabled-resource-integrity': originalRules.S5725, - 'disabled-timeout': originalRules.S6080, - 'dns-prefetching': originalRules.S5743, - 'duplicates-in-character-class': originalRules.S5869, - 'elseif-without-else': originalRules.S126, - 'empty-string-repetition': originalRules.S5842, - encryption: originalRules.S4787, - 'encryption-secure-mode': originalRules.S5542, - 'enforce-trailing-comma': originalRules.S3723, - 'existing-groups': originalRules.S6328, - 'expression-complexity': originalRules.S1067, - 'file-header': originalRules.S1451, - 'file-name-differ-from-class': originalRules.S3317, - 'file-permissions': originalRules.S2612, - 'file-uploads': originalRules.S2598, - 'fixme-tag': originalRules.S1134, - 'for-in': originalRules.S1535, - 'for-loop-increment-sign': originalRules.S2251, - 'frame-ancestors': originalRules.S5732, - 'function-inside-loop': originalRules.S1515, - 'function-name': originalRules.S100, - 'function-return-type': originalRules.S3800, - 'future-reserved-words': originalRules.S1527, - 'generator-without-yield': originalRules.S3531, - hashing: originalRules.S4790, - 'hidden-files': originalRules.S5691, - 'hook-use-state': originalRules.S6754, - 'in-operator-type-error': originalRules.S3785, - 'inconsistent-function-call': originalRules.S3686, - 'index-of-compare-to-positive-number': originalRules.S2692, - 'insecure-cookie': originalRules.S2092, - 'insecure-jwt-token': originalRules.S5659, - 'inverted-assertion-arguments': originalRules.S3415, - 'jsx-key': originalRules.S6477, - 'jsx-no-constructed-context-values': originalRules.S6481, - 'label-position': originalRules.S1439, - 'link-with-target-blank': originalRules.S5148, - 'max-switch-cases': originalRules.S1479, - 'max-union-size': originalRules.S4622, - 'misplaced-loop-counter': originalRules.S1994, - 'mouse-events-a11y': originalRules.S1082, - 'nested-control-flow': originalRules.S134, - 'new-operator-misuse': originalRules.S2999, - 'no-all-duplicated-branches': originalRules.S3923, - 'no-alphabetical-sort': originalRules.S2871, - 'no-angular-bypass-sanitization': originalRules.S6268, - 'no-array-delete': originalRules.S2870, - 'no-array-index-key': originalRules.S6479, - 'no-associative-arrays': originalRules.S3579, - 'no-async-constructor': originalRules.S7059, - 'no-built-in-override': originalRules.S2424, - 'no-case-label-in-switch': originalRules.S1219, - 'no-clear-text-protocols': originalRules.S5332, - 'no-code-after-done': originalRules.S6079, - 'no-collapsible-if': originalRules.S1066, - 'no-collection-size-mischeck': originalRules.S3981, - 'no-commented-code': originalRules.S125, - 'no-dead-store': originalRules.S1854, - 'no-delete-var': originalRules.S3001, - 'no-deprecated-react': originalRules.S6957, - 'no-duplicate-in-composite': originalRules.S4621, - 'no-duplicate-string': originalRules.S1192, - 'no-duplicated-branches': originalRules.S1871, - 'no-element-overwrite': originalRules.S4143, - 'no-empty-after-reluctant': originalRules.S6019, - 'no-empty-alternatives': originalRules.S6323, - 'no-empty-collection': originalRules.S4158, - 'no-empty-group': originalRules.S6331, - 'no-empty-test-file': originalRules.S2187, - 'no-equals-in-for-termination': originalRules.S888, - 'no-exclusive-tests': originalRules.S6426, - 'no-extra-arguments': originalRules.S930, - 'no-for-in-iterable': originalRules.S4139, - 'no-function-declaration-in-block': originalRules.S1530, - 'no-global-this': originalRules.S2990, - 'no-globals-shadowing': originalRules.S2137, - 'no-gratuitous-expressions': originalRules.S2589, - 'no-hardcoded-credentials': originalRules.S2068, - 'no-hardcoded-ip': originalRules.S1313, - 'no-hook-setter-in-body': originalRules.S6442, - 'no-identical-conditions': originalRules.S1862, - 'no-identical-expressions': originalRules.S1764, - 'no-identical-functions': originalRules.S4144, - 'no-ignored-exceptions': originalRules.S2486, - 'no-ignored-return': originalRules.S2201, - 'no-implicit-dependencies': originalRules.S4328, - 'no-implicit-global': originalRules.S2703, - 'no-in-misuse': originalRules.S4619, - 'no-incomplete-assertions': originalRules.S2970, - 'no-inconsistent-returns': originalRules.S3801, - 'no-incorrect-string-concat': originalRules.S3402, - 'no-internal-api-use': originalRules.S6627, - 'no-intrusive-permissions': originalRules.S5604, - 'no-invalid-await': originalRules.S4123, - 'no-invariant-returns': originalRules.S3516, - 'no-inverted-boolean-check': originalRules.S1940, - 'no-ip-forward': originalRules.S5759, - 'no-labels': originalRules.S1119, - 'no-literal-call': originalRules.S6958, - 'no-mime-sniff': originalRules.S5734, - 'no-misleading-array-reverse': originalRules.S4043, - 'no-mixed-content': originalRules.S5730, - 'no-nested-assignment': originalRules.S1121, - 'no-nested-conditional': originalRules.S3358, - 'no-nested-functions': originalRules.S2004, - 'no-nested-incdec': originalRules.S881, - 'no-nested-switch': originalRules.S1821, - 'no-nested-template-literals': originalRules.S4624, - 'no-one-iteration-loop': originalRules.S1751, - 'no-os-command-from-path': originalRules.S4036, - 'no-parameter-reassignment': originalRules.S1226, - 'no-primitive-wrappers': originalRules.S1533, - 'no-redundant-assignments': originalRules.S4165, - 'no-redundant-boolean': originalRules.S1125, - 'no-redundant-jump': originalRules.S3626, - 'no-redundant-optional': originalRules.S4782, - 'no-redundant-parentheses': originalRules.S1110, - 'no-reference-error': originalRules.S3827, - 'no-referrer-policy': originalRules.S5736, - 'no-require-or-define': originalRules.S3533, - 'no-return-type-any': originalRules.S4324, - 'no-same-argument-assert': originalRules.S5863, - 'no-same-line-conditional': originalRules.S3972, - 'no-selector-parameter': originalRules.S2301, - 'no-skipped-test': originalRules.S1607, - 'no-small-switch': originalRules.S1301, - 'no-tab': originalRules.S105, - 'no-table-as-layout': originalRules.S5257, - 'no-try-promise': originalRules.S4822, - 'no-undefined-argument': originalRules.S4623, - 'no-undefined-assignment': originalRules.S2138, - 'no-unenclosed-multiline-block': originalRules.S2681, - 'no-uniq-key': originalRules.S6486, - 'no-unsafe': originalRules.S6791, - 'no-unsafe-unzip': originalRules.S5042, - 'no-unstable-nested-components': originalRules.S6478, - 'no-unthrown-error': originalRules.S3984, - 'no-unused-collection': originalRules.S4030, - 'no-unused-function-argument': originalRules.S1172, - 'no-use-of-empty-return-value': originalRules.S3699, - 'no-useless-catch': originalRules.S2737, - 'no-useless-increment': originalRules.S2123, - 'no-useless-intersection': originalRules.S4335, - 'no-useless-react-setstate': originalRules.S6443, - 'no-variable-usage-before-declaration': originalRules.S1526, - 'no-vue-bypass-sanitization': originalRules.S6299, - 'no-weak-cipher': originalRules.S5547, - 'no-weak-keys': originalRules.S4426, - 'no-wildcard-import': originalRules.S2208, - 'non-existent-operator': originalRules.S2757, - 'non-number-in-arithmetic-expression': originalRules.S3760, - 'null-dereference': originalRules.S2259, - 'object-alt-content': originalRules.S5264, - 'operation-returning-nan': originalRules.S3757, - 'os-command': originalRules.S4721, - 'post-message': originalRules.S2819, - 'prefer-default-last': originalRules.S4524, - 'prefer-immediate-return': originalRules.S1488, - 'prefer-object-literal': originalRules.S2428, - 'prefer-promise-shorthand': originalRules.S4634, - 'prefer-single-boolean-return': originalRules.S1126, - 'prefer-type-guard': originalRules.S4322, - 'prefer-while': originalRules.S1264, - 'process-argv': originalRules.S4823, - 'production-debug': originalRules.S4507, - 'pseudo-random': originalRules.S2245, - 'public-static-readonly': originalRules.S1444, - 'publicly-writable-directories': originalRules.S5443, - 'reduce-initial-value': originalRules.S6959, - 'redundant-type-aliases': originalRules.S6564, - 'regex-complexity': originalRules.S5843, - 'regular-expr': originalRules.S4784, - 'session-regeneration': originalRules.S5876, - 'shorthand-property-grouping': originalRules.S3499, - 'single-char-in-character-classes': originalRules.S6397, - 'single-character-alternation': originalRules.S6035, - 'slow-regex': originalRules.S5852, - sockets: originalRules.S4818, - 'sonar-block-scoped-var': originalRules.S2392, - 'sonar-jsx-no-leaked-render': originalRules.S6439, - 'sonar-max-lines': originalRules.S104, - 'sonar-max-lines-per-function': originalRules.S138, - 'sonar-no-control-regex': originalRules.S6324, - 'sonar-no-empty-character-class': originalRules.S2639, - 'sonar-no-fallthrough': originalRules.S128, - 'sonar-no-invalid-regexp': originalRules.S5856, - 'sonar-no-magic-numbers': originalRules.S109, - 'sonar-no-misleading-character-class': originalRules.S5868, - 'sonar-no-regex-spaces': originalRules.S6326, - 'sonar-no-unused-class-component-methods': originalRules.S6441, - 'sonar-no-unused-vars': originalRules.S1481, - 'sonar-prefer-optional-chain': originalRules.S6582, - 'sonar-prefer-read-only-props': originalRules.S6759, - 'sonar-prefer-regexp-exec': originalRules.S6594, - 'sql-queries': originalRules.S2077, - 'stable-tests': originalRules.S5973, - 'standard-input': originalRules.S4829, - 'stateful-regex': originalRules.S6351, - 'strict-transport-security': originalRules.S5739, - 'strings-comparison': originalRules.S3003, - 'super-invocation': originalRules.S3854, - 'table-header': originalRules.S5256, - 'table-header-reference': originalRules.S5260, - 'test-check-exception': originalRules.S5958, - 'todo-tag': originalRules.S1135, - 'too-many-break-or-continue-in-loop': originalRules.S135, - 'unicode-aware-regex': originalRules.S5867, - 'unused-import': originalRules.S1128, - 'unused-named-groups': originalRules.S5860, - 'unverified-certificate': originalRules.S4830, - 'unverified-hostname': originalRules.S5527, - 'updated-const-var': originalRules.S3500, - 'updated-loop-counter': originalRules.S2310, - 'use-type-alias': originalRules.S4323, - 'useless-string-operation': originalRules.S1154, - 'values-not-convertible-to-numbers': originalRules.S3758, - 'variable-name': originalRules.S117, - 'void-use': originalRules.S3735, - 'weak-ssl': originalRules.S4423, - 'web-sql-database': originalRules.S2817, - 'x-powered-by': originalRules.S5689, - 'xml-parser-xxe': originalRules.S2755, - xpath: originalRules.S4817, - - 'sonar-max-params': decoratedRules.S107, - 'no-unused-private-class-members': decoratedRules.S1068, - 'alt-text': decoratedRules.S1077, - 'brace-style': decoratedRules.S1105, - 'no-extra-semi': decoratedRules.S1116, - 'no-empty-function': decoratedRules.S1186, - 'switch-without-default': decoratedRules.S131, - semi: decoratedRules.S1438, - 'sonar-no-dupe-keys': decoratedRules.S1534, - 'no-unreachable': decoratedRules.S1763, - 'default-param-last': decoratedRules.S1788, - 'no-infinite-loop': decoratedRules.S2189, - 'accessor-pairs': decoratedRules.S2376, - 'new-cap': decoratedRules.S2430, - 'use-isnan': decoratedRules.S2688, - 'no-redeclare': decoratedRules.S2814, - 'object-shorthand': decoratedRules.S3498, - 'no-var': decoratedRules.S3504, - 'prefer-template': decoratedRules.S3512, - 'no-throw-literal': decoratedRules.S3696, - 'no-empty-interface': decoratedRules.S4023, - 'media-has-caption': decoratedRules.S4084, - 'prefer-for-of': decoratedRules.S4138, - 'prefer-namespace-keyword': decoratedRules.S4156, - 'no-accessor-field-mismatch': decoratedRules.S4275, - 'no-this-alias': decoratedRules.S4327, - 'html-has-lang': decoratedRules.S5254, - 'unnecessary-character-escapes': decoratedRules.S6535, - 'no-misused-promises': decoratedRules.S6544, - 'no-base-to-string': decoratedRules.S6551, - 'prefer-string-starts-ends-with': decoratedRules.S6557, - 'no-redundant-type-constituents': decoratedRules.S6571, - 'prefer-enum-initializers': decoratedRules.S6572, - 'prefer-function-type': decoratedRules.S6598, - 'prefer-nullish-coalescing': decoratedRules.S6606, - 'no-extend-native': decoratedRules.S6643, - 'no-useless-constructor': decoratedRules.S6647, - 'no-lonely-if': decoratedRules.S6660, - 'prefer-object-spread': decoratedRules.S6661, - 'prefer-spread': decoratedRules.S6666, - 'no-useless-call': decoratedRules.S6676, - 'no-self-compare': decoratedRules.S6679, - 'no-unknown-property': decoratedRules.S6747, - 'jsx-no-useless-fragment': decoratedRules.S6749, - 'no-find-dom-node': decoratedRules.S6788, - 'anchor-has-content': decoratedRules.S6827, - 'anchor-is-valid': decoratedRules.S6844, - 'label-has-associated-control': decoratedRules.S6853, - 'no-self-import': decoratedRules.S7060, - 'no-unused-expressions': decoratedRules.S905, - 'rules-of-hooks': decoratedRules.S6440, -}; +import { rules } from './plugin-rules.js'; const recommendedLegacyConfig: Linter.Config = { plugins: ['sonarjs'], rules: {} }; const recommendedConfig: Linter.FlatConfig & { @@ -399,4 +66,6 @@ export const meta = { version: '0.0.0-SNAPSHOT', }; +export { rules }; + export default { rules, configs, meta }; diff --git a/packages/jsts/src/rules/typescript-eslint/index.ts b/packages/jsts/src/rules/typescript-eslint/index.ts index 35b5163d933..ab58c312ff2 100644 --- a/packages/jsts/src/rules/typescript-eslint/index.ts +++ b/packages/jsts/src/rules/typescript-eslint/index.ts @@ -19,7 +19,7 @@ */ import type { Rule } from 'eslint'; import pkg from '@typescript-eslint/eslint-plugin'; -const { rules } = pkg; +const { rules: tsEslintRules } = pkg; import { sanitize } from './sanitize.js'; /** @@ -27,11 +27,11 @@ import { sanitize } from './sanitize.js'; * they unconditionally assume that TypeScript's type checker is available. */ const sanitized: Record = {}; -for (const ruleKey of Object.keys(rules)) { - sanitized[ruleKey] = sanitize(rules[ruleKey] as unknown as Rule.RuleModule); +for (const ruleKey of Object.keys(tsEslintRules)) { + sanitized[ruleKey] = sanitize(tsEslintRules[ruleKey] as unknown as Rule.RuleModule); } /** * TypeScript ESLint rules. */ -export const tsEslintRules = sanitized; +export const rules = sanitized; diff --git a/packages/jsts/tests/linter/issues/message.test.ts b/packages/jsts/tests/linter/issues/message.test.ts index 7934fc609e4..a2463bae2da 100644 --- a/packages/jsts/tests/linter/issues/message.test.ts +++ b/packages/jsts/tests/linter/issues/message.test.ts @@ -21,7 +21,7 @@ import { Linter, SourceCode } from 'eslint'; import { convertMessage } from '../../../src/linter/issues/message.js'; import path from 'path'; import { parseJavaScriptSourceFile } from '../../tools/index.js'; -import { S1116 } from '../../../src/rules/decorated.js'; +import { rule as S1116 } from '../../../src/rules/S1116/index.js'; import { describe, it, Mock, mock } from 'node:test'; import { expect } from 'expect'; diff --git a/tools/generate-meta.ts b/tools/generate-meta.ts index b86eda00909..979c3b22bb2 100644 --- a/tools/generate-meta.ts +++ b/tools/generate-meta.ts @@ -28,6 +28,26 @@ function toUnixPath(path: string) { return path.replace(/[\\/]+/g, '/'); } +const header = `/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */`; + const typeMatrix = { CODE_SMELL: 'suggestion', BUG: 'problem', @@ -83,27 +103,8 @@ function generateMetaForRule(ruleDir: string, ruleId: string) { } catch {} writeFileSync( - join(ruleDir, ruleId, 'meta.ts'), - `/* - * SonarQube JavaScript Plugin - * Copyright (C) 2011-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - + join(ruleDir, ruleId, 'generated-meta.ts'), + `${header} // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" @@ -127,7 +128,6 @@ function generateMetaForRules(ruleDir: string) { continue; } if (file.isDirectory()) { - const filename = join(ruleDir, file.name); generateMetaForRule(ruleDir, file.name); } } diff --git a/tools/generate-rule-indexes.ts b/tools/generate-rule-indexes.ts new file mode 100644 index 00000000000..8c3d3efee14 --- /dev/null +++ b/tools/generate-rule-indexes.ts @@ -0,0 +1,88 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +import { readdir, writeFile } from 'fs/promises'; +import { join } from 'node:path/posix'; +import { pathToFileURL } from 'node:url'; + +function toUnixPath(path: string) { + return path.replace(/[\\/]+/g, '/'); +} + +const header = `/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */`; + +const RULES_FOLDER = join(toUnixPath(import.meta.dirname), '../packages/jsts/src/rules/'); +const ruleRegex = /^S\d+$/; + +const allRules: string[] = []; +const pluginRules: string[] = []; +const eslintIds: Record = {}; + +const files = await readdir(RULES_FOLDER, { withFileTypes: true }); +for (const file of files) { + if (ruleRegex.test(file.name) && file.isDirectory()) { + const metadata = await import( + pathToFileURL(join(RULES_FOLDER, file.name, 'meta.js')).toString() + ); + eslintIds[metadata.sonarKey] = metadata.eslintId; + allRules.push(metadata.sonarKey); + if (metadata.implementation === 'original') { + pluginRules.push(metadata.sonarKey); + } + } +} + +const sonarKeySorter = (a, b) => (parseInt(a.substring(1)) < parseInt(b.substring(1)) ? -1 : 1); + +await writeFile( + join(RULES_FOLDER, './rules.ts'), + `${header}\n\n// DO NOT EDIT! This file was generated by generate-rule-indexes.ts\n${allRules + .sort(sonarKeySorter) + .map(id => `export { rule as ${id} } from './${id}/index.js'; // ${eslintIds[id]} \n`) + .join('')}`, +); + +//sort once; +pluginRules.sort(sonarKeySorter); + +await writeFile( + join(RULES_FOLDER, './plugin-rules.ts'), + `${header}\n\n// DO NOT EDIT! This file was generated by generate-rule-indexes.ts\n +${pluginRules.map(id => `import { rule as ${id} } from './${id}/index.js';\n`).join('')} +export const rules = {${pluginRules.map(id => ` "${eslintIds[id]}": ${id},\n`).join('')}};\n`, +); diff --git a/tools/tsconfig.json b/tools/tsconfig.json index e66e8d31a37..50b3a465903 100644 --- a/tools/tsconfig.json +++ b/tools/tsconfig.json @@ -1,9 +1,10 @@ { "compilerOptions": { - "module": "NodeNext", - "target": "es6", + "module": "nodenext", + "target": "ES2023", "allowJs": true, - "moduleResolution": "NodeNext" + "moduleResolution": "NodeNext", + "typeRoots": ["../node_modules/@types", "../typings"] }, - "files": ["generate-meta.ts"] + "files": ["*.ts"] } From cf8f4a5192b5c8db2fbd70a795d8f0a3acb74974 Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Mon, 25 Nov 2024 19:54:38 +0100 Subject: [PATCH 02/23] fix tests and eslint plugin --- .cirrus.yml | 2 -- package.json | 6 +++--- packages/jsts/tests/rules/index.test.ts | 22 +++++++++++----------- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index fdcc304e6c3..fd2edca6a50 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -308,7 +308,6 @@ eslint_plugin_test_task: - . ~/.profile - source cirrus-env QA - source set_maven_build_version $BUILD_NUMBER - - npm install -g tsx - npm run eslint-plugin:build - cd its/eslint8-plugin-sonarjs - npm install @@ -337,7 +336,6 @@ eslint8_node16_plugin_test_task: - . ~/.profile - source cirrus-env QA - source set_maven_build_version $BUILD_NUMBER - - npm install -g tsx - npm run eslint-plugin:build - cd its/eslint8-plugin-sonarjs - npm install diff --git a/package.json b/package.json index 4f0b0cedcc2..b77d3173be6 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "ruling-sync": "rsync -avh packages/ruling/tests/actual/jsts/ its/ruling/src/test/expected/jsts/ --delete", "update-ruling-data": "mvn -f sonar-plugin/sonar-javascript-plugin/pom.xml compile && npx tsx packages/ruling/tests/tools/parseRulesData.ts", "create-rule-indexes": "tsx tools/generate-rule-indexes.ts", - "bridge:compile": "npm run create-rule-indexes && tsc -b packages profiling && npm run _:bridge:copy-protofiles", + "bridge:compile": "tsc -b packages profiling && npm run _:bridge:copy-protofiles", "bridge:test": "tsx --tsconfig packages/tsconfig.test.json --test --test-reporter spec --test-reporter-destination stdout \"packages/*/src/rules/*[!node_modules]/**/*.test.ts\" \"packages/*[!ruling]/tests/**/*.test.ts\"", "bridge:test:cov": "odz run npm run bridge:test || true && odz report --reporters=text-lcov > lcov.info", "bridge:bundle": "node esbuild.mjs", @@ -29,7 +29,7 @@ "plugin:build:fast": "mvn install -DskipTests && npm run update-ruling-data", "pbf": "npm run plugin:build:fast", "td": "npm --prefix typedoc/searchable-parameters-plugin run setup && npx typedoc --options typedoc/typedoc.js", - "prepare": "husky install", + "prepare": "husky install && npm run create-rule-indexes", "precommit": "pretty-quick --staged", "count-rules": "node tools/count-rules.js", "_:bridge:copy-protofiles": "cpy --flat packages/jsts/src/parsers/estree.proto sonar-plugin/bridge/src/main/protobuf && cpy --flat packages/jsts/src/parsers/estree.proto lib/jsts/src/parsers", @@ -38,7 +38,7 @@ "_:plugin-fetch-node": "node tools/fetch-node/scripts/wrapper.mjs", "_:plugin:pre-build": "npm run _:plugin:prepare-bridge && npm run _:plugin-fetch-node", "_:plugin:copy-bridge": "cpy sonarjs-1.0.0.tgz sonar-plugin/sonar-javascript-plugin/target/classes && cpy sonarjs-1.0.0.tgz sonar-plugin/standalone/target/classes", - "eslint-plugin:build": "npm run create-rule-indexes && npm ci && npm run eslint-plugin:compile && cd lib && npm pack", + "eslint-plugin:build": "npm ci && npm run eslint-plugin:compile && cd lib && npm pack", "eslint-plugin:compile": "npm run _:bridge:clear && npm run eslint-plugin:check && npm run eslint-plugin:emit && npm run eslint-plugin:types && npm run eslint-plugin:package-json && npm run eslint-plugin:copy-assets", "eslint-plugin:check": "tsc -p tsconfig-plugin.json --noEmit", "eslint-plugin:emit": "tsc -p tsconfig-plugin.json --noCheck --module commonjs --moduleResolution node --outDir lib/cjs", diff --git a/packages/jsts/tests/rules/index.test.ts b/packages/jsts/tests/rules/index.test.ts index d8c0ecfea43..aaf61a53de0 100644 --- a/packages/jsts/tests/rules/index.test.ts +++ b/packages/jsts/tests/rules/index.test.ts @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { configs, rules, meta } from '../../src/rules/plugin.js'; +import { configs, meta } from '../../src/rules/plugin.js'; import fs from 'fs'; import path from 'path'; import { valid } from 'semver'; @@ -26,26 +26,26 @@ import { describe, it } from 'node:test'; import { expect } from 'expect'; import { pathToFileURL } from 'node:url'; -const mappedRules = new Map( - Object.entries(rules).map(([eslintId, rule]) => [rule.meta.docs.url, eslintId]), -); - describe('Plugin public API', () => { it('should map keys to rules definitions', async () => { const ruleFolder = path.join(import.meta.dirname, '../../src/rules'); - const sonarKeys = fs.readdirSync(ruleFolder).filter(name => /^S\d+/.test(name)); + const ruleIds = fs.readdirSync(ruleFolder).filter(name => /^S\d+/.test(name)); const missing = []; - for (const sonarKey of sonarKeys) { + for (const ruleId of ruleIds) { + const { meta, implementation, eslintId, sonarKey } = await import( + pathToFileURL(path.join(ruleFolder, ruleId, 'meta.js')).toString() + ); + expect(sonarKey).toEqual(ruleId); + expect(['original', 'decorated', 'external']).toContain(implementation); + if (implementation !== 'original') { + continue; + } const { rule } = await import( pathToFileURL(path.join(ruleFolder, sonarKey, 'index.js')).toString() ); expect(rule.meta.docs!.url).toBe( `https://sonarsource.github.io/rspec/#/rspec/${sonarKey}/javascript`, ); - const { meta } = await import( - pathToFileURL(path.join(ruleFolder, sonarKey, 'meta.js')).toString() - ); - const eslintId = mappedRules.get(rule.meta.docs.url); if (!eslintId) { missing.push(sonarKey); } else { From 42a6e0cb49d0d6baab959bd83191e78a1a96b3fa Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Mon, 25 Nov 2024 21:05:17 +0100 Subject: [PATCH 03/23] fix tests and eslint plugin --- packages/jsts/src/rules/.gitignore | 2 - packages/jsts/src/rules/plugin-rules.ts | 579 ++++++++++++++++++++++++ packages/jsts/src/rules/rules.ts | 461 +++++++++++++++++++ tools/generate-rule-indexes.ts | 9 +- 4 files changed, 1046 insertions(+), 5 deletions(-) delete mode 100644 packages/jsts/src/rules/.gitignore create mode 100644 packages/jsts/src/rules/plugin-rules.ts create mode 100644 packages/jsts/src/rules/rules.ts diff --git a/packages/jsts/src/rules/.gitignore b/packages/jsts/src/rules/.gitignore deleted file mode 100644 index 260dac8013b..00000000000 --- a/packages/jsts/src/rules/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -rules.ts -plugin-rules.ts \ No newline at end of file diff --git a/packages/jsts/src/rules/plugin-rules.ts b/packages/jsts/src/rules/plugin-rules.ts new file mode 100644 index 00000000000..0c8002ec22c --- /dev/null +++ b/packages/jsts/src/rules/plugin-rules.ts @@ -0,0 +1,579 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file was generated by generate-rule-indexes.ts + +import { rule as S100 } from './S100/index.js'; +import { rule as S101 } from './S101/index.js'; +import { rule as S104 } from './S104/index.js'; +import { rule as S105 } from './S105/index.js'; +import { rule as S109 } from './S109/index.js'; +import { rule as S117 } from './S117/index.js'; +import { rule as S124 } from './S124/index.js'; +import { rule as S125 } from './S125/index.js'; +import { rule as S126 } from './S126/index.js'; +import { rule as S128 } from './S128/index.js'; +import { rule as S134 } from './S134/index.js'; +import { rule as S135 } from './S135/index.js'; +import { rule as S138 } from './S138/index.js'; +import { rule as S881 } from './S881/index.js'; +import { rule as S888 } from './S888/index.js'; +import { rule as S930 } from './S930/index.js'; +import { rule as S1066 } from './S1066/index.js'; +import { rule as S1067 } from './S1067/index.js'; +import { rule as S1082 } from './S1082/index.js'; +import { rule as S1110 } from './S1110/index.js'; +import { rule as S1119 } from './S1119/index.js'; +import { rule as S1121 } from './S1121/index.js'; +import { rule as S1125 } from './S1125/index.js'; +import { rule as S1126 } from './S1126/index.js'; +import { rule as S1128 } from './S1128/index.js'; +import { rule as S1134 } from './S1134/index.js'; +import { rule as S1135 } from './S1135/index.js'; +import { rule as S1154 } from './S1154/index.js'; +import { rule as S1172 } from './S1172/index.js'; +import { rule as S1192 } from './S1192/index.js'; +import { rule as S1219 } from './S1219/index.js'; +import { rule as S1226 } from './S1226/index.js'; +import { rule as S1264 } from './S1264/index.js'; +import { rule as S1301 } from './S1301/index.js'; +import { rule as S1313 } from './S1313/index.js'; +import { rule as S1439 } from './S1439/index.js'; +import { rule as S1444 } from './S1444/index.js'; +import { rule as S1451 } from './S1451/index.js'; +import { rule as S1472 } from './S1472/index.js'; +import { rule as S1479 } from './S1479/index.js'; +import { rule as S1481 } from './S1481/index.js'; +import { rule as S1488 } from './S1488/index.js'; +import { rule as S1515 } from './S1515/index.js'; +import { rule as S1523 } from './S1523/index.js'; +import { rule as S1526 } from './S1526/index.js'; +import { rule as S1527 } from './S1527/index.js'; +import { rule as S1528 } from './S1528/index.js'; +import { rule as S1529 } from './S1529/index.js'; +import { rule as S1530 } from './S1530/index.js'; +import { rule as S1533 } from './S1533/index.js'; +import { rule as S1535 } from './S1535/index.js'; +import { rule as S1541 } from './S1541/index.js'; +import { rule as S1607 } from './S1607/index.js'; +import { rule as S1751 } from './S1751/index.js'; +import { rule as S1764 } from './S1764/index.js'; +import { rule as S1821 } from './S1821/index.js'; +import { rule as S1848 } from './S1848/index.js'; +import { rule as S1854 } from './S1854/index.js'; +import { rule as S1862 } from './S1862/index.js'; +import { rule as S1871 } from './S1871/index.js'; +import { rule as S1874 } from './S1874/index.js'; +import { rule as S1940 } from './S1940/index.js'; +import { rule as S1994 } from './S1994/index.js'; +import { rule as S2004 } from './S2004/index.js'; +import { rule as S2068 } from './S2068/index.js'; +import { rule as S2077 } from './S2077/index.js'; +import { rule as S2092 } from './S2092/index.js'; +import { rule as S2123 } from './S2123/index.js'; +import { rule as S2137 } from './S2137/index.js'; +import { rule as S2138 } from './S2138/index.js'; +import { rule as S2187 } from './S2187/index.js'; +import { rule as S2201 } from './S2201/index.js'; +import { rule as S2208 } from './S2208/index.js'; +import { rule as S2234 } from './S2234/index.js'; +import { rule as S2245 } from './S2245/index.js'; +import { rule as S2251 } from './S2251/index.js'; +import { rule as S2255 } from './S2255/index.js'; +import { rule as S2259 } from './S2259/index.js'; +import { rule as S2301 } from './S2301/index.js'; +import { rule as S2310 } from './S2310/index.js'; +import { rule as S2392 } from './S2392/index.js'; +import { rule as S2424 } from './S2424/index.js'; +import { rule as S2428 } from './S2428/index.js'; +import { rule as S2486 } from './S2486/index.js'; +import { rule as S2589 } from './S2589/index.js'; +import { rule as S2598 } from './S2598/index.js'; +import { rule as S2612 } from './S2612/index.js'; +import { rule as S2639 } from './S2639/index.js'; +import { rule as S2681 } from './S2681/index.js'; +import { rule as S2692 } from './S2692/index.js'; +import { rule as S2699 } from './S2699/index.js'; +import { rule as S2703 } from './S2703/index.js'; +import { rule as S2737 } from './S2737/index.js'; +import { rule as S2755 } from './S2755/index.js'; +import { rule as S2757 } from './S2757/index.js'; +import { rule as S2817 } from './S2817/index.js'; +import { rule as S2819 } from './S2819/index.js'; +import { rule as S2870 } from './S2870/index.js'; +import { rule as S2871 } from './S2871/index.js'; +import { rule as S2970 } from './S2970/index.js'; +import { rule as S2990 } from './S2990/index.js'; +import { rule as S2999 } from './S2999/index.js'; +import { rule as S3001 } from './S3001/index.js'; +import { rule as S3003 } from './S3003/index.js'; +import { rule as S3317 } from './S3317/index.js'; +import { rule as S3330 } from './S3330/index.js'; +import { rule as S3358 } from './S3358/index.js'; +import { rule as S3402 } from './S3402/index.js'; +import { rule as S3403 } from './S3403/index.js'; +import { rule as S3415 } from './S3415/index.js'; +import { rule as S3499 } from './S3499/index.js'; +import { rule as S3500 } from './S3500/index.js'; +import { rule as S3513 } from './S3513/index.js'; +import { rule as S3514 } from './S3514/index.js'; +import { rule as S3516 } from './S3516/index.js'; +import { rule as S3524 } from './S3524/index.js'; +import { rule as S3525 } from './S3525/index.js'; +import { rule as S3531 } from './S3531/index.js'; +import { rule as S3533 } from './S3533/index.js'; +import { rule as S3579 } from './S3579/index.js'; +import { rule as S3616 } from './S3616/index.js'; +import { rule as S3626 } from './S3626/index.js'; +import { rule as S3686 } from './S3686/index.js'; +import { rule as S3699 } from './S3699/index.js'; +import { rule as S3723 } from './S3723/index.js'; +import { rule as S3735 } from './S3735/index.js'; +import { rule as S3757 } from './S3757/index.js'; +import { rule as S3758 } from './S3758/index.js'; +import { rule as S3760 } from './S3760/index.js'; +import { rule as S3776 } from './S3776/index.js'; +import { rule as S3782 } from './S3782/index.js'; +import { rule as S3785 } from './S3785/index.js'; +import { rule as S3796 } from './S3796/index.js'; +import { rule as S3798 } from './S3798/index.js'; +import { rule as S3800 } from './S3800/index.js'; +import { rule as S3801 } from './S3801/index.js'; +import { rule as S3827 } from './S3827/index.js'; +import { rule as S3854 } from './S3854/index.js'; +import { rule as S3923 } from './S3923/index.js'; +import { rule as S3972 } from './S3972/index.js'; +import { rule as S3973 } from './S3973/index.js'; +import { rule as S3981 } from './S3981/index.js'; +import { rule as S3984 } from './S3984/index.js'; +import { rule as S4030 } from './S4030/index.js'; +import { rule as S4036 } from './S4036/index.js'; +import { rule as S4043 } from './S4043/index.js'; +import { rule as S4123 } from './S4123/index.js'; +import { rule as S4139 } from './S4139/index.js'; +import { rule as S4143 } from './S4143/index.js'; +import { rule as S4144 } from './S4144/index.js'; +import { rule as S4158 } from './S4158/index.js'; +import { rule as S4165 } from './S4165/index.js'; +import { rule as S4322 } from './S4322/index.js'; +import { rule as S4323 } from './S4323/index.js'; +import { rule as S4324 } from './S4324/index.js'; +import { rule as S4328 } from './S4328/index.js'; +import { rule as S4335 } from './S4335/index.js'; +import { rule as S4423 } from './S4423/index.js'; +import { rule as S4426 } from './S4426/index.js'; +import { rule as S4502 } from './S4502/index.js'; +import { rule as S4507 } from './S4507/index.js'; +import { rule as S4524 } from './S4524/index.js'; +import { rule as S4619 } from './S4619/index.js'; +import { rule as S4621 } from './S4621/index.js'; +import { rule as S4622 } from './S4622/index.js'; +import { rule as S4623 } from './S4623/index.js'; +import { rule as S4624 } from './S4624/index.js'; +import { rule as S4634 } from './S4634/index.js'; +import { rule as S4721 } from './S4721/index.js'; +import { rule as S4782 } from './S4782/index.js'; +import { rule as S4784 } from './S4784/index.js'; +import { rule as S4787 } from './S4787/index.js'; +import { rule as S4790 } from './S4790/index.js'; +import { rule as S4798 } from './S4798/index.js'; +import { rule as S4817 } from './S4817/index.js'; +import { rule as S4818 } from './S4818/index.js'; +import { rule as S4822 } from './S4822/index.js'; +import { rule as S4823 } from './S4823/index.js'; +import { rule as S4829 } from './S4829/index.js'; +import { rule as S4830 } from './S4830/index.js'; +import { rule as S5042 } from './S5042/index.js'; +import { rule as S5122 } from './S5122/index.js'; +import { rule as S5148 } from './S5148/index.js'; +import { rule as S5247 } from './S5247/index.js'; +import { rule as S5256 } from './S5256/index.js'; +import { rule as S5257 } from './S5257/index.js'; +import { rule as S5260 } from './S5260/index.js'; +import { rule as S5264 } from './S5264/index.js'; +import { rule as S5332 } from './S5332/index.js'; +import { rule as S5443 } from './S5443/index.js'; +import { rule as S5527 } from './S5527/index.js'; +import { rule as S5542 } from './S5542/index.js'; +import { rule as S5547 } from './S5547/index.js'; +import { rule as S5604 } from './S5604/index.js'; +import { rule as S5659 } from './S5659/index.js'; +import { rule as S5689 } from './S5689/index.js'; +import { rule as S5691 } from './S5691/index.js'; +import { rule as S5693 } from './S5693/index.js'; +import { rule as S5725 } from './S5725/index.js'; +import { rule as S5728 } from './S5728/index.js'; +import { rule as S5730 } from './S5730/index.js'; +import { rule as S5732 } from './S5732/index.js'; +import { rule as S5734 } from './S5734/index.js'; +import { rule as S5736 } from './S5736/index.js'; +import { rule as S5739 } from './S5739/index.js'; +import { rule as S5742 } from './S5742/index.js'; +import { rule as S5743 } from './S5743/index.js'; +import { rule as S5757 } from './S5757/index.js'; +import { rule as S5759 } from './S5759/index.js'; +import { rule as S5842 } from './S5842/index.js'; +import { rule as S5843 } from './S5843/index.js'; +import { rule as S5850 } from './S5850/index.js'; +import { rule as S5852 } from './S5852/index.js'; +import { rule as S5856 } from './S5856/index.js'; +import { rule as S5860 } from './S5860/index.js'; +import { rule as S5863 } from './S5863/index.js'; +import { rule as S5867 } from './S5867/index.js'; +import { rule as S5868 } from './S5868/index.js'; +import { rule as S5869 } from './S5869/index.js'; +import { rule as S5876 } from './S5876/index.js'; +import { rule as S5958 } from './S5958/index.js'; +import { rule as S5973 } from './S5973/index.js'; +import { rule as S6019 } from './S6019/index.js'; +import { rule as S6035 } from './S6035/index.js'; +import { rule as S6079 } from './S6079/index.js'; +import { rule as S6080 } from './S6080/index.js'; +import { rule as S6092 } from './S6092/index.js'; +import { rule as S6245 } from './S6245/index.js'; +import { rule as S6249 } from './S6249/index.js'; +import { rule as S6252 } from './S6252/index.js'; +import { rule as S6265 } from './S6265/index.js'; +import { rule as S6268 } from './S6268/index.js'; +import { rule as S6270 } from './S6270/index.js'; +import { rule as S6275 } from './S6275/index.js'; +import { rule as S6281 } from './S6281/index.js'; +import { rule as S6299 } from './S6299/index.js'; +import { rule as S6302 } from './S6302/index.js'; +import { rule as S6303 } from './S6303/index.js'; +import { rule as S6304 } from './S6304/index.js'; +import { rule as S6308 } from './S6308/index.js'; +import { rule as S6317 } from './S6317/index.js'; +import { rule as S6319 } from './S6319/index.js'; +import { rule as S6321 } from './S6321/index.js'; +import { rule as S6323 } from './S6323/index.js'; +import { rule as S6324 } from './S6324/index.js'; +import { rule as S6326 } from './S6326/index.js'; +import { rule as S6327 } from './S6327/index.js'; +import { rule as S6328 } from './S6328/index.js'; +import { rule as S6329 } from './S6329/index.js'; +import { rule as S6330 } from './S6330/index.js'; +import { rule as S6331 } from './S6331/index.js'; +import { rule as S6332 } from './S6332/index.js'; +import { rule as S6333 } from './S6333/index.js'; +import { rule as S6351 } from './S6351/index.js'; +import { rule as S6353 } from './S6353/index.js'; +import { rule as S6397 } from './S6397/index.js'; +import { rule as S6426 } from './S6426/index.js'; +import { rule as S6439 } from './S6439/index.js'; +import { rule as S6441 } from './S6441/index.js'; +import { rule as S6442 } from './S6442/index.js'; +import { rule as S6443 } from './S6443/index.js'; +import { rule as S6477 } from './S6477/index.js'; +import { rule as S6478 } from './S6478/index.js'; +import { rule as S6479 } from './S6479/index.js'; +import { rule as S6481 } from './S6481/index.js'; +import { rule as S6486 } from './S6486/index.js'; +import { rule as S6564 } from './S6564/index.js'; +import { rule as S6582 } from './S6582/index.js'; +import { rule as S6594 } from './S6594/index.js'; +import { rule as S6627 } from './S6627/index.js'; +import { rule as S6754 } from './S6754/index.js'; +import { rule as S6759 } from './S6759/index.js'; +import { rule as S6791 } from './S6791/index.js'; +import { rule as S6957 } from './S6957/index.js'; +import { rule as S6958 } from './S6958/index.js'; +import { rule as S6959 } from './S6959/index.js'; +import { rule as S7059 } from './S7059/index.js'; + +export const rules = { + 'function-name': S100, + 'class-name': S101, + 'max-lines': S104, + 'no-tab': S105, + 'no-magic-numbers': S109, + 'variable-name': S117, + 'comment-regex': S124, + 'no-commented-code': S125, + 'elseif-without-else': S126, + 'no-fallthrough': S128, + 'nested-control-flow': S134, + 'too-many-break-or-continue-in-loop': S135, + 'max-lines-per-function': S138, + 'no-nested-incdec': S881, + 'no-equals-in-for-termination': S888, + 'no-extra-arguments': S930, + 'no-collapsible-if': S1066, + 'expression-complexity': S1067, + 'mouse-events-a11y': S1082, + 'no-redundant-parentheses': S1110, + 'no-labels': S1119, + 'no-nested-assignment': S1121, + 'no-redundant-boolean': S1125, + 'prefer-single-boolean-return': S1126, + 'unused-import': S1128, + 'fixme-tag': S1134, + 'todo-tag': S1135, + 'useless-string-operation': S1154, + 'no-unused-function-argument': S1172, + 'no-duplicate-string': S1192, + 'no-case-label-in-switch': S1219, + 'no-parameter-reassignment': S1226, + 'prefer-while': S1264, + 'no-small-switch': S1301, + 'no-hardcoded-ip': S1313, + 'label-position': S1439, + 'public-static-readonly': S1444, + 'file-header': S1451, + 'call-argument-line': S1472, + 'max-switch-cases': S1479, + 'no-unused-vars': S1481, + 'prefer-immediate-return': S1488, + 'function-inside-loop': S1515, + 'code-eval': S1523, + 'no-variable-usage-before-declaration': S1526, + 'future-reserved-words': S1527, + 'array-constructor': S1528, + 'bitwise-operators': S1529, + 'no-function-declaration-in-block': S1530, + 'no-primitive-wrappers': S1533, + 'for-in': S1535, + 'cyclomatic-complexity': S1541, + 'no-skipped-tests': S1607, + 'no-one-iteration-loop': S1751, + 'no-identical-expressions': S1764, + 'no-nested-switch': S1821, + 'constructor-for-side-effects': S1848, + 'no-dead-store': S1854, + 'no-identical-conditions': S1862, + 'no-duplicated-branches': S1871, + deprecation: S1874, + 'no-inverted-boolean-check': S1940, + 'misplaced-loop-counter': S1994, + 'no-nested-functions': S2004, + 'no-hardcoded-credentials': S2068, + 'sql-queries': S2077, + 'insecure-cookie': S2092, + 'no-useless-increment': S2123, + 'no-globals-shadowing': S2137, + 'no-undefined-assignment': S2138, + 'no-empty-test-file': S2187, + 'no-ignored-return': S2201, + 'no-wildcard-import': S2208, + 'arguments-order': S2234, + 'pseudo-random': S2245, + 'for-loop-increment-sign': S2251, + cookies: S2255, + 'null-dereference': S2259, + 'no-selector-parameter': S2301, + 'updated-loop-counter': S2310, + 'block-scoped-var': S2392, + 'no-built-in-override': S2424, + 'prefer-object-literal': S2428, + 'no-ignored-exceptions': S2486, + 'no-gratuitous-expressions': S2589, + 'file-uploads': S2598, + 'file-permissions': S2612, + 'no-empty-character-class': S2639, + 'no-unenclosed-multiline-block': S2681, + 'index-of-compare-to-positive-number': S2692, + 'assertions-in-tests': S2699, + 'no-implicit-global': S2703, + 'no-useless-catch': S2737, + 'xml-parser-xxe': S2755, + 'non-existent-operator': S2757, + 'web-sql-database': S2817, + 'post-message': S2819, + 'no-array-delete': S2870, + 'no-alphabetical-sort': S2871, + 'no-incomplete-assertions': S2970, + 'no-global-this': S2990, + 'new-operator-misuse': S2999, + 'no-delete-var': S3001, + 'strings-comparison': S3003, + 'file-name-differ-from-class': S3317, + 'cookie-no-httponly': S3330, + 'no-nested-conditional': S3358, + 'no-incorrect-string-concat': S3402, + 'different-types-comparison': S3403, + 'inverted-assertion-arguments': S3415, + 'shorthand-property-grouping': S3499, + 'updated-const-var': S3500, + 'arguments-usage': S3513, + 'destructuring-assignment-syntax': S3514, + 'no-invariant-returns': S3516, + 'arrow-function-convention': S3524, + 'class-prototype': S3525, + 'generator-without-yield': S3531, + 'no-require-or-define': S3533, + 'no-associative-arrays': S3579, + 'comma-or-logical-or-case': S3616, + 'no-redundant-jump': S3626, + 'inconsistent-function-call': S3686, + 'no-use-of-empty-return-value': S3699, + 'enforce-trailing-comma': S3723, + 'void-use': S3735, + 'operation-returning-nan': S3757, + 'values-not-convertible-to-numbers': S3758, + 'non-number-in-arithmetic-expression': S3760, + 'cognitive-complexity': S3776, + 'argument-type': S3782, + 'in-operator-type-error': S3785, + 'array-callback-without-return': S3796, + 'declarations-in-global-scope': S3798, + 'function-return-type': S3800, + 'no-inconsistent-returns': S3801, + 'no-reference-error': S3827, + 'super-invocation': S3854, + 'no-all-duplicated-branches': S3923, + 'no-same-line-conditional': S3972, + 'conditional-indentation': S3973, + 'no-collection-size-mischeck': S3981, + 'no-unthrown-error': S3984, + 'no-unused-collection': S4030, + 'no-os-command-from-path': S4036, + 'no-misleading-array-reverse': S4043, + 'no-invalid-await': S4123, + 'no-for-in-iterable': S4139, + 'no-element-overwrite': S4143, + 'no-identical-functions': S4144, + 'no-empty-collection': S4158, + 'no-redundant-assignments': S4165, + 'prefer-type-guard': S4322, + 'use-type-alias': S4323, + 'no-return-type-any': S4324, + 'no-implicit-dependencies': S4328, + 'no-useless-intersection': S4335, + 'weak-ssl': S4423, + 'no-weak-keys': S4426, + csrf: S4502, + 'production-debug': S4507, + 'prefer-default-last': S4524, + 'no-in-misuse': S4619, + 'no-duplicate-in-composite': S4621, + 'max-union-size': S4622, + 'no-undefined-argument': S4623, + 'no-nested-template-literals': S4624, + 'prefer-promise-shorthand': S4634, + 'os-command': S4721, + 'no-redundant-optional': S4782, + 'regular-expr': S4784, + encryption: S4787, + hashing: S4790, + 'bool-param-default': S4798, + xpath: S4817, + sockets: S4818, + 'no-try-promise': S4822, + 'process-argv': S4823, + 'standard-input': S4829, + 'unverified-certificate': S4830, + 'no-unsafe-unzip': S5042, + cors: S5122, + 'link-with-target-blank': S5148, + 'disabled-auto-escaping': S5247, + 'table-header': S5256, + 'no-table-as-layout': S5257, + 'table-header-reference': S5260, + 'object-alt-content': S5264, + 'no-clear-text-protocols': S5332, + 'publicly-writable-directories': S5443, + 'unverified-hostname': S5527, + 'encryption-secure-mode': S5542, + 'no-weak-cipher': S5547, + 'no-intrusive-permissions': S5604, + 'insecure-jwt-token': S5659, + 'x-powered-by': S5689, + 'hidden-files': S5691, + 'content-length': S5693, + 'disabled-resource-integrity': S5725, + 'content-security-policy': S5728, + 'no-mixed-content': S5730, + 'frame-ancestors': S5732, + 'no-mime-sniff': S5734, + 'no-referrer-policy': S5736, + 'strict-transport-security': S5739, + 'certificate-transparency': S5742, + 'dns-prefetching': S5743, + 'confidential-information-logging': S5757, + 'no-ip-forward': S5759, + 'empty-string-repetition': S5842, + 'regex-complexity': S5843, + 'anchor-precedence': S5850, + 'slow-regex': S5852, + 'no-invalid-regexp': S5856, + 'unused-named-groups': S5860, + 'no-same-argument-assert': S5863, + 'unicode-aware-regex': S5867, + 'no-misleading-character-class': S5868, + 'duplicates-in-character-class': S5869, + 'session-regeneration': S5876, + 'test-check-exception': S5958, + 'stable-tests': S5973, + 'no-empty-after-reluctant': S6019, + 'single-character-alternation': S6035, + 'no-code-after-done': S6079, + 'disabled-timeout': S6080, + 'chai-determinate-assertion': S6092, + 'aws-s3-bucket-server-encryption': S6245, + 'aws-s3-bucket-insecure-http': S6249, + 'aws-s3-bucket-versioning': S6252, + 'aws-s3-bucket-granted-access': S6265, + 'no-angular-bypass-sanitization': S6268, + 'aws-iam-public-access': S6270, + 'aws-ec2-unencrypted-ebs-volume': S6275, + 'aws-s3-bucket-public-access': S6281, + 'no-vue-bypass-sanitization': S6299, + 'aws-iam-all-privileges': S6302, + 'aws-rds-unencrypted-databases': S6303, + 'aws-iam-all-resources-accessible': S6304, + 'aws-opensearchservice-domain': S6308, + 'aws-iam-privilege-escalation': S6317, + 'aws-sagemaker-unencrypted-notebook': S6319, + 'aws-restricted-ip-admin-access': S6321, + 'no-empty-alternatives': S6323, + 'no-control-regex': S6324, + 'no-regex-spaces': S6326, + 'aws-sns-unencrypted-topics': S6327, + 'existing-groups': S6328, + 'aws-ec2-rds-dms-public': S6329, + 'aws-sqs-unencrypted-queue': S6330, + 'no-empty-group': S6331, + 'aws-efs-unencrypted': S6332, + 'aws-apigateway-public-api': S6333, + 'stateful-regex': S6351, + 'concise-regex': S6353, + 'single-char-in-character-classes': S6397, + 'no-exclusive-tests': S6426, + 'jsx-no-leaked-render': S6439, + 'no-unused-class-component-methods': S6441, + 'no-hook-setter-in-body': S6442, + 'no-useless-react-setstate': S6443, + 'jsx-key': S6477, + 'no-unstable-nested-components': S6478, + 'no-array-index-key': S6479, + 'jsx-no-constructed-context-values': S6481, + 'no-uniq-key': S6486, + 'redundant-type-aliases': S6564, + 'prefer-optional-chain': S6582, + 'prefer-regexp-exec': S6594, + 'no-internal-api-use': S6627, + 'hook-use-state': S6754, + 'prefer-read-only-props': S6759, + 'no-unsafe': S6791, + 'no-deprecated-react': S6957, + 'no-literal-call': S6958, + 'reduce-initial-value': S6959, + 'no-async-constructor': S7059, +}; diff --git a/packages/jsts/src/rules/rules.ts b/packages/jsts/src/rules/rules.ts new file mode 100644 index 00000000000..9282927db0f --- /dev/null +++ b/packages/jsts/src/rules/rules.ts @@ -0,0 +1,461 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +// DO NOT EDIT! This file was generated by generate-rule-indexes.ts +export { rule as S100 } from './S100/index.js'; // function-name +export { rule as S101 } from './S101/index.js'; // class-name +export { rule as S103 } from './S103/index.js'; // max-len +export { rule as S104 } from './S104/index.js'; // max-lines +export { rule as S105 } from './S105/index.js'; // no-tab +export { rule as S106 } from './S106/index.js'; // no-console +export { rule as S107 } from './S107/index.js'; // max-params +export { rule as S108 } from './S108/index.js'; // no-empty +export { rule as S109 } from './S109/index.js'; // no-magic-numbers +export { rule as S113 } from './S113/index.js'; // eol-last +export { rule as S117 } from './S117/index.js'; // variable-name +export { rule as S121 } from './S121/index.js'; // curly +export { rule as S122 } from './S122/index.js'; // max-statements-per-line +export { rule as S124 } from './S124/index.js'; // comment-regex +export { rule as S125 } from './S125/index.js'; // no-commented-code +export { rule as S126 } from './S126/index.js'; // elseif-without-else +export { rule as S128 } from './S128/index.js'; // no-fallthrough +export { rule as S131 } from './S131/index.js'; // switch-without-default +export { rule as S134 } from './S134/index.js'; // nested-control-flow +export { rule as S135 } from './S135/index.js'; // too-many-break-or-continue-in-loop +export { rule as S138 } from './S138/index.js'; // max-lines-per-function +export { rule as S139 } from './S139/index.js'; // line-comment-position +export { rule as S878 } from './S878/index.js'; // no-sequences +export { rule as S881 } from './S881/index.js'; // no-nested-incdec +export { rule as S888 } from './S888/index.js'; // no-equals-in-for-termination +export { rule as S905 } from './S905/index.js'; // no-unused-expressions +export { rule as S909 } from './S909/index.js'; // no-continue +export { rule as S930 } from './S930/index.js'; // no-extra-arguments +export { rule as S1066 } from './S1066/index.js'; // no-collapsible-if +export { rule as S1067 } from './S1067/index.js'; // expression-complexity +export { rule as S1068 } from './S1068/index.js'; // no-unused-private-class-members +export { rule as S1077 } from './S1077/index.js'; // alt-text +export { rule as S1082 } from './S1082/index.js'; // mouse-events-a11y +export { rule as S1090 } from './S1090/index.js'; // iframe-has-title +export { rule as S1105 } from './S1105/index.js'; // brace-style +export { rule as S1110 } from './S1110/index.js'; // no-redundant-parentheses +export { rule as S1116 } from './S1116/index.js'; // no-extra-semi +export { rule as S1117 } from './S1117/index.js'; // no-shadow +export { rule as S1119 } from './S1119/index.js'; // no-labels +export { rule as S1121 } from './S1121/index.js'; // no-nested-assignment +export { rule as S1125 } from './S1125/index.js'; // no-redundant-boolean +export { rule as S1126 } from './S1126/index.js'; // prefer-single-boolean-return +export { rule as S1128 } from './S1128/index.js'; // unused-import +export { rule as S1131 } from './S1131/index.js'; // no-trailing-spaces +export { rule as S1134 } from './S1134/index.js'; // fixme-tag +export { rule as S1135 } from './S1135/index.js'; // todo-tag +export { rule as S1143 } from './S1143/index.js'; // no-unsafe-finally +export { rule as S1154 } from './S1154/index.js'; // useless-string-operation +export { rule as S1172 } from './S1172/index.js'; // no-unused-function-argument +export { rule as S1186 } from './S1186/index.js'; // no-empty-function +export { rule as S1192 } from './S1192/index.js'; // no-duplicate-string +export { rule as S1199 } from './S1199/index.js'; // no-lone-blocks +export { rule as S1219 } from './S1219/index.js'; // no-case-label-in-switch +export { rule as S1226 } from './S1226/index.js'; // no-parameter-reassignment +export { rule as S1264 } from './S1264/index.js'; // prefer-while +export { rule as S1301 } from './S1301/index.js'; // no-small-switch +export { rule as S1313 } from './S1313/index.js'; // no-hardcoded-ip +export { rule as S1314 } from './S1314/index.js'; // no-octal +export { rule as S1321 } from './S1321/index.js'; // no-with +export { rule as S1438 } from './S1438/index.js'; // semi +export { rule as S1439 } from './S1439/index.js'; // label-position +export { rule as S1440 } from './S1440/index.js'; // eqeqeq +export { rule as S1441 } from './S1441/index.js'; // quotes +export { rule as S1442 } from './S1442/index.js'; // no-alert +export { rule as S1444 } from './S1444/index.js'; // public-static-readonly +export { rule as S1451 } from './S1451/index.js'; // file-header +export { rule as S1472 } from './S1472/index.js'; // call-argument-line +export { rule as S1479 } from './S1479/index.js'; // max-switch-cases +export { rule as S1481 } from './S1481/index.js'; // no-unused-vars +export { rule as S1488 } from './S1488/index.js'; // prefer-immediate-return +export { rule as S1515 } from './S1515/index.js'; // function-inside-loop +export { rule as S1516 } from './S1516/index.js'; // no-multi-str +export { rule as S1523 } from './S1523/index.js'; // code-eval +export { rule as S1525 } from './S1525/index.js'; // no-debugger +export { rule as S1526 } from './S1526/index.js'; // no-variable-usage-before-declaration +export { rule as S1527 } from './S1527/index.js'; // future-reserved-words +export { rule as S1528 } from './S1528/index.js'; // array-constructor +export { rule as S1529 } from './S1529/index.js'; // bitwise-operators +export { rule as S1530 } from './S1530/index.js'; // no-function-declaration-in-block +export { rule as S1533 } from './S1533/index.js'; // no-primitive-wrappers +export { rule as S1534 } from './S1534/index.js'; // no-dupe-keys +export { rule as S1535 } from './S1535/index.js'; // for-in +export { rule as S1536 } from './S1536/index.js'; // no-dupe-args +export { rule as S1537 } from './S1537/index.js'; // comma-dangle +export { rule as S1539 } from './S1539/index.js'; // strict +export { rule as S1541 } from './S1541/index.js'; // cyclomatic-complexity +export { rule as S1607 } from './S1607/index.js'; // no-skipped-tests +export { rule as S1656 } from './S1656/index.js'; // no-self-assign +export { rule as S1751 } from './S1751/index.js'; // no-one-iteration-loop +export { rule as S1763 } from './S1763/index.js'; // no-unreachable +export { rule as S1764 } from './S1764/index.js'; // no-identical-expressions +export { rule as S1774 } from './S1774/index.js'; // no-ternary +export { rule as S1788 } from './S1788/index.js'; // default-param-last +export { rule as S1821 } from './S1821/index.js'; // no-nested-switch +export { rule as S1848 } from './S1848/index.js'; // constructor-for-side-effects +export { rule as S1854 } from './S1854/index.js'; // no-dead-store +export { rule as S1862 } from './S1862/index.js'; // no-identical-conditions +export { rule as S1871 } from './S1871/index.js'; // no-duplicated-branches +export { rule as S1874 } from './S1874/index.js'; // deprecation +export { rule as S1940 } from './S1940/index.js'; // no-inverted-boolean-check +export { rule as S1994 } from './S1994/index.js'; // misplaced-loop-counter +export { rule as S2004 } from './S2004/index.js'; // no-nested-functions +export { rule as S2068 } from './S2068/index.js'; // no-hardcoded-credentials +export { rule as S2077 } from './S2077/index.js'; // sql-queries +export { rule as S2092 } from './S2092/index.js'; // insecure-cookie +export { rule as S2094 } from './S2094/index.js'; // no-extraneous-class +export { rule as S2123 } from './S2123/index.js'; // no-useless-increment +export { rule as S2137 } from './S2137/index.js'; // no-globals-shadowing +export { rule as S2138 } from './S2138/index.js'; // no-undefined-assignment +export { rule as S2187 } from './S2187/index.js'; // no-empty-test-file +export { rule as S2189 } from './S2189/index.js'; // no-infinite-loop +export { rule as S2201 } from './S2201/index.js'; // no-ignored-return +export { rule as S2208 } from './S2208/index.js'; // no-wildcard-import +export { rule as S2234 } from './S2234/index.js'; // arguments-order +export { rule as S2245 } from './S2245/index.js'; // pseudo-random +export { rule as S2251 } from './S2251/index.js'; // for-loop-increment-sign +export { rule as S2255 } from './S2255/index.js'; // cookies +export { rule as S2259 } from './S2259/index.js'; // null-dereference +export { rule as S2301 } from './S2301/index.js'; // no-selector-parameter +export { rule as S2310 } from './S2310/index.js'; // updated-loop-counter +export { rule as S2376 } from './S2376/index.js'; // accessor-pairs +export { rule as S2392 } from './S2392/index.js'; // block-scoped-var +export { rule as S2424 } from './S2424/index.js'; // no-built-in-override +export { rule as S2427 } from './S2427/index.js'; // radix +export { rule as S2428 } from './S2428/index.js'; // prefer-object-literal +export { rule as S2430 } from './S2430/index.js'; // new-cap +export { rule as S2432 } from './S2432/index.js'; // no-setter-return +export { rule as S2486 } from './S2486/index.js'; // no-ignored-exceptions +export { rule as S2589 } from './S2589/index.js'; // no-gratuitous-expressions +export { rule as S2598 } from './S2598/index.js'; // file-uploads +export { rule as S2612 } from './S2612/index.js'; // file-permissions +export { rule as S2639 } from './S2639/index.js'; // no-empty-character-class +export { rule as S2681 } from './S2681/index.js'; // no-unenclosed-multiline-block +export { rule as S2685 } from './S2685/index.js'; // no-caller +export { rule as S2688 } from './S2688/index.js'; // use-isnan +export { rule as S2692 } from './S2692/index.js'; // index-of-compare-to-positive-number +export { rule as S2699 } from './S2699/index.js'; // assertions-in-tests +export { rule as S2703 } from './S2703/index.js'; // no-implicit-global +export { rule as S2737 } from './S2737/index.js'; // no-useless-catch +export { rule as S2755 } from './S2755/index.js'; // xml-parser-xxe +export { rule as S2757 } from './S2757/index.js'; // non-existent-operator +export { rule as S2814 } from './S2814/index.js'; // no-redeclare +export { rule as S2817 } from './S2817/index.js'; // web-sql-database +export { rule as S2819 } from './S2819/index.js'; // post-message +export { rule as S2870 } from './S2870/index.js'; // no-array-delete +export { rule as S2871 } from './S2871/index.js'; // no-alphabetical-sort +export { rule as S2933 } from './S2933/index.js'; // prefer-readonly +export { rule as S2966 } from './S2966/index.js'; // no-non-null-assertion +export { rule as S2970 } from './S2970/index.js'; // no-incomplete-assertions +export { rule as S2990 } from './S2990/index.js'; // no-global-this +export { rule as S2999 } from './S2999/index.js'; // new-operator-misuse +export { rule as S3001 } from './S3001/index.js'; // no-delete-var +export { rule as S3003 } from './S3003/index.js'; // strings-comparison +export { rule as S3257 } from './S3257/index.js'; // no-inferrable-types +export { rule as S3317 } from './S3317/index.js'; // file-name-differ-from-class +export { rule as S3330 } from './S3330/index.js'; // cookie-no-httponly +export { rule as S3353 } from './S3353/index.js'; // prefer-const +export { rule as S3358 } from './S3358/index.js'; // no-nested-conditional +export { rule as S3402 } from './S3402/index.js'; // no-incorrect-string-concat +export { rule as S3403 } from './S3403/index.js'; // different-types-comparison +export { rule as S3415 } from './S3415/index.js'; // inverted-assertion-arguments +export { rule as S3498 } from './S3498/index.js'; // object-shorthand +export { rule as S3499 } from './S3499/index.js'; // shorthand-property-grouping +export { rule as S3500 } from './S3500/index.js'; // updated-const-var +export { rule as S3504 } from './S3504/index.js'; // no-var +export { rule as S3512 } from './S3512/index.js'; // prefer-template +export { rule as S3513 } from './S3513/index.js'; // arguments-usage +export { rule as S3514 } from './S3514/index.js'; // destructuring-assignment-syntax +export { rule as S3516 } from './S3516/index.js'; // no-invariant-returns +export { rule as S3523 } from './S3523/index.js'; // no-new-func +export { rule as S3524 } from './S3524/index.js'; // arrow-function-convention +export { rule as S3525 } from './S3525/index.js'; // class-prototype +export { rule as S3531 } from './S3531/index.js'; // generator-without-yield +export { rule as S3533 } from './S3533/index.js'; // no-require-or-define +export { rule as S3579 } from './S3579/index.js'; // no-associative-arrays +export { rule as S3616 } from './S3616/index.js'; // comma-or-logical-or-case +export { rule as S3626 } from './S3626/index.js'; // no-redundant-jump +export { rule as S3686 } from './S3686/index.js'; // inconsistent-function-call +export { rule as S3696 } from './S3696/index.js'; // no-throw-literal +export { rule as S3699 } from './S3699/index.js'; // no-use-of-empty-return-value +export { rule as S3723 } from './S3723/index.js'; // enforce-trailing-comma +export { rule as S3735 } from './S3735/index.js'; // void-use +export { rule as S3757 } from './S3757/index.js'; // operation-returning-nan +export { rule as S3758 } from './S3758/index.js'; // values-not-convertible-to-numbers +export { rule as S3760 } from './S3760/index.js'; // non-number-in-arithmetic-expression +export { rule as S3776 } from './S3776/index.js'; // cognitive-complexity +export { rule as S3782 } from './S3782/index.js'; // argument-type +export { rule as S3785 } from './S3785/index.js'; // in-operator-type-error +export { rule as S3786 } from './S3786/index.js'; // no-template-curly-in-string +export { rule as S3796 } from './S3796/index.js'; // array-callback-without-return +export { rule as S3798 } from './S3798/index.js'; // declarations-in-global-scope +export { rule as S3799 } from './S3799/index.js'; // no-empty-pattern +export { rule as S3800 } from './S3800/index.js'; // function-return-type +export { rule as S3801 } from './S3801/index.js'; // no-inconsistent-returns +export { rule as S3812 } from './S3812/index.js'; // no-unsafe-negation +export { rule as S3827 } from './S3827/index.js'; // no-reference-error +export { rule as S3834 } from './S3834/index.js'; // no-new-native-nonconstructor +export { rule as S3854 } from './S3854/index.js'; // super-invocation +export { rule as S3863 } from './S3863/index.js'; // no-duplicates +export { rule as S3923 } from './S3923/index.js'; // no-all-duplicated-branches +export { rule as S3972 } from './S3972/index.js'; // no-same-line-conditional +export { rule as S3973 } from './S3973/index.js'; // conditional-indentation +export { rule as S3981 } from './S3981/index.js'; // no-collection-size-mischeck +export { rule as S3984 } from './S3984/index.js'; // no-unthrown-error +export { rule as S4023 } from './S4023/index.js'; // no-empty-interface +export { rule as S4030 } from './S4030/index.js'; // no-unused-collection +export { rule as S4036 } from './S4036/index.js'; // no-os-command-from-path +export { rule as S4043 } from './S4043/index.js'; // no-misleading-array-reverse +export { rule as S4084 } from './S4084/index.js'; // media-has-caption +export { rule as S4123 } from './S4123/index.js'; // no-invalid-await +export { rule as S4124 } from './S4124/index.js'; // no-misused-new +export { rule as S4125 } from './S4125/index.js'; // valid-typeof +export { rule as S4136 } from './S4136/index.js'; // adjacent-overload-signatures +export { rule as S4137 } from './S4137/index.js'; // consistent-type-assertions +export { rule as S4138 } from './S4138/index.js'; // prefer-for-of +export { rule as S4139 } from './S4139/index.js'; // no-for-in-iterable +export { rule as S4140 } from './S4140/index.js'; // no-sparse-arrays +export { rule as S4143 } from './S4143/index.js'; // no-element-overwrite +export { rule as S4144 } from './S4144/index.js'; // no-identical-functions +export { rule as S4156 } from './S4156/index.js'; // prefer-namespace-keyword +export { rule as S4157 } from './S4157/index.js'; // no-unnecessary-type-arguments +export { rule as S4158 } from './S4158/index.js'; // no-empty-collection +export { rule as S4165 } from './S4165/index.js'; // no-redundant-assignments +export { rule as S4204 } from './S4204/index.js'; // no-explicit-any +export { rule as S4275 } from './S4275/index.js'; // no-accessor-field-mismatch +export { rule as S4322 } from './S4322/index.js'; // prefer-type-guard +export { rule as S4323 } from './S4323/index.js'; // use-type-alias +export { rule as S4324 } from './S4324/index.js'; // no-return-type-any +export { rule as S4325 } from './S4325/index.js'; // no-unnecessary-type-assertion +export { rule as S4326 } from './S4326/index.js'; // no-return-await +export { rule as S4327 } from './S4327/index.js'; // no-this-alias +export { rule as S4328 } from './S4328/index.js'; // no-implicit-dependencies +export { rule as S4335 } from './S4335/index.js'; // no-useless-intersection +export { rule as S4423 } from './S4423/index.js'; // weak-ssl +export { rule as S4426 } from './S4426/index.js'; // no-weak-keys +export { rule as S4502 } from './S4502/index.js'; // csrf +export { rule as S4507 } from './S4507/index.js'; // production-debug +export { rule as S4524 } from './S4524/index.js'; // prefer-default-last +export { rule as S4619 } from './S4619/index.js'; // no-in-misuse +export { rule as S4621 } from './S4621/index.js'; // no-duplicate-in-composite +export { rule as S4622 } from './S4622/index.js'; // max-union-size +export { rule as S4623 } from './S4623/index.js'; // no-undefined-argument +export { rule as S4624 } from './S4624/index.js'; // no-nested-template-literals +export { rule as S4634 } from './S4634/index.js'; // prefer-promise-shorthand +export { rule as S4721 } from './S4721/index.js'; // os-command +export { rule as S4782 } from './S4782/index.js'; // no-redundant-optional +export { rule as S4784 } from './S4784/index.js'; // regular-expr +export { rule as S4787 } from './S4787/index.js'; // encryption +export { rule as S4790 } from './S4790/index.js'; // hashing +export { rule as S4798 } from './S4798/index.js'; // bool-param-default +export { rule as S4817 } from './S4817/index.js'; // xpath +export { rule as S4818 } from './S4818/index.js'; // sockets +export { rule as S4822 } from './S4822/index.js'; // no-try-promise +export { rule as S4823 } from './S4823/index.js'; // process-argv +export { rule as S4829 } from './S4829/index.js'; // standard-input +export { rule as S4830 } from './S4830/index.js'; // unverified-certificate +export { rule as S5042 } from './S5042/index.js'; // no-unsafe-unzip +export { rule as S5122 } from './S5122/index.js'; // cors +export { rule as S5148 } from './S5148/index.js'; // link-with-target-blank +export { rule as S5247 } from './S5247/index.js'; // disabled-auto-escaping +export { rule as S5254 } from './S5254/index.js'; // html-has-lang +export { rule as S5256 } from './S5256/index.js'; // table-header +export { rule as S5257 } from './S5257/index.js'; // no-table-as-layout +export { rule as S5260 } from './S5260/index.js'; // table-header-reference +export { rule as S5264 } from './S5264/index.js'; // object-alt-content +export { rule as S5332 } from './S5332/index.js'; // no-clear-text-protocols +export { rule as S5443 } from './S5443/index.js'; // publicly-writable-directories +export { rule as S5527 } from './S5527/index.js'; // unverified-hostname +export { rule as S5542 } from './S5542/index.js'; // encryption-secure-mode +export { rule as S5547 } from './S5547/index.js'; // no-weak-cipher +export { rule as S5604 } from './S5604/index.js'; // no-intrusive-permissions +export { rule as S5659 } from './S5659/index.js'; // insecure-jwt-token +export { rule as S5689 } from './S5689/index.js'; // x-powered-by +export { rule as S5691 } from './S5691/index.js'; // hidden-files +export { rule as S5693 } from './S5693/index.js'; // content-length +export { rule as S5725 } from './S5725/index.js'; // disabled-resource-integrity +export { rule as S5728 } from './S5728/index.js'; // content-security-policy +export { rule as S5730 } from './S5730/index.js'; // no-mixed-content +export { rule as S5732 } from './S5732/index.js'; // frame-ancestors +export { rule as S5734 } from './S5734/index.js'; // no-mime-sniff +export { rule as S5736 } from './S5736/index.js'; // no-referrer-policy +export { rule as S5739 } from './S5739/index.js'; // strict-transport-security +export { rule as S5742 } from './S5742/index.js'; // certificate-transparency +export { rule as S5743 } from './S5743/index.js'; // dns-prefetching +export { rule as S5757 } from './S5757/index.js'; // confidential-information-logging +export { rule as S5759 } from './S5759/index.js'; // no-ip-forward +export { rule as S5842 } from './S5842/index.js'; // empty-string-repetition +export { rule as S5843 } from './S5843/index.js'; // regex-complexity +export { rule as S5850 } from './S5850/index.js'; // anchor-precedence +export { rule as S5852 } from './S5852/index.js'; // slow-regex +export { rule as S5856 } from './S5856/index.js'; // no-invalid-regexp +export { rule as S5860 } from './S5860/index.js'; // unused-named-groups +export { rule as S5863 } from './S5863/index.js'; // no-same-argument-assert +export { rule as S5867 } from './S5867/index.js'; // unicode-aware-regex +export { rule as S5868 } from './S5868/index.js'; // no-misleading-character-class +export { rule as S5869 } from './S5869/index.js'; // duplicates-in-character-class +export { rule as S5876 } from './S5876/index.js'; // session-regeneration +export { rule as S5958 } from './S5958/index.js'; // test-check-exception +export { rule as S5973 } from './S5973/index.js'; // stable-tests +export { rule as S6019 } from './S6019/index.js'; // no-empty-after-reluctant +export { rule as S6035 } from './S6035/index.js'; // single-character-alternation +export { rule as S6079 } from './S6079/index.js'; // no-code-after-done +export { rule as S6080 } from './S6080/index.js'; // disabled-timeout +export { rule as S6092 } from './S6092/index.js'; // chai-determinate-assertion +export { rule as S6245 } from './S6245/index.js'; // aws-s3-bucket-server-encryption +export { rule as S6249 } from './S6249/index.js'; // aws-s3-bucket-insecure-http +export { rule as S6252 } from './S6252/index.js'; // aws-s3-bucket-versioning +export { rule as S6265 } from './S6265/index.js'; // aws-s3-bucket-granted-access +export { rule as S6268 } from './S6268/index.js'; // no-angular-bypass-sanitization +export { rule as S6270 } from './S6270/index.js'; // aws-iam-public-access +export { rule as S6275 } from './S6275/index.js'; // aws-ec2-unencrypted-ebs-volume +export { rule as S6281 } from './S6281/index.js'; // aws-s3-bucket-public-access +export { rule as S6299 } from './S6299/index.js'; // no-vue-bypass-sanitization +export { rule as S6302 } from './S6302/index.js'; // aws-iam-all-privileges +export { rule as S6303 } from './S6303/index.js'; // aws-rds-unencrypted-databases +export { rule as S6304 } from './S6304/index.js'; // aws-iam-all-resources-accessible +export { rule as S6308 } from './S6308/index.js'; // aws-opensearchservice-domain +export { rule as S6317 } from './S6317/index.js'; // aws-iam-privilege-escalation +export { rule as S6319 } from './S6319/index.js'; // aws-sagemaker-unencrypted-notebook +export { rule as S6321 } from './S6321/index.js'; // aws-restricted-ip-admin-access +export { rule as S6323 } from './S6323/index.js'; // no-empty-alternatives +export { rule as S6324 } from './S6324/index.js'; // no-control-regex +export { rule as S6325 } from './S6325/index.js'; // prefer-regex-literals +export { rule as S6326 } from './S6326/index.js'; // no-regex-spaces +export { rule as S6327 } from './S6327/index.js'; // aws-sns-unencrypted-topics +export { rule as S6328 } from './S6328/index.js'; // existing-groups +export { rule as S6329 } from './S6329/index.js'; // aws-ec2-rds-dms-public +export { rule as S6330 } from './S6330/index.js'; // aws-sqs-unencrypted-queue +export { rule as S6331 } from './S6331/index.js'; // no-empty-group +export { rule as S6332 } from './S6332/index.js'; // aws-efs-unencrypted +export { rule as S6333 } from './S6333/index.js'; // aws-apigateway-public-api +export { rule as S6351 } from './S6351/index.js'; // stateful-regex +export { rule as S6353 } from './S6353/index.js'; // concise-regex +export { rule as S6397 } from './S6397/index.js'; // single-char-in-character-classes +export { rule as S6426 } from './S6426/index.js'; // no-exclusive-tests +export { rule as S6435 } from './S6435/index.js'; // require-render-return +export { rule as S6438 } from './S6438/index.js'; // jsx-no-comment-textnodes +export { rule as S6439 } from './S6439/index.js'; // jsx-no-leaked-render +export { rule as S6440 } from './S6440/index.js'; // rules-of-hooks +export { rule as S6441 } from './S6441/index.js'; // no-unused-class-component-methods +export { rule as S6442 } from './S6442/index.js'; // no-hook-setter-in-body +export { rule as S6443 } from './S6443/index.js'; // no-useless-react-setstate +export { rule as S6477 } from './S6477/index.js'; // jsx-key +export { rule as S6478 } from './S6478/index.js'; // no-unstable-nested-components +export { rule as S6479 } from './S6479/index.js'; // no-array-index-key +export { rule as S6480 } from './S6480/index.js'; // jsx-no-bind +export { rule as S6481 } from './S6481/index.js'; // jsx-no-constructed-context-values +export { rule as S6486 } from './S6486/index.js'; // no-uniq-key +export { rule as S6509 } from './S6509/index.js'; // no-extra-boolean-cast +export { rule as S6522 } from './S6522/index.js'; // no-import-assign +export { rule as S6523 } from './S6523/index.js'; // no-unsafe-optional-chaining +export { rule as S6534 } from './S6534/index.js'; // no-loss-of-precision +export { rule as S6535 } from './S6535/index.js'; // unnecessary-character-escapes +export { rule as S6544 } from './S6544/index.js'; // no-misused-promises +export { rule as S6550 } from './S6550/index.js'; // prefer-literal-enum-member +export { rule as S6551 } from './S6551/index.js'; // no-base-to-string +export { rule as S6557 } from './S6557/index.js'; // prefer-string-starts-ends-with +export { rule as S6564 } from './S6564/index.js'; // redundant-type-aliases +export { rule as S6565 } from './S6565/index.js'; // prefer-return-this-type +export { rule as S6568 } from './S6568/index.js'; // no-confusing-non-null-assertion +export { rule as S6569 } from './S6569/index.js'; // no-unnecessary-type-constraint +export { rule as S6571 } from './S6571/index.js'; // no-redundant-type-constituents +export { rule as S6572 } from './S6572/index.js'; // prefer-enum-initializers +export { rule as S6578 } from './S6578/index.js'; // no-duplicate-enum-values +export { rule as S6582 } from './S6582/index.js'; // prefer-optional-chain +export { rule as S6583 } from './S6583/index.js'; // no-mixed-enums +export { rule as S6590 } from './S6590/index.js'; // prefer-as-const +export { rule as S6594 } from './S6594/index.js'; // prefer-regexp-exec +export { rule as S6598 } from './S6598/index.js'; // prefer-function-type +export { rule as S6606 } from './S6606/index.js'; // prefer-nullish-coalescing +export { rule as S6627 } from './S6627/index.js'; // no-internal-api-use +export { rule as S6635 } from './S6635/index.js'; // no-constructor-return +export { rule as S6637 } from './S6637/index.js'; // no-extra-bind +export { rule as S6638 } from './S6638/index.js'; // no-constant-binary-expression +export { rule as S6643 } from './S6643/index.js'; // no-extend-native +export { rule as S6644 } from './S6644/index.js'; // no-unneeded-ternary +export { rule as S6645 } from './S6645/index.js'; // no-undef-init +export { rule as S6647 } from './S6647/index.js'; // no-useless-constructor +export { rule as S6650 } from './S6650/index.js'; // no-useless-rename +export { rule as S6653 } from './S6653/index.js'; // prefer-object-has-own +export { rule as S6654 } from './S6654/index.js'; // no-proto +export { rule as S6657 } from './S6657/index.js'; // no-octal-escape +export { rule as S6660 } from './S6660/index.js'; // no-lonely-if +export { rule as S6661 } from './S6661/index.js'; // prefer-object-spread +export { rule as S6666 } from './S6666/index.js'; // prefer-spread +export { rule as S6671 } from './S6671/index.js'; // prefer-promise-reject-errors +export { rule as S6676 } from './S6676/index.js'; // no-useless-call +export { rule as S6679 } from './S6679/index.js'; // no-self-compare +export { rule as S6746 } from './S6746/index.js'; // no-direct-mutation-state +export { rule as S6747 } from './S6747/index.js'; // no-unknown-property +export { rule as S6748 } from './S6748/index.js'; // no-children-prop +export { rule as S6749 } from './S6749/index.js'; // jsx-no-useless-fragment +export { rule as S6750 } from './S6750/index.js'; // no-render-return-value +export { rule as S6754 } from './S6754/index.js'; // hook-use-state +export { rule as S6756 } from './S6756/index.js'; // no-access-state-in-setstate +export { rule as S6757 } from './S6757/index.js'; // no-this-in-sfc +export { rule as S6759 } from './S6759/index.js'; // prefer-read-only-props +export { rule as S6761 } from './S6761/index.js'; // no-danger-with-children +export { rule as S6763 } from './S6763/index.js'; // no-redundant-should-component-update +export { rule as S6766 } from './S6766/index.js'; // no-unescaped-entities +export { rule as S6767 } from './S6767/index.js'; // no-unused-prop-types +export { rule as S6770 } from './S6770/index.js'; // jsx-pascal-case +export { rule as S6772 } from './S6772/index.js'; // jsx-child-element-spacing +export { rule as S6774 } from './S6774/index.js'; // prop-types +export { rule as S6775 } from './S6775/index.js'; // default-props-match-prop-types +export { rule as S6788 } from './S6788/index.js'; // no-find-dom-node +export { rule as S6789 } from './S6789/index.js'; // no-is-mounted +export { rule as S6790 } from './S6790/index.js'; // no-string-refs +export { rule as S6791 } from './S6791/index.js'; // no-unsafe +export { rule as S6793 } from './S6793/index.js'; // aria-proptypes +export { rule as S6807 } from './S6807/index.js'; // role-has-required-aria-props +export { rule as S6811 } from './S6811/index.js'; // role-supports-aria-props +export { rule as S6819 } from './S6819/index.js'; // prefer-tag-over-role +export { rule as S6821 } from './S6821/index.js'; // aria-role +export { rule as S6822 } from './S6822/index.js'; // no-redundant-roles +export { rule as S6823 } from './S6823/index.js'; // aria-activedescendant-has-tabindex +export { rule as S6824 } from './S6824/index.js'; // aria-unsupported-elements +export { rule as S6825 } from './S6825/index.js'; // no-aria-hidden-on-focusable +export { rule as S6827 } from './S6827/index.js'; // anchor-has-content +export { rule as S6836 } from './S6836/index.js'; // no-case-declarations +export { rule as S6840 } from './S6840/index.js'; // autocomplete-valid +export { rule as S6841 } from './S6841/index.js'; // tabindex-no-positive +export { rule as S6842 } from './S6842/index.js'; // no-noninteractive-element-to-interactive-role +export { rule as S6843 } from './S6843/index.js'; // no-interactive-element-to-noninteractive-role +export { rule as S6844 } from './S6844/index.js'; // anchor-is-valid +export { rule as S6845 } from './S6845/index.js'; // no-noninteractive-tabindex +export { rule as S6846 } from './S6846/index.js'; // no-access-key +export { rule as S6847 } from './S6847/index.js'; // no-noninteractive-element-interactions +export { rule as S6848 } from './S6848/index.js'; // no-static-element-interactions +export { rule as S6850 } from './S6850/index.js'; // heading-has-content +export { rule as S6851 } from './S6851/index.js'; // img-redundant-alt +export { rule as S6852 } from './S6852/index.js'; // interactive-supports-focus +export { rule as S6853 } from './S6853/index.js'; // label-has-associated-control +export { rule as S6859 } from './S6859/index.js'; // no-absolute-path +export { rule as S6861 } from './S6861/index.js'; // no-mutable-exports +export { rule as S6957 } from './S6957/index.js'; // no-deprecated-react +export { rule as S6958 } from './S6958/index.js'; // no-literal-call +export { rule as S6959 } from './S6959/index.js'; // reduce-initial-value +export { rule as S7059 } from './S7059/index.js'; // no-async-constructor +export { rule as S7060 } from './S7060/index.js'; // no-self-import diff --git a/tools/generate-rule-indexes.ts b/tools/generate-rule-indexes.ts index 8c3d3efee14..f60ad17a2ba 100644 --- a/tools/generate-rule-indexes.ts +++ b/tools/generate-rule-indexes.ts @@ -19,8 +19,8 @@ */ import { readdir, writeFile } from 'fs/promises'; -import { join } from 'node:path/posix'; -import { pathToFileURL } from 'node:url'; +import { join, dirname } from 'node:path/posix'; +import { fileURLToPath, pathToFileURL } from 'node:url'; function toUnixPath(path: string) { return path.replace(/[\\/]+/g, '/'); @@ -46,7 +46,10 @@ const header = `/* * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */`; -const RULES_FOLDER = join(toUnixPath(import.meta.dirname), '../packages/jsts/src/rules/'); +const RULES_FOLDER = join( + dirname(toUnixPath(fileURLToPath(import.meta.url))), + '../packages/jsts/src/rules/', +); const ruleRegex = /^S\d+$/; const allRules: string[] = []; From f20a77a458ebe43284ff98a981f8c0f1336e67fd Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Mon, 25 Nov 2024 21:44:33 +0100 Subject: [PATCH 04/23] fix tests and eslint plugin --- packages/jsts/src/rules/.gitignore | 2 + packages/jsts/src/rules/plugin-rules.ts | 579 ------------------------ packages/jsts/src/rules/rules.ts | 461 ------------------- tools/generate-rule-indexes.ts | 35 +- 4 files changed, 28 insertions(+), 1049 deletions(-) create mode 100644 packages/jsts/src/rules/.gitignore delete mode 100644 packages/jsts/src/rules/plugin-rules.ts delete mode 100644 packages/jsts/src/rules/rules.ts diff --git a/packages/jsts/src/rules/.gitignore b/packages/jsts/src/rules/.gitignore new file mode 100644 index 00000000000..532cabda6eb --- /dev/null +++ b/packages/jsts/src/rules/.gitignore @@ -0,0 +1,2 @@ +rules.ts +plugin-rules.ts diff --git a/packages/jsts/src/rules/plugin-rules.ts b/packages/jsts/src/rules/plugin-rules.ts deleted file mode 100644 index 0c8002ec22c..00000000000 --- a/packages/jsts/src/rules/plugin-rules.ts +++ /dev/null @@ -1,579 +0,0 @@ -/* - * SonarQube JavaScript Plugin - * Copyright (C) 2011-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -// DO NOT EDIT! This file was generated by generate-rule-indexes.ts - -import { rule as S100 } from './S100/index.js'; -import { rule as S101 } from './S101/index.js'; -import { rule as S104 } from './S104/index.js'; -import { rule as S105 } from './S105/index.js'; -import { rule as S109 } from './S109/index.js'; -import { rule as S117 } from './S117/index.js'; -import { rule as S124 } from './S124/index.js'; -import { rule as S125 } from './S125/index.js'; -import { rule as S126 } from './S126/index.js'; -import { rule as S128 } from './S128/index.js'; -import { rule as S134 } from './S134/index.js'; -import { rule as S135 } from './S135/index.js'; -import { rule as S138 } from './S138/index.js'; -import { rule as S881 } from './S881/index.js'; -import { rule as S888 } from './S888/index.js'; -import { rule as S930 } from './S930/index.js'; -import { rule as S1066 } from './S1066/index.js'; -import { rule as S1067 } from './S1067/index.js'; -import { rule as S1082 } from './S1082/index.js'; -import { rule as S1110 } from './S1110/index.js'; -import { rule as S1119 } from './S1119/index.js'; -import { rule as S1121 } from './S1121/index.js'; -import { rule as S1125 } from './S1125/index.js'; -import { rule as S1126 } from './S1126/index.js'; -import { rule as S1128 } from './S1128/index.js'; -import { rule as S1134 } from './S1134/index.js'; -import { rule as S1135 } from './S1135/index.js'; -import { rule as S1154 } from './S1154/index.js'; -import { rule as S1172 } from './S1172/index.js'; -import { rule as S1192 } from './S1192/index.js'; -import { rule as S1219 } from './S1219/index.js'; -import { rule as S1226 } from './S1226/index.js'; -import { rule as S1264 } from './S1264/index.js'; -import { rule as S1301 } from './S1301/index.js'; -import { rule as S1313 } from './S1313/index.js'; -import { rule as S1439 } from './S1439/index.js'; -import { rule as S1444 } from './S1444/index.js'; -import { rule as S1451 } from './S1451/index.js'; -import { rule as S1472 } from './S1472/index.js'; -import { rule as S1479 } from './S1479/index.js'; -import { rule as S1481 } from './S1481/index.js'; -import { rule as S1488 } from './S1488/index.js'; -import { rule as S1515 } from './S1515/index.js'; -import { rule as S1523 } from './S1523/index.js'; -import { rule as S1526 } from './S1526/index.js'; -import { rule as S1527 } from './S1527/index.js'; -import { rule as S1528 } from './S1528/index.js'; -import { rule as S1529 } from './S1529/index.js'; -import { rule as S1530 } from './S1530/index.js'; -import { rule as S1533 } from './S1533/index.js'; -import { rule as S1535 } from './S1535/index.js'; -import { rule as S1541 } from './S1541/index.js'; -import { rule as S1607 } from './S1607/index.js'; -import { rule as S1751 } from './S1751/index.js'; -import { rule as S1764 } from './S1764/index.js'; -import { rule as S1821 } from './S1821/index.js'; -import { rule as S1848 } from './S1848/index.js'; -import { rule as S1854 } from './S1854/index.js'; -import { rule as S1862 } from './S1862/index.js'; -import { rule as S1871 } from './S1871/index.js'; -import { rule as S1874 } from './S1874/index.js'; -import { rule as S1940 } from './S1940/index.js'; -import { rule as S1994 } from './S1994/index.js'; -import { rule as S2004 } from './S2004/index.js'; -import { rule as S2068 } from './S2068/index.js'; -import { rule as S2077 } from './S2077/index.js'; -import { rule as S2092 } from './S2092/index.js'; -import { rule as S2123 } from './S2123/index.js'; -import { rule as S2137 } from './S2137/index.js'; -import { rule as S2138 } from './S2138/index.js'; -import { rule as S2187 } from './S2187/index.js'; -import { rule as S2201 } from './S2201/index.js'; -import { rule as S2208 } from './S2208/index.js'; -import { rule as S2234 } from './S2234/index.js'; -import { rule as S2245 } from './S2245/index.js'; -import { rule as S2251 } from './S2251/index.js'; -import { rule as S2255 } from './S2255/index.js'; -import { rule as S2259 } from './S2259/index.js'; -import { rule as S2301 } from './S2301/index.js'; -import { rule as S2310 } from './S2310/index.js'; -import { rule as S2392 } from './S2392/index.js'; -import { rule as S2424 } from './S2424/index.js'; -import { rule as S2428 } from './S2428/index.js'; -import { rule as S2486 } from './S2486/index.js'; -import { rule as S2589 } from './S2589/index.js'; -import { rule as S2598 } from './S2598/index.js'; -import { rule as S2612 } from './S2612/index.js'; -import { rule as S2639 } from './S2639/index.js'; -import { rule as S2681 } from './S2681/index.js'; -import { rule as S2692 } from './S2692/index.js'; -import { rule as S2699 } from './S2699/index.js'; -import { rule as S2703 } from './S2703/index.js'; -import { rule as S2737 } from './S2737/index.js'; -import { rule as S2755 } from './S2755/index.js'; -import { rule as S2757 } from './S2757/index.js'; -import { rule as S2817 } from './S2817/index.js'; -import { rule as S2819 } from './S2819/index.js'; -import { rule as S2870 } from './S2870/index.js'; -import { rule as S2871 } from './S2871/index.js'; -import { rule as S2970 } from './S2970/index.js'; -import { rule as S2990 } from './S2990/index.js'; -import { rule as S2999 } from './S2999/index.js'; -import { rule as S3001 } from './S3001/index.js'; -import { rule as S3003 } from './S3003/index.js'; -import { rule as S3317 } from './S3317/index.js'; -import { rule as S3330 } from './S3330/index.js'; -import { rule as S3358 } from './S3358/index.js'; -import { rule as S3402 } from './S3402/index.js'; -import { rule as S3403 } from './S3403/index.js'; -import { rule as S3415 } from './S3415/index.js'; -import { rule as S3499 } from './S3499/index.js'; -import { rule as S3500 } from './S3500/index.js'; -import { rule as S3513 } from './S3513/index.js'; -import { rule as S3514 } from './S3514/index.js'; -import { rule as S3516 } from './S3516/index.js'; -import { rule as S3524 } from './S3524/index.js'; -import { rule as S3525 } from './S3525/index.js'; -import { rule as S3531 } from './S3531/index.js'; -import { rule as S3533 } from './S3533/index.js'; -import { rule as S3579 } from './S3579/index.js'; -import { rule as S3616 } from './S3616/index.js'; -import { rule as S3626 } from './S3626/index.js'; -import { rule as S3686 } from './S3686/index.js'; -import { rule as S3699 } from './S3699/index.js'; -import { rule as S3723 } from './S3723/index.js'; -import { rule as S3735 } from './S3735/index.js'; -import { rule as S3757 } from './S3757/index.js'; -import { rule as S3758 } from './S3758/index.js'; -import { rule as S3760 } from './S3760/index.js'; -import { rule as S3776 } from './S3776/index.js'; -import { rule as S3782 } from './S3782/index.js'; -import { rule as S3785 } from './S3785/index.js'; -import { rule as S3796 } from './S3796/index.js'; -import { rule as S3798 } from './S3798/index.js'; -import { rule as S3800 } from './S3800/index.js'; -import { rule as S3801 } from './S3801/index.js'; -import { rule as S3827 } from './S3827/index.js'; -import { rule as S3854 } from './S3854/index.js'; -import { rule as S3923 } from './S3923/index.js'; -import { rule as S3972 } from './S3972/index.js'; -import { rule as S3973 } from './S3973/index.js'; -import { rule as S3981 } from './S3981/index.js'; -import { rule as S3984 } from './S3984/index.js'; -import { rule as S4030 } from './S4030/index.js'; -import { rule as S4036 } from './S4036/index.js'; -import { rule as S4043 } from './S4043/index.js'; -import { rule as S4123 } from './S4123/index.js'; -import { rule as S4139 } from './S4139/index.js'; -import { rule as S4143 } from './S4143/index.js'; -import { rule as S4144 } from './S4144/index.js'; -import { rule as S4158 } from './S4158/index.js'; -import { rule as S4165 } from './S4165/index.js'; -import { rule as S4322 } from './S4322/index.js'; -import { rule as S4323 } from './S4323/index.js'; -import { rule as S4324 } from './S4324/index.js'; -import { rule as S4328 } from './S4328/index.js'; -import { rule as S4335 } from './S4335/index.js'; -import { rule as S4423 } from './S4423/index.js'; -import { rule as S4426 } from './S4426/index.js'; -import { rule as S4502 } from './S4502/index.js'; -import { rule as S4507 } from './S4507/index.js'; -import { rule as S4524 } from './S4524/index.js'; -import { rule as S4619 } from './S4619/index.js'; -import { rule as S4621 } from './S4621/index.js'; -import { rule as S4622 } from './S4622/index.js'; -import { rule as S4623 } from './S4623/index.js'; -import { rule as S4624 } from './S4624/index.js'; -import { rule as S4634 } from './S4634/index.js'; -import { rule as S4721 } from './S4721/index.js'; -import { rule as S4782 } from './S4782/index.js'; -import { rule as S4784 } from './S4784/index.js'; -import { rule as S4787 } from './S4787/index.js'; -import { rule as S4790 } from './S4790/index.js'; -import { rule as S4798 } from './S4798/index.js'; -import { rule as S4817 } from './S4817/index.js'; -import { rule as S4818 } from './S4818/index.js'; -import { rule as S4822 } from './S4822/index.js'; -import { rule as S4823 } from './S4823/index.js'; -import { rule as S4829 } from './S4829/index.js'; -import { rule as S4830 } from './S4830/index.js'; -import { rule as S5042 } from './S5042/index.js'; -import { rule as S5122 } from './S5122/index.js'; -import { rule as S5148 } from './S5148/index.js'; -import { rule as S5247 } from './S5247/index.js'; -import { rule as S5256 } from './S5256/index.js'; -import { rule as S5257 } from './S5257/index.js'; -import { rule as S5260 } from './S5260/index.js'; -import { rule as S5264 } from './S5264/index.js'; -import { rule as S5332 } from './S5332/index.js'; -import { rule as S5443 } from './S5443/index.js'; -import { rule as S5527 } from './S5527/index.js'; -import { rule as S5542 } from './S5542/index.js'; -import { rule as S5547 } from './S5547/index.js'; -import { rule as S5604 } from './S5604/index.js'; -import { rule as S5659 } from './S5659/index.js'; -import { rule as S5689 } from './S5689/index.js'; -import { rule as S5691 } from './S5691/index.js'; -import { rule as S5693 } from './S5693/index.js'; -import { rule as S5725 } from './S5725/index.js'; -import { rule as S5728 } from './S5728/index.js'; -import { rule as S5730 } from './S5730/index.js'; -import { rule as S5732 } from './S5732/index.js'; -import { rule as S5734 } from './S5734/index.js'; -import { rule as S5736 } from './S5736/index.js'; -import { rule as S5739 } from './S5739/index.js'; -import { rule as S5742 } from './S5742/index.js'; -import { rule as S5743 } from './S5743/index.js'; -import { rule as S5757 } from './S5757/index.js'; -import { rule as S5759 } from './S5759/index.js'; -import { rule as S5842 } from './S5842/index.js'; -import { rule as S5843 } from './S5843/index.js'; -import { rule as S5850 } from './S5850/index.js'; -import { rule as S5852 } from './S5852/index.js'; -import { rule as S5856 } from './S5856/index.js'; -import { rule as S5860 } from './S5860/index.js'; -import { rule as S5863 } from './S5863/index.js'; -import { rule as S5867 } from './S5867/index.js'; -import { rule as S5868 } from './S5868/index.js'; -import { rule as S5869 } from './S5869/index.js'; -import { rule as S5876 } from './S5876/index.js'; -import { rule as S5958 } from './S5958/index.js'; -import { rule as S5973 } from './S5973/index.js'; -import { rule as S6019 } from './S6019/index.js'; -import { rule as S6035 } from './S6035/index.js'; -import { rule as S6079 } from './S6079/index.js'; -import { rule as S6080 } from './S6080/index.js'; -import { rule as S6092 } from './S6092/index.js'; -import { rule as S6245 } from './S6245/index.js'; -import { rule as S6249 } from './S6249/index.js'; -import { rule as S6252 } from './S6252/index.js'; -import { rule as S6265 } from './S6265/index.js'; -import { rule as S6268 } from './S6268/index.js'; -import { rule as S6270 } from './S6270/index.js'; -import { rule as S6275 } from './S6275/index.js'; -import { rule as S6281 } from './S6281/index.js'; -import { rule as S6299 } from './S6299/index.js'; -import { rule as S6302 } from './S6302/index.js'; -import { rule as S6303 } from './S6303/index.js'; -import { rule as S6304 } from './S6304/index.js'; -import { rule as S6308 } from './S6308/index.js'; -import { rule as S6317 } from './S6317/index.js'; -import { rule as S6319 } from './S6319/index.js'; -import { rule as S6321 } from './S6321/index.js'; -import { rule as S6323 } from './S6323/index.js'; -import { rule as S6324 } from './S6324/index.js'; -import { rule as S6326 } from './S6326/index.js'; -import { rule as S6327 } from './S6327/index.js'; -import { rule as S6328 } from './S6328/index.js'; -import { rule as S6329 } from './S6329/index.js'; -import { rule as S6330 } from './S6330/index.js'; -import { rule as S6331 } from './S6331/index.js'; -import { rule as S6332 } from './S6332/index.js'; -import { rule as S6333 } from './S6333/index.js'; -import { rule as S6351 } from './S6351/index.js'; -import { rule as S6353 } from './S6353/index.js'; -import { rule as S6397 } from './S6397/index.js'; -import { rule as S6426 } from './S6426/index.js'; -import { rule as S6439 } from './S6439/index.js'; -import { rule as S6441 } from './S6441/index.js'; -import { rule as S6442 } from './S6442/index.js'; -import { rule as S6443 } from './S6443/index.js'; -import { rule as S6477 } from './S6477/index.js'; -import { rule as S6478 } from './S6478/index.js'; -import { rule as S6479 } from './S6479/index.js'; -import { rule as S6481 } from './S6481/index.js'; -import { rule as S6486 } from './S6486/index.js'; -import { rule as S6564 } from './S6564/index.js'; -import { rule as S6582 } from './S6582/index.js'; -import { rule as S6594 } from './S6594/index.js'; -import { rule as S6627 } from './S6627/index.js'; -import { rule as S6754 } from './S6754/index.js'; -import { rule as S6759 } from './S6759/index.js'; -import { rule as S6791 } from './S6791/index.js'; -import { rule as S6957 } from './S6957/index.js'; -import { rule as S6958 } from './S6958/index.js'; -import { rule as S6959 } from './S6959/index.js'; -import { rule as S7059 } from './S7059/index.js'; - -export const rules = { - 'function-name': S100, - 'class-name': S101, - 'max-lines': S104, - 'no-tab': S105, - 'no-magic-numbers': S109, - 'variable-name': S117, - 'comment-regex': S124, - 'no-commented-code': S125, - 'elseif-without-else': S126, - 'no-fallthrough': S128, - 'nested-control-flow': S134, - 'too-many-break-or-continue-in-loop': S135, - 'max-lines-per-function': S138, - 'no-nested-incdec': S881, - 'no-equals-in-for-termination': S888, - 'no-extra-arguments': S930, - 'no-collapsible-if': S1066, - 'expression-complexity': S1067, - 'mouse-events-a11y': S1082, - 'no-redundant-parentheses': S1110, - 'no-labels': S1119, - 'no-nested-assignment': S1121, - 'no-redundant-boolean': S1125, - 'prefer-single-boolean-return': S1126, - 'unused-import': S1128, - 'fixme-tag': S1134, - 'todo-tag': S1135, - 'useless-string-operation': S1154, - 'no-unused-function-argument': S1172, - 'no-duplicate-string': S1192, - 'no-case-label-in-switch': S1219, - 'no-parameter-reassignment': S1226, - 'prefer-while': S1264, - 'no-small-switch': S1301, - 'no-hardcoded-ip': S1313, - 'label-position': S1439, - 'public-static-readonly': S1444, - 'file-header': S1451, - 'call-argument-line': S1472, - 'max-switch-cases': S1479, - 'no-unused-vars': S1481, - 'prefer-immediate-return': S1488, - 'function-inside-loop': S1515, - 'code-eval': S1523, - 'no-variable-usage-before-declaration': S1526, - 'future-reserved-words': S1527, - 'array-constructor': S1528, - 'bitwise-operators': S1529, - 'no-function-declaration-in-block': S1530, - 'no-primitive-wrappers': S1533, - 'for-in': S1535, - 'cyclomatic-complexity': S1541, - 'no-skipped-tests': S1607, - 'no-one-iteration-loop': S1751, - 'no-identical-expressions': S1764, - 'no-nested-switch': S1821, - 'constructor-for-side-effects': S1848, - 'no-dead-store': S1854, - 'no-identical-conditions': S1862, - 'no-duplicated-branches': S1871, - deprecation: S1874, - 'no-inverted-boolean-check': S1940, - 'misplaced-loop-counter': S1994, - 'no-nested-functions': S2004, - 'no-hardcoded-credentials': S2068, - 'sql-queries': S2077, - 'insecure-cookie': S2092, - 'no-useless-increment': S2123, - 'no-globals-shadowing': S2137, - 'no-undefined-assignment': S2138, - 'no-empty-test-file': S2187, - 'no-ignored-return': S2201, - 'no-wildcard-import': S2208, - 'arguments-order': S2234, - 'pseudo-random': S2245, - 'for-loop-increment-sign': S2251, - cookies: S2255, - 'null-dereference': S2259, - 'no-selector-parameter': S2301, - 'updated-loop-counter': S2310, - 'block-scoped-var': S2392, - 'no-built-in-override': S2424, - 'prefer-object-literal': S2428, - 'no-ignored-exceptions': S2486, - 'no-gratuitous-expressions': S2589, - 'file-uploads': S2598, - 'file-permissions': S2612, - 'no-empty-character-class': S2639, - 'no-unenclosed-multiline-block': S2681, - 'index-of-compare-to-positive-number': S2692, - 'assertions-in-tests': S2699, - 'no-implicit-global': S2703, - 'no-useless-catch': S2737, - 'xml-parser-xxe': S2755, - 'non-existent-operator': S2757, - 'web-sql-database': S2817, - 'post-message': S2819, - 'no-array-delete': S2870, - 'no-alphabetical-sort': S2871, - 'no-incomplete-assertions': S2970, - 'no-global-this': S2990, - 'new-operator-misuse': S2999, - 'no-delete-var': S3001, - 'strings-comparison': S3003, - 'file-name-differ-from-class': S3317, - 'cookie-no-httponly': S3330, - 'no-nested-conditional': S3358, - 'no-incorrect-string-concat': S3402, - 'different-types-comparison': S3403, - 'inverted-assertion-arguments': S3415, - 'shorthand-property-grouping': S3499, - 'updated-const-var': S3500, - 'arguments-usage': S3513, - 'destructuring-assignment-syntax': S3514, - 'no-invariant-returns': S3516, - 'arrow-function-convention': S3524, - 'class-prototype': S3525, - 'generator-without-yield': S3531, - 'no-require-or-define': S3533, - 'no-associative-arrays': S3579, - 'comma-or-logical-or-case': S3616, - 'no-redundant-jump': S3626, - 'inconsistent-function-call': S3686, - 'no-use-of-empty-return-value': S3699, - 'enforce-trailing-comma': S3723, - 'void-use': S3735, - 'operation-returning-nan': S3757, - 'values-not-convertible-to-numbers': S3758, - 'non-number-in-arithmetic-expression': S3760, - 'cognitive-complexity': S3776, - 'argument-type': S3782, - 'in-operator-type-error': S3785, - 'array-callback-without-return': S3796, - 'declarations-in-global-scope': S3798, - 'function-return-type': S3800, - 'no-inconsistent-returns': S3801, - 'no-reference-error': S3827, - 'super-invocation': S3854, - 'no-all-duplicated-branches': S3923, - 'no-same-line-conditional': S3972, - 'conditional-indentation': S3973, - 'no-collection-size-mischeck': S3981, - 'no-unthrown-error': S3984, - 'no-unused-collection': S4030, - 'no-os-command-from-path': S4036, - 'no-misleading-array-reverse': S4043, - 'no-invalid-await': S4123, - 'no-for-in-iterable': S4139, - 'no-element-overwrite': S4143, - 'no-identical-functions': S4144, - 'no-empty-collection': S4158, - 'no-redundant-assignments': S4165, - 'prefer-type-guard': S4322, - 'use-type-alias': S4323, - 'no-return-type-any': S4324, - 'no-implicit-dependencies': S4328, - 'no-useless-intersection': S4335, - 'weak-ssl': S4423, - 'no-weak-keys': S4426, - csrf: S4502, - 'production-debug': S4507, - 'prefer-default-last': S4524, - 'no-in-misuse': S4619, - 'no-duplicate-in-composite': S4621, - 'max-union-size': S4622, - 'no-undefined-argument': S4623, - 'no-nested-template-literals': S4624, - 'prefer-promise-shorthand': S4634, - 'os-command': S4721, - 'no-redundant-optional': S4782, - 'regular-expr': S4784, - encryption: S4787, - hashing: S4790, - 'bool-param-default': S4798, - xpath: S4817, - sockets: S4818, - 'no-try-promise': S4822, - 'process-argv': S4823, - 'standard-input': S4829, - 'unverified-certificate': S4830, - 'no-unsafe-unzip': S5042, - cors: S5122, - 'link-with-target-blank': S5148, - 'disabled-auto-escaping': S5247, - 'table-header': S5256, - 'no-table-as-layout': S5257, - 'table-header-reference': S5260, - 'object-alt-content': S5264, - 'no-clear-text-protocols': S5332, - 'publicly-writable-directories': S5443, - 'unverified-hostname': S5527, - 'encryption-secure-mode': S5542, - 'no-weak-cipher': S5547, - 'no-intrusive-permissions': S5604, - 'insecure-jwt-token': S5659, - 'x-powered-by': S5689, - 'hidden-files': S5691, - 'content-length': S5693, - 'disabled-resource-integrity': S5725, - 'content-security-policy': S5728, - 'no-mixed-content': S5730, - 'frame-ancestors': S5732, - 'no-mime-sniff': S5734, - 'no-referrer-policy': S5736, - 'strict-transport-security': S5739, - 'certificate-transparency': S5742, - 'dns-prefetching': S5743, - 'confidential-information-logging': S5757, - 'no-ip-forward': S5759, - 'empty-string-repetition': S5842, - 'regex-complexity': S5843, - 'anchor-precedence': S5850, - 'slow-regex': S5852, - 'no-invalid-regexp': S5856, - 'unused-named-groups': S5860, - 'no-same-argument-assert': S5863, - 'unicode-aware-regex': S5867, - 'no-misleading-character-class': S5868, - 'duplicates-in-character-class': S5869, - 'session-regeneration': S5876, - 'test-check-exception': S5958, - 'stable-tests': S5973, - 'no-empty-after-reluctant': S6019, - 'single-character-alternation': S6035, - 'no-code-after-done': S6079, - 'disabled-timeout': S6080, - 'chai-determinate-assertion': S6092, - 'aws-s3-bucket-server-encryption': S6245, - 'aws-s3-bucket-insecure-http': S6249, - 'aws-s3-bucket-versioning': S6252, - 'aws-s3-bucket-granted-access': S6265, - 'no-angular-bypass-sanitization': S6268, - 'aws-iam-public-access': S6270, - 'aws-ec2-unencrypted-ebs-volume': S6275, - 'aws-s3-bucket-public-access': S6281, - 'no-vue-bypass-sanitization': S6299, - 'aws-iam-all-privileges': S6302, - 'aws-rds-unencrypted-databases': S6303, - 'aws-iam-all-resources-accessible': S6304, - 'aws-opensearchservice-domain': S6308, - 'aws-iam-privilege-escalation': S6317, - 'aws-sagemaker-unencrypted-notebook': S6319, - 'aws-restricted-ip-admin-access': S6321, - 'no-empty-alternatives': S6323, - 'no-control-regex': S6324, - 'no-regex-spaces': S6326, - 'aws-sns-unencrypted-topics': S6327, - 'existing-groups': S6328, - 'aws-ec2-rds-dms-public': S6329, - 'aws-sqs-unencrypted-queue': S6330, - 'no-empty-group': S6331, - 'aws-efs-unencrypted': S6332, - 'aws-apigateway-public-api': S6333, - 'stateful-regex': S6351, - 'concise-regex': S6353, - 'single-char-in-character-classes': S6397, - 'no-exclusive-tests': S6426, - 'jsx-no-leaked-render': S6439, - 'no-unused-class-component-methods': S6441, - 'no-hook-setter-in-body': S6442, - 'no-useless-react-setstate': S6443, - 'jsx-key': S6477, - 'no-unstable-nested-components': S6478, - 'no-array-index-key': S6479, - 'jsx-no-constructed-context-values': S6481, - 'no-uniq-key': S6486, - 'redundant-type-aliases': S6564, - 'prefer-optional-chain': S6582, - 'prefer-regexp-exec': S6594, - 'no-internal-api-use': S6627, - 'hook-use-state': S6754, - 'prefer-read-only-props': S6759, - 'no-unsafe': S6791, - 'no-deprecated-react': S6957, - 'no-literal-call': S6958, - 'reduce-initial-value': S6959, - 'no-async-constructor': S7059, -}; diff --git a/packages/jsts/src/rules/rules.ts b/packages/jsts/src/rules/rules.ts deleted file mode 100644 index 9282927db0f..00000000000 --- a/packages/jsts/src/rules/rules.ts +++ /dev/null @@ -1,461 +0,0 @@ -/* - * SonarQube JavaScript Plugin - * Copyright (C) 2011-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -// DO NOT EDIT! This file was generated by generate-rule-indexes.ts -export { rule as S100 } from './S100/index.js'; // function-name -export { rule as S101 } from './S101/index.js'; // class-name -export { rule as S103 } from './S103/index.js'; // max-len -export { rule as S104 } from './S104/index.js'; // max-lines -export { rule as S105 } from './S105/index.js'; // no-tab -export { rule as S106 } from './S106/index.js'; // no-console -export { rule as S107 } from './S107/index.js'; // max-params -export { rule as S108 } from './S108/index.js'; // no-empty -export { rule as S109 } from './S109/index.js'; // no-magic-numbers -export { rule as S113 } from './S113/index.js'; // eol-last -export { rule as S117 } from './S117/index.js'; // variable-name -export { rule as S121 } from './S121/index.js'; // curly -export { rule as S122 } from './S122/index.js'; // max-statements-per-line -export { rule as S124 } from './S124/index.js'; // comment-regex -export { rule as S125 } from './S125/index.js'; // no-commented-code -export { rule as S126 } from './S126/index.js'; // elseif-without-else -export { rule as S128 } from './S128/index.js'; // no-fallthrough -export { rule as S131 } from './S131/index.js'; // switch-without-default -export { rule as S134 } from './S134/index.js'; // nested-control-flow -export { rule as S135 } from './S135/index.js'; // too-many-break-or-continue-in-loop -export { rule as S138 } from './S138/index.js'; // max-lines-per-function -export { rule as S139 } from './S139/index.js'; // line-comment-position -export { rule as S878 } from './S878/index.js'; // no-sequences -export { rule as S881 } from './S881/index.js'; // no-nested-incdec -export { rule as S888 } from './S888/index.js'; // no-equals-in-for-termination -export { rule as S905 } from './S905/index.js'; // no-unused-expressions -export { rule as S909 } from './S909/index.js'; // no-continue -export { rule as S930 } from './S930/index.js'; // no-extra-arguments -export { rule as S1066 } from './S1066/index.js'; // no-collapsible-if -export { rule as S1067 } from './S1067/index.js'; // expression-complexity -export { rule as S1068 } from './S1068/index.js'; // no-unused-private-class-members -export { rule as S1077 } from './S1077/index.js'; // alt-text -export { rule as S1082 } from './S1082/index.js'; // mouse-events-a11y -export { rule as S1090 } from './S1090/index.js'; // iframe-has-title -export { rule as S1105 } from './S1105/index.js'; // brace-style -export { rule as S1110 } from './S1110/index.js'; // no-redundant-parentheses -export { rule as S1116 } from './S1116/index.js'; // no-extra-semi -export { rule as S1117 } from './S1117/index.js'; // no-shadow -export { rule as S1119 } from './S1119/index.js'; // no-labels -export { rule as S1121 } from './S1121/index.js'; // no-nested-assignment -export { rule as S1125 } from './S1125/index.js'; // no-redundant-boolean -export { rule as S1126 } from './S1126/index.js'; // prefer-single-boolean-return -export { rule as S1128 } from './S1128/index.js'; // unused-import -export { rule as S1131 } from './S1131/index.js'; // no-trailing-spaces -export { rule as S1134 } from './S1134/index.js'; // fixme-tag -export { rule as S1135 } from './S1135/index.js'; // todo-tag -export { rule as S1143 } from './S1143/index.js'; // no-unsafe-finally -export { rule as S1154 } from './S1154/index.js'; // useless-string-operation -export { rule as S1172 } from './S1172/index.js'; // no-unused-function-argument -export { rule as S1186 } from './S1186/index.js'; // no-empty-function -export { rule as S1192 } from './S1192/index.js'; // no-duplicate-string -export { rule as S1199 } from './S1199/index.js'; // no-lone-blocks -export { rule as S1219 } from './S1219/index.js'; // no-case-label-in-switch -export { rule as S1226 } from './S1226/index.js'; // no-parameter-reassignment -export { rule as S1264 } from './S1264/index.js'; // prefer-while -export { rule as S1301 } from './S1301/index.js'; // no-small-switch -export { rule as S1313 } from './S1313/index.js'; // no-hardcoded-ip -export { rule as S1314 } from './S1314/index.js'; // no-octal -export { rule as S1321 } from './S1321/index.js'; // no-with -export { rule as S1438 } from './S1438/index.js'; // semi -export { rule as S1439 } from './S1439/index.js'; // label-position -export { rule as S1440 } from './S1440/index.js'; // eqeqeq -export { rule as S1441 } from './S1441/index.js'; // quotes -export { rule as S1442 } from './S1442/index.js'; // no-alert -export { rule as S1444 } from './S1444/index.js'; // public-static-readonly -export { rule as S1451 } from './S1451/index.js'; // file-header -export { rule as S1472 } from './S1472/index.js'; // call-argument-line -export { rule as S1479 } from './S1479/index.js'; // max-switch-cases -export { rule as S1481 } from './S1481/index.js'; // no-unused-vars -export { rule as S1488 } from './S1488/index.js'; // prefer-immediate-return -export { rule as S1515 } from './S1515/index.js'; // function-inside-loop -export { rule as S1516 } from './S1516/index.js'; // no-multi-str -export { rule as S1523 } from './S1523/index.js'; // code-eval -export { rule as S1525 } from './S1525/index.js'; // no-debugger -export { rule as S1526 } from './S1526/index.js'; // no-variable-usage-before-declaration -export { rule as S1527 } from './S1527/index.js'; // future-reserved-words -export { rule as S1528 } from './S1528/index.js'; // array-constructor -export { rule as S1529 } from './S1529/index.js'; // bitwise-operators -export { rule as S1530 } from './S1530/index.js'; // no-function-declaration-in-block -export { rule as S1533 } from './S1533/index.js'; // no-primitive-wrappers -export { rule as S1534 } from './S1534/index.js'; // no-dupe-keys -export { rule as S1535 } from './S1535/index.js'; // for-in -export { rule as S1536 } from './S1536/index.js'; // no-dupe-args -export { rule as S1537 } from './S1537/index.js'; // comma-dangle -export { rule as S1539 } from './S1539/index.js'; // strict -export { rule as S1541 } from './S1541/index.js'; // cyclomatic-complexity -export { rule as S1607 } from './S1607/index.js'; // no-skipped-tests -export { rule as S1656 } from './S1656/index.js'; // no-self-assign -export { rule as S1751 } from './S1751/index.js'; // no-one-iteration-loop -export { rule as S1763 } from './S1763/index.js'; // no-unreachable -export { rule as S1764 } from './S1764/index.js'; // no-identical-expressions -export { rule as S1774 } from './S1774/index.js'; // no-ternary -export { rule as S1788 } from './S1788/index.js'; // default-param-last -export { rule as S1821 } from './S1821/index.js'; // no-nested-switch -export { rule as S1848 } from './S1848/index.js'; // constructor-for-side-effects -export { rule as S1854 } from './S1854/index.js'; // no-dead-store -export { rule as S1862 } from './S1862/index.js'; // no-identical-conditions -export { rule as S1871 } from './S1871/index.js'; // no-duplicated-branches -export { rule as S1874 } from './S1874/index.js'; // deprecation -export { rule as S1940 } from './S1940/index.js'; // no-inverted-boolean-check -export { rule as S1994 } from './S1994/index.js'; // misplaced-loop-counter -export { rule as S2004 } from './S2004/index.js'; // no-nested-functions -export { rule as S2068 } from './S2068/index.js'; // no-hardcoded-credentials -export { rule as S2077 } from './S2077/index.js'; // sql-queries -export { rule as S2092 } from './S2092/index.js'; // insecure-cookie -export { rule as S2094 } from './S2094/index.js'; // no-extraneous-class -export { rule as S2123 } from './S2123/index.js'; // no-useless-increment -export { rule as S2137 } from './S2137/index.js'; // no-globals-shadowing -export { rule as S2138 } from './S2138/index.js'; // no-undefined-assignment -export { rule as S2187 } from './S2187/index.js'; // no-empty-test-file -export { rule as S2189 } from './S2189/index.js'; // no-infinite-loop -export { rule as S2201 } from './S2201/index.js'; // no-ignored-return -export { rule as S2208 } from './S2208/index.js'; // no-wildcard-import -export { rule as S2234 } from './S2234/index.js'; // arguments-order -export { rule as S2245 } from './S2245/index.js'; // pseudo-random -export { rule as S2251 } from './S2251/index.js'; // for-loop-increment-sign -export { rule as S2255 } from './S2255/index.js'; // cookies -export { rule as S2259 } from './S2259/index.js'; // null-dereference -export { rule as S2301 } from './S2301/index.js'; // no-selector-parameter -export { rule as S2310 } from './S2310/index.js'; // updated-loop-counter -export { rule as S2376 } from './S2376/index.js'; // accessor-pairs -export { rule as S2392 } from './S2392/index.js'; // block-scoped-var -export { rule as S2424 } from './S2424/index.js'; // no-built-in-override -export { rule as S2427 } from './S2427/index.js'; // radix -export { rule as S2428 } from './S2428/index.js'; // prefer-object-literal -export { rule as S2430 } from './S2430/index.js'; // new-cap -export { rule as S2432 } from './S2432/index.js'; // no-setter-return -export { rule as S2486 } from './S2486/index.js'; // no-ignored-exceptions -export { rule as S2589 } from './S2589/index.js'; // no-gratuitous-expressions -export { rule as S2598 } from './S2598/index.js'; // file-uploads -export { rule as S2612 } from './S2612/index.js'; // file-permissions -export { rule as S2639 } from './S2639/index.js'; // no-empty-character-class -export { rule as S2681 } from './S2681/index.js'; // no-unenclosed-multiline-block -export { rule as S2685 } from './S2685/index.js'; // no-caller -export { rule as S2688 } from './S2688/index.js'; // use-isnan -export { rule as S2692 } from './S2692/index.js'; // index-of-compare-to-positive-number -export { rule as S2699 } from './S2699/index.js'; // assertions-in-tests -export { rule as S2703 } from './S2703/index.js'; // no-implicit-global -export { rule as S2737 } from './S2737/index.js'; // no-useless-catch -export { rule as S2755 } from './S2755/index.js'; // xml-parser-xxe -export { rule as S2757 } from './S2757/index.js'; // non-existent-operator -export { rule as S2814 } from './S2814/index.js'; // no-redeclare -export { rule as S2817 } from './S2817/index.js'; // web-sql-database -export { rule as S2819 } from './S2819/index.js'; // post-message -export { rule as S2870 } from './S2870/index.js'; // no-array-delete -export { rule as S2871 } from './S2871/index.js'; // no-alphabetical-sort -export { rule as S2933 } from './S2933/index.js'; // prefer-readonly -export { rule as S2966 } from './S2966/index.js'; // no-non-null-assertion -export { rule as S2970 } from './S2970/index.js'; // no-incomplete-assertions -export { rule as S2990 } from './S2990/index.js'; // no-global-this -export { rule as S2999 } from './S2999/index.js'; // new-operator-misuse -export { rule as S3001 } from './S3001/index.js'; // no-delete-var -export { rule as S3003 } from './S3003/index.js'; // strings-comparison -export { rule as S3257 } from './S3257/index.js'; // no-inferrable-types -export { rule as S3317 } from './S3317/index.js'; // file-name-differ-from-class -export { rule as S3330 } from './S3330/index.js'; // cookie-no-httponly -export { rule as S3353 } from './S3353/index.js'; // prefer-const -export { rule as S3358 } from './S3358/index.js'; // no-nested-conditional -export { rule as S3402 } from './S3402/index.js'; // no-incorrect-string-concat -export { rule as S3403 } from './S3403/index.js'; // different-types-comparison -export { rule as S3415 } from './S3415/index.js'; // inverted-assertion-arguments -export { rule as S3498 } from './S3498/index.js'; // object-shorthand -export { rule as S3499 } from './S3499/index.js'; // shorthand-property-grouping -export { rule as S3500 } from './S3500/index.js'; // updated-const-var -export { rule as S3504 } from './S3504/index.js'; // no-var -export { rule as S3512 } from './S3512/index.js'; // prefer-template -export { rule as S3513 } from './S3513/index.js'; // arguments-usage -export { rule as S3514 } from './S3514/index.js'; // destructuring-assignment-syntax -export { rule as S3516 } from './S3516/index.js'; // no-invariant-returns -export { rule as S3523 } from './S3523/index.js'; // no-new-func -export { rule as S3524 } from './S3524/index.js'; // arrow-function-convention -export { rule as S3525 } from './S3525/index.js'; // class-prototype -export { rule as S3531 } from './S3531/index.js'; // generator-without-yield -export { rule as S3533 } from './S3533/index.js'; // no-require-or-define -export { rule as S3579 } from './S3579/index.js'; // no-associative-arrays -export { rule as S3616 } from './S3616/index.js'; // comma-or-logical-or-case -export { rule as S3626 } from './S3626/index.js'; // no-redundant-jump -export { rule as S3686 } from './S3686/index.js'; // inconsistent-function-call -export { rule as S3696 } from './S3696/index.js'; // no-throw-literal -export { rule as S3699 } from './S3699/index.js'; // no-use-of-empty-return-value -export { rule as S3723 } from './S3723/index.js'; // enforce-trailing-comma -export { rule as S3735 } from './S3735/index.js'; // void-use -export { rule as S3757 } from './S3757/index.js'; // operation-returning-nan -export { rule as S3758 } from './S3758/index.js'; // values-not-convertible-to-numbers -export { rule as S3760 } from './S3760/index.js'; // non-number-in-arithmetic-expression -export { rule as S3776 } from './S3776/index.js'; // cognitive-complexity -export { rule as S3782 } from './S3782/index.js'; // argument-type -export { rule as S3785 } from './S3785/index.js'; // in-operator-type-error -export { rule as S3786 } from './S3786/index.js'; // no-template-curly-in-string -export { rule as S3796 } from './S3796/index.js'; // array-callback-without-return -export { rule as S3798 } from './S3798/index.js'; // declarations-in-global-scope -export { rule as S3799 } from './S3799/index.js'; // no-empty-pattern -export { rule as S3800 } from './S3800/index.js'; // function-return-type -export { rule as S3801 } from './S3801/index.js'; // no-inconsistent-returns -export { rule as S3812 } from './S3812/index.js'; // no-unsafe-negation -export { rule as S3827 } from './S3827/index.js'; // no-reference-error -export { rule as S3834 } from './S3834/index.js'; // no-new-native-nonconstructor -export { rule as S3854 } from './S3854/index.js'; // super-invocation -export { rule as S3863 } from './S3863/index.js'; // no-duplicates -export { rule as S3923 } from './S3923/index.js'; // no-all-duplicated-branches -export { rule as S3972 } from './S3972/index.js'; // no-same-line-conditional -export { rule as S3973 } from './S3973/index.js'; // conditional-indentation -export { rule as S3981 } from './S3981/index.js'; // no-collection-size-mischeck -export { rule as S3984 } from './S3984/index.js'; // no-unthrown-error -export { rule as S4023 } from './S4023/index.js'; // no-empty-interface -export { rule as S4030 } from './S4030/index.js'; // no-unused-collection -export { rule as S4036 } from './S4036/index.js'; // no-os-command-from-path -export { rule as S4043 } from './S4043/index.js'; // no-misleading-array-reverse -export { rule as S4084 } from './S4084/index.js'; // media-has-caption -export { rule as S4123 } from './S4123/index.js'; // no-invalid-await -export { rule as S4124 } from './S4124/index.js'; // no-misused-new -export { rule as S4125 } from './S4125/index.js'; // valid-typeof -export { rule as S4136 } from './S4136/index.js'; // adjacent-overload-signatures -export { rule as S4137 } from './S4137/index.js'; // consistent-type-assertions -export { rule as S4138 } from './S4138/index.js'; // prefer-for-of -export { rule as S4139 } from './S4139/index.js'; // no-for-in-iterable -export { rule as S4140 } from './S4140/index.js'; // no-sparse-arrays -export { rule as S4143 } from './S4143/index.js'; // no-element-overwrite -export { rule as S4144 } from './S4144/index.js'; // no-identical-functions -export { rule as S4156 } from './S4156/index.js'; // prefer-namespace-keyword -export { rule as S4157 } from './S4157/index.js'; // no-unnecessary-type-arguments -export { rule as S4158 } from './S4158/index.js'; // no-empty-collection -export { rule as S4165 } from './S4165/index.js'; // no-redundant-assignments -export { rule as S4204 } from './S4204/index.js'; // no-explicit-any -export { rule as S4275 } from './S4275/index.js'; // no-accessor-field-mismatch -export { rule as S4322 } from './S4322/index.js'; // prefer-type-guard -export { rule as S4323 } from './S4323/index.js'; // use-type-alias -export { rule as S4324 } from './S4324/index.js'; // no-return-type-any -export { rule as S4325 } from './S4325/index.js'; // no-unnecessary-type-assertion -export { rule as S4326 } from './S4326/index.js'; // no-return-await -export { rule as S4327 } from './S4327/index.js'; // no-this-alias -export { rule as S4328 } from './S4328/index.js'; // no-implicit-dependencies -export { rule as S4335 } from './S4335/index.js'; // no-useless-intersection -export { rule as S4423 } from './S4423/index.js'; // weak-ssl -export { rule as S4426 } from './S4426/index.js'; // no-weak-keys -export { rule as S4502 } from './S4502/index.js'; // csrf -export { rule as S4507 } from './S4507/index.js'; // production-debug -export { rule as S4524 } from './S4524/index.js'; // prefer-default-last -export { rule as S4619 } from './S4619/index.js'; // no-in-misuse -export { rule as S4621 } from './S4621/index.js'; // no-duplicate-in-composite -export { rule as S4622 } from './S4622/index.js'; // max-union-size -export { rule as S4623 } from './S4623/index.js'; // no-undefined-argument -export { rule as S4624 } from './S4624/index.js'; // no-nested-template-literals -export { rule as S4634 } from './S4634/index.js'; // prefer-promise-shorthand -export { rule as S4721 } from './S4721/index.js'; // os-command -export { rule as S4782 } from './S4782/index.js'; // no-redundant-optional -export { rule as S4784 } from './S4784/index.js'; // regular-expr -export { rule as S4787 } from './S4787/index.js'; // encryption -export { rule as S4790 } from './S4790/index.js'; // hashing -export { rule as S4798 } from './S4798/index.js'; // bool-param-default -export { rule as S4817 } from './S4817/index.js'; // xpath -export { rule as S4818 } from './S4818/index.js'; // sockets -export { rule as S4822 } from './S4822/index.js'; // no-try-promise -export { rule as S4823 } from './S4823/index.js'; // process-argv -export { rule as S4829 } from './S4829/index.js'; // standard-input -export { rule as S4830 } from './S4830/index.js'; // unverified-certificate -export { rule as S5042 } from './S5042/index.js'; // no-unsafe-unzip -export { rule as S5122 } from './S5122/index.js'; // cors -export { rule as S5148 } from './S5148/index.js'; // link-with-target-blank -export { rule as S5247 } from './S5247/index.js'; // disabled-auto-escaping -export { rule as S5254 } from './S5254/index.js'; // html-has-lang -export { rule as S5256 } from './S5256/index.js'; // table-header -export { rule as S5257 } from './S5257/index.js'; // no-table-as-layout -export { rule as S5260 } from './S5260/index.js'; // table-header-reference -export { rule as S5264 } from './S5264/index.js'; // object-alt-content -export { rule as S5332 } from './S5332/index.js'; // no-clear-text-protocols -export { rule as S5443 } from './S5443/index.js'; // publicly-writable-directories -export { rule as S5527 } from './S5527/index.js'; // unverified-hostname -export { rule as S5542 } from './S5542/index.js'; // encryption-secure-mode -export { rule as S5547 } from './S5547/index.js'; // no-weak-cipher -export { rule as S5604 } from './S5604/index.js'; // no-intrusive-permissions -export { rule as S5659 } from './S5659/index.js'; // insecure-jwt-token -export { rule as S5689 } from './S5689/index.js'; // x-powered-by -export { rule as S5691 } from './S5691/index.js'; // hidden-files -export { rule as S5693 } from './S5693/index.js'; // content-length -export { rule as S5725 } from './S5725/index.js'; // disabled-resource-integrity -export { rule as S5728 } from './S5728/index.js'; // content-security-policy -export { rule as S5730 } from './S5730/index.js'; // no-mixed-content -export { rule as S5732 } from './S5732/index.js'; // frame-ancestors -export { rule as S5734 } from './S5734/index.js'; // no-mime-sniff -export { rule as S5736 } from './S5736/index.js'; // no-referrer-policy -export { rule as S5739 } from './S5739/index.js'; // strict-transport-security -export { rule as S5742 } from './S5742/index.js'; // certificate-transparency -export { rule as S5743 } from './S5743/index.js'; // dns-prefetching -export { rule as S5757 } from './S5757/index.js'; // confidential-information-logging -export { rule as S5759 } from './S5759/index.js'; // no-ip-forward -export { rule as S5842 } from './S5842/index.js'; // empty-string-repetition -export { rule as S5843 } from './S5843/index.js'; // regex-complexity -export { rule as S5850 } from './S5850/index.js'; // anchor-precedence -export { rule as S5852 } from './S5852/index.js'; // slow-regex -export { rule as S5856 } from './S5856/index.js'; // no-invalid-regexp -export { rule as S5860 } from './S5860/index.js'; // unused-named-groups -export { rule as S5863 } from './S5863/index.js'; // no-same-argument-assert -export { rule as S5867 } from './S5867/index.js'; // unicode-aware-regex -export { rule as S5868 } from './S5868/index.js'; // no-misleading-character-class -export { rule as S5869 } from './S5869/index.js'; // duplicates-in-character-class -export { rule as S5876 } from './S5876/index.js'; // session-regeneration -export { rule as S5958 } from './S5958/index.js'; // test-check-exception -export { rule as S5973 } from './S5973/index.js'; // stable-tests -export { rule as S6019 } from './S6019/index.js'; // no-empty-after-reluctant -export { rule as S6035 } from './S6035/index.js'; // single-character-alternation -export { rule as S6079 } from './S6079/index.js'; // no-code-after-done -export { rule as S6080 } from './S6080/index.js'; // disabled-timeout -export { rule as S6092 } from './S6092/index.js'; // chai-determinate-assertion -export { rule as S6245 } from './S6245/index.js'; // aws-s3-bucket-server-encryption -export { rule as S6249 } from './S6249/index.js'; // aws-s3-bucket-insecure-http -export { rule as S6252 } from './S6252/index.js'; // aws-s3-bucket-versioning -export { rule as S6265 } from './S6265/index.js'; // aws-s3-bucket-granted-access -export { rule as S6268 } from './S6268/index.js'; // no-angular-bypass-sanitization -export { rule as S6270 } from './S6270/index.js'; // aws-iam-public-access -export { rule as S6275 } from './S6275/index.js'; // aws-ec2-unencrypted-ebs-volume -export { rule as S6281 } from './S6281/index.js'; // aws-s3-bucket-public-access -export { rule as S6299 } from './S6299/index.js'; // no-vue-bypass-sanitization -export { rule as S6302 } from './S6302/index.js'; // aws-iam-all-privileges -export { rule as S6303 } from './S6303/index.js'; // aws-rds-unencrypted-databases -export { rule as S6304 } from './S6304/index.js'; // aws-iam-all-resources-accessible -export { rule as S6308 } from './S6308/index.js'; // aws-opensearchservice-domain -export { rule as S6317 } from './S6317/index.js'; // aws-iam-privilege-escalation -export { rule as S6319 } from './S6319/index.js'; // aws-sagemaker-unencrypted-notebook -export { rule as S6321 } from './S6321/index.js'; // aws-restricted-ip-admin-access -export { rule as S6323 } from './S6323/index.js'; // no-empty-alternatives -export { rule as S6324 } from './S6324/index.js'; // no-control-regex -export { rule as S6325 } from './S6325/index.js'; // prefer-regex-literals -export { rule as S6326 } from './S6326/index.js'; // no-regex-spaces -export { rule as S6327 } from './S6327/index.js'; // aws-sns-unencrypted-topics -export { rule as S6328 } from './S6328/index.js'; // existing-groups -export { rule as S6329 } from './S6329/index.js'; // aws-ec2-rds-dms-public -export { rule as S6330 } from './S6330/index.js'; // aws-sqs-unencrypted-queue -export { rule as S6331 } from './S6331/index.js'; // no-empty-group -export { rule as S6332 } from './S6332/index.js'; // aws-efs-unencrypted -export { rule as S6333 } from './S6333/index.js'; // aws-apigateway-public-api -export { rule as S6351 } from './S6351/index.js'; // stateful-regex -export { rule as S6353 } from './S6353/index.js'; // concise-regex -export { rule as S6397 } from './S6397/index.js'; // single-char-in-character-classes -export { rule as S6426 } from './S6426/index.js'; // no-exclusive-tests -export { rule as S6435 } from './S6435/index.js'; // require-render-return -export { rule as S6438 } from './S6438/index.js'; // jsx-no-comment-textnodes -export { rule as S6439 } from './S6439/index.js'; // jsx-no-leaked-render -export { rule as S6440 } from './S6440/index.js'; // rules-of-hooks -export { rule as S6441 } from './S6441/index.js'; // no-unused-class-component-methods -export { rule as S6442 } from './S6442/index.js'; // no-hook-setter-in-body -export { rule as S6443 } from './S6443/index.js'; // no-useless-react-setstate -export { rule as S6477 } from './S6477/index.js'; // jsx-key -export { rule as S6478 } from './S6478/index.js'; // no-unstable-nested-components -export { rule as S6479 } from './S6479/index.js'; // no-array-index-key -export { rule as S6480 } from './S6480/index.js'; // jsx-no-bind -export { rule as S6481 } from './S6481/index.js'; // jsx-no-constructed-context-values -export { rule as S6486 } from './S6486/index.js'; // no-uniq-key -export { rule as S6509 } from './S6509/index.js'; // no-extra-boolean-cast -export { rule as S6522 } from './S6522/index.js'; // no-import-assign -export { rule as S6523 } from './S6523/index.js'; // no-unsafe-optional-chaining -export { rule as S6534 } from './S6534/index.js'; // no-loss-of-precision -export { rule as S6535 } from './S6535/index.js'; // unnecessary-character-escapes -export { rule as S6544 } from './S6544/index.js'; // no-misused-promises -export { rule as S6550 } from './S6550/index.js'; // prefer-literal-enum-member -export { rule as S6551 } from './S6551/index.js'; // no-base-to-string -export { rule as S6557 } from './S6557/index.js'; // prefer-string-starts-ends-with -export { rule as S6564 } from './S6564/index.js'; // redundant-type-aliases -export { rule as S6565 } from './S6565/index.js'; // prefer-return-this-type -export { rule as S6568 } from './S6568/index.js'; // no-confusing-non-null-assertion -export { rule as S6569 } from './S6569/index.js'; // no-unnecessary-type-constraint -export { rule as S6571 } from './S6571/index.js'; // no-redundant-type-constituents -export { rule as S6572 } from './S6572/index.js'; // prefer-enum-initializers -export { rule as S6578 } from './S6578/index.js'; // no-duplicate-enum-values -export { rule as S6582 } from './S6582/index.js'; // prefer-optional-chain -export { rule as S6583 } from './S6583/index.js'; // no-mixed-enums -export { rule as S6590 } from './S6590/index.js'; // prefer-as-const -export { rule as S6594 } from './S6594/index.js'; // prefer-regexp-exec -export { rule as S6598 } from './S6598/index.js'; // prefer-function-type -export { rule as S6606 } from './S6606/index.js'; // prefer-nullish-coalescing -export { rule as S6627 } from './S6627/index.js'; // no-internal-api-use -export { rule as S6635 } from './S6635/index.js'; // no-constructor-return -export { rule as S6637 } from './S6637/index.js'; // no-extra-bind -export { rule as S6638 } from './S6638/index.js'; // no-constant-binary-expression -export { rule as S6643 } from './S6643/index.js'; // no-extend-native -export { rule as S6644 } from './S6644/index.js'; // no-unneeded-ternary -export { rule as S6645 } from './S6645/index.js'; // no-undef-init -export { rule as S6647 } from './S6647/index.js'; // no-useless-constructor -export { rule as S6650 } from './S6650/index.js'; // no-useless-rename -export { rule as S6653 } from './S6653/index.js'; // prefer-object-has-own -export { rule as S6654 } from './S6654/index.js'; // no-proto -export { rule as S6657 } from './S6657/index.js'; // no-octal-escape -export { rule as S6660 } from './S6660/index.js'; // no-lonely-if -export { rule as S6661 } from './S6661/index.js'; // prefer-object-spread -export { rule as S6666 } from './S6666/index.js'; // prefer-spread -export { rule as S6671 } from './S6671/index.js'; // prefer-promise-reject-errors -export { rule as S6676 } from './S6676/index.js'; // no-useless-call -export { rule as S6679 } from './S6679/index.js'; // no-self-compare -export { rule as S6746 } from './S6746/index.js'; // no-direct-mutation-state -export { rule as S6747 } from './S6747/index.js'; // no-unknown-property -export { rule as S6748 } from './S6748/index.js'; // no-children-prop -export { rule as S6749 } from './S6749/index.js'; // jsx-no-useless-fragment -export { rule as S6750 } from './S6750/index.js'; // no-render-return-value -export { rule as S6754 } from './S6754/index.js'; // hook-use-state -export { rule as S6756 } from './S6756/index.js'; // no-access-state-in-setstate -export { rule as S6757 } from './S6757/index.js'; // no-this-in-sfc -export { rule as S6759 } from './S6759/index.js'; // prefer-read-only-props -export { rule as S6761 } from './S6761/index.js'; // no-danger-with-children -export { rule as S6763 } from './S6763/index.js'; // no-redundant-should-component-update -export { rule as S6766 } from './S6766/index.js'; // no-unescaped-entities -export { rule as S6767 } from './S6767/index.js'; // no-unused-prop-types -export { rule as S6770 } from './S6770/index.js'; // jsx-pascal-case -export { rule as S6772 } from './S6772/index.js'; // jsx-child-element-spacing -export { rule as S6774 } from './S6774/index.js'; // prop-types -export { rule as S6775 } from './S6775/index.js'; // default-props-match-prop-types -export { rule as S6788 } from './S6788/index.js'; // no-find-dom-node -export { rule as S6789 } from './S6789/index.js'; // no-is-mounted -export { rule as S6790 } from './S6790/index.js'; // no-string-refs -export { rule as S6791 } from './S6791/index.js'; // no-unsafe -export { rule as S6793 } from './S6793/index.js'; // aria-proptypes -export { rule as S6807 } from './S6807/index.js'; // role-has-required-aria-props -export { rule as S6811 } from './S6811/index.js'; // role-supports-aria-props -export { rule as S6819 } from './S6819/index.js'; // prefer-tag-over-role -export { rule as S6821 } from './S6821/index.js'; // aria-role -export { rule as S6822 } from './S6822/index.js'; // no-redundant-roles -export { rule as S6823 } from './S6823/index.js'; // aria-activedescendant-has-tabindex -export { rule as S6824 } from './S6824/index.js'; // aria-unsupported-elements -export { rule as S6825 } from './S6825/index.js'; // no-aria-hidden-on-focusable -export { rule as S6827 } from './S6827/index.js'; // anchor-has-content -export { rule as S6836 } from './S6836/index.js'; // no-case-declarations -export { rule as S6840 } from './S6840/index.js'; // autocomplete-valid -export { rule as S6841 } from './S6841/index.js'; // tabindex-no-positive -export { rule as S6842 } from './S6842/index.js'; // no-noninteractive-element-to-interactive-role -export { rule as S6843 } from './S6843/index.js'; // no-interactive-element-to-noninteractive-role -export { rule as S6844 } from './S6844/index.js'; // anchor-is-valid -export { rule as S6845 } from './S6845/index.js'; // no-noninteractive-tabindex -export { rule as S6846 } from './S6846/index.js'; // no-access-key -export { rule as S6847 } from './S6847/index.js'; // no-noninteractive-element-interactions -export { rule as S6848 } from './S6848/index.js'; // no-static-element-interactions -export { rule as S6850 } from './S6850/index.js'; // heading-has-content -export { rule as S6851 } from './S6851/index.js'; // img-redundant-alt -export { rule as S6852 } from './S6852/index.js'; // interactive-supports-focus -export { rule as S6853 } from './S6853/index.js'; // label-has-associated-control -export { rule as S6859 } from './S6859/index.js'; // no-absolute-path -export { rule as S6861 } from './S6861/index.js'; // no-mutable-exports -export { rule as S6957 } from './S6957/index.js'; // no-deprecated-react -export { rule as S6958 } from './S6958/index.js'; // no-literal-call -export { rule as S6959 } from './S6959/index.js'; // reduce-initial-value -export { rule as S7059 } from './S7059/index.js'; // no-async-constructor -export { rule as S7060 } from './S7060/index.js'; // no-self-import diff --git a/tools/generate-rule-indexes.ts b/tools/generate-rule-indexes.ts index f60ad17a2ba..d28fe23145a 100644 --- a/tools/generate-rule-indexes.ts +++ b/tools/generate-rule-indexes.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - +import prettier from 'prettier'; import { readdir, writeFile } from 'fs/promises'; import { join, dirname } from 'node:path/posix'; import { fileURLToPath, pathToFileURL } from 'node:url'; @@ -50,6 +50,17 @@ const RULES_FOLDER = join( dirname(toUnixPath(fileURLToPath(import.meta.url))), '../packages/jsts/src/rules/', ); + +const prettierOpts = { + printWidth: 100, + trailingComma: 'all', + singleQuote: true, + arrowParens: 'avoid', + endOfLine: 'lf', +} as const; + +const allRulesIndex = join(RULES_FOLDER, './rules.ts'); +const pluginRulesIndex = join(RULES_FOLDER, './plugin-rules.ts'); const ruleRegex = /^S\d+$/; const allRules: string[] = []; @@ -73,19 +84,25 @@ for (const file of files) { const sonarKeySorter = (a, b) => (parseInt(a.substring(1)) < parseInt(b.substring(1)) ? -1 : 1); await writeFile( - join(RULES_FOLDER, './rules.ts'), - `${header}\n\n// DO NOT EDIT! This file was generated by generate-rule-indexes.ts\n${allRules - .sort(sonarKeySorter) - .map(id => `export { rule as ${id} } from './${id}/index.js'; // ${eslintIds[id]} \n`) - .join('')}`, + allRulesIndex, + await prettier.format( + `${header}\n\n// DO NOT EDIT! This file was generated by generate-rule-indexes.ts\n${allRules + .sort(sonarKeySorter) + .map(id => `export { rule as ${id} } from './${id}/index.js'; // ${eslintIds[id]}\n`) + .join('')}`, + { ...prettierOpts, filepath: allRulesIndex }, + ), ); //sort once; pluginRules.sort(sonarKeySorter); await writeFile( - join(RULES_FOLDER, './plugin-rules.ts'), - `${header}\n\n// DO NOT EDIT! This file was generated by generate-rule-indexes.ts\n + pluginRulesIndex, + await prettier.format( + `${header}\n\n// DO NOT EDIT! This file was generated by generate-rule-indexes.ts\n ${pluginRules.map(id => `import { rule as ${id} } from './${id}/index.js';\n`).join('')} -export const rules = {${pluginRules.map(id => ` "${eslintIds[id]}": ${id},\n`).join('')}};\n`, +export const rules = {\n${pluginRules.map(id => ` '${eslintIds[id]}': ${id},\n`).join('')}};\n`, + { ...prettierOpts, filepath: allRulesIndex }, + ), ); From 67092c8ac6a1dcf89123a45900082864c981dc2b Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Mon, 25 Nov 2024 23:08:45 +0100 Subject: [PATCH 05/23] remove decorated rule from its test --- its/eslint8-plugin-sonarjs/eslint.config.cjs | 1 - its/eslint8-plugin-sonarjs/eslint.config.mjs | 1 - its/eslint8-plugin-sonarjs/tseslint.config.mjs | 1 - its/eslint9-plugin-sonarjs/eslint.config.cjs | 1 - its/eslint9-plugin-sonarjs/eslint.config.mjs | 1 - its/eslint9-plugin-sonarjs/tseslint.config.mjs | 1 - 6 files changed, 6 deletions(-) diff --git a/its/eslint8-plugin-sonarjs/eslint.config.cjs b/its/eslint8-plugin-sonarjs/eslint.config.cjs index 8160bfb7037..00ab84327db 100644 --- a/its/eslint8-plugin-sonarjs/eslint.config.cjs +++ b/its/eslint8-plugin-sonarjs/eslint.config.cjs @@ -10,7 +10,6 @@ module.exports = [ plugin.configs.recommended, { rules: { - 'sonarjs/accessor-pairs': 'error', 'sonarjs/no-implicit-dependencies': 'error', }, }, diff --git a/its/eslint8-plugin-sonarjs/eslint.config.mjs b/its/eslint8-plugin-sonarjs/eslint.config.mjs index e8cb6e75d4d..726f76bb842 100644 --- a/its/eslint8-plugin-sonarjs/eslint.config.mjs +++ b/its/eslint8-plugin-sonarjs/eslint.config.mjs @@ -10,7 +10,6 @@ export default [ plugin.configs.recommended, { rules: { - 'sonarjs/accessor-pairs': 'error', 'sonarjs/no-implicit-dependencies': 'error', }, }, diff --git a/its/eslint8-plugin-sonarjs/tseslint.config.mjs b/its/eslint8-plugin-sonarjs/tseslint.config.mjs index f1f884327ba..e9676fff29f 100644 --- a/its/eslint8-plugin-sonarjs/tseslint.config.mjs +++ b/its/eslint8-plugin-sonarjs/tseslint.config.mjs @@ -7,7 +7,6 @@ import parser from '@typescript-eslint/parser'; console.log(`Loaded ${Object.keys(plugin.configs.recommended.rules ?? {}).length} rules`); export default tseslint.config(plugin.configs.recommended, { - rules: { 'sonarjs/accessor-pairs': 'error' }, files: ['**/*.ts'], languageOptions: { parser, diff --git a/its/eslint9-plugin-sonarjs/eslint.config.cjs b/its/eslint9-plugin-sonarjs/eslint.config.cjs index 8160bfb7037..00ab84327db 100644 --- a/its/eslint9-plugin-sonarjs/eslint.config.cjs +++ b/its/eslint9-plugin-sonarjs/eslint.config.cjs @@ -10,7 +10,6 @@ module.exports = [ plugin.configs.recommended, { rules: { - 'sonarjs/accessor-pairs': 'error', 'sonarjs/no-implicit-dependencies': 'error', }, }, diff --git a/its/eslint9-plugin-sonarjs/eslint.config.mjs b/its/eslint9-plugin-sonarjs/eslint.config.mjs index e8cb6e75d4d..726f76bb842 100644 --- a/its/eslint9-plugin-sonarjs/eslint.config.mjs +++ b/its/eslint9-plugin-sonarjs/eslint.config.mjs @@ -10,7 +10,6 @@ export default [ plugin.configs.recommended, { rules: { - 'sonarjs/accessor-pairs': 'error', 'sonarjs/no-implicit-dependencies': 'error', }, }, diff --git a/its/eslint9-plugin-sonarjs/tseslint.config.mjs b/its/eslint9-plugin-sonarjs/tseslint.config.mjs index f1f884327ba..e9676fff29f 100644 --- a/its/eslint9-plugin-sonarjs/tseslint.config.mjs +++ b/its/eslint9-plugin-sonarjs/tseslint.config.mjs @@ -7,7 +7,6 @@ import parser from '@typescript-eslint/parser'; console.log(`Loaded ${Object.keys(plugin.configs.recommended.rules ?? {}).length} rules`); export default tseslint.config(plugin.configs.recommended, { - rules: { 'sonarjs/accessor-pairs': 'error' }, files: ['**/*.ts'], languageOptions: { parser, From 23c92def9a170c75fdb817d7267a5979a2163d64 Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Tue, 26 Nov 2024 01:51:02 +0100 Subject: [PATCH 06/23] remove unneeded dependencies --- generate-eslint-package-json.mjs | 8 ----- packages/jsts/src/analysis/analyzer.ts | 2 +- packages/jsts/src/linter/visitors/cpd.ts | 2 +- .../linter/visitors/symbol-highlighting.ts | 2 +- packages/jsts/src/parsers/ast.ts | 2 +- packages/jsts/src/rules/S101/rule.ts | 2 +- packages/jsts/src/rules/S1066/rule.ts | 5 ++- packages/jsts/src/rules/S1067/rule.ts | 2 +- packages/jsts/src/rules/S107/rule.ts | 2 +- packages/jsts/src/rules/S1077/decorator.ts | 2 +- packages/jsts/src/rules/S1077/index.ts | 5 ++- packages/jsts/src/rules/S1082/meta.ts | 2 +- packages/jsts/src/rules/S1082/rule.ts | 7 ++-- packages/jsts/src/rules/S109/meta.ts | 2 +- packages/jsts/src/rules/S109/rule.ts | 2 +- packages/jsts/src/rules/S1116/index.ts | 2 +- packages/jsts/src/rules/S1117/index.ts | 2 +- packages/jsts/src/rules/S1125/rule.ts | 6 ++-- packages/jsts/src/rules/S1126/rule.ts | 17 +++++----- packages/jsts/src/rules/S1128/rule.ts | 2 +- packages/jsts/src/rules/S1135/rule.ts | 2 +- packages/jsts/src/rules/S117/rule.ts | 2 +- packages/jsts/src/rules/S1172/rule.ts | 2 +- packages/jsts/src/rules/S1186/index.ts | 2 +- packages/jsts/src/rules/S1192/rule.ts | 4 +-- packages/jsts/src/rules/S1226/rule.ts | 2 +- packages/jsts/src/rules/S124/rule.ts | 2 +- packages/jsts/src/rules/S125/rule.ts | 2 +- packages/jsts/src/rules/S126/rule.ts | 2 +- packages/jsts/src/rules/S131/rule.ts | 2 +- packages/jsts/src/rules/S138/rule.ts | 2 +- packages/jsts/src/rules/S1438/index.ts | 2 +- packages/jsts/src/rules/S1472/rule.ts | 2 +- packages/jsts/src/rules/S1488/rule.ts | 15 +++------ packages/jsts/src/rules/S1515/rule.ts | 2 +- packages/jsts/src/rules/S1530/rule.ts | 2 +- packages/jsts/src/rules/S1534/rule.ts | 5 ++- packages/jsts/src/rules/S1537/index.ts | 2 +- packages/jsts/src/rules/S1541/rule.ts | 2 +- packages/jsts/src/rules/S1607/rule.ts | 2 +- packages/jsts/src/rules/S1751/rule.ts | 4 +-- packages/jsts/src/rules/S1788/index.ts | 2 +- packages/jsts/src/rules/S1854/rule.ts | 2 +- packages/jsts/src/rules/S1862/rule.ts | 6 ++-- packages/jsts/src/rules/S1871/rule.ts | 4 +-- packages/jsts/src/rules/S1940/rule.ts | 7 ++-- packages/jsts/src/rules/S1994/rule.ts | 2 +- packages/jsts/src/rules/S2004/rule.ts | 2 +- packages/jsts/src/rules/S2094/index.ts | 2 +- packages/jsts/src/rules/S2189/rule.ts | 2 +- packages/jsts/src/rules/S2201/rule.ts | 4 +-- packages/jsts/src/rules/S2234/rule.ts | 2 +- packages/jsts/src/rules/S2259/rule.ts | 2 +- packages/jsts/src/rules/S2310/rule.ts | 2 +- packages/jsts/src/rules/S2376/decorator.ts | 2 +- packages/jsts/src/rules/S2424/rule.ts | 2 +- packages/jsts/src/rules/S2428/rule.ts | 12 +++---- packages/jsts/src/rules/S2681/rule.ts | 2 +- packages/jsts/src/rules/S2737/rule.ts | 2 +- packages/jsts/src/rules/S2755/rule.ts | 2 +- packages/jsts/src/rules/S2757/rule.ts | 2 +- packages/jsts/src/rules/S2814/decorator.ts | 2 +- packages/jsts/src/rules/S2814/index.ts | 2 +- packages/jsts/src/rules/S2819/rule.ts | 2 +- packages/jsts/src/rules/S2933/index.ts | 2 +- packages/jsts/src/rules/S2966/index.ts | 2 +- packages/jsts/src/rules/S3003/rule.ts | 2 +- packages/jsts/src/rules/S3257/index.ts | 2 +- packages/jsts/src/rules/S3498/decorator.ts | 2 +- packages/jsts/src/rules/S3513/rule.ts | 2 +- packages/jsts/src/rules/S3514/rule.ts | 2 +- packages/jsts/src/rules/S3516/rule.ts | 2 +- packages/jsts/src/rules/S3524/rule.ts | 2 +- packages/jsts/src/rules/S3531/rule.ts | 2 +- packages/jsts/src/rules/S3699/rule.ts | 4 +-- packages/jsts/src/rules/S3782/rule.ts | 2 +- packages/jsts/src/rules/S3796/rule.ts | 2 +- packages/jsts/src/rules/S3800/rule.ts | 2 +- packages/jsts/src/rules/S3801/rule.ts | 2 +- packages/jsts/src/rules/S3827/rule.ts | 2 +- packages/jsts/src/rules/S4023/decorator.ts | 2 +- packages/jsts/src/rules/S4023/index.ts | 2 +- packages/jsts/src/rules/S4043/rule.ts | 2 +- packages/jsts/src/rules/S4084/decorator.ts | 2 +- packages/jsts/src/rules/S4084/index.ts | 5 ++- packages/jsts/src/rules/S4123/rule.ts | 2 +- packages/jsts/src/rules/S4124/index.ts | 2 +- packages/jsts/src/rules/S4136/index.ts | 2 +- packages/jsts/src/rules/S4137/index.ts | 2 +- packages/jsts/src/rules/S4138/decorator.ts | 2 +- packages/jsts/src/rules/S4138/index.ts | 2 +- packages/jsts/src/rules/S4143/rule.ts | 16 +++------- packages/jsts/src/rules/S4156/index.ts | 2 +- packages/jsts/src/rules/S4157/index.ts | 2 +- packages/jsts/src/rules/S4165/rule.ts | 2 +- packages/jsts/src/rules/S4204/index.ts | 2 +- packages/jsts/src/rules/S4275/rule.ts | 2 +- packages/jsts/src/rules/S4322/rule.ts | 2 +- packages/jsts/src/rules/S4323/rule.ts | 2 +- packages/jsts/src/rules/S4324/rule.ts | 2 +- packages/jsts/src/rules/S4325/index.ts | 2 +- packages/jsts/src/rules/S4327/index.ts | 2 +- packages/jsts/src/rules/S4335/rule.ts | 2 +- packages/jsts/src/rules/S4619/rule.ts | 2 +- packages/jsts/src/rules/S4621/rule.ts | 2 +- packages/jsts/src/rules/S4622/rule.ts | 2 +- packages/jsts/src/rules/S4623/rule.ts | 2 +- packages/jsts/src/rules/S4782/rule.ts | 2 +- packages/jsts/src/rules/S4798/rule.ts | 2 +- packages/jsts/src/rules/S4822/rule.ts | 2 +- packages/jsts/src/rules/S5122/rule.ts | 2 +- packages/jsts/src/rules/S5254/rule.ts | 9 +++--- packages/jsts/src/rules/S5256/rule.ts | 6 ++-- packages/jsts/src/rules/S5257/rule.ts | 2 +- packages/jsts/src/rules/S5260/rule.ts | 5 ++- packages/jsts/src/rules/S5264/rule.ts | 24 +++++++++++--- packages/jsts/src/rules/S5725/rule.ts | 2 +- packages/jsts/src/rules/S5860/rule.ts | 2 +- packages/jsts/src/rules/S5863/rule.ts | 2 +- packages/jsts/src/rules/S5868/rule.ts | 2 +- packages/jsts/src/rules/S6441/meta.ts | 2 +- packages/jsts/src/rules/S6441/rule.ts | 5 ++- packages/jsts/src/rules/S6442/rule.ts | 2 +- packages/jsts/src/rules/S6477/decorator.ts | 2 +- packages/jsts/src/rules/S6477/meta.ts | 2 +- packages/jsts/src/rules/S6477/rule.ts | 3 +- packages/jsts/src/rules/S6478/decorator.ts | 2 +- packages/jsts/src/rules/S6478/index.ts | 3 +- packages/jsts/src/rules/S6478/meta.ts | 2 +- packages/jsts/src/rules/S6479/meta.ts | 2 +- packages/jsts/src/rules/S6479/rule.ts | 3 +- packages/jsts/src/rules/S6481/index.ts | 3 +- packages/jsts/src/rules/S6481/meta.ts | 2 +- packages/jsts/src/rules/S6486/rule.ts | 2 +- packages/jsts/src/rules/S6544/rule.ts | 4 +-- packages/jsts/src/rules/S6550/index.ts | 2 +- packages/jsts/src/rules/S6551/decorator.ts | 2 +- packages/jsts/src/rules/S6551/index.ts | 2 +- packages/jsts/src/rules/S6557/index.ts | 2 +- packages/jsts/src/rules/S6564/rule.ts | 2 +- packages/jsts/src/rules/S6565/index.ts | 2 +- packages/jsts/src/rules/S6568/index.ts | 2 +- packages/jsts/src/rules/S6569/index.ts | 2 +- packages/jsts/src/rules/S6571/decorator.ts | 2 +- packages/jsts/src/rules/S6571/index.ts | 2 +- packages/jsts/src/rules/S6572/rule.ts | 4 +-- packages/jsts/src/rules/S6578/index.ts | 2 +- packages/jsts/src/rules/S6582/meta.ts | 2 +- packages/jsts/src/rules/S6582/rule.ts | 2 +- packages/jsts/src/rules/S6583/index.ts | 2 +- packages/jsts/src/rules/S6590/index.ts | 2 +- packages/jsts/src/rules/S6598/index.ts | 2 +- packages/jsts/src/rules/S6606/rule.ts | 2 +- packages/jsts/src/rules/S6671/index.ts | 2 +- packages/jsts/src/rules/S6747/rule.ts | 8 ++--- packages/jsts/src/rules/S6749/index.ts | 3 +- packages/jsts/src/rules/S6754/index.ts | 4 +-- packages/jsts/src/rules/S6754/meta.ts | 2 +- packages/jsts/src/rules/S6759/rule.ts | 2 +- packages/jsts/src/rules/S6788/index.ts | 3 +- packages/jsts/src/rules/S6791/index.ts | 3 +- packages/jsts/src/rules/S6791/meta.ts | 2 +- packages/jsts/src/rules/S6827/decorator.ts | 2 +- packages/jsts/src/rules/S6827/index.ts | 5 ++- packages/jsts/src/rules/S6844/rule.ts | 5 ++- packages/jsts/src/rules/S6853/decorator.ts | 2 +- packages/jsts/src/rules/S6853/index.ts | 3 +- packages/jsts/src/rules/S6957/meta.ts | 2 +- packages/jsts/src/rules/S6957/rule.ts | 3 +- packages/jsts/src/rules/S6958/rule.ts | 11 +++---- packages/jsts/src/rules/S7059/rule.ts | 3 +- packages/jsts/src/rules/S905/decorator.ts | 2 +- packages/jsts/src/rules/S905/index.ts | 2 +- packages/jsts/src/rules/S930/rule.ts | 4 +-- .../{ => external}/typescript-eslint/index.ts | 0 .../typescript-eslint/sanitize.ts | 2 +- .../jsts/src/rules/helpers/accessibility.ts | 32 +++++++++++++++++-- packages/jsts/src/rules/helpers/ancestor.ts | 2 +- packages/jsts/src/rules/helpers/ast.ts | 2 +- packages/jsts/src/rules/helpers/conditions.ts | 5 ++- .../jsts/src/rules/helpers/isHtmlElement.ts | 2 +- packages/jsts/src/rules/helpers/jsx.ts | 2 +- packages/jsts/src/rules/helpers/location.ts | 2 +- packages/jsts/src/rules/helpers/lva.ts | 2 +- packages/jsts/src/rules/helpers/module.ts | 2 +- .../jsts/src/rules/helpers/regex/extract.ts | 2 +- packages/jsts/src/rules/helpers/table.ts | 4 +-- packages/jsts/src/rules/helpers/type.ts | 2 +- packages/jsts/tests/parsers/ast.test.ts | 2 +- .../rules/typescript-eslint/sanitize.test.ts | 2 +- typings/eslint-plugin-jsx-a11y/index.d.ts | 29 ----------------- typings/jsx-ast-utils/index.d.ts | 6 ++-- 192 files changed, 294 insertions(+), 330 deletions(-) rename packages/jsts/src/rules/{ => external}/typescript-eslint/index.ts (100%) rename packages/jsts/src/rules/{ => external}/typescript-eslint/sanitize.ts (97%) diff --git a/generate-eslint-package-json.mjs b/generate-eslint-package-json.mjs index f3367a6d161..9923acc18b8 100644 --- a/generate-eslint-package-json.mjs +++ b/generate-eslint-package-json.mjs @@ -10,22 +10,14 @@ const eslintPluginDependencies = [ '@babel/preset-flow', '@babel/preset-react', '@eslint-community/regexpp', - '@typescript-eslint/eslint-plugin', - '@typescript-eslint/utils', 'builtin-modules', 'bytes', - 'eslint-plugin-import', - 'eslint-plugin-jsx-a11y', - 'eslint-plugin-react', - 'eslint-plugin-react-hooks', - 'eslint-scope', 'functional-red-black-tree', 'jsx-ast-utils', 'minimatch', 'scslre', 'semver', 'typescript', - 'vue-eslint-parser', ]; const mainPackageJson = JSON.parse( diff --git a/packages/jsts/src/analysis/analyzer.ts b/packages/jsts/src/analysis/analyzer.ts index 95157f6b060..885fccda3a7 100644 --- a/packages/jsts/src/analysis/analyzer.ts +++ b/packages/jsts/src/analysis/analyzer.ts @@ -20,7 +20,7 @@ import { debug, info } from '../../../shared/src/helpers/logging.js'; import { SourceCode } from 'eslint'; import { JsTsAnalysisInput, JsTsAnalysisOutput } from './analysis.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { JsTsLanguage } from '../../../shared/src/helpers/language.js'; import { getLinter } from '../linter/linters.js'; import { buildSourceCode } from '../builders/build.js'; diff --git a/packages/jsts/src/linter/visitors/cpd.ts b/packages/jsts/src/linter/visitors/cpd.ts index 934b6b136d4..8e7700b4802 100644 --- a/packages/jsts/src/linter/visitors/cpd.ts +++ b/packages/jsts/src/linter/visitors/cpd.ts @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { SourceCode, AST } from 'eslint'; import { visit } from './visitor.js'; import { Location } from './metrics/helpers/location.js'; diff --git a/packages/jsts/src/linter/visitors/symbol-highlighting.ts b/packages/jsts/src/linter/visitors/symbol-highlighting.ts index d6248f69f11..d509e236443 100644 --- a/packages/jsts/src/linter/visitors/symbol-highlighting.ts +++ b/packages/jsts/src/linter/visitors/symbol-highlighting.ts @@ -19,7 +19,7 @@ */ import { Rule, Scope } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { AST } from 'vue-eslint-parser'; import { convertLocation, extractTokensAndComments, Location } from './metrics/helpers/index.js'; diff --git a/packages/jsts/src/parsers/ast.ts b/packages/jsts/src/parsers/ast.ts index cca45544093..755a2e52917 100644 --- a/packages/jsts/src/parsers/ast.ts +++ b/packages/jsts/src/parsers/ast.ts @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import protobuf from 'protobufjs'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { debug } from '../../../shared/src/helpers/logging.js'; import path from 'path'; diff --git a/packages/jsts/src/rules/S101/rule.ts b/packages/jsts/src/rules/S101/rule.ts index 2e0cacf4f22..48a4220356f 100644 --- a/packages/jsts/src/rules/S101/rule.ts +++ b/packages/jsts/src/rules/S101/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta } from '../helpers/index.js'; import { FromSchema } from 'json-schema-to-ts'; import { meta, schema } from './meta.js'; diff --git a/packages/jsts/src/rules/S1066/rule.ts b/packages/jsts/src/rules/S1066/rule.ts index 13689e9464a..0d49b60e62c 100644 --- a/packages/jsts/src/rules/S1066/rule.ts +++ b/packages/jsts/src/rules/S1066/rule.ts @@ -22,7 +22,6 @@ import type { Rule } from 'eslint'; import estree from 'estree'; import { generateMeta, report, toSecondaryLocation } from '../helpers/index.js'; -import { AST_NODE_TYPES } from '@typescript-eslint/utils'; import { meta } from './meta.js'; const message = 'Merge this if statement with the nested one.'; @@ -41,7 +40,7 @@ export const rule: Rule.RuleModule = { return { IfStatement(node: estree.IfStatement) { let { consequent } = node; - if (consequent.type === AST_NODE_TYPES.BlockStatement && consequent.body.length === 1) { + if (consequent.type === 'BlockStatement' && consequent.body.length === 1) { consequent = consequent.body[0]; } if (isIfStatementWithoutElse(node) && isIfStatementWithoutElse(consequent)) { @@ -63,7 +62,7 @@ export const rule: Rule.RuleModule = { }; function isIfStatementWithoutElse(node: estree.Node): node is estree.IfStatement { - return node.type === AST_NODE_TYPES.IfStatement && !node.alternate; + return node.type === 'IfStatement' && !node.alternate; } }, }; diff --git a/packages/jsts/src/rules/S1067/rule.ts b/packages/jsts/src/rules/S1067/rule.ts index 72285730c58..9818148d983 100644 --- a/packages/jsts/src/rules/S1067/rule.ts +++ b/packages/jsts/src/rules/S1067/rule.ts @@ -21,7 +21,7 @@ import { AST, Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, report, toSecondaryLocation } from '../helpers/index.js'; import { FromSchema } from 'json-schema-to-ts'; import { meta, schema } from './meta.js'; diff --git a/packages/jsts/src/rules/S107/rule.ts b/packages/jsts/src/rules/S107/rule.ts index 3de6a21bec3..24482a8ccb4 100644 --- a/packages/jsts/src/rules/S107/rule.ts +++ b/packages/jsts/src/rules/S107/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { getESLintCoreRule } from '../external/core.js'; import { generateMeta, diff --git a/packages/jsts/src/rules/S1077/decorator.ts b/packages/jsts/src/rules/S1077/decorator.ts index 78e0a20f9ea..5f69574e4a6 100644 --- a/packages/jsts/src/rules/S1077/decorator.ts +++ b/packages/jsts/src/rules/S1077/decorator.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import { Node } from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, interceptReport } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S1077/index.ts b/packages/jsts/src/rules/S1077/index.ts index c7e37726569..62788eb867e 100644 --- a/packages/jsts/src/rules/S1077/index.ts +++ b/packages/jsts/src/rules/S1077/index.ts @@ -17,8 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import pkg from 'eslint-plugin-jsx-a11y'; -const { rules: jsxA11yRules } = pkg; +import { rules } from '../external/a11y.js'; import { decorate } from './decorator.js'; -export const rule = decorate(jsxA11yRules['alt-text']); +export const rule = decorate(rules['alt-text']); diff --git a/packages/jsts/src/rules/S1082/meta.ts b/packages/jsts/src/rules/S1082/meta.ts index c26074685a9..1f8b7cfeda7 100644 --- a/packages/jsts/src/rules/S1082/meta.ts +++ b/packages/jsts/src/rules/S1082/meta.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ export * from './generated-meta.js'; -export const implementation = 'original'; +export const implementation = 'decorated'; export const eslintId = 'mouse-events-a11y'; diff --git a/packages/jsts/src/rules/S1082/rule.ts b/packages/jsts/src/rules/S1082/rule.ts index 3f32949d706..5f294522d65 100644 --- a/packages/jsts/src/rules/S1082/rule.ts +++ b/packages/jsts/src/rules/S1082/rule.ts @@ -21,12 +21,11 @@ import type { Rule } from 'eslint'; import { generateMeta, mergeRules } from '../helpers/index.js'; -import pkg from 'eslint-plugin-jsx-a11y'; -const { rules: jsxA11yRules } = pkg; +import { rules } from '../external/a11y.js'; import { meta } from './meta.js'; -const mouseEventsHaveKeyEvents = jsxA11yRules['mouse-events-have-key-events']; -const clickEventsHaveKeyEvents = jsxA11yRules['click-events-have-key-events']; +const mouseEventsHaveKeyEvents = rules['mouse-events-have-key-events']; +const clickEventsHaveKeyEvents = rules['click-events-have-key-events']; export const rule: Rule.RuleModule = { meta: generateMeta(meta as Rule.RuleMetaData, { diff --git a/packages/jsts/src/rules/S109/meta.ts b/packages/jsts/src/rules/S109/meta.ts index 84c535edb40..06bea65e4bc 100644 --- a/packages/jsts/src/rules/S109/meta.ts +++ b/packages/jsts/src/rules/S109/meta.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ export * from './generated-meta.js'; -export const implementation = 'original'; +export const implementation = 'decorated'; export const eslintId = 'no-magic-numbers'; diff --git a/packages/jsts/src/rules/S109/rule.ts b/packages/jsts/src/rules/S109/rule.ts index 8a64901640d..e8ad13558b0 100644 --- a/packages/jsts/src/rules/S109/rule.ts +++ b/packages/jsts/src/rules/S109/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { generateMeta, getNodeParent, isMethodInvocation } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S1116/index.ts b/packages/jsts/src/rules/S1116/index.ts index 8ebe056c4fa..c81a3c0332f 100644 --- a/packages/jsts/src/rules/S1116/index.ts +++ b/packages/jsts/src/rules/S1116/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-extra-semi']); diff --git a/packages/jsts/src/rules/S1117/index.ts b/packages/jsts/src/rules/S1117/index.ts index 72cf58115ae..e1d1b5701a1 100644 --- a/packages/jsts/src/rules/S1117/index.ts +++ b/packages/jsts/src/rules/S1117/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-shadow']; diff --git a/packages/jsts/src/rules/S1125/rule.ts b/packages/jsts/src/rules/S1125/rule.ts index 9b3c9019be1..be3e8da1369 100644 --- a/packages/jsts/src/rules/S1125/rule.ts +++ b/packages/jsts/src/rules/S1125/rule.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S1125 -import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isBooleanLiteral } from '../helpers/index.js'; import type { Rule } from 'eslint'; import estree from 'estree'; @@ -51,8 +51,8 @@ export const rule: Rule.RuleModule = { const parent = (expression as TSESTree.Node).parent as estree.Node; if ( expression.operator === '||' && - ((parent.type === AST_NODE_TYPES.ConditionalExpression && parent.test === expression) || - parent.type === AST_NODE_TYPES.IfStatement) + ((parent.type === 'ConditionalExpression' && parent.test === expression) || + parent.type === 'IfStatement') ) { checkBooleanLiteral(expression.right); } diff --git a/packages/jsts/src/rules/S1126/rule.ts b/packages/jsts/src/rules/S1126/rule.ts index 31c909c1649..4fceab000cd 100644 --- a/packages/jsts/src/rules/S1126/rule.ts +++ b/packages/jsts/src/rules/S1126/rule.ts @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ // https://sonarsource.github.io/rspec/#/rspec/S1126 -import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import type { Rule } from 'eslint'; import estree from 'estree'; import { generateMeta } from '../helpers/index.js'; @@ -41,7 +41,7 @@ export const rule: Rule.RuleModule = { const parent = (node as TSESTree.IfStatement).parent as estree.Node; if ( // ignore `else if` - parent.type !== AST_NODE_TYPES.IfStatement && + parent.type !== 'IfStatement' && returnsBoolean(node.consequent) && alternateReturnsBoolean(node) ) { @@ -60,7 +60,7 @@ export const rule: Rule.RuleModule = { } const { parent } = node as TSESTree.IfStatement; - if (parent?.type === AST_NODE_TYPES.BlockStatement) { + if (parent?.type === 'BlockStatement') { const ifStmtIndex = parent.body.findIndex(stmt => stmt === node); return isSimpleReturnBooleanLiteral(parent.body[ifStmtIndex + 1] as estree.Statement); } @@ -77,7 +77,7 @@ export const rule: Rule.RuleModule = { function isBlockReturningBooleanLiteral(statement: estree.Statement) { return ( - statement.type === AST_NODE_TYPES.BlockStatement && + statement.type === 'BlockStatement' && statement.body.length === 1 && isSimpleReturnBooleanLiteral(statement.body[0]) ); @@ -85,8 +85,8 @@ export const rule: Rule.RuleModule = { function isSimpleReturnBooleanLiteral(statement: estree.Node) { return ( - statement?.type === AST_NODE_TYPES.ReturnStatement && - statement.argument?.type === AST_NODE_TYPES.Literal && + statement?.type === 'ReturnStatement' && + statement.argument?.type === 'Literal' && typeof statement.argument.value === 'boolean' ); } @@ -125,15 +125,14 @@ export const rule: Rule.RuleModule = { function isReturningFalse(stmt: estree.Statement): boolean { const returnStmt = ( - stmt.type === AST_NODE_TYPES.BlockStatement ? stmt.body[0] : stmt + stmt.type === 'BlockStatement' ? stmt.body[0] : stmt ) as estree.ReturnStatement; return (returnStmt.argument as estree.Literal).value === false; } function isBooleanExpression(expr: estree.Expression) { return ( - (expr.type === AST_NODE_TYPES.UnaryExpression || - expr.type === AST_NODE_TYPES.BinaryExpression) && + (expr.type === 'UnaryExpression' || expr.type === 'BinaryExpression') && ['!', '==', '===', '!=', '!==', '<', '<=', '>', '>=', 'in', 'instanceof'].includes( expr.operator, ) diff --git a/packages/jsts/src/rules/S1128/rule.ts b/packages/jsts/src/rules/S1128/rule.ts index 50edca0824b..961487dbf5f 100644 --- a/packages/jsts/src/rules/S1128/rule.ts +++ b/packages/jsts/src/rules/S1128/rule.ts @@ -22,7 +22,7 @@ import { Rule, Scope } from 'eslint'; import estree from 'estree'; import { AST } from 'vue-eslint-parser'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isInsideVueSetupScript, diff --git a/packages/jsts/src/rules/S1135/rule.ts b/packages/jsts/src/rules/S1135/rule.ts index b372f1a80d7..e94978b1807 100644 --- a/packages/jsts/src/rules/S1135/rule.ts +++ b/packages/jsts/src/rules/S1135/rule.ts @@ -20,7 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S1135/javascript import type { Rule } from 'eslint'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S117/rule.ts b/packages/jsts/src/rules/S117/rule.ts index 717c8a34170..0abcc82d39a 100644 --- a/packages/jsts/src/rules/S117/rule.ts +++ b/packages/jsts/src/rules/S117/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, resolveIdentifiers } from '../helpers/index.js'; import { FromSchema } from 'json-schema-to-ts'; import { meta, schema } from './meta.js'; diff --git a/packages/jsts/src/rules/S1172/rule.ts b/packages/jsts/src/rules/S1172/rule.ts index 06eaccd3110..402e60db24d 100644 --- a/packages/jsts/src/rules/S1172/rule.ts +++ b/packages/jsts/src/rules/S1172/rule.ts @@ -21,7 +21,7 @@ import { Rule, Scope } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S1186/index.ts b/packages/jsts/src/rules/S1186/index.ts index 94e0302081b..34b1de87b03 100644 --- a/packages/jsts/src/rules/S1186/index.ts +++ b/packages/jsts/src/rules/S1186/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-empty-function']); diff --git a/packages/jsts/src/rules/S1192/rule.ts b/packages/jsts/src/rules/S1192/rule.ts index 92232ece4bb..4fb818082b1 100644 --- a/packages/jsts/src/rules/S1192/rule.ts +++ b/packages/jsts/src/rules/S1192/rule.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S1192 -import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, report, toSecondaryLocation } from '../helpers/index.js'; import type { Rule } from 'eslint'; import estree from 'estree'; @@ -122,5 +122,5 @@ function isRequireContext(parent: estree.Node, context: Rule.RuleContext) { } function isObjectPropertyKey(parent: estree.Node, literal: estree.Literal) { - return parent.type === AST_NODE_TYPES.Property && parent.key === literal; + return parent.type === 'Property' && parent.key === literal; } diff --git a/packages/jsts/src/rules/S1226/rule.ts b/packages/jsts/src/rules/S1226/rule.ts index 78235f85699..d7ea772588b 100644 --- a/packages/jsts/src/rules/S1226/rule.ts +++ b/packages/jsts/src/rules/S1226/rule.ts @@ -21,7 +21,7 @@ import { AST, Rule, Scope } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, getParent, resolveIdentifiers } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S124/rule.ts b/packages/jsts/src/rules/S124/rule.ts index d5198679a03..76f23c99ddf 100644 --- a/packages/jsts/src/rules/S124/rule.ts +++ b/packages/jsts/src/rules/S124/rule.ts @@ -20,7 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S124/javascript import type { Rule } from 'eslint'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta } from '../helpers/index.js'; import { FromSchema } from 'json-schema-to-ts'; import { meta, schema } from './meta.js'; diff --git a/packages/jsts/src/rules/S125/rule.ts b/packages/jsts/src/rules/S125/rule.ts index 77f91cbbfbf..96b4bd7424f 100644 --- a/packages/jsts/src/rules/S125/rule.ts +++ b/packages/jsts/src/rules/S125/rule.ts @@ -21,7 +21,7 @@ import { Rule, SourceCode } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import babel from '@babel/eslint-parser'; import { generateMeta } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S126/rule.ts b/packages/jsts/src/rules/S126/rule.ts index 79258e06306..9c377d2e362 100644 --- a/packages/jsts/src/rules/S126/rule.ts +++ b/packages/jsts/src/rules/S126/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S131/rule.ts b/packages/jsts/src/rules/S131/rule.ts index b35d87d9223..af0427466c0 100644 --- a/packages/jsts/src/rules/S131/rule.ts +++ b/packages/jsts/src/rules/S131/rule.ts @@ -21,7 +21,7 @@ import estree from 'estree'; import { Rule, SourceCode } from 'eslint'; -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { generateMeta, interceptReport, diff --git a/packages/jsts/src/rules/S138/rule.ts b/packages/jsts/src/rules/S138/rule.ts index 69c867f81ed..91cd5ec6b35 100644 --- a/packages/jsts/src/rules/S138/rule.ts +++ b/packages/jsts/src/rules/S138/rule.ts @@ -24,7 +24,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, getMainFunctionTokenLocation, diff --git a/packages/jsts/src/rules/S1438/index.ts b/packages/jsts/src/rules/S1438/index.ts index d7f09b3e738..a315b3cce67 100644 --- a/packages/jsts/src/rules/S1438/index.ts +++ b/packages/jsts/src/rules/S1438/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['semi']); diff --git a/packages/jsts/src/rules/S1472/rule.ts b/packages/jsts/src/rules/S1472/rule.ts index c80656a5d12..063b2525e4e 100644 --- a/packages/jsts/src/rules/S1472/rule.ts +++ b/packages/jsts/src/rules/S1472/rule.ts @@ -21,7 +21,7 @@ import { AST, Rule } from 'eslint'; import estree, { type Position } from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S1488/rule.ts b/packages/jsts/src/rules/S1488/rule.ts index 7e7f770b7b4..09efc273078 100644 --- a/packages/jsts/src/rules/S1488/rule.ts +++ b/packages/jsts/src/rules/S1488/rule.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S1488 -import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isIdentifier } from '../helpers/index.js'; import type { Rule } from 'eslint'; import estree from 'estree'; @@ -66,7 +66,7 @@ export const rule: Rule.RuleModule = { context.report({ messageId: 'doImmediateAction', data: { - action: last.type === AST_NODE_TYPES.ReturnStatement ? 'return' : 'throw', + action: last.type === 'ReturnStatement' ? 'return' : 'throw', variable: returnedIdentifier.name, }, node: declaredIdentifier.init, @@ -99,8 +99,7 @@ export const rule: Rule.RuleModule = { } function getOnlyReturnedVariable(node: estree.Statement) { - return (node.type === AST_NODE_TYPES.ReturnStatement || - node.type === AST_NODE_TYPES.ThrowStatement) && + return (node.type === 'ReturnStatement' || node.type === 'ThrowStatement') && node.argument && isIdentifier(node.argument) ? node.argument @@ -108,13 +107,9 @@ export const rule: Rule.RuleModule = { } function getOnlyDeclaredVariable(node: estree.Statement) { - if (node.type === AST_NODE_TYPES.VariableDeclaration && node.declarations.length === 1) { + if (node.type === 'VariableDeclaration' && node.declarations.length === 1) { const { id, init } = node.declarations[0]; - if ( - id.type === AST_NODE_TYPES.Identifier && - init && - !(id as TSESTree.Identifier).typeAnnotation - ) { + if (id.type === 'Identifier' && init && !(id as TSESTree.Identifier).typeAnnotation) { return { id, init }; } } diff --git a/packages/jsts/src/rules/S1515/rule.ts b/packages/jsts/src/rules/S1515/rule.ts index 1a59ce6a035..6b1afc19d95 100644 --- a/packages/jsts/src/rules/S1515/rule.ts +++ b/packages/jsts/src/rules/S1515/rule.ts @@ -21,7 +21,7 @@ import { AST, Rule, Scope } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { findFirstMatchingAncestor, generateMeta, diff --git a/packages/jsts/src/rules/S1530/rule.ts b/packages/jsts/src/rules/S1530/rule.ts index cebfd9ef6bc..bf646b6ac3e 100644 --- a/packages/jsts/src/rules/S1530/rule.ts +++ b/packages/jsts/src/rules/S1530/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, getMainFunctionTokenLocation, diff --git a/packages/jsts/src/rules/S1534/rule.ts b/packages/jsts/src/rules/S1534/rule.ts index b7acbeca7e2..2b93ce75b36 100644 --- a/packages/jsts/src/rules/S1534/rule.ts +++ b/packages/jsts/src/rules/S1534/rule.ts @@ -21,9 +21,8 @@ import type { Rule } from 'eslint'; import { getESLintCoreRule } from '../external/core.js'; -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; -import pkg from 'eslint-plugin-react'; -const { rules: reactRules } = pkg; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; +import { rules as reactRules } from '../external/react.js'; import { generateMeta, mergeRules } from '../helpers/index.js'; import { decorate } from './decorator.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S1537/index.ts b/packages/jsts/src/rules/S1537/index.ts index 8485538841a..3e9b36735a4 100644 --- a/packages/jsts/src/rules/S1537/index.ts +++ b/packages/jsts/src/rules/S1537/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['comma-dangle']; diff --git a/packages/jsts/src/rules/S1541/rule.ts b/packages/jsts/src/rules/S1541/rule.ts index e35090bd1d2..06914757772 100644 --- a/packages/jsts/src/rules/S1541/rule.ts +++ b/packages/jsts/src/rules/S1541/rule.ts @@ -32,7 +32,7 @@ import { IssueLocation, RuleContext, } from '../helpers/index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { FromSchema } from 'json-schema-to-ts'; import { meta, schema } from './meta.js'; diff --git a/packages/jsts/src/rules/S1607/rule.ts b/packages/jsts/src/rules/S1607/rule.ts index 21d7296fc77..0a47c25321d 100644 --- a/packages/jsts/src/rules/S1607/rule.ts +++ b/packages/jsts/src/rules/S1607/rule.ts @@ -36,7 +36,7 @@ import { toUnixPath, } from '../helpers/index.js'; import { meta } from './meta.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { dirname } from 'path/posix'; export const rule: Rule.RuleModule = { diff --git a/packages/jsts/src/rules/S1751/rule.ts b/packages/jsts/src/rules/S1751/rule.ts index d1a8165213b..d07de8c181e 100644 --- a/packages/jsts/src/rules/S1751/rule.ts +++ b/packages/jsts/src/rules/S1751/rule.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S1751 -import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import type { Rule } from 'eslint'; import estree from 'estree'; import { generateMeta } from '../helpers/index.js'; @@ -72,7 +72,7 @@ export const rule: Rule.RuleModule = { visitLoopChild((node as TSESTree.Node).parent as estree.ForStatement); }, onCodePathSegmentLoop(_: unknown, toSegment: Rule.CodePathSegment, node: estree.Node) { - if (node.type === AST_NODE_TYPES.ContinueStatement) { + if (node.type === 'ContinueStatement') { loopsAndTheirSegments.forEach(({ segments, loop }) => { if (segments.includes(toSegment)) { loopingNodes.add(loop); diff --git a/packages/jsts/src/rules/S1788/index.ts b/packages/jsts/src/rules/S1788/index.ts index e49e08e25ae..1e3dfa9285c 100644 --- a/packages/jsts/src/rules/S1788/index.ts +++ b/packages/jsts/src/rules/S1788/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['default-param-last']); diff --git a/packages/jsts/src/rules/S1854/rule.ts b/packages/jsts/src/rules/S1854/rule.ts index fa7dbae8272..d6c0d521b42 100644 --- a/packages/jsts/src/rules/S1854/rule.ts +++ b/packages/jsts/src/rules/S1854/rule.ts @@ -21,7 +21,7 @@ import type { Rule, Scope } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isNullLiteral, diff --git a/packages/jsts/src/rules/S1862/rule.ts b/packages/jsts/src/rules/S1862/rule.ts index 327381b3745..e6cc3a73e8f 100644 --- a/packages/jsts/src/rules/S1862/rule.ts +++ b/packages/jsts/src/rules/S1862/rule.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S1862 -import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { Rule, SourceCode } from 'eslint'; import { areEquivalent, generateMeta, report, toSecondaryLocation } from '../helpers/index.js'; import estree from 'estree'; @@ -114,7 +114,7 @@ const splitByOr = splitByLogicalOperator.bind(null, '||'); const splitByAnd = splitByLogicalOperator.bind(null, '&&'); function splitByLogicalOperator(operator: '??' | '&&' | '||', node: estree.Node): estree.Node[] { - if (node.type === AST_NODE_TYPES.LogicalExpression && node.operator === operator) { + if (node.type === 'LogicalExpression' && node.operator === operator) { return [ ...splitByLogicalOperator(operator, node.left), ...splitByLogicalOperator(operator, node.right), @@ -131,7 +131,7 @@ function isSubset(first: estree.Node[], second: estree.Node[], sourceCode: Sourc return false; } - if (first.type === AST_NODE_TYPES.LogicalExpression) { + if (first.type === 'LogicalExpression') { const second1 = second as estree.LogicalExpression; if ( (first.operator === '||' || first.operator === '&&') && diff --git a/packages/jsts/src/rules/S1871/rule.ts b/packages/jsts/src/rules/S1871/rule.ts index 7fc5ffbbe75..cdb3772dee3 100644 --- a/packages/jsts/src/rules/S1871/rule.ts +++ b/packages/jsts/src/rules/S1871/rule.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S1871 -import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { areEquivalent, collectIfBranches, @@ -142,7 +142,7 @@ export const rule: Rule.RuleModule = { function expandSingleBlockStatement(nodes: estree.Statement[]) { if (nodes.length === 1) { const node = nodes[0]; - if (node.type === AST_NODE_TYPES.BlockStatement) { + if (node.type === 'BlockStatement') { return node.body; } } diff --git a/packages/jsts/src/rules/S1940/rule.ts b/packages/jsts/src/rules/S1940/rule.ts index 55bc8b5d3ce..e1f63a45caf 100644 --- a/packages/jsts/src/rules/S1940/rule.ts +++ b/packages/jsts/src/rules/S1940/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta } from '../helpers/index.js'; import { meta } from './meta.js'; @@ -53,10 +53,7 @@ export const rule: Rule.RuleModule = { }; function visitUnaryExpression(unaryExpression: estree.UnaryExpression, context: Rule.RuleContext) { - if ( - unaryExpression.operator === '!' && - unaryExpression.argument.type === AST_NODE_TYPES.BinaryExpression - ) { + if (unaryExpression.operator === '!' && unaryExpression.argument.type === 'BinaryExpression') { const condition: estree.BinaryExpression = unaryExpression.argument; const invertedOperator = invertedOperators[condition.operator]; if (invertedOperator) { diff --git a/packages/jsts/src/rules/S1994/rule.ts b/packages/jsts/src/rules/S1994/rule.ts index 374af031df6..0598648e2e9 100644 --- a/packages/jsts/src/rules/S1994/rule.ts +++ b/packages/jsts/src/rules/S1994/rule.ts @@ -22,7 +22,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; import { areEquivalent, generateMeta, getParent } from '../helpers/index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; class ForInfo { diff --git a/packages/jsts/src/rules/S2004/rule.ts b/packages/jsts/src/rules/S2004/rule.ts index 37e3464e00e..0a231753478 100644 --- a/packages/jsts/src/rules/S2004/rule.ts +++ b/packages/jsts/src/rules/S2004/rule.ts @@ -21,7 +21,7 @@ import estree from 'estree'; import type { Rule } from 'eslint'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, getMainFunctionTokenLocation, diff --git a/packages/jsts/src/rules/S2094/index.ts b/packages/jsts/src/rules/S2094/index.ts index 77da5b9b763..ffb3195f6ea 100644 --- a/packages/jsts/src/rules/S2094/index.ts +++ b/packages/jsts/src/rules/S2094/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-extraneous-class']; diff --git a/packages/jsts/src/rules/S2189/rule.ts b/packages/jsts/src/rules/S2189/rule.ts index 7d71bd2fcbd..d0a318d6cab 100644 --- a/packages/jsts/src/rules/S2189/rule.ts +++ b/packages/jsts/src/rules/S2189/rule.ts @@ -29,7 +29,7 @@ import { isUndefined, mergeRules, } from '../helpers/index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; const noUnmodifiedLoopEslint = getESLintCoreRule('no-unmodified-loop-condition'); diff --git a/packages/jsts/src/rules/S2201/rule.ts b/packages/jsts/src/rules/S2201/rule.ts index d852ac3f284..3ed22f5fcac 100644 --- a/packages/jsts/src/rules/S2201/rule.ts +++ b/packages/jsts/src/rules/S2201/rule.ts @@ -20,7 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S2201 import type { ParserServicesWithTypeInformation } from '@typescript-eslint/utils'; -import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import type * as TS from 'typescript'; import type { Rule } from 'eslint'; import { generateMeta, getTypeFromTreeNode, isRequiredParserServices } from '../helpers/index.js'; @@ -190,7 +190,7 @@ export const rule: Rule.RuleModule = { CallExpression: (node: estree.Node) => { const call = node as estree.CallExpression; const { callee } = call; - if (callee.type === AST_NODE_TYPES.MemberExpression) { + if (callee.type === 'MemberExpression') { const { parent } = node as TSESTree.MemberExpression; if (parent && parent.type === 'ExpressionStatement') { const methodName = context.sourceCode.getText(callee.property as estree.Node); diff --git a/packages/jsts/src/rules/S2234/rule.ts b/packages/jsts/src/rules/S2234/rule.ts index 3e8f8c58511..e709f00a8f4 100644 --- a/packages/jsts/src/rules/S2234/rule.ts +++ b/packages/jsts/src/rules/S2234/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { FunctionNodeType, generateMeta, diff --git a/packages/jsts/src/rules/S2259/rule.ts b/packages/jsts/src/rules/S2259/rule.ts index 4e827941053..d0341143fb3 100644 --- a/packages/jsts/src/rules/S2259/rule.ts +++ b/packages/jsts/src/rules/S2259/rule.ts @@ -21,7 +21,7 @@ import { Rule, Scope } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { areEquivalent, findFirstMatchingAncestor, diff --git a/packages/jsts/src/rules/S2310/rule.ts b/packages/jsts/src/rules/S2310/rule.ts index 1898ae6531e..679556a7ebe 100644 --- a/packages/jsts/src/rules/S2310/rule.ts +++ b/packages/jsts/src/rules/S2310/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, getParent, diff --git a/packages/jsts/src/rules/S2376/decorator.ts b/packages/jsts/src/rules/S2376/decorator.ts index 060d9d59059..5db211fd8df 100644 --- a/packages/jsts/src/rules/S2376/decorator.ts +++ b/packages/jsts/src/rules/S2376/decorator.ts @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import type { Rule } from 'eslint'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, interceptReport } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S2424/rule.ts b/packages/jsts/src/rules/S2424/rule.ts index deafde45e23..90a935ae3eb 100644 --- a/packages/jsts/src/rules/S2424/rule.ts +++ b/packages/jsts/src/rules/S2424/rule.ts @@ -22,7 +22,7 @@ import { generateMeta, globalsByLibraries } from '../helpers/index.js'; import { Rule, Scope } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; export const rule: Rule.RuleModule = { diff --git a/packages/jsts/src/rules/S2428/rule.ts b/packages/jsts/src/rules/S2428/rule.ts index 72242d1f06f..901263eca64 100644 --- a/packages/jsts/src/rules/S2428/rule.ts +++ b/packages/jsts/src/rules/S2428/rule.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S2428 -import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { Rule, SourceCode } from 'eslint'; import { areEquivalent, @@ -63,7 +63,7 @@ function checkObjectInitialization(statements: estree.Statement[], context: Rule } function getObjectDeclaration(statement: estree.Statement) { - if (statement.type === AST_NODE_TYPES.VariableDeclaration) { + if (statement.type === 'VariableDeclaration') { return statement.declarations.find( declaration => !!declaration.init && isEmptyObjectExpression(declaration.init), ); @@ -72,7 +72,7 @@ function getObjectDeclaration(statement: estree.Statement) { } function isEmptyObjectExpression(expression: estree.Expression) { - return expression.type === AST_NODE_TYPES.ObjectExpression && expression.properties.length === 0; + return expression.type === 'ObjectExpression' && expression.properties.length === 0; } function isPropertyAssignment( @@ -81,11 +81,11 @@ function isPropertyAssignment( sourceCode: SourceCode, ) { if ( - statement.type === AST_NODE_TYPES.ExpressionStatement && - statement.expression.type === AST_NODE_TYPES.AssignmentExpression + statement.type === 'ExpressionStatement' && + statement.expression.type === 'AssignmentExpression' ) { const { left, right } = statement.expression; - if (left.type === AST_NODE_TYPES.MemberExpression) { + if (left.type === 'MemberExpression') { return ( !left.computed && isSingleLineExpression(right, sourceCode) && diff --git a/packages/jsts/src/rules/S2681/rule.ts b/packages/jsts/src/rules/S2681/rule.ts index 7c97b64c73a..c5e81d59815 100644 --- a/packages/jsts/src/rules/S2681/rule.ts +++ b/packages/jsts/src/rules/S2681/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S2737/rule.ts b/packages/jsts/src/rules/S2737/rule.ts index 651d5c76f3a..8c148f59ad8 100644 --- a/packages/jsts/src/rules/S2737/rule.ts +++ b/packages/jsts/src/rules/S2737/rule.ts @@ -22,7 +22,7 @@ import { Rule, SourceCode } from 'eslint'; import { areEquivalent, generateMeta, isThrowStatement } from '../helpers/index.js'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; export const rule: Rule.RuleModule = { diff --git a/packages/jsts/src/rules/S2755/rule.ts b/packages/jsts/src/rules/S2755/rule.ts index f6c283e92f6..d6b533d355b 100644 --- a/packages/jsts/src/rules/S2755/rule.ts +++ b/packages/jsts/src/rules/S2755/rule.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S2755/javascript -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import type { Rule } from 'eslint'; import estree from 'estree'; import { diff --git a/packages/jsts/src/rules/S2757/rule.ts b/packages/jsts/src/rules/S2757/rule.ts index 929d0ba8664..99ea314e26e 100644 --- a/packages/jsts/src/rules/S2757/rule.ts +++ b/packages/jsts/src/rules/S2757/rule.ts @@ -21,7 +21,7 @@ import { AST, Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S2814/decorator.ts b/packages/jsts/src/rules/S2814/decorator.ts index 61a8a84950a..9124e3e0821 100644 --- a/packages/jsts/src/rules/S2814/decorator.ts +++ b/packages/jsts/src/rules/S2814/decorator.ts @@ -20,7 +20,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; import { generateMeta, interceptReport } from '../helpers/index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; // core implementation of this rule raises issues on type exports diff --git a/packages/jsts/src/rules/S2814/index.ts b/packages/jsts/src/rules/S2814/index.ts index bd0ba5cc530..646c373d20b 100644 --- a/packages/jsts/src/rules/S2814/index.ts +++ b/packages/jsts/src/rules/S2814/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-redeclare']); diff --git a/packages/jsts/src/rules/S2819/rule.ts b/packages/jsts/src/rules/S2819/rule.ts index 0d2d57c5e90..477154d71ab 100644 --- a/packages/jsts/src/rules/S2819/rule.ts +++ b/packages/jsts/src/rules/S2819/rule.ts @@ -21,7 +21,7 @@ import { Rule, Scope } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { childrenOf, findFirstMatchingLocalAncestor, diff --git a/packages/jsts/src/rules/S2933/index.ts b/packages/jsts/src/rules/S2933/index.ts index 8c2d6f834a2..cf98cbd0190 100644 --- a/packages/jsts/src/rules/S2933/index.ts +++ b/packages/jsts/src/rules/S2933/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['prefer-readonly']; diff --git a/packages/jsts/src/rules/S2966/index.ts b/packages/jsts/src/rules/S2966/index.ts index fcdb748b1df..371b96940a9 100644 --- a/packages/jsts/src/rules/S2966/index.ts +++ b/packages/jsts/src/rules/S2966/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-non-null-assertion']; diff --git a/packages/jsts/src/rules/S3003/rule.ts b/packages/jsts/src/rules/S3003/rule.ts index edbdae73cc4..a72d2905b80 100644 --- a/packages/jsts/src/rules/S3003/rule.ts +++ b/packages/jsts/src/rules/S3003/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isRequiredParserServices, diff --git a/packages/jsts/src/rules/S3257/index.ts b/packages/jsts/src/rules/S3257/index.ts index b7902cc3026..118c90cbf00 100644 --- a/packages/jsts/src/rules/S3257/index.ts +++ b/packages/jsts/src/rules/S3257/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-inferrable-types']; diff --git a/packages/jsts/src/rules/S3498/decorator.ts b/packages/jsts/src/rules/S3498/decorator.ts index a6707440492..0c0942afac9 100644 --- a/packages/jsts/src/rules/S3498/decorator.ts +++ b/packages/jsts/src/rules/S3498/decorator.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, interceptReport } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S3513/rule.ts b/packages/jsts/src/rules/S3513/rule.ts index 35e730ea08c..4470842c40e 100644 --- a/packages/jsts/src/rules/S3513/rule.ts +++ b/packages/jsts/src/rules/S3513/rule.ts @@ -20,7 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S3513/javascript import { Rule, Scope } from 'eslint'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, report, toSecondaryLocation } from '../helpers/index.js'; import estree from 'estree'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S3514/rule.ts b/packages/jsts/src/rules/S3514/rule.ts index ce083164974..13964b9b268 100644 --- a/packages/jsts/src/rules/S3514/rule.ts +++ b/packages/jsts/src/rules/S3514/rule.ts @@ -20,7 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S3514/javascript import type { Rule } from 'eslint'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import estree from 'estree'; import { findFirstMatchingAncestor, diff --git a/packages/jsts/src/rules/S3516/rule.ts b/packages/jsts/src/rules/S3516/rule.ts index b11848ab08d..6771bcadd22 100644 --- a/packages/jsts/src/rules/S3516/rule.ts +++ b/packages/jsts/src/rules/S3516/rule.ts @@ -21,7 +21,7 @@ import type { Rule, Scope } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { findFirstMatchingAncestor, FUNCTION_NODES, diff --git a/packages/jsts/src/rules/S3524/rule.ts b/packages/jsts/src/rules/S3524/rule.ts index c05e52b9335..e790080c798 100644 --- a/packages/jsts/src/rules/S3524/rule.ts +++ b/packages/jsts/src/rules/S3524/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta } from '../helpers/index.js'; import { FromSchema } from 'json-schema-to-ts'; import { meta, schema } from './meta.js'; diff --git a/packages/jsts/src/rules/S3531/rule.ts b/packages/jsts/src/rules/S3531/rule.ts index ba7ee4e9724..a656b2e8155 100644 --- a/packages/jsts/src/rules/S3531/rule.ts +++ b/packages/jsts/src/rules/S3531/rule.ts @@ -27,7 +27,7 @@ import { getParent, RuleContext, } from '../helpers/index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; export const rule: Rule.RuleModule = { diff --git a/packages/jsts/src/rules/S3699/rule.ts b/packages/jsts/src/rules/S3699/rule.ts index 8ecb0db16e0..68d88a5f048 100644 --- a/packages/jsts/src/rules/S3699/rule.ts +++ b/packages/jsts/src/rules/S3699/rule.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S3699 -import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isArrowFunctionExpression, @@ -132,7 +132,7 @@ export const rule: Rule.RuleModule = { if ( func.async || func.generator || - (func.body.type === AST_NODE_TYPES.BlockStatement && func.body.body.length === 0) + (func.body.type === 'BlockStatement' && func.body.body.length === 0) ) { functionsWithReturnValue.add(func); } diff --git a/packages/jsts/src/rules/S3782/rule.ts b/packages/jsts/src/rules/S3782/rule.ts index 45761880887..fccb5e28655 100644 --- a/packages/jsts/src/rules/S3782/rule.ts +++ b/packages/jsts/src/rules/S3782/rule.ts @@ -22,7 +22,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; import { generateMeta, getTypeFromTreeNode, isRequiredParserServices } from '../helpers/index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import ts from 'typescript'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S3796/rule.ts b/packages/jsts/src/rules/S3796/rule.ts index 541276459b6..05952cf7dfc 100644 --- a/packages/jsts/src/rules/S3796/rule.ts +++ b/packages/jsts/src/rules/S3796/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, getMainFunctionTokenLocation, diff --git a/packages/jsts/src/rules/S3800/rule.ts b/packages/jsts/src/rules/S3800/rule.ts index fb9074a1e15..71f5071f2c5 100644 --- a/packages/jsts/src/rules/S3800/rule.ts +++ b/packages/jsts/src/rules/S3800/rule.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S3800/javascript -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import type { Rule } from 'eslint'; import estree from 'estree'; import ts from 'typescript'; diff --git a/packages/jsts/src/rules/S3801/rule.ts b/packages/jsts/src/rules/S3801/rule.ts index a3126665f4c..aa5883afc4b 100644 --- a/packages/jsts/src/rules/S3801/rule.ts +++ b/packages/jsts/src/rules/S3801/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, getMainFunctionTokenLocation, diff --git a/packages/jsts/src/rules/S3827/rule.ts b/packages/jsts/src/rules/S3827/rule.ts index 28c310cde83..4a3382096d6 100644 --- a/packages/jsts/src/rules/S3827/rule.ts +++ b/packages/jsts/src/rules/S3827/rule.ts @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ // https://sonarsource.github.io/rspec/#/rspec/S3827/javascript -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import type { Rule } from 'eslint'; import estree from 'estree'; import { diff --git a/packages/jsts/src/rules/S4023/decorator.ts b/packages/jsts/src/rules/S4023/decorator.ts index 785598c5502..139dc9d3302 100644 --- a/packages/jsts/src/rules/S4023/decorator.ts +++ b/packages/jsts/src/rules/S4023/decorator.ts @@ -20,7 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S4023/javascript import type { Rule } from 'eslint'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, interceptReport, UTILITY_TYPES } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S4023/index.ts b/packages/jsts/src/rules/S4023/index.ts index f699b84e3e0..62a98d4933c 100644 --- a/packages/jsts/src/rules/S4023/index.ts +++ b/packages/jsts/src/rules/S4023/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-empty-interface']); diff --git a/packages/jsts/src/rules/S4043/rule.ts b/packages/jsts/src/rules/S4043/rule.ts index 05cab4d2f75..1bf1d7d371c 100644 --- a/packages/jsts/src/rules/S4043/rule.ts +++ b/packages/jsts/src/rules/S4043/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import ts from 'typescript'; import { generateMeta, diff --git a/packages/jsts/src/rules/S4084/decorator.ts b/packages/jsts/src/rules/S4084/decorator.ts index 9e0e25369a9..8c80727510e 100644 --- a/packages/jsts/src/rules/S4084/decorator.ts +++ b/packages/jsts/src/rules/S4084/decorator.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import { Node } from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, interceptReport } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S4084/index.ts b/packages/jsts/src/rules/S4084/index.ts index 23c1edecd18..2a8b6431f7f 100644 --- a/packages/jsts/src/rules/S4084/index.ts +++ b/packages/jsts/src/rules/S4084/index.ts @@ -17,8 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import pkg from 'eslint-plugin-jsx-a11y'; -const { rules: jsxA11yRules } = pkg; +import { rules } from '../external/a11y.js'; import { decorate } from './decorator.js'; -export const rule = decorate(jsxA11yRules['media-has-caption']); +export const rule = decorate(rules['media-has-caption']); diff --git a/packages/jsts/src/rules/S4123/rule.ts b/packages/jsts/src/rules/S4123/rule.ts index 9af18527a47..1c3647ddffe 100644 --- a/packages/jsts/src/rules/S4123/rule.ts +++ b/packages/jsts/src/rules/S4123/rule.ts @@ -28,7 +28,7 @@ import { getTypeFromTreeNode, isRequiredParserServices, } from '../helpers/index.js'; -import { ParserServicesWithTypeInformation } from '@typescript-eslint/utils'; +import type { ParserServicesWithTypeInformation } from '@typescript-eslint/utils'; import { meta } from './meta.js'; export const rule: Rule.RuleModule = { diff --git a/packages/jsts/src/rules/S4124/index.ts b/packages/jsts/src/rules/S4124/index.ts index ca3321f708f..e102e3c88d7 100644 --- a/packages/jsts/src/rules/S4124/index.ts +++ b/packages/jsts/src/rules/S4124/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-misused-new']; diff --git a/packages/jsts/src/rules/S4136/index.ts b/packages/jsts/src/rules/S4136/index.ts index b7930a3da16..8a77bf0f1a2 100644 --- a/packages/jsts/src/rules/S4136/index.ts +++ b/packages/jsts/src/rules/S4136/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['adjacent-overload-signatures']; diff --git a/packages/jsts/src/rules/S4137/index.ts b/packages/jsts/src/rules/S4137/index.ts index e0f2e3880d9..525bf22396e 100644 --- a/packages/jsts/src/rules/S4137/index.ts +++ b/packages/jsts/src/rules/S4137/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['consistent-type-assertions']; diff --git a/packages/jsts/src/rules/S4138/decorator.ts b/packages/jsts/src/rules/S4138/decorator.ts index a3fe6ccff06..4381a2856a1 100644 --- a/packages/jsts/src/rules/S4138/decorator.ts +++ b/packages/jsts/src/rules/S4138/decorator.ts @@ -22,7 +22,7 @@ import { AST, Rule, Scope } from 'eslint'; import { generateMeta, interceptReport } from '../helpers/index.js'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; const element = 'element'; diff --git a/packages/jsts/src/rules/S4138/index.ts b/packages/jsts/src/rules/S4138/index.ts index 80a2f54029e..e4a56fb2030 100644 --- a/packages/jsts/src/rules/S4138/index.ts +++ b/packages/jsts/src/rules/S4138/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['prefer-for-of']); diff --git a/packages/jsts/src/rules/S4143/rule.ts b/packages/jsts/src/rules/S4143/rule.ts index 55152054136..9ca8ecff545 100644 --- a/packages/jsts/src/rules/S4143/rule.ts +++ b/packages/jsts/src/rules/S4143/rule.ts @@ -19,7 +19,6 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S4143 -import { AST_NODE_TYPES } from '@typescript-eslint/utils'; import { areEquivalent, generateMeta, @@ -101,7 +100,7 @@ export const rule: Rule.RuleModule = { } function getKeyWriteUsage(node: estree.Node): KeyWriteCollectionUsage | undefined { - if (node.type === AST_NODE_TYPES.ExpressionStatement) { + if (node.type === 'ExpressionStatement') { return arrayKeyWriteUsage(node.expression) || mapOrSetKeyWriteUsage(node.expression); } return undefined; @@ -109,11 +108,7 @@ export const rule: Rule.RuleModule = { function arrayKeyWriteUsage(node: estree.Node): KeyWriteCollectionUsage | undefined { // a[b] = ... - if ( - isSimpleAssignment(node) && - node.left.type === AST_NODE_TYPES.MemberExpression && - node.left.computed - ) { + if (isSimpleAssignment(node) && node.left.type === 'MemberExpression' && node.left.computed) { const { left, right } = node; const index = extractIndex(left.property); if (index !== undefined && !isUsed(left.object, right)) { @@ -128,10 +123,7 @@ export const rule: Rule.RuleModule = { } function mapOrSetKeyWriteUsage(node: estree.Node): KeyWriteCollectionUsage | undefined { - if ( - node.type === AST_NODE_TYPES.CallExpression && - node.callee.type === AST_NODE_TYPES.MemberExpression - ) { + if (node.type === 'CallExpression' && node.callee.type === 'MemberExpression') { const propertyAccess = node.callee; if (isIdentifier(propertyAccess.property)) { const methodName = propertyAccess.property.name; @@ -194,7 +186,7 @@ function eq(token1: AST.Token, token2: AST.Token) { } function isSimpleAssignment(node: estree.Node): node is estree.AssignmentExpression { - return node.type === AST_NODE_TYPES.AssignmentExpression && node.operator === '='; + return node.type === 'AssignmentExpression' && node.operator === '='; } interface KeyWriteCollectionUsage { diff --git a/packages/jsts/src/rules/S4156/index.ts b/packages/jsts/src/rules/S4156/index.ts index e7734e4c887..11702436d72 100644 --- a/packages/jsts/src/rules/S4156/index.ts +++ b/packages/jsts/src/rules/S4156/index.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S4156/javascript -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(rules['prefer-namespace-keyword']); diff --git a/packages/jsts/src/rules/S4157/index.ts b/packages/jsts/src/rules/S4157/index.ts index a9451fdf2da..5742149fe16 100644 --- a/packages/jsts/src/rules/S4157/index.ts +++ b/packages/jsts/src/rules/S4157/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-unnecessary-type-arguments']; diff --git a/packages/jsts/src/rules/S4165/rule.ts b/packages/jsts/src/rules/S4165/rule.ts index ec927a96486..0ebb35e03d4 100644 --- a/packages/jsts/src/rules/S4165/rule.ts +++ b/packages/jsts/src/rules/S4165/rule.ts @@ -21,7 +21,7 @@ import type { Rule, Scope } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, getVariableFromIdentifier, diff --git a/packages/jsts/src/rules/S4204/index.ts b/packages/jsts/src/rules/S4204/index.ts index b4a0b3b8b79..3e501d9cb55 100644 --- a/packages/jsts/src/rules/S4204/index.ts +++ b/packages/jsts/src/rules/S4204/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-explicit-any']; diff --git a/packages/jsts/src/rules/S4275/rule.ts b/packages/jsts/src/rules/S4275/rule.ts index 748d2264624..63b3cb2f4fc 100644 --- a/packages/jsts/src/rules/S4275/rule.ts +++ b/packages/jsts/src/rules/S4275/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, getVariableFromName, diff --git a/packages/jsts/src/rules/S4322/rule.ts b/packages/jsts/src/rules/S4322/rule.ts index 26c30192efd..f4fe89e8ce3 100644 --- a/packages/jsts/src/rules/S4322/rule.ts +++ b/packages/jsts/src/rules/S4322/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, getMainFunctionTokenLocation, diff --git a/packages/jsts/src/rules/S4323/rule.ts b/packages/jsts/src/rules/S4323/rule.ts index 5f30df2aa9c..fff91b8d0be 100644 --- a/packages/jsts/src/rules/S4323/rule.ts +++ b/packages/jsts/src/rules/S4323/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, report, toSecondaryLocation } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S4324/rule.ts b/packages/jsts/src/rules/S4324/rule.ts index a388d14ae51..33b3e27775f 100644 --- a/packages/jsts/src/rules/S4324/rule.ts +++ b/packages/jsts/src/rules/S4324/rule.ts @@ -20,7 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S4324/javascript import type { Rule } from 'eslint'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isRequiredParserServices, diff --git a/packages/jsts/src/rules/S4325/index.ts b/packages/jsts/src/rules/S4325/index.ts index a7394139b72..68310c6427b 100644 --- a/packages/jsts/src/rules/S4325/index.ts +++ b/packages/jsts/src/rules/S4325/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-unnecessary-type-assertion']; diff --git a/packages/jsts/src/rules/S4327/index.ts b/packages/jsts/src/rules/S4327/index.ts index b47ca941d1f..a419a96382a 100644 --- a/packages/jsts/src/rules/S4327/index.ts +++ b/packages/jsts/src/rules/S4327/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-this-alias']); diff --git a/packages/jsts/src/rules/S4335/rule.ts b/packages/jsts/src/rules/S4335/rule.ts index b23e6c04c77..04b6bdc74bd 100644 --- a/packages/jsts/src/rules/S4335/rule.ts +++ b/packages/jsts/src/rules/S4335/rule.ts @@ -22,7 +22,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; import ts from 'typescript'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isRequiredParserServices } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S4619/rule.ts b/packages/jsts/src/rules/S4619/rule.ts index 567d530c27c..5741d63447c 100644 --- a/packages/jsts/src/rules/S4619/rule.ts +++ b/packages/jsts/src/rules/S4619/rule.ts @@ -22,7 +22,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; import { generateMeta, isArray, isNumber, isRequiredParserServices } from '../helpers/index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; export const rule: Rule.RuleModule = { diff --git a/packages/jsts/src/rules/S4621/rule.ts b/packages/jsts/src/rules/S4621/rule.ts index 2a0f34339f0..164a456830c 100644 --- a/packages/jsts/src/rules/S4621/rule.ts +++ b/packages/jsts/src/rules/S4621/rule.ts @@ -21,7 +21,7 @@ import { AST, Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, IssueLocation, report, toSecondaryLocation } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S4622/rule.ts b/packages/jsts/src/rules/S4622/rule.ts index bd54f12c02e..5c72b104f30 100644 --- a/packages/jsts/src/rules/S4622/rule.ts +++ b/packages/jsts/src/rules/S4622/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isIdentifier, UTILITY_TYPES } from '../helpers/index.js'; import { FromSchema } from 'json-schema-to-ts'; import { meta, schema } from './meta.js'; diff --git a/packages/jsts/src/rules/S4623/rule.ts b/packages/jsts/src/rules/S4623/rule.ts index d5733ae6912..f472235adde 100644 --- a/packages/jsts/src/rules/S4623/rule.ts +++ b/packages/jsts/src/rules/S4623/rule.ts @@ -20,7 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S4623/javascript import type { Rule } from 'eslint'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isRequiredParserServices, diff --git a/packages/jsts/src/rules/S4782/rule.ts b/packages/jsts/src/rules/S4782/rule.ts index 0a7a02e4c81..aebefa83e1b 100644 --- a/packages/jsts/src/rules/S4782/rule.ts +++ b/packages/jsts/src/rules/S4782/rule.ts @@ -21,7 +21,7 @@ import { AST, Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isRequiredParserServices, diff --git a/packages/jsts/src/rules/S4798/rule.ts b/packages/jsts/src/rules/S4798/rule.ts index f3475b972c7..dfd1d0a024b 100644 --- a/packages/jsts/src/rules/S4798/rule.ts +++ b/packages/jsts/src/rules/S4798/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S4822/rule.ts b/packages/jsts/src/rules/S4822/rule.ts index 31cebca679b..bd781b8820e 100644 --- a/packages/jsts/src/rules/S4822/rule.ts +++ b/packages/jsts/src/rules/S4822/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { childrenOf, generateMeta, diff --git a/packages/jsts/src/rules/S5122/rule.ts b/packages/jsts/src/rules/S5122/rule.ts index 187d062fac7..c2e32697616 100644 --- a/packages/jsts/src/rules/S5122/rule.ts +++ b/packages/jsts/src/rules/S5122/rule.ts @@ -34,7 +34,7 @@ import { resolveFunction, toSecondaryLocation, } from '../helpers/index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; const MESSAGE = `Make sure that enabling CORS is safe here.`; diff --git a/packages/jsts/src/rules/S5254/rule.ts b/packages/jsts/src/rules/S5254/rule.ts index 7956b177369..fbece8640eb 100644 --- a/packages/jsts/src/rules/S5254/rule.ts +++ b/packages/jsts/src/rules/S5254/rule.ts @@ -19,15 +19,14 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S5254/javascript -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import type { Rule } from 'eslint'; -import pkg from 'eslint-plugin-jsx-a11y'; -const { rules: jsxA11yRules } = pkg; +import { rules } from '../external/a11y.js'; import { generateMeta, interceptReport, mergeRules } from '../helpers/index.js'; import { meta } from './meta.js'; -const langRule = jsxA11yRules['lang']; -const htmlHasLangRule = jsxA11yRules['html-has-lang']; +const langRule = rules['lang']; +const htmlHasLangRule = rules['html-has-lang']; const decoratedHasLangRule = decorate(htmlHasLangRule); function decorate(rule: Rule.RuleModule): Rule.RuleModule { diff --git a/packages/jsts/src/rules/S5256/rule.ts b/packages/jsts/src/rules/S5256/rule.ts index 77946d6ff32..22432737a41 100644 --- a/packages/jsts/src/rules/S5256/rule.ts +++ b/packages/jsts/src/rules/S5256/rule.ts @@ -19,14 +19,14 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S5256/javascript -import getElementType from 'eslint-plugin-jsx-a11y/lib/util/getElementType.js'; import estree from 'estree'; import type { Rule } from 'eslint'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import pkg from 'jsx-ast-utils'; const { getLiteralPropValue, getProp } = pkg; + import { computeGrid } from '../helpers/table.js'; -import { generateMeta, isPresentationTable } from '../helpers/index.js'; +import { generateMeta, isPresentationTable, getElementType } from '../helpers/index.js'; import { meta } from './meta.js'; export const rule: Rule.RuleModule = { diff --git a/packages/jsts/src/rules/S5257/rule.ts b/packages/jsts/src/rules/S5257/rule.ts index ce3491ecda2..4e470cd0dff 100644 --- a/packages/jsts/src/rules/S5257/rule.ts +++ b/packages/jsts/src/rules/S5257/rule.ts @@ -20,7 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S5257/javascript import type { Rule } from 'eslint'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import estree from 'estree'; import { generateMeta, isPresentationTable } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S5260/rule.ts b/packages/jsts/src/rules/S5260/rule.ts index ba93342de08..773b55f7df8 100644 --- a/packages/jsts/src/rules/S5260/rule.ts +++ b/packages/jsts/src/rules/S5260/rule.ts @@ -19,12 +19,11 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S5260/javascript -import getElementType from 'eslint-plugin-jsx-a11y/lib/util/getElementType.js'; import estree from 'estree'; import type { Rule } from 'eslint'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { computeGrid, TableCell } from '../helpers/table.js'; -import { generateMeta } from '../helpers/index.js'; +import { generateMeta, getElementType } from '../helpers/index.js'; import { meta } from './meta.js'; type BlockInfo = { diff --git a/packages/jsts/src/rules/S5264/rule.ts b/packages/jsts/src/rules/S5264/rule.ts index 0cfd7c53410..251beb4a6ff 100644 --- a/packages/jsts/src/rules/S5264/rule.ts +++ b/packages/jsts/src/rules/S5264/rule.ts @@ -20,12 +20,12 @@ // https://sonarsource.github.io/rspec/#/rspec/S5264/javascript import type { Rule } from 'eslint'; -import isHiddenFromScreenReader from 'eslint-plugin-jsx-a11y/lib/util/isHiddenFromScreenReader.js'; -import getElementType from 'eslint-plugin-jsx-a11y/lib/util/getElementType.js'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; -import { generateMeta } from '../helpers/index.js'; +import type { TSESTree } from '@typescript-eslint/utils'; +import { generateMeta, getElementType } from '../helpers/index.js'; import { meta } from './meta.js'; +import pkg from 'jsx-ast-utils'; +const { getLiteralPropValue, getProp, getPropValue } = pkg; export const rule: Rule.RuleModule = { meta: generateMeta(meta as Rule.RuleMetaData, { @@ -78,3 +78,19 @@ export const rule: Rule.RuleModule = { }; }, }; + +const isHiddenFromScreenReader = ( + type: string, + attributes: (TSESTree.JSXAttribute | TSESTree.JSXSpreadAttribute)[], +) => { + if (type.toUpperCase() === 'INPUT') { + const hidden = getLiteralPropValue(getProp(attributes, 'type')); + + if (typeof hidden === 'string' && hidden.toUpperCase?.() === 'HIDDEN') { + return true; + } + } + + const ariaHidden = getPropValue(getProp(attributes, 'aria-hidden')); + return ariaHidden === true; +}; diff --git a/packages/jsts/src/rules/S5725/rule.ts b/packages/jsts/src/rules/S5725/rule.ts index 99fd020196d..86218568bd0 100644 --- a/packages/jsts/src/rules/S5725/rule.ts +++ b/packages/jsts/src/rules/S5725/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { Variable } from 'eslint-scope'; import { generateMeta, diff --git a/packages/jsts/src/rules/S5860/rule.ts b/packages/jsts/src/rules/S5860/rule.ts index 45c673f2379..ea6fa4f4c55 100644 --- a/packages/jsts/src/rules/S5860/rule.ts +++ b/packages/jsts/src/rules/S5860/rule.ts @@ -45,7 +45,7 @@ import { RequiredParserServices, toSecondaryLocation, } from '../helpers/index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; import { isStringRegexMethodCall, isStringReplaceCall } from '../helpers/regex/ast.js'; import { extractReferences } from '../helpers/regex/group.js'; diff --git a/packages/jsts/src/rules/S5863/rule.ts b/packages/jsts/src/rules/S5863/rule.ts index f981ddf9a1c..ec60e112666 100644 --- a/packages/jsts/src/rules/S5863/rule.ts +++ b/packages/jsts/src/rules/S5863/rule.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S5863/javascript -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import type { Rule } from 'eslint'; import estree from 'estree'; import { diff --git a/packages/jsts/src/rules/S5868/rule.ts b/packages/jsts/src/rules/S5868/rule.ts index 5241c629014..6b0ab71e467 100644 --- a/packages/jsts/src/rules/S5868/rule.ts +++ b/packages/jsts/src/rules/S5868/rule.ts @@ -24,7 +24,7 @@ import { ancestorsChain, generateMeta, isRegexLiteral } from '../helpers/index.j import { RegExpValidator } from '@eslint-community/regexpp'; import { Character, CharacterClassElement } from '@eslint-community/regexpp/ast'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; import { getPatternFromNode } from '../helpers/regex/extract.js'; import { getFlags } from '../helpers/regex/flags.js'; diff --git a/packages/jsts/src/rules/S6441/meta.ts b/packages/jsts/src/rules/S6441/meta.ts index 92c3eb2ee5d..64a6f5d18f4 100644 --- a/packages/jsts/src/rules/S6441/meta.ts +++ b/packages/jsts/src/rules/S6441/meta.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ export * from './generated-meta.js'; -export const implementation = 'original'; +export const implementation = 'decorated'; export const eslintId = 'no-unused-class-component-methods'; diff --git a/packages/jsts/src/rules/S6441/rule.ts b/packages/jsts/src/rules/S6441/rule.ts index b3b1a92c5f7..f3e369c26d6 100644 --- a/packages/jsts/src/rules/S6441/rule.ts +++ b/packages/jsts/src/rules/S6441/rule.ts @@ -20,12 +20,11 @@ // https://sonarsource.github.io/rspec/#/rspec/S6441/javascript import type { Rule } from 'eslint'; -import pkg from 'eslint-plugin-react'; -const { rules: reactRules } = pkg; +import { rules } from '../external/react.js'; import { detectReactRule, generateMeta, mergeRules } from '../helpers/index.js'; import { meta } from './meta.js'; -const noUnusedClassComponentMethod = reactRules['no-unused-class-component-methods']; +const noUnusedClassComponentMethod = rules['no-unused-class-component-methods']; function overrideContext(context: Rule.RuleContext, overrides: any): Rule.RuleContext { Object.setPrototypeOf(overrides, context); diff --git a/packages/jsts/src/rules/S6442/rule.ts b/packages/jsts/src/rules/S6442/rule.ts index 02203bb26a0..a46b3cd4cbb 100644 --- a/packages/jsts/src/rules/S6442/rule.ts +++ b/packages/jsts/src/rules/S6442/rule.ts @@ -29,7 +29,7 @@ import { isFunctionNode, isIdentifier, } from '../helpers/index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; type HookDeclarator = estree.VariableDeclarator & { diff --git a/packages/jsts/src/rules/S6477/decorator.ts b/packages/jsts/src/rules/S6477/decorator.ts index a93eb8e45c9..f4ed00c0255 100644 --- a/packages/jsts/src/rules/S6477/decorator.ts +++ b/packages/jsts/src/rules/S6477/decorator.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import type { Rule } from 'eslint'; import { generateMeta, interceptReportForReact } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S6477/meta.ts b/packages/jsts/src/rules/S6477/meta.ts index 99b5ba3e8e0..7bea6c6bbeb 100644 --- a/packages/jsts/src/rules/S6477/meta.ts +++ b/packages/jsts/src/rules/S6477/meta.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ export * from './generated-meta.js'; -export const implementation = 'original'; +export const implementation = 'decorated'; export const eslintId = 'jsx-key'; diff --git a/packages/jsts/src/rules/S6477/rule.ts b/packages/jsts/src/rules/S6477/rule.ts index 04c771956c9..319fe6d22c1 100644 --- a/packages/jsts/src/rules/S6477/rule.ts +++ b/packages/jsts/src/rules/S6477/rule.ts @@ -20,8 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S6477/javascript import type { Rule } from 'eslint'; -import pkg from 'eslint-plugin-react'; -const { rules } = pkg; +import { rules } from '../external/react.js'; import { generateMeta, getDependencies } from '../helpers/index.js'; import { decorate } from './decorator.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S6478/decorator.ts b/packages/jsts/src/rules/S6478/decorator.ts index 4bbe870ea4c..b1ad5934d27 100644 --- a/packages/jsts/src/rules/S6478/decorator.ts +++ b/packages/jsts/src/rules/S6478/decorator.ts @@ -28,7 +28,7 @@ import { interceptReportForReact, RuleContext, } from '../helpers/index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; export function decorate(rule: Rule.RuleModule): Rule.RuleModule { diff --git a/packages/jsts/src/rules/S6478/index.ts b/packages/jsts/src/rules/S6478/index.ts index defb9fdbbd7..d4903bb5b5f 100644 --- a/packages/jsts/src/rules/S6478/index.ts +++ b/packages/jsts/src/rules/S6478/index.ts @@ -17,8 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import pkg from 'eslint-plugin-react'; -const { rules } = pkg; +import { rules } from '../external/react.js'; import { decorate } from './decorator.js'; export const rule = decorate(rules['no-unstable-nested-components']); diff --git a/packages/jsts/src/rules/S6478/meta.ts b/packages/jsts/src/rules/S6478/meta.ts index a5fa520120c..303db735a43 100644 --- a/packages/jsts/src/rules/S6478/meta.ts +++ b/packages/jsts/src/rules/S6478/meta.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ export * from './generated-meta.js'; -export const implementation = 'original'; +export const implementation = 'decorated'; export const eslintId = 'no-unstable-nested-components'; diff --git a/packages/jsts/src/rules/S6479/meta.ts b/packages/jsts/src/rules/S6479/meta.ts index 32d3d1d034d..278c4e5560f 100644 --- a/packages/jsts/src/rules/S6479/meta.ts +++ b/packages/jsts/src/rules/S6479/meta.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ export * from './generated-meta.js'; -export const implementation = 'original'; +export const implementation = 'decorated'; export const eslintId = 'no-array-index-key'; diff --git a/packages/jsts/src/rules/S6479/rule.ts b/packages/jsts/src/rules/S6479/rule.ts index 441c91f3ba7..591679244a4 100644 --- a/packages/jsts/src/rules/S6479/rule.ts +++ b/packages/jsts/src/rules/S6479/rule.ts @@ -22,8 +22,7 @@ // inspired from `no-array-index` from `eslint-plugin-react`: // https://github.com/jsx-eslint/eslint-plugin-react/blob/0a2f6b7e9df32215fcd4e3061ec69ea3f2eef793/lib/rules/no-array-index-key.js#L16 -import pkg from 'eslint-plugin-react'; -const { rules } = pkg; +import { rules } from '../external/react.js'; import { generateMeta, interceptReportForReact } from '../helpers/index.js'; import type { Rule } from 'eslint'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S6481/index.ts b/packages/jsts/src/rules/S6481/index.ts index 09819f7809c..d441dc31b16 100644 --- a/packages/jsts/src/rules/S6481/index.ts +++ b/packages/jsts/src/rules/S6481/index.ts @@ -17,8 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import pkg from 'eslint-plugin-react'; -const { rules } = pkg; +import { rules } from '../external/react.js'; import { decorate } from './decorator.js'; export const rule = decorate(rules['jsx-no-constructed-context-values']); diff --git a/packages/jsts/src/rules/S6481/meta.ts b/packages/jsts/src/rules/S6481/meta.ts index e512295920d..5590276e576 100644 --- a/packages/jsts/src/rules/S6481/meta.ts +++ b/packages/jsts/src/rules/S6481/meta.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ export * from './generated-meta.js'; -export const implementation = 'original'; +export const implementation = 'decorated'; export const eslintId = 'jsx-no-constructed-context-values'; diff --git a/packages/jsts/src/rules/S6486/rule.ts b/packages/jsts/src/rules/S6486/rule.ts index 1b7d4513fcc..77429262187 100644 --- a/packages/jsts/src/rules/S6486/rule.ts +++ b/packages/jsts/src/rules/S6486/rule.ts @@ -24,7 +24,7 @@ import type { Rule } from 'eslint'; import { generateMeta, isMemberExpression } from '../helpers/index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import estree from 'estree'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S6544/rule.ts b/packages/jsts/src/rules/S6544/rule.ts index 897465d1213..5c130a70691 100644 --- a/packages/jsts/src/rules/S6544/rule.ts +++ b/packages/jsts/src/rules/S6544/rule.ts @@ -20,7 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S6544/javascript import type { Rule } from 'eslint'; -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { getESLintCoreRule } from '../external/core.js'; import { FUNCTION_NODES, @@ -30,7 +30,7 @@ import { mergeRules, RuleContext, } from '../helpers/index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; /** diff --git a/packages/jsts/src/rules/S6550/index.ts b/packages/jsts/src/rules/S6550/index.ts index 5bd16218c6c..beb1a4a5f6c 100644 --- a/packages/jsts/src/rules/S6550/index.ts +++ b/packages/jsts/src/rules/S6550/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['prefer-literal-enum-member']; diff --git a/packages/jsts/src/rules/S6551/decorator.ts b/packages/jsts/src/rules/S6551/decorator.ts index bba11cf6abb..d958f0caf15 100644 --- a/packages/jsts/src/rules/S6551/decorator.ts +++ b/packages/jsts/src/rules/S6551/decorator.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S6551/javascript -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import type { Rule } from 'eslint'; import { generateMeta, interceptReport, isGenericType } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S6551/index.ts b/packages/jsts/src/rules/S6551/index.ts index 1298a364b2a..ac8cad6421c 100644 --- a/packages/jsts/src/rules/S6551/index.ts +++ b/packages/jsts/src/rules/S6551/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-base-to-string']); diff --git a/packages/jsts/src/rules/S6557/index.ts b/packages/jsts/src/rules/S6557/index.ts index db3d2f3afb0..a46f60fa545 100644 --- a/packages/jsts/src/rules/S6557/index.ts +++ b/packages/jsts/src/rules/S6557/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['prefer-string-starts-ends-with']); diff --git a/packages/jsts/src/rules/S6564/rule.ts b/packages/jsts/src/rules/S6564/rule.ts index b6026bdf509..959eacbb572 100644 --- a/packages/jsts/src/rules/S6564/rule.ts +++ b/packages/jsts/src/rules/S6564/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isTypeAlias } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S6565/index.ts b/packages/jsts/src/rules/S6565/index.ts index 4c0ceb5711a..89e1f71056f 100644 --- a/packages/jsts/src/rules/S6565/index.ts +++ b/packages/jsts/src/rules/S6565/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['prefer-return-this-type']; diff --git a/packages/jsts/src/rules/S6568/index.ts b/packages/jsts/src/rules/S6568/index.ts index 29465dc0524..9d3c6342b28 100644 --- a/packages/jsts/src/rules/S6568/index.ts +++ b/packages/jsts/src/rules/S6568/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-confusing-non-null-assertion']; diff --git a/packages/jsts/src/rules/S6569/index.ts b/packages/jsts/src/rules/S6569/index.ts index bef93803e88..7117c118ddf 100644 --- a/packages/jsts/src/rules/S6569/index.ts +++ b/packages/jsts/src/rules/S6569/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-unnecessary-type-constraint']; diff --git a/packages/jsts/src/rules/S6571/decorator.ts b/packages/jsts/src/rules/S6571/decorator.ts index 210a2afcac1..9bfd628a227 100644 --- a/packages/jsts/src/rules/S6571/decorator.ts +++ b/packages/jsts/src/rules/S6571/decorator.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import { generateMeta, interceptReport } from '../helpers/index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; export function decorate(rule: Rule.RuleModule): Rule.RuleModule { diff --git a/packages/jsts/src/rules/S6571/index.ts b/packages/jsts/src/rules/S6571/index.ts index 979aee51749..ed9930b2d10 100644 --- a/packages/jsts/src/rules/S6571/index.ts +++ b/packages/jsts/src/rules/S6571/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-redundant-type-constituents']); diff --git a/packages/jsts/src/rules/S6572/rule.ts b/packages/jsts/src/rules/S6572/rule.ts index 4da703bbea1..68a38ea24a1 100644 --- a/packages/jsts/src/rules/S6572/rule.ts +++ b/packages/jsts/src/rules/S6572/rule.ts @@ -21,10 +21,10 @@ import estree from 'estree'; import type { Rule } from 'eslint'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isNumberLiteral } from '../helpers/index.js'; import { meta } from './meta.js'; -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; const baseRuleModule = tsEslintRules['prefer-enum-initializers']; // The core implementation of this rule reports all enums for which there is a member value that is diff --git a/packages/jsts/src/rules/S6578/index.ts b/packages/jsts/src/rules/S6578/index.ts index 878c691b03e..5da9de08a78 100644 --- a/packages/jsts/src/rules/S6578/index.ts +++ b/packages/jsts/src/rules/S6578/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-duplicate-enum-values']; diff --git a/packages/jsts/src/rules/S6582/meta.ts b/packages/jsts/src/rules/S6582/meta.ts index 694ed79d2e7..eb15358ba81 100644 --- a/packages/jsts/src/rules/S6582/meta.ts +++ b/packages/jsts/src/rules/S6582/meta.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ export * from './generated-meta.js'; -export const implementation = 'original'; +export const implementation = 'decorated'; export const eslintId = 'prefer-optional-chain'; diff --git a/packages/jsts/src/rules/S6582/rule.ts b/packages/jsts/src/rules/S6582/rule.ts index aeb75691945..340d1d5900a 100644 --- a/packages/jsts/src/rules/S6582/rule.ts +++ b/packages/jsts/src/rules/S6582/rule.ts @@ -20,7 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S6582/javascript import type { Rule } from 'eslint'; -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { generateMeta } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S6583/index.ts b/packages/jsts/src/rules/S6583/index.ts index 585e1a9884a..2e1c5b2f7bb 100644 --- a/packages/jsts/src/rules/S6583/index.ts +++ b/packages/jsts/src/rules/S6583/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-mixed-enums']; diff --git a/packages/jsts/src/rules/S6590/index.ts b/packages/jsts/src/rules/S6590/index.ts index af9d67135e1..a42cafc7304 100644 --- a/packages/jsts/src/rules/S6590/index.ts +++ b/packages/jsts/src/rules/S6590/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['prefer-as-const']; diff --git a/packages/jsts/src/rules/S6598/index.ts b/packages/jsts/src/rules/S6598/index.ts index f058869e085..efe502f9f49 100644 --- a/packages/jsts/src/rules/S6598/index.ts +++ b/packages/jsts/src/rules/S6598/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['prefer-function-type']); diff --git a/packages/jsts/src/rules/S6606/rule.ts b/packages/jsts/src/rules/S6606/rule.ts index 0b5ab15b1b8..3e115d8b794 100644 --- a/packages/jsts/src/rules/S6606/rule.ts +++ b/packages/jsts/src/rules/S6606/rule.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { type Rule } from 'eslint'; import { generateMeta, diff --git a/packages/jsts/src/rules/S6671/index.ts b/packages/jsts/src/rules/S6671/index.ts index 7708cb1553d..ba7e12bb43c 100644 --- a/packages/jsts/src/rules/S6671/index.ts +++ b/packages/jsts/src/rules/S6671/index.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules } from '../typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['prefer-promise-reject-errors']; diff --git a/packages/jsts/src/rules/S6747/rule.ts b/packages/jsts/src/rules/S6747/rule.ts index a55f3ef8e80..cb5e3e94a4d 100644 --- a/packages/jsts/src/rules/S6747/rule.ts +++ b/packages/jsts/src/rules/S6747/rule.ts @@ -20,13 +20,11 @@ // https://sonarsource.github.io/rspec/#/rspec/S6747/javascript import type { Rule } from 'eslint'; -import pkg from 'eslint-plugin-react'; -const { rules: reactRules } = pkg; -import jsxA11yPlugin from 'eslint-plugin-jsx-a11y'; -const { rules: jsxA11yRules } = jsxA11yPlugin; +import { rules as reactRules } from '../external/react.js'; +import { rules as jsxA11yRules } from '../external/a11y.js'; import { generateMeta, getDependencies, interceptReport, mergeRules } from '../helpers/index.js'; import { decorate } from './decorator.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; const noUnknownProp = reactRules['no-unknown-property']; diff --git a/packages/jsts/src/rules/S6749/index.ts b/packages/jsts/src/rules/S6749/index.ts index 7b806b1026a..bd5feea46cb 100644 --- a/packages/jsts/src/rules/S6749/index.ts +++ b/packages/jsts/src/rules/S6749/index.ts @@ -17,8 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import pkg from 'eslint-plugin-react'; -const { rules } = pkg; +import { rules } from '../external/react.js'; import { decorate } from './decorator.js'; export const rule = decorate(rules['jsx-no-useless-fragment']); diff --git a/packages/jsts/src/rules/S6754/index.ts b/packages/jsts/src/rules/S6754/index.ts index 34c288ece92..7cb1a023b24 100644 --- a/packages/jsts/src/rules/S6754/index.ts +++ b/packages/jsts/src/rules/S6754/index.ts @@ -17,9 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import pkg from 'eslint-plugin-react'; -const { rules } = pkg; - +import { rules } from '../external/react.js'; import { decorate } from './decorator.js'; export const rule = decorate(rules['hook-use-state']); diff --git a/packages/jsts/src/rules/S6754/meta.ts b/packages/jsts/src/rules/S6754/meta.ts index 37077becc78..15903428b42 100644 --- a/packages/jsts/src/rules/S6754/meta.ts +++ b/packages/jsts/src/rules/S6754/meta.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ export * from './generated-meta.js'; -export const implementation = 'original'; +export const implementation = 'decorated'; export const eslintId = 'hook-use-state'; diff --git a/packages/jsts/src/rules/S6759/rule.ts b/packages/jsts/src/rules/S6759/rule.ts index 244db8b1ba2..1da7bebf3db 100644 --- a/packages/jsts/src/rules/S6759/rule.ts +++ b/packages/jsts/src/rules/S6759/rule.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import { Function, Node, ReturnStatement } from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, getTypeFromTreeNode, diff --git a/packages/jsts/src/rules/S6788/index.ts b/packages/jsts/src/rules/S6788/index.ts index aa177f3ab3b..db20042d83d 100644 --- a/packages/jsts/src/rules/S6788/index.ts +++ b/packages/jsts/src/rules/S6788/index.ts @@ -17,8 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import pkg from 'eslint-plugin-react'; -const { rules } = pkg; +import { rules } from '../external/react.js'; import { decorate } from './decorator.js'; export const rule = decorate(rules['no-find-dom-node']); diff --git a/packages/jsts/src/rules/S6791/index.ts b/packages/jsts/src/rules/S6791/index.ts index 2c39f455c04..46651b12f25 100644 --- a/packages/jsts/src/rules/S6791/index.ts +++ b/packages/jsts/src/rules/S6791/index.ts @@ -17,8 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import pkg from 'eslint-plugin-react'; -const { rules } = pkg; +import { rules } from '../external/react.js'; import { decorate } from './decorator.js'; export const rule = decorate(rules['no-unsafe']); diff --git a/packages/jsts/src/rules/S6791/meta.ts b/packages/jsts/src/rules/S6791/meta.ts index 00878eed929..59ed94d9b7e 100644 --- a/packages/jsts/src/rules/S6791/meta.ts +++ b/packages/jsts/src/rules/S6791/meta.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ export * from './generated-meta.js'; -export const implementation = 'original'; +export const implementation = 'decorated'; export const eslintId = 'no-unsafe'; diff --git a/packages/jsts/src/rules/S6827/decorator.ts b/packages/jsts/src/rules/S6827/decorator.ts index 00be6e4554e..e158ec5b57a 100644 --- a/packages/jsts/src/rules/S6827/decorator.ts +++ b/packages/jsts/src/rules/S6827/decorator.ts @@ -21,7 +21,7 @@ import type { Rule } from 'eslint'; import { generateMeta, interceptReport } from '../helpers/index.js'; import pkg from 'jsx-ast-utils'; const { hasAnyProp } = pkg; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { meta } from './meta.js'; /** diff --git a/packages/jsts/src/rules/S6827/index.ts b/packages/jsts/src/rules/S6827/index.ts index 8e2d6bb45c6..5058b87dfa3 100644 --- a/packages/jsts/src/rules/S6827/index.ts +++ b/packages/jsts/src/rules/S6827/index.ts @@ -19,8 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S6727/javascript -import pkg from 'eslint-plugin-jsx-a11y'; -const { rules: jsxA11yRules } = pkg; +import { rules } from '../external/a11y.js'; import { decorate } from './decorator.js'; -export const rule = decorate(jsxA11yRules['anchor-has-content']); +export const rule = decorate(rules['anchor-has-content']); diff --git a/packages/jsts/src/rules/S6844/rule.ts b/packages/jsts/src/rules/S6844/rule.ts index 911cdf8a15f..9e333567f25 100644 --- a/packages/jsts/src/rules/S6844/rule.ts +++ b/packages/jsts/src/rules/S6844/rule.ts @@ -19,13 +19,12 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S6844/javascript -import pkg from 'eslint-plugin-jsx-a11y'; -const { rules: jsxA11yRules } = pkg; +import { rules } from '../external/a11y.js'; import { generateMeta, interceptReport } from '../helpers/index.js'; import { meta } from './meta.js'; import type { Rule } from 'eslint'; -const anchorIsValid = jsxA11yRules['anchor-is-valid']; +const anchorIsValid = rules['anchor-is-valid']; export const rule = interceptReport( { diff --git a/packages/jsts/src/rules/S6853/decorator.ts b/packages/jsts/src/rules/S6853/decorator.ts index ed8201bc1f7..70a58276758 100644 --- a/packages/jsts/src/rules/S6853/decorator.ts +++ b/packages/jsts/src/rules/S6853/decorator.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S6853/javascript import type { Rule } from 'eslint'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { Node } from 'estree'; import { generateMeta, interceptReport } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S6853/index.ts b/packages/jsts/src/rules/S6853/index.ts index 64b789e72b4..1c60126c99c 100644 --- a/packages/jsts/src/rules/S6853/index.ts +++ b/packages/jsts/src/rules/S6853/index.ts @@ -17,8 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import pkg from 'eslint-plugin-jsx-a11y'; -const { rules } = pkg; +import { rules } from '../external/a11y.js'; import { decorate } from './decorator.js'; export const rule = decorate(rules['label-has-associated-control']); diff --git a/packages/jsts/src/rules/S6957/meta.ts b/packages/jsts/src/rules/S6957/meta.ts index 8c5e897146e..6bb7aa02fd2 100644 --- a/packages/jsts/src/rules/S6957/meta.ts +++ b/packages/jsts/src/rules/S6957/meta.ts @@ -18,5 +18,5 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ export * from './generated-meta.js'; -export const implementation = 'original'; +export const implementation = 'decorated'; export const eslintId = 'no-deprecated-react'; diff --git a/packages/jsts/src/rules/S6957/rule.ts b/packages/jsts/src/rules/S6957/rule.ts index dffadfbb4f5..46ca0dcfe99 100644 --- a/packages/jsts/src/rules/S6957/rule.ts +++ b/packages/jsts/src/rules/S6957/rule.ts @@ -20,8 +20,7 @@ // https://sonarsource.github.io/rspec/#/rspec/S6957/javascript import type { Rule } from 'eslint'; -import pkg from 'eslint-plugin-react'; -const { rules } = pkg; +import { rules } from '../external/react.js'; import { generateMeta, getManifests, toUnixPath } from '../helpers/index.js'; import { FromSchema } from 'json-schema-to-ts'; import { meta, schema } from './meta.js'; diff --git a/packages/jsts/src/rules/S6958/rule.ts b/packages/jsts/src/rules/S6958/rule.ts index b3212501d01..b8f03c55746 100644 --- a/packages/jsts/src/rules/S6958/rule.ts +++ b/packages/jsts/src/rules/S6958/rule.ts @@ -17,18 +17,17 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { TSESTree } from '@typescript-eslint/utils'; import { type Rule } from 'eslint'; import { type Node } from 'estree'; import { generateMeta } from '../helpers/index.js'; import { meta } from './meta.js'; const NODES = new Set([ - TSESTree.AST_NODE_TYPES.ArrayExpression, - TSESTree.AST_NODE_TYPES.ClassExpression, - TSESTree.AST_NODE_TYPES.ObjectExpression, - TSESTree.AST_NODE_TYPES.Literal, - TSESTree.AST_NODE_TYPES.TemplateLiteral, + 'ArrayExpression', + 'ClassExpression', + 'ObjectExpression', + 'Literal', + 'TemplateLiteral', ]); export const rule: Rule.RuleModule = { diff --git a/packages/jsts/src/rules/S7059/rule.ts b/packages/jsts/src/rules/S7059/rule.ts index 9f5ca17c9de..8a422b5bd42 100644 --- a/packages/jsts/src/rules/S7059/rule.ts +++ b/packages/jsts/src/rules/S7059/rule.ts @@ -28,7 +28,6 @@ import { } from '../helpers/index.js'; import estree from 'estree'; import { meta } from './meta.js'; -import { AST_NODE_TYPES } from '@typescript-eslint/utils'; const flaggedStatements = new Set(); @@ -60,7 +59,7 @@ export const rule: Rule.RuleModule = { let classConstructor: estree.MethodDefinition | undefined; let statement: estree.Statement | undefined; context.sourceCode.getAncestors(node).forEach(node => { - if (node.type === AST_NODE_TYPES.MethodDefinition && node.kind === 'constructor') { + if (node.type === 'MethodDefinition' && node.kind === 'constructor') { classConstructor = node; } if (classConstructor && node.type.endsWith('Statement')) { diff --git a/packages/jsts/src/rules/S905/decorator.ts b/packages/jsts/src/rules/S905/decorator.ts index d814d5b45da..5a5f1599b46 100644 --- a/packages/jsts/src/rules/S905/decorator.ts +++ b/packages/jsts/src/rules/S905/decorator.ts @@ -19,7 +19,7 @@ */ import type { Rule } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, interceptReport } from '../helpers/index.js'; import { meta } from './meta.js'; diff --git a/packages/jsts/src/rules/S905/index.ts b/packages/jsts/src/rules/S905/index.ts index 9a9083f6eb5..179c9921d66 100644 --- a/packages/jsts/src/rules/S905/index.ts +++ b/packages/jsts/src/rules/S905/index.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { rules as tsEslintRules } from '../typescript-eslint/index.js'; +import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; export const rule = decorate(tsEslintRules['no-unused-expressions']); diff --git a/packages/jsts/src/rules/S930/rule.ts b/packages/jsts/src/rules/S930/rule.ts index 766c9957f63..1f7eb13f0d8 100644 --- a/packages/jsts/src/rules/S930/rule.ts +++ b/packages/jsts/src/rules/S930/rule.ts @@ -19,7 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S930 -import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { Rule, Scope } from 'eslint'; import { generateMeta, @@ -85,7 +85,7 @@ export const rule: Rule.RuleModule = { ':function'(node: estree.Node) { const fn = node as TSESTree.FunctionExpression; if ( - fn.body.type === AST_NODE_TYPES.BlockStatement && + fn.body.type === 'BlockStatement' && fn.body.body.length === 0 && fn.params.length === 0 ) { diff --git a/packages/jsts/src/rules/typescript-eslint/index.ts b/packages/jsts/src/rules/external/typescript-eslint/index.ts similarity index 100% rename from packages/jsts/src/rules/typescript-eslint/index.ts rename to packages/jsts/src/rules/external/typescript-eslint/index.ts diff --git a/packages/jsts/src/rules/typescript-eslint/sanitize.ts b/packages/jsts/src/rules/external/typescript-eslint/sanitize.ts similarity index 97% rename from packages/jsts/src/rules/typescript-eslint/sanitize.ts rename to packages/jsts/src/rules/external/typescript-eslint/sanitize.ts index 5101bd9e77f..dae7c18c6a6 100644 --- a/packages/jsts/src/rules/typescript-eslint/sanitize.ts +++ b/packages/jsts/src/rules/external/typescript-eslint/sanitize.ts @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import type { Rule } from 'eslint'; -import { isRequiredParserServices } from '../helpers/index.js'; +import { isRequiredParserServices } from '../../helpers/index.js'; /** * Sanitizes a TypeScript ESLint rule diff --git a/packages/jsts/src/rules/helpers/accessibility.ts b/packages/jsts/src/rules/helpers/accessibility.ts index dfd1a41696e..68bc3004015 100644 --- a/packages/jsts/src/rules/helpers/accessibility.ts +++ b/packages/jsts/src/rules/helpers/accessibility.ts @@ -19,9 +19,8 @@ */ import pkg from 'jsx-ast-utils'; -const { getProp, getLiteralPropValue } = pkg; -import getElementType from 'eslint-plugin-jsx-a11y/lib/util/getElementType.js'; -import { TSESTree } from '@typescript-eslint/utils'; +const { getProp, getLiteralPropValue, elementType } = pkg; +import type { TSESTree } from '@typescript-eslint/utils'; import type { Rule } from 'eslint'; export function isPresentationTable(context: Rule.RuleContext, node: TSESTree.JSXOpeningElement) { @@ -38,3 +37,30 @@ export function isPresentationTable(context: Rule.RuleContext, node: TSESTree.JS return DISALLOWED_VALUES.includes(roleValue?.toLowerCase()); } + +export const getElementType = ( + context: Rule.RuleContext, +): ((node: TSESTree.JSXOpeningElement) => string) => { + const { settings } = context; + const polymorphicPropName = settings['jsx-a11y']?.polymorphicPropName; + const polymorphicAllowList = settings['jsx-a11y']?.polymorphicAllowList; + + const componentMap = settings['jsx-a11y']?.components; + + return (node: TSESTree.JSXOpeningElement): string => { + const polymorphicProp = polymorphicPropName + ? getLiteralPropValue(getProp(node.attributes, polymorphicPropName)) + : undefined; + + let rawType: string = elementType(node); + if (polymorphicProp && (!polymorphicAllowList || polymorphicAllowList.includes(rawType))) { + rawType = `${polymorphicProp}`; + } + + if (!componentMap) { + return rawType; + } + + return componentMap.hasOwnProperty(rawType) ? componentMap[rawType] : rawType; + }; +}; diff --git a/packages/jsts/src/rules/helpers/ancestor.ts b/packages/jsts/src/rules/helpers/ancestor.ts index ba2df16c88f..ec6b444a4b3 100644 --- a/packages/jsts/src/rules/helpers/ancestor.ts +++ b/packages/jsts/src/rules/helpers/ancestor.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { Rule, SourceCode } from 'eslint'; import estree, { Node } from 'estree'; import { functionLike } from './ast.js'; diff --git a/packages/jsts/src/rules/helpers/ast.ts b/packages/jsts/src/rules/helpers/ast.ts index bca3776f92b..ad2713ba80b 100644 --- a/packages/jsts/src/rules/helpers/ast.ts +++ b/packages/jsts/src/rules/helpers/ast.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { Rule, Scope } from 'eslint'; import estree from 'estree'; import { diff --git a/packages/jsts/src/rules/helpers/conditions.ts b/packages/jsts/src/rules/helpers/conditions.ts index a151990f3ca..3c1745f6509 100644 --- a/packages/jsts/src/rules/helpers/conditions.ts +++ b/packages/jsts/src/rules/helpers/conditions.ts @@ -17,7 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { AST_NODE_TYPES } from '@typescript-eslint/utils'; import estree from 'estree'; /** Returns a list of statements corresponding to a `if - else if - else` chain */ @@ -27,7 +26,7 @@ export function collectIfBranches(node: estree.IfStatement) { let statement = node.alternate; while (statement) { - if (statement.type === AST_NODE_TYPES.IfStatement) { + if (statement.type === 'IfStatement') { branches.push(statement.consequent); statement = statement.alternate; } else { @@ -59,7 +58,7 @@ export function collectSwitchBranches(node: estree.SwitchStatement) { /** Excludes the break statement from the list */ export function takeWithoutBreak(nodes: estree.Statement[]) { - return nodes.length > 0 && nodes[nodes.length - 1].type === AST_NODE_TYPES.BreakStatement + return nodes.length > 0 && nodes[nodes.length - 1].type === 'BreakStatement' ? nodes.slice(0, -1) : nodes; } diff --git a/packages/jsts/src/rules/helpers/isHtmlElement.ts b/packages/jsts/src/rules/helpers/isHtmlElement.ts index 4c145bc12d3..71ff7f9216c 100644 --- a/packages/jsts/src/rules/helpers/isHtmlElement.ts +++ b/packages/jsts/src/rules/helpers/isHtmlElement.ts @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; const HTML_TAG_NAMES = new Set([ 'a', diff --git a/packages/jsts/src/rules/helpers/jsx.ts b/packages/jsts/src/rules/helpers/jsx.ts index 83df3b1cbcd..16322303cea 100644 --- a/packages/jsts/src/rules/helpers/jsx.ts +++ b/packages/jsts/src/rules/helpers/jsx.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; export function getJsxShortCircuitNodes(logicalExpression: TSESTree.LogicalExpression) { if (logicalExpression.parent?.type !== 'JSXExpressionContainer') { diff --git a/packages/jsts/src/rules/helpers/location.ts b/packages/jsts/src/rules/helpers/location.ts index 95f7b2ce01f..8e686cf04a8 100644 --- a/packages/jsts/src/rules/helpers/location.ts +++ b/packages/jsts/src/rules/helpers/location.ts @@ -19,7 +19,7 @@ */ import estree from 'estree'; import type { AST, Rule } from 'eslint'; -import { TSESLint, TSESTree } from '@typescript-eslint/utils'; +import type { TSESLint, TSESTree } from '@typescript-eslint/utils'; export type LocationHolder = AST.Token | TSESTree.Node | estree.Node | { loc: AST.SourceLocation }; diff --git a/packages/jsts/src/rules/helpers/lva.ts b/packages/jsts/src/rules/helpers/lva.ts index fa57794fd3b..6114eadba15 100644 --- a/packages/jsts/src/rules/helpers/lva.ts +++ b/packages/jsts/src/rules/helpers/lva.ts @@ -19,7 +19,7 @@ */ import type { Rule, Scope } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; export function lva(liveVariablesMap: Map) { const worklist = Array.from(liveVariablesMap.values(), lva => lva.segment); diff --git a/packages/jsts/src/rules/helpers/module.ts b/packages/jsts/src/rules/helpers/module.ts index 2feb19bd831..3dfa71d0b32 100644 --- a/packages/jsts/src/rules/helpers/module.ts +++ b/packages/jsts/src/rules/helpers/module.ts @@ -19,7 +19,7 @@ */ import type { Rule, Scope } from 'eslint'; import estree from 'estree'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { Node, isIdentifier, getVariableFromScope, getUniqueWriteReference } from './ast.js'; export function getImportDeclarations(context: Rule.RuleContext) { diff --git a/packages/jsts/src/rules/helpers/regex/extract.ts b/packages/jsts/src/rules/helpers/regex/extract.ts index 73e42dbbc4b..4d2483a0b6d 100644 --- a/packages/jsts/src/rules/helpers/regex/extract.ts +++ b/packages/jsts/src/rules/helpers/regex/extract.ts @@ -30,7 +30,7 @@ import { isStaticTemplateLiteral, isStringLiteral, } from '../index.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { isRegExpConstructor } from './ast.js'; import { getFlags } from './flags.js'; diff --git a/packages/jsts/src/rules/helpers/table.ts b/packages/jsts/src/rules/helpers/table.ts index a1c0592c6e0..51174d4b35a 100644 --- a/packages/jsts/src/rules/helpers/table.ts +++ b/packages/jsts/src/rules/helpers/table.ts @@ -18,12 +18,12 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import pkg from 'jsx-ast-utils'; const { getLiteralPropValue, getProp } = pkg; import type { Rule } from 'eslint'; -import getElementType from 'eslint-plugin-jsx-a11y/lib/util/getElementType.js'; import { isHtmlElement } from './isHtmlElement.js'; +import { getElementType } from './accessibility.js'; export type TableCell = { isHeader: boolean; diff --git a/packages/jsts/src/rules/helpers/type.ts b/packages/jsts/src/rules/helpers/type.ts index d11403c6310..cd34f3bb4df 100644 --- a/packages/jsts/src/rules/helpers/type.ts +++ b/packages/jsts/src/rules/helpers/type.ts @@ -19,7 +19,7 @@ */ import estree from 'estree'; import ts from 'typescript'; -import { TSESLint, TSESTree } from '@typescript-eslint/utils'; +import type { TSESLint, TSESTree } from '@typescript-eslint/utils'; import { RequiredParserServices } from '../helpers/index.js'; import { getVariableFromScope } from './ast.js'; import type { Rule } from 'eslint'; diff --git a/packages/jsts/tests/parsers/ast.test.ts b/packages/jsts/tests/parsers/ast.test.ts index d16bed866da..47348f333dd 100644 --- a/packages/jsts/tests/parsers/ast.test.ts +++ b/packages/jsts/tests/parsers/ast.test.ts @@ -20,7 +20,7 @@ import path from 'path'; import { parsers, type ParseFunction } from '../../src/parsers/eslint.js'; -import { TSESTree } from '@typescript-eslint/utils'; +import type { TSESTree } from '@typescript-eslint/utils'; import { describe, test } from 'node:test'; import { expect } from 'expect'; import { readFile } from '../../../shared/src/helpers/files.js'; diff --git a/packages/jsts/tests/rules/typescript-eslint/sanitize.test.ts b/packages/jsts/tests/rules/typescript-eslint/sanitize.test.ts index 4e5c63a187e..8f8ad6e2f5c 100644 --- a/packages/jsts/tests/rules/typescript-eslint/sanitize.test.ts +++ b/packages/jsts/tests/rules/typescript-eslint/sanitize.test.ts @@ -19,7 +19,7 @@ */ import pkg from '@typescript-eslint/eslint-plugin'; import { Linter } from 'eslint'; -import { sanitize } from '../../../src/rules/typescript-eslint/sanitize.js'; +import { sanitize } from '../../../src/rules/external/typescript-eslint/sanitize.js'; import path from 'path'; import { parseTypeScriptSourceFile } from '../../tools/helpers/index.js'; import { describe, test } from 'node:test'; diff --git a/typings/eslint-plugin-jsx-a11y/index.d.ts b/typings/eslint-plugin-jsx-a11y/index.d.ts index 06ee447f1c3..7474b6c660b 100644 --- a/typings/eslint-plugin-jsx-a11y/index.d.ts +++ b/typings/eslint-plugin-jsx-a11y/index.d.ts @@ -2,32 +2,3 @@ declare module 'eslint-plugin-jsx-a11y' { import type { Rule } from 'eslint'; export const rules: { [name: string]: Rule.RuleModule }; } -declare module 'eslint-plugin-jsx-a11y/lib/util/getElementType.js' { - import { TSESTree } from '@typescript-eslint/utils'; - type ESLintSettings = { - [key: string]: mixed; - 'jsx-a11y'?: { - polymorphicPropName?: string; - components?: { [key: string]: string }; - }; - }; - - type ESLintContext = { - options: Array; - report: (ESLintReport) => void; - settings: ESLintSettings; - }; - - const getElementType = (context: ESLintContext): ((node: TSESTree.JSXOpeningElement) => string) => - boolean; - - export default getElementType; -} - -declare module 'eslint-plugin-jsx-a11y/lib/util/isHiddenFromScreenReader.js' { - const isHiddenFromScreenReader = ( - type: string, - attributes: (TSESTree.JSXAttribute | TSESTree.JSXSpreadAttribute)[], - ) => boolean; - export default isHiddenFromScreenReader; -} diff --git a/typings/jsx-ast-utils/index.d.ts b/typings/jsx-ast-utils/index.d.ts index 1be911488e0..3ffe7502ceb 100644 --- a/typings/jsx-ast-utils/index.d.ts +++ b/typings/jsx-ast-utils/index.d.ts @@ -1,10 +1,12 @@ declare module 'jsx-ast-utils' { - import { TSESTree } from '@typescript-eslint/utils'; + import type { TSESTree } from '@typescript-eslint/utils'; export const hasAnyProp: (any, any) => boolean; export const getProp: ( attributes: (JSXAttribute | JSXSpreadAttribute)[], prop: string, options?: any, ) => JSXAttribute | undefined; - export const getLiteralPropValue: (attributes: JSXAttribute) => unknown; + export const getPropValue: (attribute: JSXAttribute) => string | boolean | undefined; + export const getLiteralPropValue: (attributes: JSXAttribute) => string | boolean | undefined; + export const elementType: (node) => string; } From 4484d3dfd4c8b2e03cf1ffcc110c6bf1663a328a Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Tue, 26 Nov 2024 09:57:02 +0100 Subject: [PATCH 07/23] Use prettier to format markdown on generation --- .eslint-doc-generatorrc.cjs | 8 +- package-lock.json | 134 ++---- package.json | 2 +- packages/jsts/src/rules/README.md | 598 ++++++++++++-------------- packages/jsts/src/rules/S2201/rule.ts | 3 +- tools/generate-rule-indexes.ts | 13 +- tools/tsconfig.json | 1 + 7 files changed, 313 insertions(+), 446 deletions(-) diff --git a/.eslint-doc-generatorrc.cjs b/.eslint-doc-generatorrc.cjs index f3299f37a76..ddbf57badb7 100644 --- a/.eslint-doc-generatorrc.cjs +++ b/.eslint-doc-generatorrc.cjs @@ -1,11 +1,12 @@ const rules = require('./lib').rules; +const prettier = require('prettier'); +const { prettier: prettierOpts } = require('./package.json'); /** @type {import('eslint-doc-generator').GenerateOptions} */ const config = { urlRuleDoc(name) { return rules[name].meta.docs.url; }, - postprocess: content => content.replace('
', '<table>'), ignoreConfig: ['recommended-legacy'], pathRuleDoc(name) { return `docs/${name}.md`; @@ -20,6 +21,11 @@ const config = { 'requiresTypeChecking', 'deprecated', ], + postprocess: content => + prettier.format(content.replace('
', '<table>'), { + ...prettierOpts, + parser: 'markdown', + }), }; module.exports = config; diff --git a/package-lock.json b/package-lock.json index ba0b08221a2..78f75492fbc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ "htmlparser2": "9.1.0", "jsx-ast-utils": "3.3.5", "lodash.clone": "4.5.0", - "minimatch": "10.0.1", + "minimatch": "9.0.5", "module-alias": "2.2.3", "postcss": "8.4.47", "postcss-html": "0.36.0", @@ -3403,17 +3403,6 @@ } } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, "node_modules/@typescript-eslint/utils": { "version": "7.16.1", "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.16.1.tgz", @@ -7780,14 +7769,14 @@ } }, "node_modules/minimatch": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz", - "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", + "version": "9.0.5", + "resolved": "https://repox.jfrog.io/artifactory/api/npm/npm/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dependencies": { "brace-expansion": "^2.0.1" }, "engines": { - "node": "20 || >=22" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -7858,20 +7847,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/minizlib/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/minizlib/node_modules/rimraf": { "version": "5.0.10", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz", @@ -8193,22 +8168,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/one-double-zero/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/onetime": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", @@ -9309,6 +9268,21 @@ "node": "20 || >=22" } }, + "node_modules/rimraf/node_modules/minimatch": { + "version": "10.0.1", + "resolved": "https://repox.jfrog.io/artifactory/api/npm/npm/minimatch/-/minimatch-10.0.1.tgz", + "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/rimraf/node_modules/path-scurry": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", @@ -10793,21 +10767,6 @@ "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x" } }, - "node_modules/typedoc/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/typescript": { "version": "5.6.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", @@ -13519,16 +13478,6 @@ "minimatch": "^9.0.4", "semver": "^7.6.0", "ts-api-utils": "^1.3.0" - }, - "dependencies": { - "minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "requires": { - "brace-expansion": "^2.0.1" - } - } } }, "@typescript-eslint/utils": { @@ -16786,9 +16735,9 @@ "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==" }, "minimatch": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz", - "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", + "version": "9.0.5", + "resolved": "https://repox.jfrog.io/artifactory/api/npm/npm/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "requires": { "brace-expansion": "^2.0.1" } @@ -16842,14 +16791,6 @@ "path-scurry": "^1.11.1" } }, - "minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "requires": { - "brace-expansion": "^2.0.1" - } - }, "rimraf": { "version": "5.0.10", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz", @@ -17088,15 +17029,6 @@ "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" } - }, - "minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "requires": { - "brace-expansion": "^2.0.1" - } } } }, @@ -17899,6 +17831,15 @@ "integrity": "sha512-CgeuL5uom6j/ZVrg7G/+1IXqRY8JXX4Hghfy5YE0EhoYQWvndP1kufu58cmZLNIDKnRhZrXfdS9urVWx98AipQ==", "dev": true }, + "minimatch": { + "version": "10.0.1", + "resolved": "https://repox.jfrog.io/artifactory/api/npm/npm/minimatch/-/minimatch-10.0.1.tgz", + "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + }, "path-scurry": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", @@ -18926,17 +18867,6 @@ "minimatch": "^9.0.5", "shiki": "^1.16.2", "yaml": "^2.5.1" - }, - "dependencies": { - "minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "requires": { - "brace-expansion": "^2.0.1" - } - } } }, "typescript": { diff --git a/package.json b/package.json index b77d3173be6..2037269094b 100644 --- a/package.json +++ b/package.json @@ -122,7 +122,7 @@ "htmlparser2": "9.1.0", "jsx-ast-utils": "3.3.5", "lodash.clone": "4.5.0", - "minimatch": "10.0.1", + "minimatch": "9.0.5", "module-alias": "2.2.3", "postcss": "8.4.47", "postcss-html": "0.36.0", diff --git a/packages/jsts/src/rules/README.md b/packages/jsts/src/rules/README.md index 8ac37c98dc8..1c00fb0c472 100644 --- a/packages/jsts/src/rules/README.md +++ b/packages/jsts/src/rules/README.md @@ -79,335 +79,273 @@ If you are a [SonarQube](https://www.sonarqube.org) or [SonarCloud](https://sona 💭 Requires [type information](https://typescript-eslint.io/linting/typed-linting).\ ❌ Deprecated. -| Name                                    | Description | 💼 | 🔧 | 💡 | 💭 | ❌ | -| :------------------------------------------------------------------------------------------------------ | :----------------------------------------------------------------------------------------------------------------------------- | :-- | :-- | :-- | :-- | :-- | -| [accessor-pairs](https://sonarsource.github.io/rspec/#/rspec/S2376/javascript) | Property getters and setters should come in pairs | | | | | | -| [alt-text](https://sonarsource.github.io/rspec/#/rspec/S1077/javascript) | Image, area, button with image and object elements should have an alternative text | ✅ | | | | | -| [anchor-has-content](https://sonarsource.github.io/rspec/#/rspec/S6827/javascript) | Anchors should contain accessible content | ✅ | | 💡 | | | -| [anchor-is-valid](https://sonarsource.github.io/rspec/#/rspec/S6844/javascript) | Anchor tags should not be used as buttons | ✅ | | | | | -| [anchor-precedence](https://sonarsource.github.io/rspec/#/rspec/S5850/javascript) | Alternatives in regular expressions should be grouped when used with anchors | ✅ | | | 💭 | | -| [argument-type](https://sonarsource.github.io/rspec/#/rspec/S3782/javascript) | Arguments to built-in functions should match documented types | ✅ | | | 💭 | | -| [arguments-order](https://sonarsource.github.io/rspec/#/rspec/S2234/javascript) | Parameters should be passed in the correct order | ✅ | | | 💭 | | -| [arguments-usage](https://sonarsource.github.io/rspec/#/rspec/S3513/javascript) | "arguments" should not be accessed directly | | | | | | -| [array-callback-without-return](https://sonarsource.github.io/rspec/#/rspec/S3796/javascript) | Callbacks of array methods should have return statements | ✅ | | | 💭 | | -| [array-constructor](https://sonarsource.github.io/rspec/#/rspec/S1528/javascript) | Array constructors should not be used | | | 💡 | | | -| [arrow-function-convention](https://sonarsource.github.io/rspec/#/rspec/S3524/javascript) | Braces and parentheses should be used consistently with arrow functions | | | | | | -| [assertions-in-tests](https://sonarsource.github.io/rspec/#/rspec/S2699/javascript) | Tests should include assertions | ✅ | | | | | -| [aws-apigateway-public-api](https://sonarsource.github.io/rspec/#/rspec/S6333/javascript) | Creating public APIs is security-sensitive | ✅ | | | | | -| [aws-ec2-rds-dms-public](https://sonarsource.github.io/rspec/#/rspec/S6329/javascript) | Allowing public network access to cloud resources is security-sensitive | ✅ | | | | | -| [aws-ec2-unencrypted-ebs-volume](https://sonarsource.github.io/rspec/#/rspec/S6275/javascript) | Using unencrypted EBS volumes is security-sensitive | ✅ | | | | | -| [aws-efs-unencrypted](https://sonarsource.github.io/rspec/#/rspec/S6332/javascript) | Using unencrypted EFS file systems is security-sensitive | ✅ | | | | | -| [aws-iam-all-privileges](https://sonarsource.github.io/rspec/#/rspec/S6302/javascript) | Policies granting all privileges are security-sensitive | ✅ | | | | | -| [aws-iam-all-resources-accessible](https://sonarsource.github.io/rspec/#/rspec/S6304/javascript) | Policies granting access to all resources of an account are security-sensitive | | | | | | -| [aws-iam-privilege-escalation](https://sonarsource.github.io/rspec/#/rspec/S6317/javascript) | AWS IAM policies should limit the scope of permissions given | ✅ | | | | | -| [aws-iam-public-access](https://sonarsource.github.io/rspec/#/rspec/S6270/javascript) | Policies authorizing public access to resources are security-sensitive | ✅ | | | | | -| [aws-opensearchservice-domain](https://sonarsource.github.io/rspec/#/rspec/S6308/javascript) | Using unencrypted Elasticsearch domains is security-sensitive | ✅ | | | | | -| [aws-rds-unencrypted-databases](https://sonarsource.github.io/rspec/#/rspec/S6303/javascript) | Using unencrypted RDS DB resources is security-sensitive | ✅ | | | | | -| [aws-restricted-ip-admin-access](https://sonarsource.github.io/rspec/#/rspec/S6321/javascript) | Administration services access should be restricted to specific IP addresses | ✅ | | | | | -| [aws-s3-bucket-granted-access](https://sonarsource.github.io/rspec/#/rspec/S6265/javascript) | Granting access to S3 buckets to all or authenticated users is security-sensitive | ✅ | | | | | -| [aws-s3-bucket-insecure-http](https://sonarsource.github.io/rspec/#/rspec/S6249/javascript) | Authorizing HTTP communications with S3 buckets is security-sensitive | ✅ | | | | | -| [aws-s3-bucket-public-access](https://sonarsource.github.io/rspec/#/rspec/S6281/javascript) | Allowing public ACLs or policies on a S3 bucket is security-sensitive | ✅ | | | | | -| [aws-s3-bucket-server-encryption](https://sonarsource.github.io/rspec/#/rspec/S6245/javascript) | Disabling server-side encryption of S3 buckets is security-sensitive | | | | | ❌ | -| [aws-s3-bucket-versioning](https://sonarsource.github.io/rspec/#/rspec/S6252/javascript) | Disabling versioning of S3 buckets is security-sensitive | ✅ | | | | | -| [aws-sagemaker-unencrypted-notebook](https://sonarsource.github.io/rspec/#/rspec/S6319/javascript) | Using unencrypted SageMaker notebook instances is security-sensitive | ✅ | | | | | -| [aws-sns-unencrypted-topics](https://sonarsource.github.io/rspec/#/rspec/S6327/javascript) | Using unencrypted SNS topics is security-sensitive | ✅ | | | | | -| [aws-sqs-unencrypted-queue](https://sonarsource.github.io/rspec/#/rspec/S6330/javascript) | Using unencrypted SQS queues is security-sensitive | ✅ | | | | | -| [bitwise-operators](https://sonarsource.github.io/rspec/#/rspec/S1529/javascript) | Bitwise operators should not be used in boolean contexts | ✅ | | | | | -| [bool-param-default](https://sonarsource.github.io/rspec/#/rspec/S4798/javascript) | Optional boolean parameters should have default value | | | | | | -| [brace-style](https://sonarsource.github.io/rspec/#/rspec/S1105/javascript) | An open curly brace should be located at the end of a line | | 🔧 | | | ❌ | -| [call-argument-line](https://sonarsource.github.io/rspec/#/rspec/S1472/javascript) | Function call arguments should not start on new lines | ✅ | | | | | -| [certificate-transparency](https://sonarsource.github.io/rspec/#/rspec/S5742/javascript) | Disabling Certificate Transparency monitoring is security-sensitive | ✅ | | | | | -| [chai-determinate-assertion](https://sonarsource.github.io/rspec/#/rspec/S6092/javascript) | Chai assertions should have only one reason to succeed | ✅ | | | | | -| [class-name](https://sonarsource.github.io/rspec/#/rspec/S101/javascript) | Class names should comply with a naming convention | ✅ | | | | | -| [class-prototype](https://sonarsource.github.io/rspec/#/rspec/S3525/javascript) | Class methods should be used instead of "prototype" assignments | | | | 💭 | | -| [code-eval](https://sonarsource.github.io/rspec/#/rspec/S1523/javascript) | Dynamically executing code is security-sensitive | ✅ | | | | | -| [cognitive-complexity](https://sonarsource.github.io/rspec/#/rspec/S3776/javascript) | Cognitive Complexity of functions should not be too high | ✅ | | | | | -| [comma-or-logical-or-case](https://sonarsource.github.io/rspec/#/rspec/S3616/javascript) | Comma and logical OR operators should not be used in switch cases | ✅ | | | | | -| [comment-regex](https://sonarsource.github.io/rspec/#/rspec/S124/javascript) | Track comments matching a regular expression | | | | | | -| [concise-regex](https://sonarsource.github.io/rspec/#/rspec/S6353/javascript) | Regular expression quantifiers and character classes should be used concisely | ✅ | | | 💭 | | -| [conditional-indentation](https://sonarsource.github.io/rspec/#/rspec/S3973/javascript) | A conditionally executed single line should be denoted by indentation | | | | | ❌ | -| [confidential-information-logging](https://sonarsource.github.io/rspec/#/rspec/S5757/javascript) | Allowing confidential information to be logged is security-sensitive | ✅ | | | | | -| [constructor-for-side-effects](https://sonarsource.github.io/rspec/#/rspec/S1848/javascript) | Objects should not be created to be dropped immediately without being used | ✅ | | | | | -| [content-length](https://sonarsource.github.io/rspec/#/rspec/S5693/javascript) | Allowing requests with excessive content length is security-sensitive | ✅ | | | | | -| [content-security-policy](https://sonarsource.github.io/rspec/#/rspec/S5728/javascript) | Disabling content security policy fetch directives is security-sensitive | ✅ | | | | | -| [cookie-no-httponly](https://sonarsource.github.io/rspec/#/rspec/S3330/javascript) | Creating cookies without the "HttpOnly" flag is security-sensitive | ✅ | | | | | -| [cookies](https://sonarsource.github.io/rspec/#/rspec/S2255/javascript) | Writing cookies is security-sensitive | | | | | ❌ | -| [cors](https://sonarsource.github.io/rspec/#/rspec/S5122/javascript) | Having a permissive Cross-Origin Resource Sharing policy is security-sensitive | ✅ | | | | | -| [csrf](https://sonarsource.github.io/rspec/#/rspec/S4502/javascript) | Disabling CSRF protections is security-sensitive | ✅ | | | | | -| [cyclomatic-complexity](https://sonarsource.github.io/rspec/#/rspec/S1541/javascript) | Cyclomatic Complexity of functions should not be too high | | | | | | -| [declarations-in-global-scope](https://sonarsource.github.io/rspec/#/rspec/S3798/javascript) | Variables and functions should not be declared in the global scope | | | | | | -| [default-param-last](https://sonarsource.github.io/rspec/#/rspec/S1788/javascript) | Function parameters with default values should be last | ✅ | | | | | -| [deprecation](https://sonarsource.github.io/rspec/#/rspec/S1874/javascript) | Deprecated APIs should not be used | ✅ | | | 💭 | | -| [destructuring-assignment-syntax](https://sonarsource.github.io/rspec/#/rspec/S3514/javascript) | Destructuring syntax should be used for assignments | | | | | | -| [different-types-comparison](https://sonarsource.github.io/rspec/#/rspec/S3403/javascript) | Strict equality operators should not be used with dissimilar types | ✅ | | 💡 | 💭 | | -| [disabled-auto-escaping](https://sonarsource.github.io/rspec/#/rspec/S5247/javascript) | Disabling auto-escaping in template engines is security-sensitive | ✅ | | | 💭 | | -| [disabled-resource-integrity](https://sonarsource.github.io/rspec/#/rspec/S5725/javascript) | Using remote artifacts without integrity checks is security-sensitive | ✅ | | | 💭 | | -| [disabled-timeout](https://sonarsource.github.io/rspec/#/rspec/S6080/javascript) | Disabling Mocha timeouts should be explicit | ✅ | | | | | -| [dns-prefetching](https://sonarsource.github.io/rspec/#/rspec/S5743/javascript) | Allowing browsers to perform DNS prefetching is security-sensitive | | | | | ❌ | -| [duplicates-in-character-class](https://sonarsource.github.io/rspec/#/rspec/S5869/javascript) | Character classes in regular expressions should not contain the same character twice | ✅ | | | 💭 | | -| [elseif-without-else](https://sonarsource.github.io/rspec/#/rspec/S126/javascript) | "if ... else if" constructs should end with "else" clauses | | | | | | -| [empty-string-repetition](https://sonarsource.github.io/rspec/#/rspec/S5842/javascript) | Repeated patterns in regular expressions should not match the empty string | ✅ | | | 💭 | | -| [encryption](https://sonarsource.github.io/rspec/#/rspec/S4787/javascript) | Encrypting data is security-sensitive | | | | | ❌ | -| [encryption-secure-mode](https://sonarsource.github.io/rspec/#/rspec/S5542/javascript) | Encryption algorithms should be used with secure mode and padding scheme | ✅ | | | | | -| [enforce-trailing-comma](https://sonarsource.github.io/rspec/#/rspec/S3723/javascript) | Trailing commas should be used | | 🔧 | | | ❌ | -| [existing-groups](https://sonarsource.github.io/rspec/#/rspec/S6328/javascript) | Replacement strings should reference existing regular expression groups | ✅ | | | 💭 | | -| [expression-complexity](https://sonarsource.github.io/rspec/#/rspec/S1067/javascript) | Expressions should not be too complex | | | | | | -| [file-header](https://sonarsource.github.io/rspec/#/rspec/S1451/javascript) | Track lack of copyright and license headers | | | | | | -| [file-name-differ-from-class](https://sonarsource.github.io/rspec/#/rspec/S3317/javascript) | Default export names and file names should match | | | | | | -| [file-permissions](https://sonarsource.github.io/rspec/#/rspec/S2612/javascript) | Setting loose POSIX file permissions is security-sensitive | ✅ | | | | | -| [file-uploads](https://sonarsource.github.io/rspec/#/rspec/S2598/javascript) | File uploads should be restricted | ✅ | | | | | -| [fixme-tag](https://sonarsource.github.io/rspec/#/rspec/S1134/javascript) | Track uses of "FIXME" tags | ✅ | | | | | -| [for-in](https://sonarsource.github.io/rspec/#/rspec/S1535/javascript) | "for...in" loops should filter properties before acting on them | | | | | | -| [for-loop-increment-sign](https://sonarsource.github.io/rspec/#/rspec/S2251/javascript) | A "for" loop update clause should move the counter in the right direction | ✅ | | | | | -| [frame-ancestors](https://sonarsource.github.io/rspec/#/rspec/S5732/javascript) | Disabling content security policy frame-ancestors directive is security-sensitive | ✅ | | | | | -| [function-inside-loop](https://sonarsource.github.io/rspec/#/rspec/S1515/javascript) | Functions should not be defined inside loops | ✅ | | | | | -| [function-name](https://sonarsource.github.io/rspec/#/rspec/S100/javascript) | Function and method names should comply with a naming convention | | | | | | -| [function-return-type](https://sonarsource.github.io/rspec/#/rspec/S3800/javascript) | Functions should always return the same type | ✅ | | | 💭 | | -| [future-reserved-words](https://sonarsource.github.io/rspec/#/rspec/S1527/javascript) | Future reserved words should not be used as identifiers | ✅ | | | | | -| [generator-without-yield](https://sonarsource.github.io/rspec/#/rspec/S3531/javascript) | Generators should explicitly "yield" a value | ✅ | | | | | -| [hashing](https://sonarsource.github.io/rspec/#/rspec/S4790/javascript) | Using weak hashing algorithms is security-sensitive | ✅ | | | | | -| [hidden-files](https://sonarsource.github.io/rspec/#/rspec/S5691/javascript) | Statically serving hidden files is security-sensitive | ✅ | | | | | -| [hook-use-state](https://sonarsource.github.io/rspec/#/rspec/S6754/javascript) | The return value of "useState" should be destructured and named symmetrically | ✅ | | 💡 | | | -| [html-has-lang](https://sonarsource.github.io/rspec/#/rspec/S5254/javascript) | HTML elements should have a valid language attribute | ✅ | | 💡 | | | -| [in-operator-type-error](https://sonarsource.github.io/rspec/#/rspec/S3785/javascript) | "in" should not be used with primitive types | ✅ | | | 💭 | | -| [inconsistent-function-call](https://sonarsource.github.io/rspec/#/rspec/S3686/javascript) | Functions should be called consistently with or without "new" | ✅ | | | | | -| [index-of-compare-to-positive-number](https://sonarsource.github.io/rspec/#/rspec/S2692/javascript) | "indexOf" checks should not be for positive numbers | ✅ | | | 💭 | | -| [insecure-cookie](https://sonarsource.github.io/rspec/#/rspec/S2092/javascript) | Creating cookies without the "secure" flag is security-sensitive | ✅ | | | | | -| [insecure-jwt-token](https://sonarsource.github.io/rspec/#/rspec/S5659/javascript) | JWT should be signed and verified with strong cipher algorithms | ✅ | | | | | -| [inverted-assertion-arguments](https://sonarsource.github.io/rspec/#/rspec/S3415/javascript) | Assertion arguments should be passed in the correct order | ✅ | | 💡 | | | -| [jsx-key](https://sonarsource.github.io/rspec/#/rspec/S6477/javascript) | JSX list components should have a key property | ✅ | | | | | -| [jsx-no-constructed-context-values](https://sonarsource.github.io/rspec/#/rspec/S6481/javascript) | React Context Provider values should have stable identities | ✅ | | | | | -| [jsx-no-useless-fragment](https://sonarsource.github.io/rspec/#/rspec/S6749/javascript) | Redundant React fragments should be removed | ✅ | 🔧 | 💡 | | | -| [label-has-associated-control](https://sonarsource.github.io/rspec/#/rspec/S6853/javascript) | Label elements should have a text label and an associated control | ✅ | | | | | -| [label-position](https://sonarsource.github.io/rspec/#/rspec/S1439/javascript) | Only "while", "do", "for" and "switch" statements should be labelled | ✅ | | | | | -| [link-with-target-blank](https://sonarsource.github.io/rspec/#/rspec/S5148/javascript) | Authorizing an opened window to access back to the originating window is security-sensitive | ✅ | | | | | -| [max-switch-cases](https://sonarsource.github.io/rspec/#/rspec/S1479/javascript) | "switch" statements should not have too many "case" clauses | ✅ | | | | | -| [max-union-size](https://sonarsource.github.io/rspec/#/rspec/S4622/javascript) | Union types should not have too many elements | | | | | | -| [media-has-caption](https://sonarsource.github.io/rspec/#/rspec/S4084/javascript) | Media elements should have captions | ✅ | | | | | -| [misplaced-loop-counter](https://sonarsource.github.io/rspec/#/rspec/S1994/javascript) | "for" loop increment clauses should modify the loops' counters | ✅ | | | | | -| [mouse-events-a11y](https://sonarsource.github.io/rspec/#/rspec/S1082/javascript) | Mouse events should have corresponding keyboard events | ✅ | | 💡 | | | -| [nested-control-flow](https://sonarsource.github.io/rspec/#/rspec/S134/javascript) | Control flow statements "if", "for", "while", "switch" and "try" should not be nested too deeply | | | | | | -| [new-cap](https://sonarsource.github.io/rspec/#/rspec/S2430/javascript) | Constructor names should start with an upper case letter | ✅ | | | | | -| [new-operator-misuse](https://sonarsource.github.io/rspec/#/rspec/S2999/javascript) | "new" should only be used with functions and classes | ✅ | | | 💭 | | -| [no-accessor-field-mismatch](https://sonarsource.github.io/rspec/#/rspec/S4275/javascript) | Getters and setters should access the expected fields | ✅ | | | | | -| [no-all-duplicated-branches](https://sonarsource.github.io/rspec/#/rspec/S3923/javascript) | All branches in a conditional structure should not have exactly the same implementation | ✅ | | | | | -| [no-alphabetical-sort](https://sonarsource.github.io/rspec/#/rspec/S2871/javascript) | "Array.prototype.sort()" and "Array.prototype.toSorted()" should use a compare function | ✅ | | 💡 | 💭 | | -| [no-angular-bypass-sanitization](https://sonarsource.github.io/rspec/#/rspec/S6268/javascript) | Disabling Angular built-in sanitization is security-sensitive | ✅ | | | | | -| [no-array-delete](https://sonarsource.github.io/rspec/#/rspec/S2870/javascript) | "delete" should not be used on arrays | ✅ | | | 💭 | | -| [no-array-index-key](https://sonarsource.github.io/rspec/#/rspec/S6479/javascript) | JSX list components should not use array indexes as key | ✅ | | | | | -| [no-associative-arrays](https://sonarsource.github.io/rspec/#/rspec/S3579/javascript) | Array indexes should be numeric | ✅ | | | 💭 | | -| [no-async-constructor](https://sonarsource.github.io/rspec/#/rspec/S7059/javascript) | Constructors should not contain asynchronous operations | ✅ | | | | | -| [no-base-to-string](https://sonarsource.github.io/rspec/#/rspec/S6551/javascript) | Objects and classes converted or coerced to strings should define a "toString()" method | ✅ | | | 💭 | | -| [no-built-in-override](https://sonarsource.github.io/rspec/#/rspec/S2424/javascript) | Built-in objects should not be overridden | | | | | | -| [no-case-label-in-switch](https://sonarsource.github.io/rspec/#/rspec/S1219/javascript) | "switch" statements should not contain non-case labels | ✅ | | | | | -| [no-clear-text-protocols](https://sonarsource.github.io/rspec/#/rspec/S5332/javascript) | Using clear-text protocols is security-sensitive | ✅ | | | | | -| [no-code-after-done](https://sonarsource.github.io/rspec/#/rspec/S6079/javascript) | Tests should not execute any code after "done()" is called | ✅ | | | | | -| [no-collapsible-if](https://sonarsource.github.io/rspec/#/rspec/S1066/javascript) | Mergeable "if" statements should be combined | | | | | | -| [no-collection-size-mischeck](https://sonarsource.github.io/rspec/#/rspec/S3981/javascript) | Collection size and array length comparisons should make sense | ✅ | | 💡 | 💭 | | -| [no-commented-code](https://sonarsource.github.io/rspec/#/rspec/S125/javascript) | Sections of code should not be commented out | ✅ | | 💡 | | | -| [no-dead-store](https://sonarsource.github.io/rspec/#/rspec/S1854/javascript) | Unused assignments should be removed | ✅ | | | | | -| [no-delete-var](https://sonarsource.github.io/rspec/#/rspec/S3001/javascript) | "delete" should be used only with object properties | ✅ | | | | | -| [no-deprecated-react](https://sonarsource.github.io/rspec/#/rspec/S6957/javascript) | Deprecated React APIs should not be used | ✅ | | | | | -| [no-duplicate-in-composite](https://sonarsource.github.io/rspec/#/rspec/S4621/javascript) | Union and intersection types should not include duplicated constituents | ✅ | | 💡 | | | -| [no-duplicate-string](https://sonarsource.github.io/rspec/#/rspec/S1192/javascript) | String literals should not be duplicated | | | | | | -| [no-duplicated-branches](https://sonarsource.github.io/rspec/#/rspec/S1871/javascript) | Two branches in a conditional structure should not have exactly the same implementation | ✅ | | | | | -| [no-element-overwrite](https://sonarsource.github.io/rspec/#/rspec/S4143/javascript) | Collection elements should not be replaced unconditionally | ✅ | | | | | -| [no-empty-after-reluctant](https://sonarsource.github.io/rspec/#/rspec/S6019/javascript) | Reluctant quantifiers in regular expressions should be followed by an expression that can't match the empty string | ✅ | | | 💭 | | -| [no-empty-alternatives](https://sonarsource.github.io/rspec/#/rspec/S6323/javascript) | Alternation in regular expressions should not contain empty alternatives | ✅ | | | 💭 | | -| [no-empty-collection](https://sonarsource.github.io/rspec/#/rspec/S4158/javascript) | Empty collections should not be accessed or iterated | ✅ | | | | | -| [no-empty-function](https://sonarsource.github.io/rspec/#/rspec/S1186/javascript) | Functions should not be empty | ✅ | | 💡 | | | -| [no-empty-group](https://sonarsource.github.io/rspec/#/rspec/S6331/javascript) | Regular expressions should not contain empty groups | ✅ | | | 💭 | | -| [no-empty-interface](https://sonarsource.github.io/rspec/#/rspec/S4023/javascript) | Interfaces should not be empty | | 🔧 | 💡 | | | -| [no-empty-test-file](https://sonarsource.github.io/rspec/#/rspec/S2187/javascript) | Test files should contain at least one test case | ✅ | | | | | -| [no-equals-in-for-termination](https://sonarsource.github.io/rspec/#/rspec/S888/javascript) | Equality operators should not be used in "for" loop termination conditions | ✅ | | | | | -| [no-exclusive-tests](https://sonarsource.github.io/rspec/#/rspec/S6426/javascript) | Exclusive tests should not be commited to version control | ✅ | | 💡 | | | -| [no-extend-native](https://sonarsource.github.io/rspec/#/rspec/S6643/javascript) | Prototypes of builtin objects should not be modified | ✅ | | | | | -| [no-extra-arguments](https://sonarsource.github.io/rspec/#/rspec/S930/javascript) | Function calls should not pass extra arguments | ✅ | | | | | -| [no-extra-semi](https://sonarsource.github.io/rspec/#/rspec/S1116/javascript) | Extra semicolons should be removed | | 🔧 | | | ❌ | -| [no-find-dom-node](https://sonarsource.github.io/rspec/#/rspec/S6788/javascript) | React's "findDOMNode" should not be used | ✅ | | | | | -| [no-for-in-iterable](https://sonarsource.github.io/rspec/#/rspec/S4139/javascript) | "for in" should not be used with iterables | | | | 💭 | | -| [no-function-declaration-in-block](https://sonarsource.github.io/rspec/#/rspec/S1530/javascript) | Function declarations should not be made within blocks | | | | | | -| [no-global-this](https://sonarsource.github.io/rspec/#/rspec/S2990/javascript) | The global "this" object should not be used | ✅ | | 💡 | | | -| [no-globals-shadowing](https://sonarsource.github.io/rspec/#/rspec/S2137/javascript) | Special identifiers should not be bound or assigned | ✅ | | | | | -| [no-gratuitous-expressions](https://sonarsource.github.io/rspec/#/rspec/S2589/javascript) | Boolean expressions should not be gratuitous | ✅ | | | | | -| [no-hardcoded-credentials](https://sonarsource.github.io/rspec/#/rspec/S2068/javascript) | Hard-coded credentials are security-sensitive | ✅ | | | | | -| [no-hardcoded-ip](https://sonarsource.github.io/rspec/#/rspec/S1313/javascript) | Using hardcoded IP addresses is security-sensitive | ✅ | | | | | -| [no-hook-setter-in-body](https://sonarsource.github.io/rspec/#/rspec/S6442/javascript) | React's useState hook should not be used directly in the render function or body of a component | ✅ | | | | | -| [no-identical-conditions](https://sonarsource.github.io/rspec/#/rspec/S1862/javascript) | "if/else if" chains and "switch" cases should not have the same condition | ✅ | | | | | -| [no-identical-expressions](https://sonarsource.github.io/rspec/#/rspec/S1764/javascript) | Identical expressions should not be used on both sides of a binary operator | ✅ | | | | | -| [no-identical-functions](https://sonarsource.github.io/rspec/#/rspec/S4144/javascript) | Functions should not have identical implementations | ✅ | | | | | -| [no-ignored-exceptions](https://sonarsource.github.io/rspec/#/rspec/S2486/javascript) | Exceptions should not be ignored | ✅ | | | | | -| [no-ignored-return](https://sonarsource.github.io/rspec/#/rspec/S2201/javascript) | Return values from functions without side effects should not be ignored | ✅ | | | 💭 | | -| [no-implicit-dependencies](https://sonarsource.github.io/rspec/#/rspec/S4328/javascript) | Dependencies should be explicit | | | | | | -| [no-implicit-global](https://sonarsource.github.io/rspec/#/rspec/S2703/javascript) | Variables should be declared explicitly | ✅ | | | | | -| [no-in-misuse](https://sonarsource.github.io/rspec/#/rspec/S4619/javascript) | "in" should not be used on arrays | ✅ | | 💡 | 💭 | | -| [no-incomplete-assertions](https://sonarsource.github.io/rspec/#/rspec/S2970/javascript) | Assertions should be complete | ✅ | | | | | -| [no-inconsistent-returns](https://sonarsource.github.io/rspec/#/rspec/S3801/javascript) | Functions should use "return" consistently | | | | | | -| [no-incorrect-string-concat](https://sonarsource.github.io/rspec/#/rspec/S3402/javascript) | Strings and non-strings should not be added | | | | 💭 | | -| [no-infinite-loop](https://sonarsource.github.io/rspec/#/rspec/S2189/javascript) | Loops should not be infinite | ✅ | | | | | -| [no-internal-api-use](https://sonarsource.github.io/rspec/#/rspec/S6627/javascript) | Users should not use internal APIs | ✅ | | | | | -| [no-intrusive-permissions](https://sonarsource.github.io/rspec/#/rspec/S5604/javascript) | Using intrusive permissions is security-sensitive | ✅ | | | | | -| [no-invalid-await](https://sonarsource.github.io/rspec/#/rspec/S4123/javascript) | "await" should only be used with promises | ✅ | | | 💭 | | -| [no-invariant-returns](https://sonarsource.github.io/rspec/#/rspec/S3516/javascript) | Function returns should not be invariant | ✅ | | | | | -| [no-inverted-boolean-check](https://sonarsource.github.io/rspec/#/rspec/S1940/javascript) | Boolean checks should not be inverted | ✅ | 🔧 | 💡 | | | -| [no-ip-forward](https://sonarsource.github.io/rspec/#/rspec/S5759/javascript) | Forwarding client IP address is security-sensitive | ✅ | | | | | -| [no-labels](https://sonarsource.github.io/rspec/#/rspec/S1119/javascript) | Labels should not be used | ✅ | | | | | -| [no-literal-call](https://sonarsource.github.io/rspec/#/rspec/S6958/javascript) | Literals should not be used as functions | ✅ | | | | | -| [no-lonely-if](https://sonarsource.github.io/rspec/#/rspec/S6660/javascript) | If statements should not be the only statement in else blocks | ✅ | 🔧 | | | | -| [no-mime-sniff](https://sonarsource.github.io/rspec/#/rspec/S5734/javascript) | Allowing browsers to sniff MIME types is security-sensitive | ✅ | | | | | -| [no-misleading-array-reverse](https://sonarsource.github.io/rspec/#/rspec/S4043/javascript) | Array-mutating methods should not be used misleadingly | ✅ | | 💡 | 💭 | | -| [no-misused-promises](https://sonarsource.github.io/rspec/#/rspec/S6544/javascript) | Promises should not be misused | ✅ | | 💡 | 💭 | | -| [no-mixed-content](https://sonarsource.github.io/rspec/#/rspec/S5730/javascript) | Allowing mixed-content is security-sensitive | ✅ | | | | | -| [no-nested-assignment](https://sonarsource.github.io/rspec/#/rspec/S1121/javascript) | Assignments should not be made from within sub-expressions | ✅ | | | | | -| [no-nested-conditional](https://sonarsource.github.io/rspec/#/rspec/S3358/javascript) | Ternary operators should not be nested | ✅ | | | | | -| [no-nested-functions](https://sonarsource.github.io/rspec/#/rspec/S2004/javascript) | Functions should not be nested too deeply | ✅ | | | | | -| [no-nested-incdec](https://sonarsource.github.io/rspec/#/rspec/S881/javascript) | Increment (++) and decrement (--) operators should not be used in a method call or mixed with other operators in an expression | | | | | | -| [no-nested-switch](https://sonarsource.github.io/rspec/#/rspec/S1821/javascript) | "switch" statements should not be nested | | | | | | -| [no-nested-template-literals](https://sonarsource.github.io/rspec/#/rspec/S4624/javascript) | Template literals should not be nested | ✅ | | | | | -| [no-one-iteration-loop](https://sonarsource.github.io/rspec/#/rspec/S1751/javascript) | Loops with at most one iteration should be refactored | ✅ | | | | | -| [no-os-command-from-path](https://sonarsource.github.io/rspec/#/rspec/S4036/javascript) | Searching OS commands in PATH is security-sensitive | ✅ | | | | | -| [no-parameter-reassignment](https://sonarsource.github.io/rspec/#/rspec/S1226/javascript) | Initial values of parameters, caught exceptions, and loop variables should not be ignored | ✅ | | | | | -| [no-primitive-wrappers](https://sonarsource.github.io/rspec/#/rspec/S1533/javascript) | Wrapper objects should not be used for primitive types | ✅ | | 💡 | | | -| [no-redeclare](https://sonarsource.github.io/rspec/#/rspec/S2814/javascript) | Variables and functions should not be redeclared | ✅ | | | | | -| [no-redundant-assignments](https://sonarsource.github.io/rspec/#/rspec/S4165/javascript) | Assignments should not be redundant | ✅ | | | | | -| [no-redundant-boolean](https://sonarsource.github.io/rspec/#/rspec/S1125/javascript) | Boolean literals should not be used in comparisons | ✅ | | | | | -| [no-redundant-jump](https://sonarsource.github.io/rspec/#/rspec/S3626/javascript) | Jump statements should not be redundant | ✅ | | 💡 | | | -| [no-redundant-optional](https://sonarsource.github.io/rspec/#/rspec/S4782/javascript) | Optional property declarations should not use both '?' and 'undefined' syntax | ✅ | | 💡 | 💭 | | -| [no-redundant-parentheses](https://sonarsource.github.io/rspec/#/rspec/S1110/javascript) | Redundant pairs of parentheses should be removed | | | 💡 | | ❌ | -| [no-redundant-type-constituents](https://sonarsource.github.io/rspec/#/rspec/S6571/javascript) | Type constituents of unions and intersections should not be redundant | ✅ | | | 💭 | | -| [no-reference-error](https://sonarsource.github.io/rspec/#/rspec/S3827/javascript) | Variables should be defined before being used | | | | | | -| [no-referrer-policy](https://sonarsource.github.io/rspec/#/rspec/S5736/javascript) | Disabling strict HTTP no-referrer policy is security-sensitive | ✅ | | | | | -| [no-require-or-define](https://sonarsource.github.io/rspec/#/rspec/S3533/javascript) | "import" should be used to include external code | | | | 💭 | | -| [no-return-type-any](https://sonarsource.github.io/rspec/#/rspec/S4324/javascript) | Primitive return types should be used | | | | 💭 | | -| [no-same-argument-assert](https://sonarsource.github.io/rspec/#/rspec/S5863/javascript) | Assertions should not be given twice the same argument | ✅ | | | | | -| [no-same-line-conditional](https://sonarsource.github.io/rspec/#/rspec/S3972/javascript) | Conditionals should start on new lines | ✅ | | 💡 | | | -| [no-selector-parameter](https://sonarsource.github.io/rspec/#/rspec/S2301/javascript) | Methods should not contain selector parameters | ✅ | | | 💭 | | -| [no-self-compare](https://sonarsource.github.io/rspec/#/rspec/S6679/javascript) | "Number.isNaN()" should be used to check for "NaN" value | ✅ | | 💡 | | | -| [no-self-import](https://sonarsource.github.io/rspec/#/rspec/S7060/javascript) | Module should not import itself | ✅ | | 💡 | | | -| [no-skipped-test](https://sonarsource.github.io/rspec/#/rspec/S1607/javascript) | Tests should not be skipped without providing a reason | ✅ | | | | | -| [no-small-switch](https://sonarsource.github.io/rspec/#/rspec/S1301/javascript) | "if" statements should be preferred over "switch" when simpler | ✅ | | | | | -| [no-tab](https://sonarsource.github.io/rspec/#/rspec/S105/javascript) | Tabulation characters should not be used | | | | | ❌ | -| [no-table-as-layout](https://sonarsource.github.io/rspec/#/rspec/S5257/javascript) | HTML "<table>" should not be used for layout purposes | ✅ | | | | | -| [no-this-alias](https://sonarsource.github.io/rspec/#/rspec/S4327/javascript) | "this" should not be assigned to variables | | | | | | -| [no-throw-literal](https://sonarsource.github.io/rspec/#/rspec/S3696/javascript) | Literals should not be thrown | ✅ | | 💡 | 💭 | | -| [no-try-promise](https://sonarsource.github.io/rspec/#/rspec/S4822/javascript) | Promise rejections should not be caught by "try" blocks | ✅ | | | 💭 | | -| [no-undefined-argument](https://sonarsource.github.io/rspec/#/rspec/S4623/javascript) | "undefined" should not be passed as the value of optional parameters | ✅ | | 💡 | 💭 | | -| [no-undefined-assignment](https://sonarsource.github.io/rspec/#/rspec/S2138/javascript) | "undefined" should not be assigned | | | | | | -| [no-unenclosed-multiline-block](https://sonarsource.github.io/rspec/#/rspec/S2681/javascript) | Multiline blocks should be enclosed in curly braces | ✅ | | | | | -| [no-uniq-key](https://sonarsource.github.io/rspec/#/rspec/S6486/javascript) | JSX list components keys should match up between renders | ✅ | | | | | -| [no-unknown-property](https://sonarsource.github.io/rspec/#/rspec/S6747/javascript) | JSX elements should not use unknown properties and attributes | ✅ | | 💡 | | | -| [no-unreachable](https://sonarsource.github.io/rspec/#/rspec/S1763/javascript) | All code should be reachable | ✅ | | 💡 | | | -| [no-unsafe](https://sonarsource.github.io/rspec/#/rspec/S6791/javascript) | React legacy lifecycle methods should not be used | ✅ | | | | | -| [no-unsafe-unzip](https://sonarsource.github.io/rspec/#/rspec/S5042/javascript) | Expanding archive files without controlling resource consumption is security-sensitive | ✅ | | | | | -| [no-unstable-nested-components](https://sonarsource.github.io/rspec/#/rspec/S6478/javascript) | React components should not be nested | ✅ | | | | | -| [no-unthrown-error](https://sonarsource.github.io/rspec/#/rspec/S3984/javascript) | Errors should not be created without being thrown | ✅ | | 💡 | | | -| [no-unused-collection](https://sonarsource.github.io/rspec/#/rspec/S4030/javascript) | Collection contents should be used | ✅ | | | | | -| [no-unused-expressions](https://sonarsource.github.io/rspec/#/rspec/S905/javascript) | Non-empty statements should change control flow or have at least one side-effect | ✅ | | | | | -| [no-unused-function-argument](https://sonarsource.github.io/rspec/#/rspec/S1172/javascript) | Unused function parameters should be removed | | | 💡 | | | -| [no-unused-private-class-members](https://sonarsource.github.io/rspec/#/rspec/S1068/javascript) | Unused private class members should be removed | ✅ | | 💡 | | | -| [no-use-of-empty-return-value](https://sonarsource.github.io/rspec/#/rspec/S3699/javascript) | The return value of void functions should not be used | ✅ | | | | | -| [no-useless-call](https://sonarsource.github.io/rspec/#/rspec/S6676/javascript) | Calls to ".call()" and ".apply()" methods should not be redundant | ✅ | | 💡 | | | -| [no-useless-catch](https://sonarsource.github.io/rspec/#/rspec/S2737/javascript) | "catch" clauses should do more than rethrow | ✅ | | | | | -| [no-useless-constructor](https://sonarsource.github.io/rspec/#/rspec/S6647/javascript) | Unnecessary constructors should be removed | ✅ | | 💡 | | | -| [no-useless-increment](https://sonarsource.github.io/rspec/#/rspec/S2123/javascript) | Values should not be uselessly incremented | ✅ | | | | | -| [no-useless-intersection](https://sonarsource.github.io/rspec/#/rspec/S4335/javascript) | Type intersections should use meaningful types | ✅ | | | 💭 | | -| [no-useless-react-setstate](https://sonarsource.github.io/rspec/#/rspec/S6443/javascript) | React state setter function should not be called with its matching state variable | ✅ | | | | | -| [no-var](https://sonarsource.github.io/rspec/#/rspec/S3504/javascript) | Variables should be declared with "let" or "const" | ✅ | 🔧 | | | | -| [no-variable-usage-before-declaration](https://sonarsource.github.io/rspec/#/rspec/S1526/javascript) | Variables declared with "var" should be declared before they are used | | | | | | -| [no-vue-bypass-sanitization](https://sonarsource.github.io/rspec/#/rspec/S6299/javascript) | Disabling Vue.js built-in escaping is security-sensitive | ✅ | | | | | -| [no-weak-cipher](https://sonarsource.github.io/rspec/#/rspec/S5547/javascript) | Cipher algorithms should be robust | ✅ | | | | | -| [no-weak-keys](https://sonarsource.github.io/rspec/#/rspec/S4426/javascript) | Cryptographic keys should be robust | ✅ | | | | | -| [no-wildcard-import](https://sonarsource.github.io/rspec/#/rspec/S2208/javascript) | Wildcard imports should not be used | | | | | | -| [non-existent-operator](https://sonarsource.github.io/rspec/#/rspec/S2757/javascript) | Non-existent operators '=+', '=-' and '=!' should not be used | ✅ | | 💡 | | | -| [non-number-in-arithmetic-expression](https://sonarsource.github.io/rspec/#/rspec/S3760/javascript) | Arithmetic operators should only have numbers as operands | | | | 💭 | | -| [null-dereference](https://sonarsource.github.io/rspec/#/rspec/S2259/javascript) | Properties of variables with "null" or "undefined" values should not be accessed | ✅ | | | 💭 | | -| [object-alt-content](https://sonarsource.github.io/rspec/#/rspec/S5264/javascript) | "" tags should provide an alternative content | ✅ | | | | | -| [object-shorthand](https://sonarsource.github.io/rspec/#/rspec/S3498/javascript) | Object literal shorthand syntax should be used | | 🔧 | | | | -| [operation-returning-nan](https://sonarsource.github.io/rspec/#/rspec/S3757/javascript) | Arithmetic operations should not result in "NaN" | | | | 💭 | | -| [os-command](https://sonarsource.github.io/rspec/#/rspec/S4721/javascript) | Using shell interpreter when executing OS commands is security-sensitive | ✅ | | | | | -| [post-message](https://sonarsource.github.io/rspec/#/rspec/S2819/javascript) | Origins should be verified during cross-origin communications | ✅ | | | 💭 | | -| [prefer-default-last](https://sonarsource.github.io/rspec/#/rspec/S4524/javascript) | "default" clauses should be last | ✅ | | | | | -| [prefer-enum-initializers](https://sonarsource.github.io/rspec/#/rspec/S6572/javascript) | Enum member values should be either all initialized or none | ✅ | | 💡 | | | -| [prefer-for-of](https://sonarsource.github.io/rspec/#/rspec/S4138/javascript) | "for of" should be used with Iterables | ✅ | | 💡 | | | -| [prefer-function-type](https://sonarsource.github.io/rspec/#/rspec/S6598/javascript) | Function types should be preferred | ✅ | 🔧 | | | | -| [prefer-immediate-return](https://sonarsource.github.io/rspec/#/rspec/S1488/javascript) | Local variables should not be declared and then immediately returned or thrown | | 🔧 | | | | -| [prefer-namespace-keyword](https://sonarsource.github.io/rspec/#/rspec/S4156/javascript) | "module" should not be used | ✅ | 🔧 | | | | -| [prefer-nullish-coalescing](https://sonarsource.github.io/rspec/#/rspec/S6606/javascript) | Nullish coalescing should be preferred | ✅ | | 💡 | 💭 | | -| [prefer-object-literal](https://sonarsource.github.io/rspec/#/rspec/S2428/javascript) | Object literal syntax should be used | | | | | | -| [prefer-object-spread](https://sonarsource.github.io/rspec/#/rspec/S6661/javascript) | Object spread syntax should be used instead of "Object.assign" | ✅ | 🔧 | | | | -| [prefer-promise-shorthand](https://sonarsource.github.io/rspec/#/rspec/S4634/javascript) | Shorthand promises should be used | ✅ | | 💡 | | | -| [prefer-single-boolean-return](https://sonarsource.github.io/rspec/#/rspec/S1126/javascript) | Return of boolean expressions should not be wrapped into an "if-then-else" statement | ✅ | | 💡 | | | -| [prefer-spread](https://sonarsource.github.io/rspec/#/rspec/S6666/javascript) | Spread syntax should be used instead of "apply()" | ✅ | | 💡 | | | -| [prefer-string-starts-ends-with](https://sonarsource.github.io/rspec/#/rspec/S6557/javascript) | Ends of strings should be checked with "startsWith()" and "endsWith()" | ✅ | 🔧 | 💡 | 💭 | | -| [prefer-template](https://sonarsource.github.io/rspec/#/rspec/S3512/javascript) | Template strings should be used instead of concatenation | | 🔧 | | | | -| [prefer-type-guard](https://sonarsource.github.io/rspec/#/rspec/S4322/javascript) | Type predicates should be used | ✅ | | 💡 | | | -| [prefer-while](https://sonarsource.github.io/rspec/#/rspec/S1264/javascript) | A "while" loop should be used instead of a "for" loop | ✅ | 🔧 | | | | -| [process-argv](https://sonarsource.github.io/rspec/#/rspec/S4823/javascript) | Using command line arguments is security-sensitive | | | | | ❌ | -| [production-debug](https://sonarsource.github.io/rspec/#/rspec/S4507/javascript) | Delivering code in production with debug features activated is security-sensitive | ✅ | | | | | -| [pseudo-random](https://sonarsource.github.io/rspec/#/rspec/S2245/javascript) | Using pseudorandom number generators (PRNGs) is security-sensitive | ✅ | | | | | -| [public-static-readonly](https://sonarsource.github.io/rspec/#/rspec/S1444/javascript) | Public "static" fields should be read-only | ✅ | | 💡 | | | -| [publicly-writable-directories](https://sonarsource.github.io/rspec/#/rspec/S5443/javascript) | Using publicly writable directories is security-sensitive | ✅ | | | | | -| [reduce-initial-value](https://sonarsource.github.io/rspec/#/rspec/S6959/javascript) | "Array.reduce()" calls should include an initial value | ✅ | | | 💭 | | -| [redundant-type-aliases](https://sonarsource.github.io/rspec/#/rspec/S6564/javascript) | Redundant type aliases should not be used | ✅ | | | | | -| [regex-complexity](https://sonarsource.github.io/rspec/#/rspec/S5843/javascript) | Regular expressions should not be too complicated | ✅ | | | 💭 | | -| [regular-expr](https://sonarsource.github.io/rspec/#/rspec/S4784/javascript) | Using regular expressions is security-sensitive | | | | | ❌ | -| [rules-of-hooks](https://sonarsource.github.io/rspec/#/rspec/S6440/javascript) | React Hooks should be properly called | ✅ | | | | | -| [semi](https://sonarsource.github.io/rspec/#/rspec/S1438/javascript) | Statements should end with semicolons | | 🔧 | | | ❌ | -| [session-regeneration](https://sonarsource.github.io/rspec/#/rspec/S5876/javascript) | A new session should be created during user authentication | ✅ | | | | | -| [shorthand-property-grouping](https://sonarsource.github.io/rspec/#/rspec/S3499/javascript) | Shorthand object properties should be grouped at the beginning or end of an object declaration | | | | | | -| [single-char-in-character-classes](https://sonarsource.github.io/rspec/#/rspec/S6397/javascript) | Character classes in regular expressions should not contain only one character | ✅ | | | 💭 | | -| [single-character-alternation](https://sonarsource.github.io/rspec/#/rspec/S6035/javascript) | Single-character alternations in regular expressions should be replaced with character classes | ✅ | | | 💭 | | -| [slow-regex](https://sonarsource.github.io/rspec/#/rspec/S5852/javascript) | Using slow regular expressions is security-sensitive | ✅ | | | 💭 | | -| [sockets](https://sonarsource.github.io/rspec/#/rspec/S4818/javascript) | Using Sockets is security-sensitive | | | | | ❌ | -| [sonar-block-scoped-var](https://sonarsource.github.io/rspec/#/rspec/S2392/javascript) | Variables should be used in the blocks where they are declared | ✅ | | | | | -| [sonar-jsx-no-leaked-render](https://sonarsource.github.io/rspec/#/rspec/S6439/javascript) | React components should not render non-boolean condition values | ✅ | | 💡 | 💭 | | -| [sonar-max-lines](https://sonarsource.github.io/rspec/#/rspec/S104/javascript) | Files should not have too many lines of code | | | | | | -| [sonar-max-lines-per-function](https://sonarsource.github.io/rspec/#/rspec/S138/javascript) | Functions should not have too many lines of code | | | | | | -| [sonar-max-params](https://sonarsource.github.io/rspec/#/rspec/S107/javascript) | Functions should not have too many parameters | ✅ | | | | | -| [sonar-no-control-regex](https://sonarsource.github.io/rspec/#/rspec/S6324/javascript) | Regular expressions should not contain control characters | ✅ | | | 💭 | | -| [sonar-no-dupe-keys](https://sonarsource.github.io/rspec/#/rspec/S1534/javascript) | Member names should not be duplicated within a class or object literal | ✅ | | 💡 | | | -| [sonar-no-empty-character-class](https://sonarsource.github.io/rspec/#/rspec/S2639/javascript) | Empty character classes should not be used | ✅ | | | 💭 | | -| [sonar-no-fallthrough](https://sonarsource.github.io/rspec/#/rspec/S128/javascript) | Switch cases should end with an unconditional "break" statement | ✅ | | | | | -| [sonar-no-invalid-regexp](https://sonarsource.github.io/rspec/#/rspec/S5856/javascript) | Regular expressions should be syntactically valid | ✅ | | | 💭 | | -| [sonar-no-magic-numbers](https://sonarsource.github.io/rspec/#/rspec/S109/javascript) | Magic numbers should not be used | | | | | | -| [sonar-no-misleading-character-class](https://sonarsource.github.io/rspec/#/rspec/S5868/javascript) | Unicode Grapheme Clusters should be avoided inside regex character classes | ✅ | | 💡 | 💭 | | -| [sonar-no-regex-spaces](https://sonarsource.github.io/rspec/#/rspec/S6326/javascript) | Regular expressions should not contain multiple spaces | ✅ | | 💡 | 💭 | | -| [sonar-no-unused-class-component-methods](https://sonarsource.github.io/rspec/#/rspec/S6441/javascript) | Unused methods of React components should be removed | ✅ | | | | | -| [sonar-no-unused-vars](https://sonarsource.github.io/rspec/#/rspec/S1481/javascript) | Unused local variables and functions should be removed | ✅ | | | | | -| [sonar-prefer-optional-chain](https://sonarsource.github.io/rspec/#/rspec/S6582/javascript) | Optional chaining should be preferred | ✅ | 🔧 | 💡 | | | -| [sonar-prefer-read-only-props](https://sonarsource.github.io/rspec/#/rspec/S6759/javascript) | React props should be read-only | ✅ | | 💡 | 💭 | | -| [sonar-prefer-regexp-exec](https://sonarsource.github.io/rspec/#/rspec/S6594/javascript) | "RegExp.exec()" should be preferred over "String.match()" | ✅ | | 💡 | 💭 | | -| [sql-queries](https://sonarsource.github.io/rspec/#/rspec/S2077/javascript) | Formatting SQL queries is security-sensitive | ✅ | | | | | -| [stable-tests](https://sonarsource.github.io/rspec/#/rspec/S5973/javascript) | Tests should be stable | ✅ | | | | | -| [standard-input](https://sonarsource.github.io/rspec/#/rspec/S4829/javascript) | Reading the Standard Input is security-sensitive | | | | | ❌ | -| [stateful-regex](https://sonarsource.github.io/rspec/#/rspec/S6351/javascript) | Regular expressions with the global flag should be used with caution | ✅ | | | | | -| [strict-transport-security](https://sonarsource.github.io/rspec/#/rspec/S5739/javascript) | Disabling Strict-Transport-Security policy is security-sensitive | ✅ | | | | | -| [strings-comparison](https://sonarsource.github.io/rspec/#/rspec/S3003/javascript) | Comparison operators should not be used with strings | | | | 💭 | | -| [super-invocation](https://sonarsource.github.io/rspec/#/rspec/S3854/javascript) | "super()" should be invoked appropriately | ✅ | | | | | -| [switch-without-default](https://sonarsource.github.io/rspec/#/rspec/S131/javascript) | "switch" statements should have "default" clauses | | | 💡 | 💭 | | -| [table-header](https://sonarsource.github.io/rspec/#/rspec/S5256/javascript) | Tables should have headers | ✅ | | | | | -| [table-header-reference](https://sonarsource.github.io/rspec/#/rspec/S5260/javascript) | Table cells should reference their headers | ✅ | | | | | -| [test-check-exception](https://sonarsource.github.io/rspec/#/rspec/S5958/javascript) | Tests should check which exception is thrown | ✅ | | | | | -| [todo-tag](https://sonarsource.github.io/rspec/#/rspec/S1135/javascript) | Track uses of "TODO" tags | ✅ | | | | | -| [too-many-break-or-continue-in-loop](https://sonarsource.github.io/rspec/#/rspec/S135/javascript) | Loops should not contain more than a single "break" or "continue" statement | | | | | | -| [unicode-aware-regex](https://sonarsource.github.io/rspec/#/rspec/S5867/javascript) | Regular expressions using Unicode character classes or property escapes should enable the unicode flag | | | | 💭 | | -| [unnecessary-character-escapes](https://sonarsource.github.io/rspec/#/rspec/S6535/javascript) | Unnecessary character escapes should be removed | ✅ | | 💡 | | | -| [unused-import](https://sonarsource.github.io/rspec/#/rspec/S1128/javascript) | Unnecessary imports should be removed | ✅ | | 💡 | 💭 | | -| [unused-named-groups](https://sonarsource.github.io/rspec/#/rspec/S5860/javascript) | Names of regular expressions named groups should be used | ✅ | | | 💭 | | -| [unverified-certificate](https://sonarsource.github.io/rspec/#/rspec/S4830/javascript) | Server certificates should be verified during SSL/TLS connections | ✅ | | | | | -| [unverified-hostname](https://sonarsource.github.io/rspec/#/rspec/S5527/javascript) | Server hostnames should be verified during SSL/TLS connections | ✅ | | | | | -| [updated-const-var](https://sonarsource.github.io/rspec/#/rspec/S3500/javascript) | "const" variables should not be reassigned | ✅ | | | | | -| [updated-loop-counter](https://sonarsource.github.io/rspec/#/rspec/S2310/javascript) | Loop counters should not be assigned within the loop body | ✅ | | | | | -| [use-isnan](https://sonarsource.github.io/rspec/#/rspec/S2688/javascript) | "NaN" should not be used in comparisons | ✅ | | 💡 | | | -| [use-type-alias](https://sonarsource.github.io/rspec/#/rspec/S4323/javascript) | Type aliases should be used | ✅ | | | | | -| [useless-string-operation](https://sonarsource.github.io/rspec/#/rspec/S1154/javascript) | Results of operations on strings should not be ignored | | | | 💭 | ❌ | -| [values-not-convertible-to-numbers](https://sonarsource.github.io/rspec/#/rspec/S3758/javascript) | Values not convertible to numbers should not be used in numeric comparisons | | | | 💭 | | -| [variable-name](https://sonarsource.github.io/rspec/#/rspec/S117/javascript) | Variable, property and parameter names should comply with a naming convention | | | | | | -| [void-use](https://sonarsource.github.io/rspec/#/rspec/S3735/javascript) | "void" should not be used | ✅ | | | 💭 | | -| [weak-ssl](https://sonarsource.github.io/rspec/#/rspec/S4423/javascript) | Weak SSL/TLS protocols should not be used | ✅ | | | | | -| [web-sql-database](https://sonarsource.github.io/rspec/#/rspec/S2817/javascript) | Web SQL databases should not be used | | | | 💭 | ❌ | -| [x-powered-by](https://sonarsource.github.io/rspec/#/rspec/S5689/javascript) | Disclosing fingerprints from web application technologies is security-sensitive | ✅ | | | | | -| [xml-parser-xxe](https://sonarsource.github.io/rspec/#/rspec/S2755/javascript) | XML parsers should not be vulnerable to XXE attacks | ✅ | | | | | -| [xpath](https://sonarsource.github.io/rspec/#/rspec/S4817/javascript) | Executing XPath expressions is security-sensitive | | | | | ❌ | +| Name                                 | Description | 💼 | 🔧 | 💡 | 💭 | ❌ | +| :--------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------- | :-- | :-- | :-- | :-- | :-- | +| [anchor-precedence](https://sonarsource.github.io/rspec/#/rspec/S5850/javascript) | Alternatives in regular expressions should be grouped when used with anchors | ✅ | | | 💭 | | +| [argument-type](https://sonarsource.github.io/rspec/#/rspec/S3782/javascript) | Arguments to built-in functions should match documented types | ✅ | | | 💭 | | +| [arguments-order](https://sonarsource.github.io/rspec/#/rspec/S2234/javascript) | Parameters should be passed in the correct order | ✅ | | | 💭 | | +| [arguments-usage](https://sonarsource.github.io/rspec/#/rspec/S3513/javascript) | "arguments" should not be accessed directly | | | | | | +| [array-callback-without-return](https://sonarsource.github.io/rspec/#/rspec/S3796/javascript) | Callbacks of array methods should have return statements | ✅ | | | 💭 | | +| [array-constructor](https://sonarsource.github.io/rspec/#/rspec/S1528/javascript) | Array constructors should not be used | | | 💡 | | | +| [arrow-function-convention](https://sonarsource.github.io/rspec/#/rspec/S3524/javascript) | Braces and parentheses should be used consistently with arrow functions | | | | | | +| [assertions-in-tests](https://sonarsource.github.io/rspec/#/rspec/S2699/javascript) | Tests should include assertions | ✅ | | | | | +| [aws-apigateway-public-api](https://sonarsource.github.io/rspec/#/rspec/S6333/javascript) | Creating public APIs is security-sensitive | ✅ | | | | | +| [aws-ec2-rds-dms-public](https://sonarsource.github.io/rspec/#/rspec/S6329/javascript) | Allowing public network access to cloud resources is security-sensitive | ✅ | | | | | +| [aws-ec2-unencrypted-ebs-volume](https://sonarsource.github.io/rspec/#/rspec/S6275/javascript) | Using unencrypted EBS volumes is security-sensitive | ✅ | | | | | +| [aws-efs-unencrypted](https://sonarsource.github.io/rspec/#/rspec/S6332/javascript) | Using unencrypted EFS file systems is security-sensitive | ✅ | | | | | +| [aws-iam-all-privileges](https://sonarsource.github.io/rspec/#/rspec/S6302/javascript) | Policies granting all privileges are security-sensitive | ✅ | | | | | +| [aws-iam-all-resources-accessible](https://sonarsource.github.io/rspec/#/rspec/S6304/javascript) | Policies granting access to all resources of an account are security-sensitive | | | | | | +| [aws-iam-privilege-escalation](https://sonarsource.github.io/rspec/#/rspec/S6317/javascript) | AWS IAM policies should limit the scope of permissions given | ✅ | | | | | +| [aws-iam-public-access](https://sonarsource.github.io/rspec/#/rspec/S6270/javascript) | Policies authorizing public access to resources are security-sensitive | ✅ | | | | | +| [aws-opensearchservice-domain](https://sonarsource.github.io/rspec/#/rspec/S6308/javascript) | Using unencrypted Elasticsearch domains is security-sensitive | ✅ | | | | | +| [aws-rds-unencrypted-databases](https://sonarsource.github.io/rspec/#/rspec/S6303/javascript) | Using unencrypted RDS DB resources is security-sensitive | ✅ | | | | | +| [aws-restricted-ip-admin-access](https://sonarsource.github.io/rspec/#/rspec/S6321/javascript) | Administration services access should be restricted to specific IP addresses | ✅ | | | | | +| [aws-s3-bucket-granted-access](https://sonarsource.github.io/rspec/#/rspec/S6265/javascript) | Granting access to S3 buckets to all or authenticated users is security-sensitive | ✅ | | | | | +| [aws-s3-bucket-insecure-http](https://sonarsource.github.io/rspec/#/rspec/S6249/javascript) | Authorizing HTTP communications with S3 buckets is security-sensitive | ✅ | | | | | +| [aws-s3-bucket-public-access](https://sonarsource.github.io/rspec/#/rspec/S6281/javascript) | Allowing public ACLs or policies on a S3 bucket is security-sensitive | ✅ | | | | | +| [aws-s3-bucket-server-encryption](https://sonarsource.github.io/rspec/#/rspec/S6245/javascript) | Disabling server-side encryption of S3 buckets is security-sensitive | | | | | ❌ | +| [aws-s3-bucket-versioning](https://sonarsource.github.io/rspec/#/rspec/S6252/javascript) | Disabling versioning of S3 buckets is security-sensitive | ✅ | | | | | +| [aws-sagemaker-unencrypted-notebook](https://sonarsource.github.io/rspec/#/rspec/S6319/javascript) | Using unencrypted SageMaker notebook instances is security-sensitive | ✅ | | | | | +| [aws-sns-unencrypted-topics](https://sonarsource.github.io/rspec/#/rspec/S6327/javascript) | Using unencrypted SNS topics is security-sensitive | ✅ | | | | | +| [aws-sqs-unencrypted-queue](https://sonarsource.github.io/rspec/#/rspec/S6330/javascript) | Using unencrypted SQS queues is security-sensitive | ✅ | | | | | +| [bitwise-operators](https://sonarsource.github.io/rspec/#/rspec/S1529/javascript) | Bitwise operators should not be used in boolean contexts | ✅ | | | | | +| [block-scoped-var](https://sonarsource.github.io/rspec/#/rspec/S2392/javascript) | Variables should be used in the blocks where they are declared | ✅ | | | | | +| [bool-param-default](https://sonarsource.github.io/rspec/#/rspec/S4798/javascript) | Optional boolean parameters should have default value | | | | | | +| [call-argument-line](https://sonarsource.github.io/rspec/#/rspec/S1472/javascript) | Function call arguments should not start on new lines | ✅ | | | | | +| [certificate-transparency](https://sonarsource.github.io/rspec/#/rspec/S5742/javascript) | Disabling Certificate Transparency monitoring is security-sensitive | ✅ | | | | | +| [chai-determinate-assertion](https://sonarsource.github.io/rspec/#/rspec/S6092/javascript) | Chai assertions should have only one reason to succeed | ✅ | | | | | +| [class-name](https://sonarsource.github.io/rspec/#/rspec/S101/javascript) | Class names should comply with a naming convention | ✅ | | | | | +| [class-prototype](https://sonarsource.github.io/rspec/#/rspec/S3525/javascript) | Class methods should be used instead of "prototype" assignments | | | | 💭 | | +| [code-eval](https://sonarsource.github.io/rspec/#/rspec/S1523/javascript) | Dynamically executing code is security-sensitive | ✅ | | | | | +| [cognitive-complexity](https://sonarsource.github.io/rspec/#/rspec/S3776/javascript) | Cognitive Complexity of functions should not be too high | ✅ | | | | | +| [comma-or-logical-or-case](https://sonarsource.github.io/rspec/#/rspec/S3616/javascript) | Comma and logical OR operators should not be used in switch cases | ✅ | | | | | +| [comment-regex](https://sonarsource.github.io/rspec/#/rspec/S124/javascript) | Track comments matching a regular expression | | | | | | +| [concise-regex](https://sonarsource.github.io/rspec/#/rspec/S6353/javascript) | Regular expression quantifiers and character classes should be used concisely | ✅ | | | 💭 | | +| [conditional-indentation](https://sonarsource.github.io/rspec/#/rspec/S3973/javascript) | A conditionally executed single line should be denoted by indentation | | | | | ❌ | +| [confidential-information-logging](https://sonarsource.github.io/rspec/#/rspec/S5757/javascript) | Allowing confidential information to be logged is security-sensitive | ✅ | | | | | +| [constructor-for-side-effects](https://sonarsource.github.io/rspec/#/rspec/S1848/javascript) | Objects should not be created to be dropped immediately without being used | ✅ | | | | | +| [content-length](https://sonarsource.github.io/rspec/#/rspec/S5693/javascript) | Allowing requests with excessive content length is security-sensitive | ✅ | | | | | +| [content-security-policy](https://sonarsource.github.io/rspec/#/rspec/S5728/javascript) | Disabling content security policy fetch directives is security-sensitive | ✅ | | | | | +| [cookie-no-httponly](https://sonarsource.github.io/rspec/#/rspec/S3330/javascript) | Creating cookies without the "HttpOnly" flag is security-sensitive | ✅ | | | | | +| [cookies](https://sonarsource.github.io/rspec/#/rspec/S2255/javascript) | Writing cookies is security-sensitive | | | | | ❌ | +| [cors](https://sonarsource.github.io/rspec/#/rspec/S5122/javascript) | Having a permissive Cross-Origin Resource Sharing policy is security-sensitive | ✅ | | | | | +| [csrf](https://sonarsource.github.io/rspec/#/rspec/S4502/javascript) | Disabling CSRF protections is security-sensitive | ✅ | | | | | +| [cyclomatic-complexity](https://sonarsource.github.io/rspec/#/rspec/S1541/javascript) | Cyclomatic Complexity of functions should not be too high | | | | | | +| [declarations-in-global-scope](https://sonarsource.github.io/rspec/#/rspec/S3798/javascript) | Variables and functions should not be declared in the global scope | | | | | | +| [deprecation](https://sonarsource.github.io/rspec/#/rspec/S1874/javascript) | Deprecated APIs should not be used | ✅ | | | 💭 | | +| [destructuring-assignment-syntax](https://sonarsource.github.io/rspec/#/rspec/S3514/javascript) | Destructuring syntax should be used for assignments | | | | | | +| [different-types-comparison](https://sonarsource.github.io/rspec/#/rspec/S3403/javascript) | Strict equality operators should not be used with dissimilar types | ✅ | | 💡 | 💭 | | +| [disabled-auto-escaping](https://sonarsource.github.io/rspec/#/rspec/S5247/javascript) | Disabling auto-escaping in template engines is security-sensitive | ✅ | | | 💭 | | +| [disabled-resource-integrity](https://sonarsource.github.io/rspec/#/rspec/S5725/javascript) | Using remote artifacts without integrity checks is security-sensitive | ✅ | | | 💭 | | +| [disabled-timeout](https://sonarsource.github.io/rspec/#/rspec/S6080/javascript) | Disabling Mocha timeouts should be explicit | ✅ | | | | | +| [dns-prefetching](https://sonarsource.github.io/rspec/#/rspec/S5743/javascript) | Allowing browsers to perform DNS prefetching is security-sensitive | | | | | ❌ | +| [duplicates-in-character-class](https://sonarsource.github.io/rspec/#/rspec/S5869/javascript) | Character classes in regular expressions should not contain the same character twice | ✅ | | | 💭 | | +| [elseif-without-else](https://sonarsource.github.io/rspec/#/rspec/S126/javascript) | "if ... else if" constructs should end with "else" clauses | | | | | | +| [empty-string-repetition](https://sonarsource.github.io/rspec/#/rspec/S5842/javascript) | Repeated patterns in regular expressions should not match the empty string | ✅ | | | 💭 | | +| [encryption](https://sonarsource.github.io/rspec/#/rspec/S4787/javascript) | Encrypting data is security-sensitive | | | | | ❌ | +| [encryption-secure-mode](https://sonarsource.github.io/rspec/#/rspec/S5542/javascript) | Encryption algorithms should be used with secure mode and padding scheme | ✅ | | | | | +| [enforce-trailing-comma](https://sonarsource.github.io/rspec/#/rspec/S3723/javascript) | Trailing commas should be used | | 🔧 | | | ❌ | +| [existing-groups](https://sonarsource.github.io/rspec/#/rspec/S6328/javascript) | Replacement strings should reference existing regular expression groups | ✅ | | | 💭 | | +| [expression-complexity](https://sonarsource.github.io/rspec/#/rspec/S1067/javascript) | Expressions should not be too complex | | | | | | +| [file-header](https://sonarsource.github.io/rspec/#/rspec/S1451/javascript) | Track lack of copyright and license headers | | | | | | +| [file-name-differ-from-class](https://sonarsource.github.io/rspec/#/rspec/S3317/javascript) | Default export names and file names should match | | | | | | +| [file-permissions](https://sonarsource.github.io/rspec/#/rspec/S2612/javascript) | Setting loose POSIX file permissions is security-sensitive | ✅ | | | | | +| [file-uploads](https://sonarsource.github.io/rspec/#/rspec/S2598/javascript) | File uploads should be restricted | ✅ | | | | | +| [fixme-tag](https://sonarsource.github.io/rspec/#/rspec/S1134/javascript) | Track uses of "FIXME" tags | ✅ | | | | | +| [for-in](https://sonarsource.github.io/rspec/#/rspec/S1535/javascript) | "for...in" loops should filter properties before acting on them | | | | | | +| [for-loop-increment-sign](https://sonarsource.github.io/rspec/#/rspec/S2251/javascript) | A "for" loop update clause should move the counter in the right direction | ✅ | | | | | +| [frame-ancestors](https://sonarsource.github.io/rspec/#/rspec/S5732/javascript) | Disabling content security policy frame-ancestors directive is security-sensitive | ✅ | | | | | +| [function-inside-loop](https://sonarsource.github.io/rspec/#/rspec/S1515/javascript) | Functions should not be defined inside loops | ✅ | | | | | +| [function-name](https://sonarsource.github.io/rspec/#/rspec/S100/javascript) | Function and method names should comply with a naming convention | | | | | | +| [function-return-type](https://sonarsource.github.io/rspec/#/rspec/S3800/javascript) | Functions should always return the same type | ✅ | | | 💭 | | +| [future-reserved-words](https://sonarsource.github.io/rspec/#/rspec/S1527/javascript) | Future reserved words should not be used as identifiers | ✅ | | | | | +| [generator-without-yield](https://sonarsource.github.io/rspec/#/rspec/S3531/javascript) | Generators should explicitly "yield" a value | ✅ | | | | | +| [hashing](https://sonarsource.github.io/rspec/#/rspec/S4790/javascript) | Using weak hashing algorithms is security-sensitive | ✅ | | | | | +| [hidden-files](https://sonarsource.github.io/rspec/#/rspec/S5691/javascript) | Statically serving hidden files is security-sensitive | ✅ | | | | | +| [in-operator-type-error](https://sonarsource.github.io/rspec/#/rspec/S3785/javascript) | "in" should not be used with primitive types | ✅ | | | 💭 | | +| [inconsistent-function-call](https://sonarsource.github.io/rspec/#/rspec/S3686/javascript) | Functions should be called consistently with or without "new" | ✅ | | | | | +| [index-of-compare-to-positive-number](https://sonarsource.github.io/rspec/#/rspec/S2692/javascript) | "indexOf" checks should not be for positive numbers | ✅ | | | 💭 | | +| [insecure-cookie](https://sonarsource.github.io/rspec/#/rspec/S2092/javascript) | Creating cookies without the "secure" flag is security-sensitive | ✅ | | | | | +| [insecure-jwt-token](https://sonarsource.github.io/rspec/#/rspec/S5659/javascript) | JWT should be signed and verified with strong cipher algorithms | ✅ | | | | | +| [inverted-assertion-arguments](https://sonarsource.github.io/rspec/#/rspec/S3415/javascript) | Assertion arguments should be passed in the correct order | ✅ | | 💡 | | | +| [jsx-no-leaked-render](https://sonarsource.github.io/rspec/#/rspec/S6439/javascript) | React components should not render non-boolean condition values | ✅ | | 💡 | 💭 | | +| [label-position](https://sonarsource.github.io/rspec/#/rspec/S1439/javascript) | Only "while", "do", "for" and "switch" statements should be labelled | ✅ | | | | | +| [link-with-target-blank](https://sonarsource.github.io/rspec/#/rspec/S5148/javascript) | Authorizing an opened window to access back to the originating window is security-sensitive | ✅ | | | | | +| [max-lines](https://sonarsource.github.io/rspec/#/rspec/S104/javascript) | Files should not have too many lines of code | | | | | | +| [max-lines-per-function](https://sonarsource.github.io/rspec/#/rspec/S138/javascript) | Functions should not have too many lines of code | | | | | | +| [max-switch-cases](https://sonarsource.github.io/rspec/#/rspec/S1479/javascript) | "switch" statements should not have too many "case" clauses | ✅ | | | | | +| [max-union-size](https://sonarsource.github.io/rspec/#/rspec/S4622/javascript) | Union types should not have too many elements | | | | | | +| [misplaced-loop-counter](https://sonarsource.github.io/rspec/#/rspec/S1994/javascript) | "for" loop increment clauses should modify the loops' counters | ✅ | | | | | +| [nested-control-flow](https://sonarsource.github.io/rspec/#/rspec/S134/javascript) | Control flow statements "if", "for", "while", "switch" and "try" should not be nested too deeply | | | | | | +| [new-operator-misuse](https://sonarsource.github.io/rspec/#/rspec/S2999/javascript) | "new" should only be used with functions and classes | ✅ | | | 💭 | | +| [no-all-duplicated-branches](https://sonarsource.github.io/rspec/#/rspec/S3923/javascript) | All branches in a conditional structure should not have exactly the same implementation | ✅ | | | | | +| [no-alphabetical-sort](https://sonarsource.github.io/rspec/#/rspec/S2871/javascript) | "Array.prototype.sort()" and "Array.prototype.toSorted()" should use a compare function | ✅ | | 💡 | 💭 | | +| [no-angular-bypass-sanitization](https://sonarsource.github.io/rspec/#/rspec/S6268/javascript) | Disabling Angular built-in sanitization is security-sensitive | ✅ | | | | | +| [no-array-delete](https://sonarsource.github.io/rspec/#/rspec/S2870/javascript) | "delete" should not be used on arrays | ✅ | | | 💭 | | +| [no-associative-arrays](https://sonarsource.github.io/rspec/#/rspec/S3579/javascript) | Array indexes should be numeric | ✅ | | | 💭 | | +| [no-async-constructor](https://sonarsource.github.io/rspec/#/rspec/S7059/javascript) | Constructors should not contain asynchronous operations | ✅ | | | | | +| [no-built-in-override](https://sonarsource.github.io/rspec/#/rspec/S2424/javascript) | Built-in objects should not be overridden | | | | | | +| [no-case-label-in-switch](https://sonarsource.github.io/rspec/#/rspec/S1219/javascript) | "switch" statements should not contain non-case labels | ✅ | | | | | +| [no-clear-text-protocols](https://sonarsource.github.io/rspec/#/rspec/S5332/javascript) | Using clear-text protocols is security-sensitive | ✅ | | | | | +| [no-code-after-done](https://sonarsource.github.io/rspec/#/rspec/S6079/javascript) | Tests should not execute any code after "done()" is called | ✅ | | | | | +| [no-collapsible-if](https://sonarsource.github.io/rspec/#/rspec/S1066/javascript) | Mergeable "if" statements should be combined | | | | | | +| [no-collection-size-mischeck](https://sonarsource.github.io/rspec/#/rspec/S3981/javascript) | Collection size and array length comparisons should make sense | ✅ | | 💡 | 💭 | | +| [no-commented-code](https://sonarsource.github.io/rspec/#/rspec/S125/javascript) | Sections of code should not be commented out | ✅ | | 💡 | | | +| [no-control-regex](https://sonarsource.github.io/rspec/#/rspec/S6324/javascript) | Regular expressions should not contain control characters | ✅ | | | 💭 | | +| [no-dead-store](https://sonarsource.github.io/rspec/#/rspec/S1854/javascript) | Unused assignments should be removed | ✅ | | | | | +| [no-delete-var](https://sonarsource.github.io/rspec/#/rspec/S3001/javascript) | "delete" should be used only with object properties | ✅ | | | | | +| [no-duplicate-in-composite](https://sonarsource.github.io/rspec/#/rspec/S4621/javascript) | Union and intersection types should not include duplicated constituents | ✅ | | 💡 | | | +| [no-duplicate-string](https://sonarsource.github.io/rspec/#/rspec/S1192/javascript) | String literals should not be duplicated | | | | | | +| [no-duplicated-branches](https://sonarsource.github.io/rspec/#/rspec/S1871/javascript) | Two branches in a conditional structure should not have exactly the same implementation | ✅ | | | | | +| [no-element-overwrite](https://sonarsource.github.io/rspec/#/rspec/S4143/javascript) | Collection elements should not be replaced unconditionally | ✅ | | | | | +| [no-empty-after-reluctant](https://sonarsource.github.io/rspec/#/rspec/S6019/javascript) | Reluctant quantifiers in regular expressions should be followed by an expression that can't match the empty string | ✅ | | | 💭 | | +| [no-empty-alternatives](https://sonarsource.github.io/rspec/#/rspec/S6323/javascript) | Alternation in regular expressions should not contain empty alternatives | ✅ | | | 💭 | | +| [no-empty-character-class](https://sonarsource.github.io/rspec/#/rspec/S2639/javascript) | Empty character classes should not be used | ✅ | | | 💭 | | +| [no-empty-collection](https://sonarsource.github.io/rspec/#/rspec/S4158/javascript) | Empty collections should not be accessed or iterated | ✅ | | | | | +| [no-empty-group](https://sonarsource.github.io/rspec/#/rspec/S6331/javascript) | Regular expressions should not contain empty groups | ✅ | | | 💭 | | +| [no-empty-test-file](https://sonarsource.github.io/rspec/#/rspec/S2187/javascript) | Test files should contain at least one test case | ✅ | | | | | +| [no-equals-in-for-termination](https://sonarsource.github.io/rspec/#/rspec/S888/javascript) | Equality operators should not be used in "for" loop termination conditions | ✅ | | | | | +| [no-exclusive-tests](https://sonarsource.github.io/rspec/#/rspec/S6426/javascript) | Exclusive tests should not be commited to version control | ✅ | | 💡 | | | +| [no-extra-arguments](https://sonarsource.github.io/rspec/#/rspec/S930/javascript) | Function calls should not pass extra arguments | ✅ | | | | | +| [no-fallthrough](https://sonarsource.github.io/rspec/#/rspec/S128/javascript) | Switch cases should end with an unconditional "break" statement | ✅ | | | | | +| [no-for-in-iterable](https://sonarsource.github.io/rspec/#/rspec/S4139/javascript) | "for in" should not be used with iterables | | | | 💭 | | +| [no-function-declaration-in-block](https://sonarsource.github.io/rspec/#/rspec/S1530/javascript) | Function declarations should not be made within blocks | | | | | | +| [no-global-this](https://sonarsource.github.io/rspec/#/rspec/S2990/javascript) | The global "this" object should not be used | ✅ | | 💡 | | | +| [no-globals-shadowing](https://sonarsource.github.io/rspec/#/rspec/S2137/javascript) | Special identifiers should not be bound or assigned | ✅ | | | | | +| [no-gratuitous-expressions](https://sonarsource.github.io/rspec/#/rspec/S2589/javascript) | Boolean expressions should not be gratuitous | ✅ | | | | | +| [no-hardcoded-credentials](https://sonarsource.github.io/rspec/#/rspec/S2068/javascript) | Hard-coded credentials are security-sensitive | ✅ | | | | | +| [no-hardcoded-ip](https://sonarsource.github.io/rspec/#/rspec/S1313/javascript) | Using hardcoded IP addresses is security-sensitive | ✅ | | | | | +| [no-hook-setter-in-body](https://sonarsource.github.io/rspec/#/rspec/S6442/javascript) | React's useState hook should not be used directly in the render function or body of a component | ✅ | | | | | +| [no-identical-conditions](https://sonarsource.github.io/rspec/#/rspec/S1862/javascript) | "if/else if" chains and "switch" cases should not have the same condition | ✅ | | | | | +| [no-identical-expressions](https://sonarsource.github.io/rspec/#/rspec/S1764/javascript) | Identical expressions should not be used on both sides of a binary operator | ✅ | | | | | +| [no-identical-functions](https://sonarsource.github.io/rspec/#/rspec/S4144/javascript) | Functions should not have identical implementations | ✅ | | | | | +| [no-ignored-exceptions](https://sonarsource.github.io/rspec/#/rspec/S2486/javascript) | Exceptions should not be ignored | ✅ | | | | | +| [no-ignored-return](https://sonarsource.github.io/rspec/#/rspec/S2201/javascript) | Return values from functions without side effects should not be ignored | ✅ | | | 💭 | | +| [no-implicit-dependencies](https://sonarsource.github.io/rspec/#/rspec/S4328/javascript) | Dependencies should be explicit | | | | | | +| [no-implicit-global](https://sonarsource.github.io/rspec/#/rspec/S2703/javascript) | Variables should be declared explicitly | ✅ | | | | | +| [no-in-misuse](https://sonarsource.github.io/rspec/#/rspec/S4619/javascript) | "in" should not be used on arrays | ✅ | | 💡 | 💭 | | +| [no-incomplete-assertions](https://sonarsource.github.io/rspec/#/rspec/S2970/javascript) | Assertions should be complete | ✅ | | | | | +| [no-inconsistent-returns](https://sonarsource.github.io/rspec/#/rspec/S3801/javascript) | Functions should use "return" consistently | | | | | | +| [no-incorrect-string-concat](https://sonarsource.github.io/rspec/#/rspec/S3402/javascript) | Strings and non-strings should not be added | | | | 💭 | | +| [no-internal-api-use](https://sonarsource.github.io/rspec/#/rspec/S6627/javascript) | Users should not use internal APIs | ✅ | | | | | +| [no-intrusive-permissions](https://sonarsource.github.io/rspec/#/rspec/S5604/javascript) | Using intrusive permissions is security-sensitive | ✅ | | | | | +| [no-invalid-await](https://sonarsource.github.io/rspec/#/rspec/S4123/javascript) | "await" should only be used with promises | ✅ | | | 💭 | | +| [no-invalid-regexp](https://sonarsource.github.io/rspec/#/rspec/S5856/javascript) | Regular expressions should be syntactically valid | ✅ | | | 💭 | | +| [no-invariant-returns](https://sonarsource.github.io/rspec/#/rspec/S3516/javascript) | Function returns should not be invariant | ✅ | | | | | +| [no-inverted-boolean-check](https://sonarsource.github.io/rspec/#/rspec/S1940/javascript) | Boolean checks should not be inverted | ✅ | 🔧 | 💡 | | | +| [no-ip-forward](https://sonarsource.github.io/rspec/#/rspec/S5759/javascript) | Forwarding client IP address is security-sensitive | ✅ | | | | | +| [no-labels](https://sonarsource.github.io/rspec/#/rspec/S1119/javascript) | Labels should not be used | ✅ | | | | | +| [no-literal-call](https://sonarsource.github.io/rspec/#/rspec/S6958/javascript) | Literals should not be used as functions | ✅ | | | | | +| [no-mime-sniff](https://sonarsource.github.io/rspec/#/rspec/S5734/javascript) | Allowing browsers to sniff MIME types is security-sensitive | ✅ | | | | | +| [no-misleading-array-reverse](https://sonarsource.github.io/rspec/#/rspec/S4043/javascript) | Array-mutating methods should not be used misleadingly | ✅ | | 💡 | 💭 | | +| [no-misleading-character-class](https://sonarsource.github.io/rspec/#/rspec/S5868/javascript) | Unicode Grapheme Clusters should be avoided inside regex character classes | ✅ | | 💡 | 💭 | | +| [no-mixed-content](https://sonarsource.github.io/rspec/#/rspec/S5730/javascript) | Allowing mixed-content is security-sensitive | ✅ | | | | | +| [no-nested-assignment](https://sonarsource.github.io/rspec/#/rspec/S1121/javascript) | Assignments should not be made from within sub-expressions | ✅ | | | | | +| [no-nested-conditional](https://sonarsource.github.io/rspec/#/rspec/S3358/javascript) | Ternary operators should not be nested | ✅ | | | | | +| [no-nested-functions](https://sonarsource.github.io/rspec/#/rspec/S2004/javascript) | Functions should not be nested too deeply | ✅ | | | | | +| [no-nested-incdec](https://sonarsource.github.io/rspec/#/rspec/S881/javascript) | Increment (++) and decrement (--) operators should not be used in a method call or mixed with other operators in an expression | | | | | | +| [no-nested-switch](https://sonarsource.github.io/rspec/#/rspec/S1821/javascript) | "switch" statements should not be nested | | | | | | +| [no-nested-template-literals](https://sonarsource.github.io/rspec/#/rspec/S4624/javascript) | Template literals should not be nested | ✅ | | | | | +| [no-one-iteration-loop](https://sonarsource.github.io/rspec/#/rspec/S1751/javascript) | Loops with at most one iteration should be refactored | ✅ | | | | | +| [no-os-command-from-path](https://sonarsource.github.io/rspec/#/rspec/S4036/javascript) | Searching OS commands in PATH is security-sensitive | ✅ | | | | | +| [no-parameter-reassignment](https://sonarsource.github.io/rspec/#/rspec/S1226/javascript) | Initial values of parameters, caught exceptions, and loop variables should not be ignored | ✅ | | | | | +| [no-primitive-wrappers](https://sonarsource.github.io/rspec/#/rspec/S1533/javascript) | Wrapper objects should not be used for primitive types | ✅ | | 💡 | | | +| [no-redundant-assignments](https://sonarsource.github.io/rspec/#/rspec/S4165/javascript) | Assignments should not be redundant | ✅ | | | | | +| [no-redundant-boolean](https://sonarsource.github.io/rspec/#/rspec/S1125/javascript) | Boolean literals should not be used in comparisons | ✅ | | | | | +| [no-redundant-jump](https://sonarsource.github.io/rspec/#/rspec/S3626/javascript) | Jump statements should not be redundant | ✅ | | 💡 | | | +| [no-redundant-optional](https://sonarsource.github.io/rspec/#/rspec/S4782/javascript) | Optional property declarations should not use both '?' and 'undefined' syntax | ✅ | | 💡 | 💭 | | +| [no-redundant-parentheses](https://sonarsource.github.io/rspec/#/rspec/S1110/javascript) | Redundant pairs of parentheses should be removed | | | 💡 | | ❌ | +| [no-reference-error](https://sonarsource.github.io/rspec/#/rspec/S3827/javascript) | Variables should be defined before being used | | | | | | +| [no-referrer-policy](https://sonarsource.github.io/rspec/#/rspec/S5736/javascript) | Disabling strict HTTP no-referrer policy is security-sensitive | ✅ | | | | | +| [no-regex-spaces](https://sonarsource.github.io/rspec/#/rspec/S6326/javascript) | Regular expressions should not contain multiple spaces | ✅ | | 💡 | 💭 | | +| [no-require-or-define](https://sonarsource.github.io/rspec/#/rspec/S3533/javascript) | "import" should be used to include external code | | | | 💭 | | +| [no-return-type-any](https://sonarsource.github.io/rspec/#/rspec/S4324/javascript) | Primitive return types should be used | | | | 💭 | | +| [no-same-argument-assert](https://sonarsource.github.io/rspec/#/rspec/S5863/javascript) | Assertions should not be given twice the same argument | ✅ | | | | | +| [no-same-line-conditional](https://sonarsource.github.io/rspec/#/rspec/S3972/javascript) | Conditionals should start on new lines | ✅ | | 💡 | | | +| [no-selector-parameter](https://sonarsource.github.io/rspec/#/rspec/S2301/javascript) | Methods should not contain selector parameters | ✅ | | | 💭 | | +| [no-skipped-tests](https://sonarsource.github.io/rspec/#/rspec/S1607/javascript) | Tests should not be skipped without providing a reason | ✅ | | | | | +| [no-small-switch](https://sonarsource.github.io/rspec/#/rspec/S1301/javascript) | "if" statements should be preferred over "switch" when simpler | ✅ | | | | | +| [no-tab](https://sonarsource.github.io/rspec/#/rspec/S105/javascript) | Tabulation characters should not be used | | | | | ❌ | +| [no-table-as-layout](https://sonarsource.github.io/rspec/#/rspec/S5257/javascript) | HTML "<table>" should not be used for layout purposes | ✅ | | | | | +| [no-try-promise](https://sonarsource.github.io/rspec/#/rspec/S4822/javascript) | Promise rejections should not be caught by "try" blocks | ✅ | | | 💭 | | +| [no-undefined-argument](https://sonarsource.github.io/rspec/#/rspec/S4623/javascript) | "undefined" should not be passed as the value of optional parameters | ✅ | | 💡 | 💭 | | +| [no-undefined-assignment](https://sonarsource.github.io/rspec/#/rspec/S2138/javascript) | "undefined" should not be assigned | | | | | | +| [no-unenclosed-multiline-block](https://sonarsource.github.io/rspec/#/rspec/S2681/javascript) | Multiline blocks should be enclosed in curly braces | ✅ | | | | | +| [no-uniq-key](https://sonarsource.github.io/rspec/#/rspec/S6486/javascript) | JSX list components keys should match up between renders | ✅ | | | | | +| [no-unsafe-unzip](https://sonarsource.github.io/rspec/#/rspec/S5042/javascript) | Expanding archive files without controlling resource consumption is security-sensitive | ✅ | | | | | +| [no-unthrown-error](https://sonarsource.github.io/rspec/#/rspec/S3984/javascript) | Errors should not be created without being thrown | ✅ | | 💡 | | | +| [no-unused-collection](https://sonarsource.github.io/rspec/#/rspec/S4030/javascript) | Collection contents should be used | ✅ | | | | | +| [no-unused-function-argument](https://sonarsource.github.io/rspec/#/rspec/S1172/javascript) | Unused function parameters should be removed | | | 💡 | | | +| [no-unused-vars](https://sonarsource.github.io/rspec/#/rspec/S1481/javascript) | Unused local variables and functions should be removed | ✅ | | | | | +| [no-use-of-empty-return-value](https://sonarsource.github.io/rspec/#/rspec/S3699/javascript) | The return value of void functions should not be used | ✅ | | | | | +| [no-useless-catch](https://sonarsource.github.io/rspec/#/rspec/S2737/javascript) | "catch" clauses should do more than rethrow | ✅ | | | | | +| [no-useless-increment](https://sonarsource.github.io/rspec/#/rspec/S2123/javascript) | Values should not be uselessly incremented | ✅ | | | | | +| [no-useless-intersection](https://sonarsource.github.io/rspec/#/rspec/S4335/javascript) | Type intersections should use meaningful types | ✅ | | | 💭 | | +| [no-useless-react-setstate](https://sonarsource.github.io/rspec/#/rspec/S6443/javascript) | React state setter function should not be called with its matching state variable | ✅ | | | | | +| [no-variable-usage-before-declaration](https://sonarsource.github.io/rspec/#/rspec/S1526/javascript) | Variables declared with "var" should be declared before they are used | | | | | | +| [no-vue-bypass-sanitization](https://sonarsource.github.io/rspec/#/rspec/S6299/javascript) | Disabling Vue.js built-in escaping is security-sensitive | ✅ | | | | | +| [no-weak-cipher](https://sonarsource.github.io/rspec/#/rspec/S5547/javascript) | Cipher algorithms should be robust | ✅ | | | | | +| [no-weak-keys](https://sonarsource.github.io/rspec/#/rspec/S4426/javascript) | Cryptographic keys should be robust | ✅ | | | | | +| [no-wildcard-import](https://sonarsource.github.io/rspec/#/rspec/S2208/javascript) | Wildcard imports should not be used | | | | | | +| [non-existent-operator](https://sonarsource.github.io/rspec/#/rspec/S2757/javascript) | Non-existent operators '=+', '=-' and '=!' should not be used | ✅ | | 💡 | | | +| [non-number-in-arithmetic-expression](https://sonarsource.github.io/rspec/#/rspec/S3760/javascript) | Arithmetic operators should only have numbers as operands | | | | 💭 | | +| [null-dereference](https://sonarsource.github.io/rspec/#/rspec/S2259/javascript) | Properties of variables with "null" or "undefined" values should not be accessed | ✅ | | | 💭 | | +| [object-alt-content](https://sonarsource.github.io/rspec/#/rspec/S5264/javascript) | "" tags should provide an alternative content | ✅ | | | | | +| [operation-returning-nan](https://sonarsource.github.io/rspec/#/rspec/S3757/javascript) | Arithmetic operations should not result in "NaN" | | | | 💭 | | +| [os-command](https://sonarsource.github.io/rspec/#/rspec/S4721/javascript) | Using shell interpreter when executing OS commands is security-sensitive | ✅ | | | | | +| [post-message](https://sonarsource.github.io/rspec/#/rspec/S2819/javascript) | Origins should be verified during cross-origin communications | ✅ | | | 💭 | | +| [prefer-default-last](https://sonarsource.github.io/rspec/#/rspec/S4524/javascript) | "default" clauses should be last | ✅ | | | | | +| [prefer-immediate-return](https://sonarsource.github.io/rspec/#/rspec/S1488/javascript) | Local variables should not be declared and then immediately returned or thrown | | 🔧 | | | | +| [prefer-object-literal](https://sonarsource.github.io/rspec/#/rspec/S2428/javascript) | Object literal syntax should be used | | | | | | +| [prefer-promise-shorthand](https://sonarsource.github.io/rspec/#/rspec/S4634/javascript) | Shorthand promises should be used | ✅ | | 💡 | | | +| [prefer-read-only-props](https://sonarsource.github.io/rspec/#/rspec/S6759/javascript) | React props should be read-only | ✅ | | 💡 | 💭 | | +| [prefer-regexp-exec](https://sonarsource.github.io/rspec/#/rspec/S6594/javascript) | "RegExp.exec()" should be preferred over "String.match()" | ✅ | | 💡 | 💭 | | +| [prefer-single-boolean-return](https://sonarsource.github.io/rspec/#/rspec/S1126/javascript) | Return of boolean expressions should not be wrapped into an "if-then-else" statement | ✅ | | 💡 | | | +| [prefer-type-guard](https://sonarsource.github.io/rspec/#/rspec/S4322/javascript) | Type predicates should be used | ✅ | | 💡 | | | +| [prefer-while](https://sonarsource.github.io/rspec/#/rspec/S1264/javascript) | A "while" loop should be used instead of a "for" loop | ✅ | 🔧 | | | | +| [process-argv](https://sonarsource.github.io/rspec/#/rspec/S4823/javascript) | Using command line arguments is security-sensitive | | | | | ❌ | +| [production-debug](https://sonarsource.github.io/rspec/#/rspec/S4507/javascript) | Delivering code in production with debug features activated is security-sensitive | ✅ | | | | | +| [pseudo-random](https://sonarsource.github.io/rspec/#/rspec/S2245/javascript) | Using pseudorandom number generators (PRNGs) is security-sensitive | ✅ | | | | | +| [public-static-readonly](https://sonarsource.github.io/rspec/#/rspec/S1444/javascript) | Public "static" fields should be read-only | ✅ | | 💡 | | | +| [publicly-writable-directories](https://sonarsource.github.io/rspec/#/rspec/S5443/javascript) | Using publicly writable directories is security-sensitive | ✅ | | | | | +| [reduce-initial-value](https://sonarsource.github.io/rspec/#/rspec/S6959/javascript) | "Array.reduce()" calls should include an initial value | ✅ | | | 💭 | | +| [redundant-type-aliases](https://sonarsource.github.io/rspec/#/rspec/S6564/javascript) | Redundant type aliases should not be used | ✅ | | | | | +| [regex-complexity](https://sonarsource.github.io/rspec/#/rspec/S5843/javascript) | Regular expressions should not be too complicated | ✅ | | | 💭 | | +| [regular-expr](https://sonarsource.github.io/rspec/#/rspec/S4784/javascript) | Using regular expressions is security-sensitive | | | | | ❌ | +| [session-regeneration](https://sonarsource.github.io/rspec/#/rspec/S5876/javascript) | A new session should be created during user authentication | ✅ | | | | | +| [shorthand-property-grouping](https://sonarsource.github.io/rspec/#/rspec/S3499/javascript) | Shorthand object properties should be grouped at the beginning or end of an object declaration | | | | | | +| [single-char-in-character-classes](https://sonarsource.github.io/rspec/#/rspec/S6397/javascript) | Character classes in regular expressions should not contain only one character | ✅ | | | 💭 | | +| [single-character-alternation](https://sonarsource.github.io/rspec/#/rspec/S6035/javascript) | Single-character alternations in regular expressions should be replaced with character classes | ✅ | | | 💭 | | +| [slow-regex](https://sonarsource.github.io/rspec/#/rspec/S5852/javascript) | Using slow regular expressions is security-sensitive | ✅ | | | 💭 | | +| [sockets](https://sonarsource.github.io/rspec/#/rspec/S4818/javascript) | Using Sockets is security-sensitive | | | | | ❌ | +| [sql-queries](https://sonarsource.github.io/rspec/#/rspec/S2077/javascript) | Formatting SQL queries is security-sensitive | ✅ | | | | | +| [stable-tests](https://sonarsource.github.io/rspec/#/rspec/S5973/javascript) | Tests should be stable | ✅ | | | | | +| [standard-input](https://sonarsource.github.io/rspec/#/rspec/S4829/javascript) | Reading the Standard Input is security-sensitive | | | | | ❌ | +| [stateful-regex](https://sonarsource.github.io/rspec/#/rspec/S6351/javascript) | Regular expressions with the global flag should be used with caution | ✅ | | | | | +| [strict-transport-security](https://sonarsource.github.io/rspec/#/rspec/S5739/javascript) | Disabling Strict-Transport-Security policy is security-sensitive | ✅ | | | | | +| [strings-comparison](https://sonarsource.github.io/rspec/#/rspec/S3003/javascript) | Comparison operators should not be used with strings | | | | 💭 | | +| [super-invocation](https://sonarsource.github.io/rspec/#/rspec/S3854/javascript) | "super()" should be invoked appropriately | ✅ | | | | | +| [table-header](https://sonarsource.github.io/rspec/#/rspec/S5256/javascript) | Tables should have headers | ✅ | | | | | +| [table-header-reference](https://sonarsource.github.io/rspec/#/rspec/S5260/javascript) | Table cells should reference their headers | ✅ | | | | | +| [test-check-exception](https://sonarsource.github.io/rspec/#/rspec/S5958/javascript) | Tests should check which exception is thrown | ✅ | | | | | +| [todo-tag](https://sonarsource.github.io/rspec/#/rspec/S1135/javascript) | Track uses of "TODO" tags | ✅ | | | | | +| [too-many-break-or-continue-in-loop](https://sonarsource.github.io/rspec/#/rspec/S135/javascript) | Loops should not contain more than a single "break" or "continue" statement | | | | | | +| [unicode-aware-regex](https://sonarsource.github.io/rspec/#/rspec/S5867/javascript) | Regular expressions using Unicode character classes or property escapes should enable the unicode flag | | | | 💭 | | +| [unused-import](https://sonarsource.github.io/rspec/#/rspec/S1128/javascript) | Unnecessary imports should be removed | ✅ | | 💡 | 💭 | | +| [unused-named-groups](https://sonarsource.github.io/rspec/#/rspec/S5860/javascript) | Names of regular expressions named groups should be used | ✅ | | | 💭 | | +| [unverified-certificate](https://sonarsource.github.io/rspec/#/rspec/S4830/javascript) | Server certificates should be verified during SSL/TLS connections | ✅ | | | | | +| [unverified-hostname](https://sonarsource.github.io/rspec/#/rspec/S5527/javascript) | Server hostnames should be verified during SSL/TLS connections | ✅ | | | | | +| [updated-const-var](https://sonarsource.github.io/rspec/#/rspec/S3500/javascript) | "const" variables should not be reassigned | ✅ | | | | | +| [updated-loop-counter](https://sonarsource.github.io/rspec/#/rspec/S2310/javascript) | Loop counters should not be assigned within the loop body | ✅ | | | | | +| [use-type-alias](https://sonarsource.github.io/rspec/#/rspec/S4323/javascript) | Type aliases should be used | ✅ | | | | | +| [useless-string-operation](https://sonarsource.github.io/rspec/#/rspec/S1154/javascript) | Results of operations on strings should not be ignored | | | | 💭 | ❌ | +| [values-not-convertible-to-numbers](https://sonarsource.github.io/rspec/#/rspec/S3758/javascript) | Values not convertible to numbers should not be used in numeric comparisons | | | | 💭 | | +| [variable-name](https://sonarsource.github.io/rspec/#/rspec/S117/javascript) | Variable, property and parameter names should comply with a naming convention | | | | | | +| [void-use](https://sonarsource.github.io/rspec/#/rspec/S3735/javascript) | "void" should not be used | ✅ | | | 💭 | | +| [weak-ssl](https://sonarsource.github.io/rspec/#/rspec/S4423/javascript) | Weak SSL/TLS protocols should not be used | ✅ | | | | | +| [web-sql-database](https://sonarsource.github.io/rspec/#/rspec/S2817/javascript) | Web SQL databases should not be used | | | | 💭 | ❌ | +| [x-powered-by](https://sonarsource.github.io/rspec/#/rspec/S5689/javascript) | Disclosing fingerprints from web application technologies is security-sensitive | ✅ | | | | | +| [xml-parser-xxe](https://sonarsource.github.io/rspec/#/rspec/S2755/javascript) | XML parsers should not be vulnerable to XXE attacks | ✅ | | | | | +| [xpath](https://sonarsource.github.io/rspec/#/rspec/S4817/javascript) | Executing XPath expressions is security-sensitive | | | | | ❌ | diff --git a/packages/jsts/src/rules/S2201/rule.ts b/packages/jsts/src/rules/S2201/rule.ts index 3ed22f5fcac..2e27f5adfa8 100644 --- a/packages/jsts/src/rules/S2201/rule.ts +++ b/packages/jsts/src/rules/S2201/rule.ts @@ -19,8 +19,7 @@ */ // https://sonarsource.github.io/rspec/#/rspec/S2201 -import type { ParserServicesWithTypeInformation } from '@typescript-eslint/utils'; -import type { TSESTree } from '@typescript-eslint/utils'; +import type { ParserServicesWithTypeInformation, TSESTree } from '@typescript-eslint/utils'; import type * as TS from 'typescript'; import type { Rule } from 'eslint'; import { generateMeta, getTypeFromTreeNode, isRequiredParserServices } from '../helpers/index.js'; diff --git a/tools/generate-rule-indexes.ts b/tools/generate-rule-indexes.ts index d28fe23145a..32248393180 100644 --- a/tools/generate-rule-indexes.ts +++ b/tools/generate-rule-indexes.ts @@ -21,6 +21,7 @@ import prettier from 'prettier'; import { readdir, writeFile } from 'fs/promises'; import { join, dirname } from 'node:path/posix'; import { fileURLToPath, pathToFileURL } from 'node:url'; +import { prettier as prettierOpts } from '../package.json'; function toUnixPath(path: string) { return path.replace(/[\\/]+/g, '/'); @@ -51,14 +52,6 @@ const RULES_FOLDER = join( '../packages/jsts/src/rules/', ); -const prettierOpts = { - printWidth: 100, - trailingComma: 'all', - singleQuote: true, - arrowParens: 'avoid', - endOfLine: 'lf', -} as const; - const allRulesIndex = join(RULES_FOLDER, './rules.ts'); const pluginRulesIndex = join(RULES_FOLDER, './plugin-rules.ts'); const ruleRegex = /^S\d+$/; @@ -90,7 +83,7 @@ await writeFile( .sort(sonarKeySorter) .map(id => `export { rule as ${id} } from './${id}/index.js'; // ${eslintIds[id]}\n`) .join('')}`, - { ...prettierOpts, filepath: allRulesIndex }, + { ...(prettierOpts as prettier.Options), filepath: allRulesIndex }, ), ); @@ -103,6 +96,6 @@ await writeFile( `${header}\n\n// DO NOT EDIT! This file was generated by generate-rule-indexes.ts\n ${pluginRules.map(id => `import { rule as ${id} } from './${id}/index.js';\n`).join('')} export const rules = {\n${pluginRules.map(id => ` '${eslintIds[id]}': ${id},\n`).join('')}};\n`, - { ...prettierOpts, filepath: allRulesIndex }, + { ...(prettierOpts as prettier.Options), filepath: allRulesIndex }, ), ); diff --git a/tools/tsconfig.json b/tools/tsconfig.json index 50b3a465903..2f2edb1f928 100644 --- a/tools/tsconfig.json +++ b/tools/tsconfig.json @@ -4,6 +4,7 @@ "target": "ES2023", "allowJs": true, "moduleResolution": "NodeNext", + "resolveJsonModule": true, "typeRoots": ["../node_modules/@types", "../typings"] }, "files": ["*.ts"] From aafefae18c6a5574078067ce710445611efef021 Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Tue, 26 Nov 2024 10:27:10 +0100 Subject: [PATCH 08/23] Update licenses --- .eslint-doc-generatorrc.cjs | 16 ++++ esbuild.mjs | 16 ++++ generate-eslint-package-json.mjs | 16 ++++ packages/bridge/src/delegate.ts | 13 ++- packages/bridge/src/errors/index.ts | 13 ++- packages/bridge/src/errors/middleware.ts | 13 ++- packages/bridge/src/handle-request.ts | 13 ++- packages/bridge/src/memory.ts | 13 ++- packages/bridge/src/request.ts | 13 ++- packages/bridge/src/router.ts | 13 ++- packages/bridge/src/server.ts | 13 ++- packages/bridge/src/timeout/index.ts | 13 ++- packages/bridge/src/timeout/middleware.ts | 13 ++- packages/bridge/src/timeout/timeout.ts | 13 ++- packages/bridge/src/worker.ts | 14 ++- .../bridge/tests/errors/middleware.test.ts | 13 ++- packages/bridge/tests/memory.test.ts | 13 ++- packages/bridge/tests/router.test.ts | 13 ++- packages/bridge/tests/server.test.ts | 13 ++- packages/bridge/tests/timeout/timeout.test.ts | 13 ++- packages/bridge/tests/tools/index.ts | 13 ++- packages/bridge/tests/tools/request.ts | 13 ++- packages/bridge/tests/worker.test.ts | 13 ++- packages/css/src/analysis/analysis.ts | 14 ++- packages/css/src/analysis/analyzer.ts | 13 ++- packages/css/src/linter/config.ts | 13 ++- packages/css/src/linter/issues/index.ts | 13 ++- packages/css/src/linter/issues/issue.ts | 13 ++- packages/css/src/linter/issues/transform.ts | 13 ++- packages/css/src/linter/wrapper.ts | 13 ++- packages/css/src/rules/S125/index.ts | 13 ++- packages/css/src/rules/S125/rule.ts | 13 ++- packages/css/src/rules/S125/unit.test.ts | 13 ++- packages/css/src/rules/S5362/index.ts | 13 ++- packages/css/src/rules/S5362/rule.ts | 13 ++- packages/css/src/rules/S5362/unit.test.ts | 13 ++- packages/css/src/rules/index.ts | 13 ++- packages/css/tests/analysis/analyzer.test.ts | 13 ++- packages/css/tests/linter/config.test.ts | 13 ++- .../css/tests/linter/issues/transform.test.ts | 13 ++- packages/css/tests/linter/wrapper.test.ts | 13 ++- packages/css/tests/tools/tester/index.ts | 13 ++- packages/css/tests/tools/tester/tester.ts | 13 ++- packages/html/src/index.ts | 14 ++- packages/html/src/parser/parse.ts | 13 ++- packages/html/tests/analysis/analyzer.test.ts | 13 ++- packages/html/tests/builder/build.test.ts | 13 ++- packages/html/tests/parser/parse.test.ts | 13 ++- packages/jsts/src/analysis/analysis.ts | 13 ++- packages/jsts/src/analysis/analyzer.ts | 13 ++- .../analysis/projectAnalysis/analyzeFile.ts | 13 ++- .../projectAnalysis/analyzeWithProgram.ts | 14 ++- .../analyzeWithWatchProgram.ts | 14 ++- .../projectAnalysis/analyzeWithoutProgram.ts | 14 ++- .../projectAnalysis/projectAnalysis.ts | 14 ++- .../projectAnalysis/projectAnalyzer.ts | 13 ++- packages/jsts/src/builders/build.ts | 13 ++- .../jsts/src/embedded/analysis/analysis.ts | 13 ++- .../jsts/src/embedded/analysis/analyzer.ts | 13 ++- .../jsts/src/embedded/analysis/embedded-js.ts | 13 ++- packages/jsts/src/embedded/builder/build.ts | 13 ++- packages/jsts/src/embedded/builder/patch.ts | 13 ++- packages/jsts/src/linter/bundle-loader.ts | 13 ++- .../jsts/src/linter/config/linter-config.ts | 13 ++- .../jsts/src/linter/config/rule-config.ts | 13 ++- .../custom-rules/cognitive-complexity.ts | 13 ++- .../src/linter/custom-rules/custom-rule.ts | 13 ++- .../jsts/src/linter/custom-rules/rules.ts | 13 ++- .../custom-rules/symbol-highlighting.ts | 13 ++- packages/jsts/src/linter/issues/decode.ts | 13 ++- packages/jsts/src/linter/issues/extract.ts | 13 ++- packages/jsts/src/linter/issues/issue.ts | 13 ++- packages/jsts/src/linter/issues/location.ts | 13 ++- packages/jsts/src/linter/issues/message.ts | 13 ++- packages/jsts/src/linter/issues/normalize.ts | 13 ++- packages/jsts/src/linter/issues/transform.ts | 13 ++- packages/jsts/src/linter/linters.ts | 13 ++- .../src/linter/parameters/helpers/index.ts | 13 ++- .../src/linter/parameters/helpers/schema.ts | 13 ++- .../src/linter/parameters/sonar-context.ts | 13 ++- .../src/linter/parameters/sonar-runtime.ts | 13 ++- .../jsts/src/linter/quickfixes/messages.ts | 13 ++- .../jsts/src/linter/quickfixes/quickfix.ts | 13 ++- packages/jsts/src/linter/quickfixes/rules.ts | 13 ++- .../jsts/src/linter/quickfixes/transform.ts | 13 ++- packages/jsts/src/linter/visitors/cpd.ts | 13 ++- .../src/linter/visitors/metrics/classes.ts | 13 ++- .../src/linter/visitors/metrics/comments.ts | 13 ++- .../src/linter/visitors/metrics/compute.ts | 13 ++- .../visitors/metrics/cyclomatic-complexity.ts | 13 ++- .../visitors/metrics/executable-lines.ts | 13 ++- .../src/linter/visitors/metrics/functions.ts | 13 ++- .../visitors/metrics/helpers/counter.ts | 13 ++- .../linter/visitors/metrics/helpers/index.ts | 13 ++- .../linter/visitors/metrics/helpers/lines.ts | 13 ++- .../visitors/metrics/helpers/location.ts | 13 ++- .../linter/visitors/metrics/helpers/tokens.ts | 13 ++- .../jsts/src/linter/visitors/metrics/index.ts | 13 ++- .../src/linter/visitors/metrics/metrics.ts | 13 ++- .../jsts/src/linter/visitors/metrics/ncloc.ts | 13 ++- .../src/linter/visitors/metrics/nosonar.ts | 13 ++- .../src/linter/visitors/metrics/statements.ts | 13 ++- .../linter/visitors/symbol-highlighting.ts | 13 ++- .../linter/visitors/syntax-highlighting.ts | 13 ++- packages/jsts/src/linter/visitors/visitor.ts | 13 ++- packages/jsts/src/linter/wrapper.ts | 13 ++- packages/jsts/src/parsers/ast.ts | 13 ++- packages/jsts/src/parsers/eslint.ts | 13 ++- packages/jsts/src/parsers/options.ts | 13 ++- packages/jsts/src/parsers/parse.ts | 13 ++- packages/jsts/src/program/program.ts | 13 ++- packages/jsts/src/program/tsconfigs/index.ts | 13 ++- .../jsts/src/rules/S100/generated-meta.ts | 13 ++- packages/jsts/src/rules/S100/index.ts | 13 ++- packages/jsts/src/rules/S100/meta.ts | 13 ++- packages/jsts/src/rules/S100/rule.ts | 13 ++- packages/jsts/src/rules/S100/unit.test.ts | 13 ++- .../jsts/src/rules/S101/generated-meta.ts | 13 ++- packages/jsts/src/rules/S101/index.ts | 13 ++- packages/jsts/src/rules/S101/meta.ts | 13 ++- packages/jsts/src/rules/S101/rule.ts | 13 ++- packages/jsts/src/rules/S101/unit.test.ts | 13 ++- .../jsts/src/rules/S103/generated-meta.ts | 13 ++- packages/jsts/src/rules/S103/index.ts | 14 ++- packages/jsts/src/rules/S103/meta.ts | 13 ++- .../jsts/src/rules/S104/generated-meta.ts | 13 ++- packages/jsts/src/rules/S104/index.ts | 13 ++- packages/jsts/src/rules/S104/meta.ts | 13 ++- packages/jsts/src/rules/S104/rule.ts | 13 ++- packages/jsts/src/rules/S104/unit.test.ts | 13 ++- .../jsts/src/rules/S105/generated-meta.ts | 13 ++- packages/jsts/src/rules/S105/index.ts | 13 ++- packages/jsts/src/rules/S105/meta.ts | 13 ++- packages/jsts/src/rules/S105/rule.ts | 13 ++- packages/jsts/src/rules/S105/unit.test.ts | 13 ++- .../jsts/src/rules/S106/generated-meta.ts | 13 ++- packages/jsts/src/rules/S106/index.ts | 14 ++- packages/jsts/src/rules/S106/meta.ts | 13 ++- .../jsts/src/rules/S1066/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1066/index.ts | 13 ++- packages/jsts/src/rules/S1066/meta.ts | 13 ++- packages/jsts/src/rules/S1066/rule.ts | 13 ++- packages/jsts/src/rules/S1066/unit.test.ts | 13 ++- .../jsts/src/rules/S1067/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1067/index.ts | 13 ++- packages/jsts/src/rules/S1067/meta.ts | 13 ++- packages/jsts/src/rules/S1067/rule.ts | 13 ++- packages/jsts/src/rules/S1067/unit.test.ts | 13 ++- packages/jsts/src/rules/S1068/decorator.ts | 13 ++- .../jsts/src/rules/S1068/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1068/index.ts | 13 ++- packages/jsts/src/rules/S1068/meta.ts | 13 ++- packages/jsts/src/rules/S1068/unit.test.ts | 13 ++- .../jsts/src/rules/S107/generated-meta.ts | 13 ++- packages/jsts/src/rules/S107/index.ts | 13 ++- packages/jsts/src/rules/S107/meta.ts | 13 ++- packages/jsts/src/rules/S107/rule.ts | 13 ++- packages/jsts/src/rules/S107/unit.test.ts | 13 ++- packages/jsts/src/rules/S1077/cb.test.ts | 13 ++- packages/jsts/src/rules/S1077/decorator.ts | 13 ++- .../jsts/src/rules/S1077/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1077/index.ts | 13 ++- packages/jsts/src/rules/S1077/meta.ts | 13 ++- .../jsts/src/rules/S108/generated-meta.ts | 13 ++- packages/jsts/src/rules/S108/index.ts | 14 ++- packages/jsts/src/rules/S108/meta.ts | 13 ++- packages/jsts/src/rules/S1082/cb.test.ts | 13 ++- .../jsts/src/rules/S1082/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1082/index.ts | 13 ++- packages/jsts/src/rules/S1082/meta.ts | 13 ++- packages/jsts/src/rules/S1082/rule.ts | 13 ++- packages/jsts/src/rules/S109/cb.test.ts | 13 ++- .../jsts/src/rules/S109/generated-meta.ts | 13 ++- packages/jsts/src/rules/S109/index.ts | 13 ++- packages/jsts/src/rules/S109/meta.ts | 13 ++- packages/jsts/src/rules/S109/rule.ts | 13 ++- .../jsts/src/rules/S1090/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1090/index.ts | 14 ++- packages/jsts/src/rules/S1090/meta.ts | 13 ++- packages/jsts/src/rules/S1105/cb.test.ts | 13 ++- packages/jsts/src/rules/S1105/decorator.ts | 13 ++- .../jsts/src/rules/S1105/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1105/index.ts | 13 ++- packages/jsts/src/rules/S1105/meta.ts | 13 ++- .../jsts/src/rules/S1110/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1110/index.ts | 13 ++- packages/jsts/src/rules/S1110/meta.ts | 13 ++- packages/jsts/src/rules/S1110/rule.ts | 13 ++- packages/jsts/src/rules/S1110/unit.test.ts | 13 ++- packages/jsts/src/rules/S1116/decorator.ts | 13 ++- .../jsts/src/rules/S1116/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1116/index.ts | 13 ++- packages/jsts/src/rules/S1116/meta.ts | 13 ++- packages/jsts/src/rules/S1116/unit.test.ts | 13 ++- .../jsts/src/rules/S1117/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1117/index.ts | 14 ++- packages/jsts/src/rules/S1117/meta.ts | 13 ++- .../jsts/src/rules/S1119/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1119/index.ts | 13 ++- packages/jsts/src/rules/S1119/meta.ts | 13 ++- packages/jsts/src/rules/S1119/rule.ts | 13 ++- packages/jsts/src/rules/S1119/unit.test.ts | 13 ++- .../jsts/src/rules/S1121/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1121/index.ts | 13 ++- packages/jsts/src/rules/S1121/meta.ts | 13 ++- packages/jsts/src/rules/S1121/rule.ts | 13 ++- packages/jsts/src/rules/S1121/unit.test.ts | 13 ++- .../jsts/src/rules/S1125/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1125/index.ts | 13 ++- packages/jsts/src/rules/S1125/meta.ts | 13 ++- packages/jsts/src/rules/S1125/rule.ts | 13 ++- packages/jsts/src/rules/S1125/unit.test.ts | 13 ++- .../jsts/src/rules/S1126/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1126/index.ts | 13 ++- packages/jsts/src/rules/S1126/meta.ts | 13 ++- packages/jsts/src/rules/S1126/rule.ts | 13 ++- packages/jsts/src/rules/S1126/unit.test.ts | 13 ++- packages/jsts/src/rules/S1128/cb.test.ts | 13 ++- .../jsts/src/rules/S1128/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1128/index.ts | 13 ++- packages/jsts/src/rules/S1128/meta.ts | 13 ++- packages/jsts/src/rules/S1128/rule.ts | 13 ++- packages/jsts/src/rules/S1128/unit.test.ts | 13 ++- .../jsts/src/rules/S113/generated-meta.ts | 13 ++- packages/jsts/src/rules/S113/index.ts | 14 ++- packages/jsts/src/rules/S113/meta.ts | 13 ++- .../jsts/src/rules/S1131/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1131/index.ts | 14 ++- packages/jsts/src/rules/S1131/meta.ts | 13 ++- .../jsts/src/rules/S1134/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1134/index.ts | 13 ++- packages/jsts/src/rules/S1134/meta.ts | 13 ++- packages/jsts/src/rules/S1134/rule.ts | 13 ++- packages/jsts/src/rules/S1134/unit.test.ts | 13 ++- .../jsts/src/rules/S1135/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1135/index.ts | 13 ++- packages/jsts/src/rules/S1135/meta.ts | 13 ++- packages/jsts/src/rules/S1135/rule.ts | 13 ++- packages/jsts/src/rules/S1135/unit.test.ts | 13 ++- .../jsts/src/rules/S1143/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1143/index.ts | 14 ++- packages/jsts/src/rules/S1143/meta.ts | 13 ++- .../jsts/src/rules/S1154/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1154/index.ts | 13 ++- packages/jsts/src/rules/S1154/meta.ts | 13 ++- packages/jsts/src/rules/S1154/rule.ts | 13 ++- packages/jsts/src/rules/S1154/unit.test.ts | 13 ++- .../jsts/src/rules/S117/generated-meta.ts | 13 ++- packages/jsts/src/rules/S117/index.ts | 13 ++- packages/jsts/src/rules/S117/meta.ts | 13 ++- packages/jsts/src/rules/S117/rule.ts | 13 ++- packages/jsts/src/rules/S117/unit.test.ts | 13 ++- .../jsts/src/rules/S1172/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1172/index.ts | 13 ++- packages/jsts/src/rules/S1172/meta.ts | 13 ++- packages/jsts/src/rules/S1172/rule.ts | 13 ++- packages/jsts/src/rules/S1172/unit.test.ts | 13 ++- packages/jsts/src/rules/S1186/decorator.ts | 13 ++- .../jsts/src/rules/S1186/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1186/index.ts | 13 ++- packages/jsts/src/rules/S1186/meta.ts | 13 ++- packages/jsts/src/rules/S1186/unit.test.ts | 13 ++- .../jsts/src/rules/S1192/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1192/index.ts | 13 ++- packages/jsts/src/rules/S1192/meta.ts | 13 ++- packages/jsts/src/rules/S1192/rule.ts | 13 ++- packages/jsts/src/rules/S1192/unit.test.ts | 13 ++- .../jsts/src/rules/S1199/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1199/index.ts | 14 ++- packages/jsts/src/rules/S1199/meta.ts | 13 ++- .../jsts/src/rules/S121/generated-meta.ts | 13 ++- packages/jsts/src/rules/S121/index.ts | 14 ++- packages/jsts/src/rules/S121/meta.ts | 13 ++- .../jsts/src/rules/S1219/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1219/index.ts | 13 ++- packages/jsts/src/rules/S1219/meta.ts | 13 ++- packages/jsts/src/rules/S1219/rule.ts | 13 ++- packages/jsts/src/rules/S1219/unit.test.ts | 13 ++- .../jsts/src/rules/S122/generated-meta.ts | 13 ++- packages/jsts/src/rules/S122/index.ts | 14 ++- packages/jsts/src/rules/S122/meta.ts | 13 ++- .../jsts/src/rules/S1226/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1226/index.ts | 13 ++- packages/jsts/src/rules/S1226/meta.ts | 13 ++- packages/jsts/src/rules/S1226/rule.ts | 13 ++- packages/jsts/src/rules/S1226/unit.test.ts | 13 ++- .../jsts/src/rules/S124/generated-meta.ts | 13 ++- packages/jsts/src/rules/S124/index.ts | 13 ++- packages/jsts/src/rules/S124/meta.ts | 13 ++- packages/jsts/src/rules/S124/rule.ts | 13 ++- packages/jsts/src/rules/S124/unit.test.ts | 13 ++- .../jsts/src/rules/S125/generated-meta.ts | 13 ++- packages/jsts/src/rules/S125/index.ts | 13 ++- packages/jsts/src/rules/S125/meta.ts | 13 ++- packages/jsts/src/rules/S125/rule.ts | 13 ++- packages/jsts/src/rules/S125/unit.test.ts | 13 ++- .../jsts/src/rules/S126/generated-meta.ts | 13 ++- packages/jsts/src/rules/S126/index.ts | 13 ++- packages/jsts/src/rules/S126/meta.ts | 13 ++- packages/jsts/src/rules/S126/rule.ts | 13 ++- packages/jsts/src/rules/S126/unit.test.ts | 13 ++- .../jsts/src/rules/S1264/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1264/index.ts | 13 ++- packages/jsts/src/rules/S1264/meta.ts | 13 ++- packages/jsts/src/rules/S1264/rule.ts | 13 ++- packages/jsts/src/rules/S1264/unit.test.ts | 13 ++- .../jsts/src/rules/S128/generated-meta.ts | 13 ++- packages/jsts/src/rules/S128/index.ts | 13 ++- packages/jsts/src/rules/S128/meta.ts | 13 ++- packages/jsts/src/rules/S128/rule.ts | 13 ++- packages/jsts/src/rules/S128/unit.test.ts | 13 ++- .../jsts/src/rules/S1301/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1301/index.ts | 13 ++- packages/jsts/src/rules/S1301/meta.ts | 13 ++- packages/jsts/src/rules/S1301/rule.ts | 13 ++- packages/jsts/src/rules/S1301/unit.test.ts | 13 ++- .../jsts/src/rules/S131/generated-meta.ts | 13 ++- packages/jsts/src/rules/S131/index.ts | 13 ++- packages/jsts/src/rules/S131/meta.ts | 13 ++- packages/jsts/src/rules/S131/rule.ts | 13 ++- packages/jsts/src/rules/S131/unit.test.ts | 13 ++- .../jsts/src/rules/S1313/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1313/index.ts | 13 ++- packages/jsts/src/rules/S1313/meta.ts | 13 ++- packages/jsts/src/rules/S1313/rule.ts | 13 ++- packages/jsts/src/rules/S1313/unit.test.ts | 13 ++- .../jsts/src/rules/S1314/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1314/index.ts | 14 ++- packages/jsts/src/rules/S1314/meta.ts | 13 ++- .../jsts/src/rules/S1321/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1321/index.ts | 14 ++- packages/jsts/src/rules/S1321/meta.ts | 13 ++- .../jsts/src/rules/S134/generated-meta.ts | 13 ++- packages/jsts/src/rules/S134/index.ts | 13 ++- packages/jsts/src/rules/S134/meta.ts | 13 ++- packages/jsts/src/rules/S134/rule.ts | 13 ++- packages/jsts/src/rules/S134/unit.test.ts | 13 ++- .../jsts/src/rules/S135/generated-meta.ts | 13 ++- packages/jsts/src/rules/S135/index.ts | 13 ++- packages/jsts/src/rules/S135/meta.ts | 13 ++- packages/jsts/src/rules/S135/rule.ts | 13 ++- packages/jsts/src/rules/S135/unit.test.ts | 13 ++- .../jsts/src/rules/S138/generated-meta.ts | 13 ++- packages/jsts/src/rules/S138/index.ts | 13 ++- packages/jsts/src/rules/S138/meta.ts | 13 ++- packages/jsts/src/rules/S138/rule.ts | 13 ++- packages/jsts/src/rules/S138/unit.test.ts | 13 ++- .../jsts/src/rules/S139/generated-meta.ts | 13 ++- packages/jsts/src/rules/S139/index.ts | 14 ++- packages/jsts/src/rules/S139/meta.ts | 13 ++- packages/jsts/src/rules/S1438/cb.test.ts | 13 ++- packages/jsts/src/rules/S1438/decorator.ts | 13 ++- .../jsts/src/rules/S1438/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1438/index.ts | 13 ++- packages/jsts/src/rules/S1438/meta.ts | 13 ++- .../jsts/src/rules/S1439/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1439/index.ts | 13 ++- packages/jsts/src/rules/S1439/meta.ts | 13 ++- packages/jsts/src/rules/S1439/rule.ts | 13 ++- packages/jsts/src/rules/S1439/unit.test.ts | 13 ++- .../jsts/src/rules/S1440/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1440/index.ts | 14 ++- packages/jsts/src/rules/S1440/meta.ts | 13 ++- .../jsts/src/rules/S1441/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1441/index.ts | 14 ++- packages/jsts/src/rules/S1441/meta.ts | 13 ++- .../jsts/src/rules/S1442/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1442/index.ts | 14 ++- packages/jsts/src/rules/S1442/meta.ts | 13 ++- packages/jsts/src/rules/S1444/cb.test.ts | 13 ++- .../jsts/src/rules/S1444/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1444/index.ts | 13 ++- packages/jsts/src/rules/S1444/meta.ts | 13 ++- packages/jsts/src/rules/S1444/rule.ts | 13 ++- .../jsts/src/rules/S1451/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1451/index.ts | 13 ++- packages/jsts/src/rules/S1451/meta.ts | 13 ++- packages/jsts/src/rules/S1451/rule.ts | 13 ++- packages/jsts/src/rules/S1451/unit.test.ts | 13 ++- .../jsts/src/rules/S1472/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1472/index.ts | 13 ++- packages/jsts/src/rules/S1472/meta.ts | 13 ++- packages/jsts/src/rules/S1472/rule.ts | 13 ++- packages/jsts/src/rules/S1472/unit.test.ts | 13 ++- .../jsts/src/rules/S1479/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1479/index.ts | 13 ++- packages/jsts/src/rules/S1479/meta.ts | 13 ++- packages/jsts/src/rules/S1479/rule.ts | 13 ++- packages/jsts/src/rules/S1479/unit.test.ts | 13 ++- .../jsts/src/rules/S1481/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1481/index.ts | 13 ++- packages/jsts/src/rules/S1481/meta.ts | 13 ++- packages/jsts/src/rules/S1481/rule.ts | 13 ++- packages/jsts/src/rules/S1481/unit.test.ts | 13 ++- .../jsts/src/rules/S1488/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1488/index.ts | 13 ++- packages/jsts/src/rules/S1488/meta.ts | 13 ++- packages/jsts/src/rules/S1488/rule.ts | 13 ++- packages/jsts/src/rules/S1488/unit.test.ts | 13 ++- .../jsts/src/rules/S1515/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1515/index.ts | 13 ++- packages/jsts/src/rules/S1515/meta.ts | 13 ++- packages/jsts/src/rules/S1515/rule.ts | 13 ++- packages/jsts/src/rules/S1515/unit.test.ts | 13 ++- .../jsts/src/rules/S1516/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1516/index.ts | 14 ++- packages/jsts/src/rules/S1516/meta.ts | 13 ++- .../jsts/src/rules/S1523/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1523/index.ts | 13 ++- packages/jsts/src/rules/S1523/meta.ts | 13 ++- packages/jsts/src/rules/S1523/rule.ts | 13 ++- packages/jsts/src/rules/S1523/unit.test.ts | 13 ++- .../jsts/src/rules/S1525/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1525/index.ts | 14 ++- packages/jsts/src/rules/S1525/meta.ts | 13 ++- .../jsts/src/rules/S1526/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1526/index.ts | 13 ++- packages/jsts/src/rules/S1526/meta.ts | 13 ++- packages/jsts/src/rules/S1526/rule.ts | 13 ++- packages/jsts/src/rules/S1526/unit.test.ts | 13 ++- .../jsts/src/rules/S1527/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1527/index.ts | 13 ++- packages/jsts/src/rules/S1527/meta.ts | 13 ++- packages/jsts/src/rules/S1527/rule.ts | 13 ++- packages/jsts/src/rules/S1527/unit.test.ts | 13 ++- .../jsts/src/rules/S1528/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1528/index.ts | 13 ++- packages/jsts/src/rules/S1528/meta.ts | 13 ++- packages/jsts/src/rules/S1528/rule.ts | 13 ++- packages/jsts/src/rules/S1528/unit.test.ts | 13 ++- .../jsts/src/rules/S1529/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1529/index.ts | 13 ++- packages/jsts/src/rules/S1529/meta.ts | 13 ++- packages/jsts/src/rules/S1529/rule.ts | 13 ++- packages/jsts/src/rules/S1529/unit.test.ts | 13 ++- .../jsts/src/rules/S1530/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1530/index.ts | 13 ++- packages/jsts/src/rules/S1530/meta.ts | 13 ++- packages/jsts/src/rules/S1530/rule.ts | 13 ++- packages/jsts/src/rules/S1530/unit.test.ts | 13 ++- .../jsts/src/rules/S1533/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1533/index.ts | 13 ++- packages/jsts/src/rules/S1533/meta.ts | 13 ++- packages/jsts/src/rules/S1533/rule.ts | 13 ++- packages/jsts/src/rules/S1533/unit.test.ts | 13 ++- packages/jsts/src/rules/S1534/cb.test.ts | 13 ++- packages/jsts/src/rules/S1534/decorator.ts | 13 ++- .../jsts/src/rules/S1534/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1534/index.ts | 13 ++- packages/jsts/src/rules/S1534/meta.ts | 13 ++- packages/jsts/src/rules/S1534/rule.ts | 13 ++- packages/jsts/src/rules/S1534/unit.test.ts | 13 ++- .../jsts/src/rules/S1535/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1535/index.ts | 13 ++- packages/jsts/src/rules/S1535/meta.ts | 13 ++- packages/jsts/src/rules/S1535/rule.ts | 13 ++- packages/jsts/src/rules/S1535/unit.test.ts | 13 ++- .../jsts/src/rules/S1536/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1536/index.ts | 14 ++- packages/jsts/src/rules/S1536/meta.ts | 13 ++- .../jsts/src/rules/S1537/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1537/index.ts | 14 ++- packages/jsts/src/rules/S1537/meta.ts | 13 ++- .../jsts/src/rules/S1539/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1539/index.ts | 14 ++- packages/jsts/src/rules/S1539/meta.ts | 13 ++- .../jsts/src/rules/S1541/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1541/index.ts | 13 ++- packages/jsts/src/rules/S1541/meta.ts | 13 ++- packages/jsts/src/rules/S1541/rule.ts | 13 ++- packages/jsts/src/rules/S1541/unit.test.ts | 13 ++- .../jsts/src/rules/S1607/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1607/index.ts | 13 ++- .../jsts/src/rules/S1607/jasmine/cb.test.ts | 13 ++- packages/jsts/src/rules/S1607/jest/cb.test.ts | 13 ++- packages/jsts/src/rules/S1607/meta.ts | 13 ++- .../jsts/src/rules/S1607/mocha/cb.test.ts | 13 ++- .../jsts/src/rules/S1607/nodejs/cb.test.ts | 13 ++- packages/jsts/src/rules/S1607/rule.ts | 13 ++- packages/jsts/src/rules/S1607/unit.test.ts | 13 ++- .../jsts/src/rules/S1656/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1656/index.ts | 14 ++- packages/jsts/src/rules/S1656/meta.ts | 13 ++- .../jsts/src/rules/S1751/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1751/index.ts | 13 ++- packages/jsts/src/rules/S1751/meta.ts | 13 ++- packages/jsts/src/rules/S1751/rule.ts | 13 ++- packages/jsts/src/rules/S1751/unit.test.ts | 13 ++- packages/jsts/src/rules/S1763/decorator.ts | 13 ++- .../jsts/src/rules/S1763/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1763/index.ts | 13 ++- packages/jsts/src/rules/S1763/meta.ts | 13 ++- packages/jsts/src/rules/S1763/unit.test.ts | 13 ++- .../jsts/src/rules/S1764/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1764/index.ts | 13 ++- packages/jsts/src/rules/S1764/meta.ts | 13 ++- packages/jsts/src/rules/S1764/rule.ts | 13 ++- packages/jsts/src/rules/S1764/unit.test.ts | 13 ++- .../jsts/src/rules/S1774/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1774/index.ts | 14 ++- packages/jsts/src/rules/S1774/meta.ts | 13 ++- packages/jsts/src/rules/S1788/cb.test.ts | 13 ++- packages/jsts/src/rules/S1788/decorator.ts | 13 ++- .../jsts/src/rules/S1788/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1788/index.ts | 13 ++- packages/jsts/src/rules/S1788/meta.ts | 13 ++- .../jsts/src/rules/S1821/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1821/index.ts | 13 ++- packages/jsts/src/rules/S1821/meta.ts | 13 ++- packages/jsts/src/rules/S1821/rule.ts | 13 ++- packages/jsts/src/rules/S1821/unit.test.ts | 13 ++- .../jsts/src/rules/S1848/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1848/index.ts | 13 ++- packages/jsts/src/rules/S1848/meta.ts | 13 ++- packages/jsts/src/rules/S1848/rule.ts | 13 ++- packages/jsts/src/rules/S1848/unit.test.ts | 13 ++- .../jsts/src/rules/S1854/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1854/index.ts | 13 ++- packages/jsts/src/rules/S1854/meta.ts | 13 ++- packages/jsts/src/rules/S1854/rule.ts | 13 ++- packages/jsts/src/rules/S1854/unit.test.ts | 13 ++- .../jsts/src/rules/S1862/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1862/index.ts | 13 ++- packages/jsts/src/rules/S1862/meta.ts | 13 ++- packages/jsts/src/rules/S1862/rule.ts | 13 ++- packages/jsts/src/rules/S1862/unit.test.ts | 13 ++- .../jsts/src/rules/S1871/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1871/index.ts | 13 ++- packages/jsts/src/rules/S1871/meta.ts | 13 ++- packages/jsts/src/rules/S1871/rule.ts | 13 ++- packages/jsts/src/rules/S1871/unit.test.ts | 13 ++- packages/jsts/src/rules/S1874/cb.test.ts | 13 ++- .../jsts/src/rules/S1874/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1874/index.ts | 13 ++- packages/jsts/src/rules/S1874/meta.ts | 13 ++- packages/jsts/src/rules/S1874/rule.ts | 13 ++- .../jsts/src/rules/S1940/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1940/index.ts | 13 ++- packages/jsts/src/rules/S1940/meta.ts | 13 ++- packages/jsts/src/rules/S1940/rule.ts | 13 ++- packages/jsts/src/rules/S1940/unit.test.ts | 13 ++- .../jsts/src/rules/S1994/generated-meta.ts | 13 ++- packages/jsts/src/rules/S1994/index.ts | 13 ++- packages/jsts/src/rules/S1994/meta.ts | 13 ++- packages/jsts/src/rules/S1994/rule.ts | 13 ++- packages/jsts/src/rules/S1994/unit.test.ts | 13 ++- packages/jsts/src/rules/S2004/cb.test.ts | 13 ++- .../jsts/src/rules/S2004/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2004/index.ts | 13 ++- packages/jsts/src/rules/S2004/meta.ts | 13 ++- packages/jsts/src/rules/S2004/rule.ts | 13 ++- packages/jsts/src/rules/S2004/unit.test.ts | 13 ++- .../jsts/src/rules/S2068/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2068/index.ts | 13 ++- packages/jsts/src/rules/S2068/meta.ts | 13 ++- packages/jsts/src/rules/S2068/rule.ts | 13 ++- packages/jsts/src/rules/S2068/unit.test.ts | 13 ++- .../jsts/src/rules/S2077/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2077/index.ts | 13 ++- packages/jsts/src/rules/S2077/meta.ts | 13 ++- packages/jsts/src/rules/S2077/rule.ts | 13 ++- packages/jsts/src/rules/S2077/unit.test.ts | 13 ++- .../jsts/src/rules/S2092/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2092/index.ts | 13 ++- packages/jsts/src/rules/S2092/meta.ts | 13 ++- packages/jsts/src/rules/S2092/rule.ts | 13 ++- packages/jsts/src/rules/S2092/unit.test.ts | 13 ++- .../jsts/src/rules/S2094/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2094/index.ts | 14 ++- packages/jsts/src/rules/S2094/meta.ts | 13 ++- .../jsts/src/rules/S2123/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2123/index.ts | 13 ++- packages/jsts/src/rules/S2123/meta.ts | 13 ++- packages/jsts/src/rules/S2123/rule.ts | 13 ++- packages/jsts/src/rules/S2123/unit.test.ts | 13 ++- .../jsts/src/rules/S2137/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2137/index.ts | 13 ++- packages/jsts/src/rules/S2137/meta.ts | 13 ++- packages/jsts/src/rules/S2137/rule.ts | 13 ++- packages/jsts/src/rules/S2137/unit.test.ts | 13 ++- .../jsts/src/rules/S2138/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2138/index.ts | 13 ++- packages/jsts/src/rules/S2138/meta.ts | 13 ++- packages/jsts/src/rules/S2138/rule.ts | 13 ++- packages/jsts/src/rules/S2138/unit.test.ts | 13 ++- .../jsts/src/rules/S2187/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2187/index.ts | 13 ++- packages/jsts/src/rules/S2187/meta.ts | 13 ++- packages/jsts/src/rules/S2187/rule.ts | 13 ++- packages/jsts/src/rules/S2187/unit.test.ts | 13 ++- .../jsts/src/rules/S2189/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2189/index.ts | 13 ++- packages/jsts/src/rules/S2189/meta.ts | 13 ++- packages/jsts/src/rules/S2189/rule.ts | 13 ++- packages/jsts/src/rules/S2189/unit.test.ts | 13 ++- .../jsts/src/rules/S2201/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2201/index.ts | 13 ++- packages/jsts/src/rules/S2201/meta.ts | 13 ++- packages/jsts/src/rules/S2201/rule.ts | 13 ++- packages/jsts/src/rules/S2201/unit.test.ts | 13 ++- .../jsts/src/rules/S2208/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2208/index.ts | 13 ++- packages/jsts/src/rules/S2208/meta.ts | 13 ++- packages/jsts/src/rules/S2208/rule.ts | 13 ++- packages/jsts/src/rules/S2208/unit.test.ts | 13 ++- .../jsts/src/rules/S2234/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2234/index.ts | 13 ++- packages/jsts/src/rules/S2234/meta.ts | 13 ++- packages/jsts/src/rules/S2234/rule.ts | 13 ++- packages/jsts/src/rules/S2234/unit.test.ts | 13 ++- .../jsts/src/rules/S2245/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2245/index.ts | 13 ++- packages/jsts/src/rules/S2245/meta.ts | 13 ++- packages/jsts/src/rules/S2245/rule.ts | 13 ++- packages/jsts/src/rules/S2245/unit.test.ts | 13 ++- .../jsts/src/rules/S2251/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2251/index.ts | 13 ++- packages/jsts/src/rules/S2251/meta.ts | 13 ++- packages/jsts/src/rules/S2251/rule.ts | 13 ++- packages/jsts/src/rules/S2251/unit.test.ts | 13 ++- .../jsts/src/rules/S2255/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2255/index.ts | 13 ++- packages/jsts/src/rules/S2255/meta.ts | 13 ++- packages/jsts/src/rules/S2255/rule.ts | 13 ++- packages/jsts/src/rules/S2255/unit.test.ts | 13 ++- .../jsts/src/rules/S2259/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2259/index.ts | 13 ++- packages/jsts/src/rules/S2259/meta.ts | 13 ++- packages/jsts/src/rules/S2259/rule.ts | 13 ++- packages/jsts/src/rules/S2259/unit.test.ts | 13 ++- .../jsts/src/rules/S2301/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2301/index.ts | 13 ++- packages/jsts/src/rules/S2301/meta.ts | 13 ++- packages/jsts/src/rules/S2301/rule.ts | 13 ++- packages/jsts/src/rules/S2301/unit.test.ts | 13 ++- .../jsts/src/rules/S2310/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2310/index.ts | 13 ++- packages/jsts/src/rules/S2310/meta.ts | 13 ++- packages/jsts/src/rules/S2310/rule.ts | 13 ++- packages/jsts/src/rules/S2310/unit.test.ts | 13 ++- packages/jsts/src/rules/S2376/decorator.ts | 13 ++- .../jsts/src/rules/S2376/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2376/index.ts | 13 ++- packages/jsts/src/rules/S2376/meta.ts | 13 ++- packages/jsts/src/rules/S2376/unit.test.ts | 13 ++- .../jsts/src/rules/S2392/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2392/index.ts | 13 ++- packages/jsts/src/rules/S2392/meta.ts | 13 ++- packages/jsts/src/rules/S2392/rule.ts | 13 ++- packages/jsts/src/rules/S2392/unit.test.ts | 13 ++- .../jsts/src/rules/S2424/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2424/index.ts | 13 ++- packages/jsts/src/rules/S2424/meta.ts | 13 ++- packages/jsts/src/rules/S2424/rule.ts | 13 ++- packages/jsts/src/rules/S2424/unit.test.ts | 13 ++- .../jsts/src/rules/S2427/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2427/index.ts | 14 ++- packages/jsts/src/rules/S2427/meta.ts | 13 ++- .../jsts/src/rules/S2428/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2428/index.ts | 13 ++- packages/jsts/src/rules/S2428/meta.ts | 13 ++- packages/jsts/src/rules/S2428/rule.ts | 13 ++- packages/jsts/src/rules/S2428/unit.test.ts | 13 ++- packages/jsts/src/rules/S2430/decorator.ts | 13 ++- .../jsts/src/rules/S2430/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2430/index.ts | 13 ++- packages/jsts/src/rules/S2430/meta.ts | 13 ++- packages/jsts/src/rules/S2430/unit.test.ts | 13 ++- .../jsts/src/rules/S2432/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2432/index.ts | 14 ++- packages/jsts/src/rules/S2432/meta.ts | 13 ++- packages/jsts/src/rules/S2486/cb.test.ts | 13 ++- .../jsts/src/rules/S2486/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2486/index.ts | 13 ++- packages/jsts/src/rules/S2486/meta.ts | 13 ++- packages/jsts/src/rules/S2486/rule.ts | 13 ++- .../jsts/src/rules/S2589/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2589/index.ts | 13 ++- packages/jsts/src/rules/S2589/meta.ts | 13 ++- packages/jsts/src/rules/S2589/rule.ts | 13 ++- packages/jsts/src/rules/S2589/unit.test.ts | 13 ++- .../jsts/src/rules/S2598/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2598/index.ts | 13 ++- packages/jsts/src/rules/S2598/meta.ts | 13 ++- packages/jsts/src/rules/S2598/rule.ts | 13 ++- packages/jsts/src/rules/S2598/unit.test.ts | 13 ++- .../jsts/src/rules/S2612/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2612/index.ts | 13 ++- packages/jsts/src/rules/S2612/meta.ts | 13 ++- packages/jsts/src/rules/S2612/rule.ts | 13 ++- packages/jsts/src/rules/S2612/unit.test.ts | 13 ++- packages/jsts/src/rules/S2639/cb.test.ts | 13 ++- .../jsts/src/rules/S2639/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2639/index.ts | 13 ++- packages/jsts/src/rules/S2639/meta.ts | 13 ++- packages/jsts/src/rules/S2639/rule.ts | 13 ++- .../jsts/src/rules/S2681/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2681/index.ts | 13 ++- packages/jsts/src/rules/S2681/meta.ts | 13 ++- packages/jsts/src/rules/S2681/rule.ts | 13 ++- packages/jsts/src/rules/S2681/unit.test.ts | 13 ++- .../jsts/src/rules/S2685/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2685/index.ts | 14 ++- packages/jsts/src/rules/S2685/meta.ts | 13 ++- packages/jsts/src/rules/S2688/cb.test.ts | 13 ++- packages/jsts/src/rules/S2688/decorator.ts | 13 ++- .../jsts/src/rules/S2688/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2688/index.ts | 13 ++- packages/jsts/src/rules/S2688/meta.ts | 13 ++- .../jsts/src/rules/S2692/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2692/index.ts | 13 ++- packages/jsts/src/rules/S2692/meta.ts | 13 ++- packages/jsts/src/rules/S2692/rule.ts | 13 ++- packages/jsts/src/rules/S2692/unit.test.ts | 13 ++- packages/jsts/src/rules/S2699/cb.test.ts | 13 ++- .../jsts/src/rules/S2699/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2699/index.ts | 13 ++- packages/jsts/src/rules/S2699/meta.ts | 13 ++- packages/jsts/src/rules/S2699/rule.ts | 13 ++- .../jsts/src/rules/S2703/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2703/index.ts | 13 ++- packages/jsts/src/rules/S2703/meta.ts | 13 ++- packages/jsts/src/rules/S2703/rule.ts | 13 ++- packages/jsts/src/rules/S2703/unit.test.ts | 13 ++- .../jsts/src/rules/S2737/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2737/index.ts | 13 ++- packages/jsts/src/rules/S2737/meta.ts | 13 ++- packages/jsts/src/rules/S2737/rule.ts | 13 ++- packages/jsts/src/rules/S2737/unit.test.ts | 13 ++- .../jsts/src/rules/S2755/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2755/index.ts | 13 ++- packages/jsts/src/rules/S2755/meta.ts | 13 ++- packages/jsts/src/rules/S2755/rule.ts | 13 ++- packages/jsts/src/rules/S2755/unit.test.ts | 13 ++- .../jsts/src/rules/S2757/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2757/index.ts | 13 ++- packages/jsts/src/rules/S2757/meta.ts | 13 ++- packages/jsts/src/rules/S2757/rule.ts | 13 ++- packages/jsts/src/rules/S2757/unit.test.ts | 13 ++- packages/jsts/src/rules/S2814/decorator.ts | 13 ++- .../jsts/src/rules/S2814/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2814/index.ts | 13 ++- packages/jsts/src/rules/S2814/meta.ts | 13 ++- packages/jsts/src/rules/S2814/unit.test.ts | 13 ++- .../jsts/src/rules/S2817/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2817/index.ts | 13 ++- packages/jsts/src/rules/S2817/meta.ts | 13 ++- packages/jsts/src/rules/S2817/rule.ts | 13 ++- packages/jsts/src/rules/S2817/unit.test.ts | 13 ++- .../jsts/src/rules/S2819/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2819/index.ts | 13 ++- packages/jsts/src/rules/S2819/meta.ts | 13 ++- packages/jsts/src/rules/S2819/rule.ts | 13 ++- packages/jsts/src/rules/S2819/unit.test.ts | 13 ++- packages/jsts/src/rules/S2870/cb.test.ts | 13 ++- .../jsts/src/rules/S2870/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2870/index.ts | 13 ++- packages/jsts/src/rules/S2870/meta.ts | 13 ++- packages/jsts/src/rules/S2870/rule.ts | 13 ++- .../jsts/src/rules/S2871/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2871/index.ts | 13 ++- packages/jsts/src/rules/S2871/meta.ts | 13 ++- packages/jsts/src/rules/S2871/rule.ts | 13 ++- packages/jsts/src/rules/S2871/unit.test.ts | 13 ++- .../jsts/src/rules/S2933/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2933/index.ts | 14 ++- packages/jsts/src/rules/S2933/meta.ts | 13 ++- .../jsts/src/rules/S2966/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2966/index.ts | 14 ++- packages/jsts/src/rules/S2966/meta.ts | 13 ++- packages/jsts/src/rules/S2970/cb.test.ts | 13 ++- .../jsts/src/rules/S2970/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2970/index.ts | 13 ++- packages/jsts/src/rules/S2970/meta.ts | 13 ++- packages/jsts/src/rules/S2970/rule.ts | 13 ++- .../jsts/src/rules/S2990/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2990/index.ts | 13 ++- packages/jsts/src/rules/S2990/meta.ts | 13 ++- packages/jsts/src/rules/S2990/rule.ts | 13 ++- packages/jsts/src/rules/S2990/unit.test.ts | 13 ++- .../jsts/src/rules/S2999/generated-meta.ts | 13 ++- packages/jsts/src/rules/S2999/index.ts | 13 ++- packages/jsts/src/rules/S2999/meta.ts | 13 ++- packages/jsts/src/rules/S2999/rule.ts | 13 ++- packages/jsts/src/rules/S2999/unit.test.ts | 13 ++- .../jsts/src/rules/S3001/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3001/index.ts | 13 ++- packages/jsts/src/rules/S3001/meta.ts | 13 ++- packages/jsts/src/rules/S3001/rule.ts | 13 ++- packages/jsts/src/rules/S3001/unit.test.ts | 13 ++- .../jsts/src/rules/S3003/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3003/index.ts | 13 ++- packages/jsts/src/rules/S3003/meta.ts | 13 ++- packages/jsts/src/rules/S3003/rule.ts | 13 ++- packages/jsts/src/rules/S3003/unit.test.ts | 13 ++- .../jsts/src/rules/S3257/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3257/index.ts | 14 ++- packages/jsts/src/rules/S3257/meta.ts | 13 ++- .../jsts/src/rules/S3317/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3317/index.ts | 13 ++- packages/jsts/src/rules/S3317/meta.ts | 13 ++- packages/jsts/src/rules/S3317/rule.ts | 13 ++- packages/jsts/src/rules/S3317/unit.test.ts | 13 ++- .../jsts/src/rules/S3330/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3330/index.ts | 13 ++- packages/jsts/src/rules/S3330/meta.ts | 13 ++- packages/jsts/src/rules/S3330/rule.ts | 13 ++- packages/jsts/src/rules/S3330/unit.test.ts | 13 ++- .../jsts/src/rules/S3353/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3353/index.ts | 14 ++- packages/jsts/src/rules/S3353/meta.ts | 13 ++- .../jsts/src/rules/S3358/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3358/index.ts | 13 ++- packages/jsts/src/rules/S3358/meta.ts | 13 ++- packages/jsts/src/rules/S3358/rule.ts | 13 ++- packages/jsts/src/rules/S3358/unit.test.ts | 13 ++- .../jsts/src/rules/S3402/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3402/index.ts | 13 ++- packages/jsts/src/rules/S3402/meta.ts | 13 ++- packages/jsts/src/rules/S3402/rule.ts | 13 ++- packages/jsts/src/rules/S3402/unit.test.ts | 13 ++- .../jsts/src/rules/S3403/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3403/index.ts | 13 ++- packages/jsts/src/rules/S3403/meta.ts | 13 ++- packages/jsts/src/rules/S3403/rule.ts | 13 ++- packages/jsts/src/rules/S3403/unit.test.ts | 13 ++- packages/jsts/src/rules/S3415/cb.test.ts | 13 ++- .../jsts/src/rules/S3415/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3415/index.ts | 13 ++- packages/jsts/src/rules/S3415/meta.ts | 13 ++- packages/jsts/src/rules/S3415/rule.ts | 13 ++- packages/jsts/src/rules/S3498/decorator.ts | 13 ++- .../jsts/src/rules/S3498/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3498/index.ts | 13 ++- packages/jsts/src/rules/S3498/meta.ts | 13 ++- packages/jsts/src/rules/S3498/unit.test.ts | 13 ++- .../jsts/src/rules/S3499/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3499/index.ts | 13 ++- packages/jsts/src/rules/S3499/meta.ts | 13 ++- packages/jsts/src/rules/S3499/rule.ts | 13 ++- packages/jsts/src/rules/S3499/unit.test.ts | 13 ++- .../jsts/src/rules/S3500/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3500/index.ts | 13 ++- packages/jsts/src/rules/S3500/meta.ts | 13 ++- packages/jsts/src/rules/S3500/rule.ts | 13 ++- packages/jsts/src/rules/S3500/unit.test.ts | 13 ++- packages/jsts/src/rules/S3504/cb.test.ts | 13 ++- packages/jsts/src/rules/S3504/decorator.ts | 13 ++- .../jsts/src/rules/S3504/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3504/index.ts | 13 ++- packages/jsts/src/rules/S3504/meta.ts | 13 ++- packages/jsts/src/rules/S3512/decorator.ts | 13 ++- .../jsts/src/rules/S3512/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3512/index.ts | 13 ++- packages/jsts/src/rules/S3512/meta.ts | 13 ++- packages/jsts/src/rules/S3512/unit.test.ts | 13 ++- .../jsts/src/rules/S3513/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3513/index.ts | 13 ++- packages/jsts/src/rules/S3513/meta.ts | 13 ++- packages/jsts/src/rules/S3513/rule.ts | 13 ++- packages/jsts/src/rules/S3513/unit.test.ts | 13 ++- .../jsts/src/rules/S3514/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3514/index.ts | 13 ++- packages/jsts/src/rules/S3514/meta.ts | 13 ++- packages/jsts/src/rules/S3514/rule.ts | 13 ++- packages/jsts/src/rules/S3514/unit.test.ts | 13 ++- .../jsts/src/rules/S3516/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3516/index.ts | 13 ++- packages/jsts/src/rules/S3516/meta.ts | 13 ++- packages/jsts/src/rules/S3516/rule.ts | 13 ++- packages/jsts/src/rules/S3516/unit.test.ts | 13 ++- .../jsts/src/rules/S3523/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3523/index.ts | 14 ++- packages/jsts/src/rules/S3523/meta.ts | 13 ++- .../jsts/src/rules/S3524/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3524/index.ts | 13 ++- packages/jsts/src/rules/S3524/meta.ts | 13 ++- packages/jsts/src/rules/S3524/rule.ts | 13 ++- packages/jsts/src/rules/S3524/unit.test.ts | 13 ++- .../jsts/src/rules/S3525/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3525/index.ts | 13 ++- packages/jsts/src/rules/S3525/meta.ts | 13 ++- packages/jsts/src/rules/S3525/rule.ts | 13 ++- packages/jsts/src/rules/S3525/unit.test.ts | 13 ++- .../jsts/src/rules/S3531/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3531/index.ts | 13 ++- packages/jsts/src/rules/S3531/meta.ts | 13 ++- packages/jsts/src/rules/S3531/rule.ts | 13 ++- packages/jsts/src/rules/S3531/unit.test.ts | 13 ++- .../jsts/src/rules/S3533/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3533/index.ts | 13 ++- packages/jsts/src/rules/S3533/meta.ts | 13 ++- packages/jsts/src/rules/S3533/rule.ts | 13 ++- packages/jsts/src/rules/S3533/unit.test.ts | 13 ++- .../jsts/src/rules/S3579/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3579/index.ts | 13 ++- packages/jsts/src/rules/S3579/meta.ts | 13 ++- packages/jsts/src/rules/S3579/rule.ts | 13 ++- packages/jsts/src/rules/S3579/unit.test.ts | 13 ++- .../jsts/src/rules/S3616/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3616/index.ts | 13 ++- packages/jsts/src/rules/S3616/meta.ts | 13 ++- packages/jsts/src/rules/S3616/rule.ts | 13 ++- packages/jsts/src/rules/S3616/unit.test.ts | 13 ++- .../jsts/src/rules/S3626/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3626/index.ts | 13 ++- packages/jsts/src/rules/S3626/meta.ts | 13 ++- packages/jsts/src/rules/S3626/rule.ts | 13 ++- packages/jsts/src/rules/S3626/unit.test.ts | 13 ++- .../jsts/src/rules/S3686/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3686/index.ts | 13 ++- packages/jsts/src/rules/S3686/meta.ts | 13 ++- packages/jsts/src/rules/S3686/rule.ts | 13 ++- packages/jsts/src/rules/S3686/unit.test.ts | 13 ++- packages/jsts/src/rules/S3696/decorator.ts | 13 ++- .../jsts/src/rules/S3696/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3696/index.ts | 13 ++- packages/jsts/src/rules/S3696/meta.ts | 13 ++- packages/jsts/src/rules/S3696/unit.test.ts | 13 ++- .../jsts/src/rules/S3699/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3699/index.ts | 13 ++- packages/jsts/src/rules/S3699/meta.ts | 13 ++- packages/jsts/src/rules/S3699/rule.ts | 13 ++- packages/jsts/src/rules/S3699/unit.test.ts | 13 ++- .../jsts/src/rules/S3723/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3723/index.ts | 13 ++- packages/jsts/src/rules/S3723/meta.ts | 13 ++- packages/jsts/src/rules/S3723/rule.ts | 13 ++- packages/jsts/src/rules/S3723/unit.test.ts | 13 ++- .../jsts/src/rules/S3735/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3735/index.ts | 13 ++- packages/jsts/src/rules/S3735/meta.ts | 13 ++- packages/jsts/src/rules/S3735/rule.ts | 13 ++- packages/jsts/src/rules/S3735/unit.test.ts | 13 ++- .../jsts/src/rules/S3757/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3757/index.ts | 13 ++- packages/jsts/src/rules/S3757/meta.ts | 13 ++- packages/jsts/src/rules/S3757/rule.ts | 13 ++- packages/jsts/src/rules/S3757/unit.test.ts | 13 ++- .../jsts/src/rules/S3758/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3758/index.ts | 13 ++- packages/jsts/src/rules/S3758/meta.ts | 13 ++- packages/jsts/src/rules/S3758/rule.ts | 13 ++- packages/jsts/src/rules/S3758/unit.test.ts | 13 ++- .../jsts/src/rules/S3760/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3760/index.ts | 13 ++- packages/jsts/src/rules/S3760/meta.ts | 13 ++- packages/jsts/src/rules/S3760/rule.ts | 13 ++- packages/jsts/src/rules/S3760/unit.test.ts | 13 ++- .../jsts/src/rules/S3776/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3776/index.ts | 13 ++- packages/jsts/src/rules/S3776/meta.ts | 13 ++- packages/jsts/src/rules/S3776/rule.ts | 13 ++- packages/jsts/src/rules/S3776/unit.test.ts | 13 ++- .../jsts/src/rules/S3782/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3782/index.ts | 13 ++- packages/jsts/src/rules/S3782/meta.ts | 13 ++- packages/jsts/src/rules/S3782/rule.ts | 13 ++- packages/jsts/src/rules/S3782/unit.test.ts | 13 ++- .../jsts/src/rules/S3785/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3785/index.ts | 13 ++- packages/jsts/src/rules/S3785/meta.ts | 13 ++- packages/jsts/src/rules/S3785/rule.ts | 13 ++- packages/jsts/src/rules/S3785/unit.test.ts | 13 ++- .../jsts/src/rules/S3786/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3786/index.ts | 14 ++- packages/jsts/src/rules/S3786/meta.ts | 13 ++- .../jsts/src/rules/S3796/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3796/index.ts | 13 ++- packages/jsts/src/rules/S3796/meta.ts | 13 ++- packages/jsts/src/rules/S3796/rule.ts | 13 ++- packages/jsts/src/rules/S3796/unit.test.ts | 13 ++- .../jsts/src/rules/S3798/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3798/index.ts | 13 ++- packages/jsts/src/rules/S3798/meta.ts | 13 ++- packages/jsts/src/rules/S3798/rule.ts | 13 ++- packages/jsts/src/rules/S3798/unit.test.ts | 13 ++- .../jsts/src/rules/S3799/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3799/index.ts | 14 ++- packages/jsts/src/rules/S3799/meta.ts | 13 ++- packages/jsts/src/rules/S3800/cb.test.ts | 13 ++- .../jsts/src/rules/S3800/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3800/index.ts | 13 ++- packages/jsts/src/rules/S3800/meta.ts | 13 ++- packages/jsts/src/rules/S3800/rule.ts | 13 ++- packages/jsts/src/rules/S3800/unit.test.ts | 13 ++- .../jsts/src/rules/S3801/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3801/index.ts | 13 ++- packages/jsts/src/rules/S3801/meta.ts | 13 ++- packages/jsts/src/rules/S3801/rule.ts | 13 ++- packages/jsts/src/rules/S3801/unit.test.ts | 13 ++- .../jsts/src/rules/S3812/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3812/index.ts | 14 ++- packages/jsts/src/rules/S3812/meta.ts | 13 ++- packages/jsts/src/rules/S3827/cb.test.ts | 13 ++- .../jsts/src/rules/S3827/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3827/index.ts | 13 ++- packages/jsts/src/rules/S3827/meta.ts | 13 ++- packages/jsts/src/rules/S3827/rule.ts | 13 ++- packages/jsts/src/rules/S3827/unit.test.ts | 13 ++- .../jsts/src/rules/S3834/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3834/index.ts | 14 ++- packages/jsts/src/rules/S3834/meta.ts | 13 ++- .../jsts/src/rules/S3854/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3854/index.ts | 13 ++- packages/jsts/src/rules/S3854/meta.ts | 13 ++- packages/jsts/src/rules/S3854/rule.ts | 13 ++- packages/jsts/src/rules/S3854/unit.test.ts | 13 ++- .../jsts/src/rules/S3863/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3863/index.ts | 14 ++- packages/jsts/src/rules/S3863/meta.ts | 13 ++- .../jsts/src/rules/S3923/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3923/index.ts | 13 ++- packages/jsts/src/rules/S3923/meta.ts | 13 ++- packages/jsts/src/rules/S3923/rule.ts | 13 ++- packages/jsts/src/rules/S3923/unit.test.ts | 13 ++- .../jsts/src/rules/S3972/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3972/index.ts | 13 ++- packages/jsts/src/rules/S3972/meta.ts | 13 ++- packages/jsts/src/rules/S3972/rule.ts | 13 ++- packages/jsts/src/rules/S3972/unit.test.ts | 13 ++- .../jsts/src/rules/S3973/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3973/index.ts | 13 ++- packages/jsts/src/rules/S3973/meta.ts | 13 ++- packages/jsts/src/rules/S3973/rule.ts | 13 ++- packages/jsts/src/rules/S3973/unit.test.ts | 13 ++- .../jsts/src/rules/S3981/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3981/index.ts | 13 ++- packages/jsts/src/rules/S3981/meta.ts | 13 ++- packages/jsts/src/rules/S3981/rule.ts | 13 ++- packages/jsts/src/rules/S3981/unit.test.ts | 13 ++- .../jsts/src/rules/S3984/generated-meta.ts | 13 ++- packages/jsts/src/rules/S3984/index.ts | 13 ++- packages/jsts/src/rules/S3984/meta.ts | 13 ++- packages/jsts/src/rules/S3984/rule.ts | 13 ++- packages/jsts/src/rules/S3984/unit.test.ts | 13 ++- packages/jsts/src/rules/S4023/decorator.ts | 13 ++- .../jsts/src/rules/S4023/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4023/index.ts | 13 ++- packages/jsts/src/rules/S4023/meta.ts | 13 ++- packages/jsts/src/rules/S4023/unit.test.ts | 13 ++- .../jsts/src/rules/S4030/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4030/index.ts | 13 ++- packages/jsts/src/rules/S4030/meta.ts | 13 ++- packages/jsts/src/rules/S4030/rule.ts | 13 ++- packages/jsts/src/rules/S4030/unit.test.ts | 13 ++- packages/jsts/src/rules/S4036/cb.test.ts | 13 ++- .../jsts/src/rules/S4036/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4036/index.ts | 13 ++- packages/jsts/src/rules/S4036/meta.ts | 13 ++- packages/jsts/src/rules/S4036/rule.ts | 13 ++- .../jsts/src/rules/S4043/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4043/index.ts | 13 ++- packages/jsts/src/rules/S4043/meta.ts | 13 ++- packages/jsts/src/rules/S4043/rule.ts | 13 ++- packages/jsts/src/rules/S4043/unit.test.ts | 13 ++- packages/jsts/src/rules/S4084/cb.test.ts | 13 ++- packages/jsts/src/rules/S4084/decorator.ts | 13 ++- .../jsts/src/rules/S4084/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4084/index.ts | 13 ++- packages/jsts/src/rules/S4084/meta.ts | 13 ++- .../jsts/src/rules/S4123/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4123/index.ts | 13 ++- packages/jsts/src/rules/S4123/meta.ts | 13 ++- packages/jsts/src/rules/S4123/rule.ts | 13 ++- packages/jsts/src/rules/S4123/unit.test.ts | 13 ++- .../jsts/src/rules/S4124/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4124/index.ts | 14 ++- packages/jsts/src/rules/S4124/meta.ts | 13 ++- .../jsts/src/rules/S4125/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4125/index.ts | 14 ++- packages/jsts/src/rules/S4125/meta.ts | 13 ++- .../jsts/src/rules/S4136/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4136/index.ts | 14 ++- packages/jsts/src/rules/S4136/meta.ts | 13 ++- .../jsts/src/rules/S4137/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4137/index.ts | 14 ++- packages/jsts/src/rules/S4137/meta.ts | 13 ++- packages/jsts/src/rules/S4138/decorator.ts | 13 ++- .../jsts/src/rules/S4138/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4138/index.ts | 13 ++- packages/jsts/src/rules/S4138/meta.ts | 13 ++- packages/jsts/src/rules/S4138/unit.test.ts | 13 ++- .../jsts/src/rules/S4139/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4139/index.ts | 13 ++- packages/jsts/src/rules/S4139/meta.ts | 13 ++- packages/jsts/src/rules/S4139/rule.ts | 13 ++- packages/jsts/src/rules/S4139/unit.test.ts | 13 ++- .../jsts/src/rules/S4140/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4140/index.ts | 14 ++- packages/jsts/src/rules/S4140/meta.ts | 13 ++- .../jsts/src/rules/S4143/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4143/index.ts | 13 ++- packages/jsts/src/rules/S4143/meta.ts | 13 ++- packages/jsts/src/rules/S4143/rule.ts | 13 ++- packages/jsts/src/rules/S4143/unit.test.ts | 13 ++- .../jsts/src/rules/S4144/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4144/index.ts | 13 ++- packages/jsts/src/rules/S4144/meta.ts | 13 ++- packages/jsts/src/rules/S4144/rule.ts | 13 ++- packages/jsts/src/rules/S4144/unit.test.ts | 13 ++- packages/jsts/src/rules/S4156/cb.test.ts | 13 ++- packages/jsts/src/rules/S4156/decorator.ts | 13 ++- .../jsts/src/rules/S4156/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4156/index.ts | 13 ++- packages/jsts/src/rules/S4156/meta.ts | 13 ++- .../jsts/src/rules/S4157/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4157/index.ts | 14 ++- packages/jsts/src/rules/S4157/meta.ts | 13 ++- .../jsts/src/rules/S4158/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4158/index.ts | 13 ++- packages/jsts/src/rules/S4158/meta.ts | 13 ++- packages/jsts/src/rules/S4158/rule.ts | 13 ++- packages/jsts/src/rules/S4158/unit.test.ts | 13 ++- .../jsts/src/rules/S4165/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4165/index.ts | 13 ++- packages/jsts/src/rules/S4165/meta.ts | 13 ++- packages/jsts/src/rules/S4165/rule.ts | 13 ++- packages/jsts/src/rules/S4165/unit.test.ts | 13 ++- .../jsts/src/rules/S4204/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4204/index.ts | 14 ++- packages/jsts/src/rules/S4204/meta.ts | 13 ++- .../jsts/src/rules/S4275/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4275/index.ts | 13 ++- packages/jsts/src/rules/S4275/meta.ts | 13 ++- packages/jsts/src/rules/S4275/rule.ts | 13 ++- packages/jsts/src/rules/S4275/unit.test.ts | 13 ++- .../jsts/src/rules/S4322/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4322/index.ts | 13 ++- packages/jsts/src/rules/S4322/meta.ts | 13 ++- packages/jsts/src/rules/S4322/rule.ts | 13 ++- packages/jsts/src/rules/S4322/unit.test.ts | 13 ++- .../jsts/src/rules/S4323/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4323/index.ts | 13 ++- packages/jsts/src/rules/S4323/meta.ts | 13 ++- packages/jsts/src/rules/S4323/rule.ts | 13 ++- packages/jsts/src/rules/S4323/unit.test.ts | 13 ++- .../jsts/src/rules/S4324/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4324/index.ts | 13 ++- packages/jsts/src/rules/S4324/meta.ts | 13 ++- packages/jsts/src/rules/S4324/rule.ts | 13 ++- packages/jsts/src/rules/S4324/unit.test.ts | 13 ++- .../jsts/src/rules/S4325/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4325/index.ts | 14 ++- packages/jsts/src/rules/S4325/meta.ts | 13 ++- .../jsts/src/rules/S4326/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4326/index.ts | 14 ++- packages/jsts/src/rules/S4326/meta.ts | 13 ++- packages/jsts/src/rules/S4327/cb.test.ts | 13 ++- packages/jsts/src/rules/S4327/decorator.ts | 13 ++- .../jsts/src/rules/S4327/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4327/index.ts | 13 ++- packages/jsts/src/rules/S4327/meta.ts | 13 ++- .../jsts/src/rules/S4328/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4328/index.ts | 13 ++- packages/jsts/src/rules/S4328/meta.ts | 13 ++- packages/jsts/src/rules/S4328/rule.ts | 13 ++- packages/jsts/src/rules/S4328/unit.test.ts | 13 ++- .../jsts/src/rules/S4335/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4335/index.ts | 13 ++- packages/jsts/src/rules/S4335/meta.ts | 13 ++- packages/jsts/src/rules/S4335/rule.ts | 13 ++- packages/jsts/src/rules/S4335/unit.test.ts | 13 ++- packages/jsts/src/rules/S4423/cb.test.ts | 13 ++- .../jsts/src/rules/S4423/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4423/index.ts | 13 ++- packages/jsts/src/rules/S4423/meta.ts | 13 ++- packages/jsts/src/rules/S4423/rule.aws.ts | 13 ++- packages/jsts/src/rules/S4423/rule.lib.ts | 13 ++- packages/jsts/src/rules/S4423/rule.ts | 13 ++- packages/jsts/src/rules/S4423/unit.test.ts | 13 ++- .../jsts/src/rules/S4426/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4426/index.ts | 13 ++- packages/jsts/src/rules/S4426/meta.ts | 13 ++- packages/jsts/src/rules/S4426/rule.ts | 13 ++- packages/jsts/src/rules/S4426/unit.test.ts | 13 ++- .../jsts/src/rules/S4502/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4502/index.ts | 13 ++- packages/jsts/src/rules/S4502/meta.ts | 13 ++- packages/jsts/src/rules/S4502/rule.ts | 13 ++- packages/jsts/src/rules/S4502/unit.test.ts | 13 ++- .../jsts/src/rules/S4507/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4507/index.ts | 13 ++- packages/jsts/src/rules/S4507/meta.ts | 13 ++- packages/jsts/src/rules/S4507/rule.ts | 13 ++- packages/jsts/src/rules/S4507/unit.test.ts | 13 ++- .../jsts/src/rules/S4524/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4524/index.ts | 13 ++- packages/jsts/src/rules/S4524/meta.ts | 13 ++- packages/jsts/src/rules/S4524/rule.ts | 13 ++- packages/jsts/src/rules/S4524/unit.test.ts | 13 ++- .../jsts/src/rules/S4619/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4619/index.ts | 13 ++- packages/jsts/src/rules/S4619/meta.ts | 13 ++- packages/jsts/src/rules/S4619/rule.ts | 13 ++- packages/jsts/src/rules/S4619/unit.test.ts | 13 ++- .../jsts/src/rules/S4621/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4621/index.ts | 13 ++- packages/jsts/src/rules/S4621/meta.ts | 13 ++- packages/jsts/src/rules/S4621/rule.ts | 13 ++- packages/jsts/src/rules/S4621/unit.test.ts | 13 ++- .../jsts/src/rules/S4622/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4622/index.ts | 13 ++- packages/jsts/src/rules/S4622/meta.ts | 13 ++- packages/jsts/src/rules/S4622/rule.ts | 13 ++- packages/jsts/src/rules/S4622/unit.test.ts | 13 ++- .../jsts/src/rules/S4623/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4623/index.ts | 13 ++- packages/jsts/src/rules/S4623/meta.ts | 13 ++- packages/jsts/src/rules/S4623/rule.ts | 13 ++- packages/jsts/src/rules/S4623/unit.test.ts | 13 ++- .../jsts/src/rules/S4624/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4624/index.ts | 13 ++- packages/jsts/src/rules/S4624/meta.ts | 13 ++- packages/jsts/src/rules/S4624/rule.ts | 13 ++- packages/jsts/src/rules/S4624/unit.test.ts | 13 ++- .../jsts/src/rules/S4634/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4634/index.ts | 13 ++- packages/jsts/src/rules/S4634/meta.ts | 13 ++- packages/jsts/src/rules/S4634/rule.ts | 13 ++- packages/jsts/src/rules/S4634/unit.test.ts | 13 ++- .../jsts/src/rules/S4721/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4721/index.ts | 13 ++- packages/jsts/src/rules/S4721/meta.ts | 13 ++- packages/jsts/src/rules/S4721/rule.ts | 13 ++- packages/jsts/src/rules/S4721/unit.test.ts | 13 ++- .../jsts/src/rules/S4782/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4782/index.ts | 13 ++- packages/jsts/src/rules/S4782/meta.ts | 13 ++- packages/jsts/src/rules/S4782/rule.ts | 13 ++- packages/jsts/src/rules/S4782/unit.test.ts | 13 ++- .../jsts/src/rules/S4784/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4784/index.ts | 13 ++- packages/jsts/src/rules/S4784/meta.ts | 13 ++- packages/jsts/src/rules/S4784/rule.ts | 13 ++- packages/jsts/src/rules/S4784/unit.test.ts | 13 ++- .../jsts/src/rules/S4787/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4787/index.ts | 13 ++- packages/jsts/src/rules/S4787/meta.ts | 13 ++- packages/jsts/src/rules/S4787/rule.ts | 13 ++- packages/jsts/src/rules/S4787/unit.test.ts | 13 ++- packages/jsts/src/rules/S4790/cb.test.ts | 13 ++- .../jsts/src/rules/S4790/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4790/index.ts | 13 ++- packages/jsts/src/rules/S4790/meta.ts | 13 ++- packages/jsts/src/rules/S4790/rule.ts | 13 ++- .../jsts/src/rules/S4798/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4798/index.ts | 13 ++- packages/jsts/src/rules/S4798/meta.ts | 13 ++- packages/jsts/src/rules/S4798/rule.ts | 13 ++- packages/jsts/src/rules/S4798/unit.test.ts | 13 ++- .../jsts/src/rules/S4817/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4817/index.ts | 13 ++- packages/jsts/src/rules/S4817/meta.ts | 13 ++- packages/jsts/src/rules/S4817/rule.ts | 13 ++- packages/jsts/src/rules/S4817/unit.test.ts | 13 ++- .../jsts/src/rules/S4818/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4818/index.ts | 13 ++- packages/jsts/src/rules/S4818/meta.ts | 13 ++- packages/jsts/src/rules/S4818/rule.ts | 13 ++- packages/jsts/src/rules/S4818/unit.test.ts | 13 ++- .../jsts/src/rules/S4822/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4822/index.ts | 13 ++- packages/jsts/src/rules/S4822/meta.ts | 13 ++- packages/jsts/src/rules/S4822/rule.ts | 13 ++- packages/jsts/src/rules/S4822/unit.test.ts | 13 ++- .../jsts/src/rules/S4823/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4823/index.ts | 13 ++- packages/jsts/src/rules/S4823/meta.ts | 13 ++- packages/jsts/src/rules/S4823/rule.ts | 13 ++- packages/jsts/src/rules/S4823/unit.test.ts | 13 ++- .../jsts/src/rules/S4829/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4829/index.ts | 13 ++- packages/jsts/src/rules/S4829/meta.ts | 13 ++- packages/jsts/src/rules/S4829/rule.ts | 13 ++- packages/jsts/src/rules/S4829/unit.test.ts | 13 ++- .../jsts/src/rules/S4830/generated-meta.ts | 13 ++- packages/jsts/src/rules/S4830/index.ts | 13 ++- packages/jsts/src/rules/S4830/meta.ts | 13 ++- packages/jsts/src/rules/S4830/rule.ts | 13 ++- packages/jsts/src/rules/S4830/unit.test.ts | 13 ++- .../jsts/src/rules/S5042/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5042/index.ts | 13 ++- packages/jsts/src/rules/S5042/meta.ts | 13 ++- packages/jsts/src/rules/S5042/rule.ts | 13 ++- packages/jsts/src/rules/S5042/unit.test.ts | 13 ++- packages/jsts/src/rules/S5122/cb.test.ts | 13 ++- .../jsts/src/rules/S5122/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5122/index.ts | 13 ++- packages/jsts/src/rules/S5122/meta.ts | 13 ++- packages/jsts/src/rules/S5122/rule.ts | 13 ++- packages/jsts/src/rules/S5148/cb.test.ts | 13 ++- .../jsts/src/rules/S5148/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5148/index.ts | 13 ++- packages/jsts/src/rules/S5148/meta.ts | 13 ++- packages/jsts/src/rules/S5148/rule.ts | 13 ++- packages/jsts/src/rules/S5247/cb.test.ts | 13 ++- .../jsts/src/rules/S5247/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5247/index.ts | 13 ++- packages/jsts/src/rules/S5247/meta.ts | 13 ++- packages/jsts/src/rules/S5247/rule.ts | 13 ++- packages/jsts/src/rules/S5254/cb.test.ts | 13 ++- .../jsts/src/rules/S5254/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5254/index.ts | 13 ++- packages/jsts/src/rules/S5254/meta.ts | 13 ++- packages/jsts/src/rules/S5254/rule.ts | 13 ++- packages/jsts/src/rules/S5256/cb.test.ts | 13 ++- .../jsts/src/rules/S5256/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5256/index.ts | 13 ++- packages/jsts/src/rules/S5256/meta.ts | 13 ++- packages/jsts/src/rules/S5256/rule.ts | 13 ++- packages/jsts/src/rules/S5257/cb.test.ts | 13 ++- .../jsts/src/rules/S5257/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5257/index.ts | 13 ++- packages/jsts/src/rules/S5257/meta.ts | 13 ++- packages/jsts/src/rules/S5257/rule.ts | 13 ++- packages/jsts/src/rules/S5260/cb.test.ts | 13 ++- .../jsts/src/rules/S5260/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5260/index.ts | 13 ++- packages/jsts/src/rules/S5260/meta.ts | 13 ++- packages/jsts/src/rules/S5260/rule.ts | 13 ++- packages/jsts/src/rules/S5264/cb.test.ts | 13 ++- .../jsts/src/rules/S5264/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5264/index.ts | 13 ++- packages/jsts/src/rules/S5264/meta.ts | 13 ++- packages/jsts/src/rules/S5264/rule.ts | 13 ++- packages/jsts/src/rules/S5332/cb.test.ts | 13 ++- .../jsts/src/rules/S5332/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5332/index.ts | 13 ++- packages/jsts/src/rules/S5332/meta.ts | 13 ++- packages/jsts/src/rules/S5332/rule.aws.ts | 13 ++- packages/jsts/src/rules/S5332/rule.lib.ts | 13 ++- packages/jsts/src/rules/S5332/rule.ts | 13 ++- packages/jsts/src/rules/S5332/unit.test.ts | 13 ++- .../jsts/src/rules/S5443/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5443/index.ts | 13 ++- packages/jsts/src/rules/S5443/meta.ts | 13 ++- packages/jsts/src/rules/S5443/rule.ts | 13 ++- packages/jsts/src/rules/S5443/unit.test.ts | 13 ++- .../jsts/src/rules/S5527/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5527/index.ts | 13 ++- packages/jsts/src/rules/S5527/meta.ts | 13 ++- packages/jsts/src/rules/S5527/rule.ts | 13 ++- packages/jsts/src/rules/S5527/unit.test.ts | 13 ++- .../jsts/src/rules/S5542/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5542/index.ts | 13 ++- packages/jsts/src/rules/S5542/meta.ts | 13 ++- packages/jsts/src/rules/S5542/rule.ts | 13 ++- packages/jsts/src/rules/S5542/unit.test.ts | 13 ++- .../jsts/src/rules/S5547/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5547/index.ts | 13 ++- packages/jsts/src/rules/S5547/meta.ts | 13 ++- packages/jsts/src/rules/S5547/rule.ts | 13 ++- packages/jsts/src/rules/S5547/unit.test.ts | 13 ++- .../jsts/src/rules/S5604/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5604/index.ts | 13 ++- packages/jsts/src/rules/S5604/meta.ts | 13 ++- packages/jsts/src/rules/S5604/rule.ts | 13 ++- packages/jsts/src/rules/S5604/unit.test.ts | 13 ++- .../jsts/src/rules/S5659/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5659/index.ts | 13 ++- packages/jsts/src/rules/S5659/meta.ts | 13 ++- packages/jsts/src/rules/S5659/rule.ts | 13 ++- packages/jsts/src/rules/S5659/unit.test.ts | 13 ++- .../jsts/src/rules/S5689/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5689/index.ts | 13 ++- packages/jsts/src/rules/S5689/meta.ts | 13 ++- packages/jsts/src/rules/S5689/rule.ts | 13 ++- packages/jsts/src/rules/S5689/unit.test.ts | 13 ++- .../jsts/src/rules/S5691/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5691/index.ts | 13 ++- packages/jsts/src/rules/S5691/meta.ts | 13 ++- packages/jsts/src/rules/S5691/rule.ts | 13 ++- packages/jsts/src/rules/S5691/unit.test.ts | 13 ++- .../jsts/src/rules/S5693/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5693/index.ts | 13 ++- packages/jsts/src/rules/S5693/meta.ts | 13 ++- packages/jsts/src/rules/S5693/rule.ts | 13 ++- packages/jsts/src/rules/S5693/unit.test.ts | 13 ++- .../jsts/src/rules/S5725/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5725/index.ts | 13 ++- packages/jsts/src/rules/S5725/meta.ts | 13 ++- packages/jsts/src/rules/S5725/rule.ts | 13 ++- packages/jsts/src/rules/S5725/unit.test.ts | 13 ++- .../jsts/src/rules/S5728/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5728/index.ts | 13 ++- packages/jsts/src/rules/S5728/meta.ts | 13 ++- packages/jsts/src/rules/S5728/rule.ts | 13 ++- packages/jsts/src/rules/S5728/unit.test.ts | 13 ++- .../jsts/src/rules/S5730/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5730/index.ts | 13 ++- packages/jsts/src/rules/S5730/meta.ts | 13 ++- packages/jsts/src/rules/S5730/rule.ts | 13 ++- packages/jsts/src/rules/S5730/unit.test.ts | 13 ++- .../jsts/src/rules/S5732/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5732/index.ts | 13 ++- packages/jsts/src/rules/S5732/meta.ts | 13 ++- packages/jsts/src/rules/S5732/rule.ts | 13 ++- packages/jsts/src/rules/S5732/unit.test.ts | 13 ++- .../jsts/src/rules/S5734/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5734/index.ts | 13 ++- packages/jsts/src/rules/S5734/meta.ts | 13 ++- packages/jsts/src/rules/S5734/rule.ts | 13 ++- packages/jsts/src/rules/S5734/unit.test.ts | 13 ++- .../jsts/src/rules/S5736/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5736/index.ts | 13 ++- packages/jsts/src/rules/S5736/meta.ts | 13 ++- packages/jsts/src/rules/S5736/rule.ts | 13 ++- packages/jsts/src/rules/S5736/unit.test.ts | 13 ++- .../jsts/src/rules/S5739/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5739/index.ts | 13 ++- packages/jsts/src/rules/S5739/meta.ts | 13 ++- packages/jsts/src/rules/S5739/rule.ts | 13 ++- packages/jsts/src/rules/S5739/unit.test.ts | 13 ++- .../jsts/src/rules/S5742/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5742/index.ts | 13 ++- packages/jsts/src/rules/S5742/meta.ts | 13 ++- packages/jsts/src/rules/S5742/rule.ts | 13 ++- packages/jsts/src/rules/S5742/unit.test.ts | 13 ++- .../jsts/src/rules/S5743/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5743/index.ts | 13 ++- packages/jsts/src/rules/S5743/meta.ts | 13 ++- packages/jsts/src/rules/S5743/rule.ts | 13 ++- packages/jsts/src/rules/S5743/unit.test.ts | 13 ++- .../jsts/src/rules/S5757/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5757/index.ts | 13 ++- packages/jsts/src/rules/S5757/meta.ts | 13 ++- packages/jsts/src/rules/S5757/rule.ts | 13 ++- packages/jsts/src/rules/S5757/unit.test.ts | 13 ++- .../jsts/src/rules/S5759/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5759/index.ts | 13 ++- packages/jsts/src/rules/S5759/meta.ts | 13 ++- packages/jsts/src/rules/S5759/rule.ts | 13 ++- packages/jsts/src/rules/S5759/unit.test.ts | 13 ++- .../jsts/src/rules/S5842/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5842/index.ts | 13 ++- packages/jsts/src/rules/S5842/meta.ts | 13 ++- packages/jsts/src/rules/S5842/rule.ts | 13 ++- packages/jsts/src/rules/S5842/unit.test.ts | 13 ++- .../jsts/src/rules/S5843/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5843/index.ts | 13 ++- packages/jsts/src/rules/S5843/meta.ts | 13 ++- packages/jsts/src/rules/S5843/rule.ts | 13 ++- packages/jsts/src/rules/S5843/unit.test.ts | 13 ++- packages/jsts/src/rules/S5850/cb.test.ts | 13 ++- .../jsts/src/rules/S5850/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5850/index.ts | 13 ++- packages/jsts/src/rules/S5850/meta.ts | 13 ++- packages/jsts/src/rules/S5850/rule.ts | 13 ++- packages/jsts/src/rules/S5850/unit.test.ts | 13 ++- .../jsts/src/rules/S5852/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5852/index.ts | 13 ++- packages/jsts/src/rules/S5852/meta.ts | 13 ++- packages/jsts/src/rules/S5852/rule.ts | 13 ++- packages/jsts/src/rules/S5852/unit.test.ts | 13 ++- .../jsts/src/rules/S5856/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5856/index.ts | 13 ++- packages/jsts/src/rules/S5856/meta.ts | 13 ++- packages/jsts/src/rules/S5856/rule.ts | 13 ++- packages/jsts/src/rules/S5856/unit.test.ts | 13 ++- .../jsts/src/rules/S5860/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5860/index.ts | 13 ++- packages/jsts/src/rules/S5860/meta.ts | 13 ++- packages/jsts/src/rules/S5860/rule.ts | 13 ++- packages/jsts/src/rules/S5860/unit.test.ts | 13 ++- packages/jsts/src/rules/S5863/cb.test.ts | 13 ++- .../jsts/src/rules/S5863/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5863/index.ts | 13 ++- packages/jsts/src/rules/S5863/meta.ts | 13 ++- packages/jsts/src/rules/S5863/rule.ts | 13 ++- packages/jsts/src/rules/S5863/unit.test.ts | 13 ++- .../jsts/src/rules/S5867/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5867/index.ts | 13 ++- packages/jsts/src/rules/S5867/meta.ts | 13 ++- packages/jsts/src/rules/S5867/rule.ts | 13 ++- packages/jsts/src/rules/S5867/unit.test.ts | 13 ++- .../jsts/src/rules/S5868/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5868/index.ts | 13 ++- packages/jsts/src/rules/S5868/meta.ts | 13 ++- packages/jsts/src/rules/S5868/rule.ts | 13 ++- packages/jsts/src/rules/S5868/unit.test.ts | 13 ++- .../jsts/src/rules/S5869/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5869/index.ts | 13 ++- packages/jsts/src/rules/S5869/meta.ts | 13 ++- packages/jsts/src/rules/S5869/rule.ts | 13 ++- packages/jsts/src/rules/S5869/unit.test.ts | 13 ++- .../jsts/src/rules/S5876/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5876/index.ts | 13 ++- packages/jsts/src/rules/S5876/meta.ts | 13 ++- packages/jsts/src/rules/S5876/rule.ts | 13 ++- packages/jsts/src/rules/S5876/unit.test.ts | 13 ++- packages/jsts/src/rules/S5958/cb.test.ts | 13 ++- .../jsts/src/rules/S5958/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5958/index.ts | 13 ++- packages/jsts/src/rules/S5958/meta.ts | 13 ++- packages/jsts/src/rules/S5958/rule.ts | 13 ++- .../jsts/src/rules/S5973/generated-meta.ts | 13 ++- packages/jsts/src/rules/S5973/index.ts | 13 ++- packages/jsts/src/rules/S5973/meta.ts | 13 ++- packages/jsts/src/rules/S5973/rule.ts | 13 ++- .../jsts/src/rules/S5973/with-jest/cb.test.ts | 13 ++- .../src/rules/S5973/without-jest/cb.test.ts | 13 ++- .../jsts/src/rules/S6019/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6019/index.ts | 13 ++- packages/jsts/src/rules/S6019/meta.ts | 13 ++- packages/jsts/src/rules/S6019/rule.ts | 13 ++- packages/jsts/src/rules/S6019/unit.test.ts | 13 ++- .../jsts/src/rules/S6035/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6035/index.ts | 13 ++- packages/jsts/src/rules/S6035/meta.ts | 13 ++- packages/jsts/src/rules/S6035/rule.ts | 13 ++- packages/jsts/src/rules/S6035/unit.test.ts | 13 ++- packages/jsts/src/rules/S6079/cb.test.ts | 13 ++- .../jsts/src/rules/S6079/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6079/index.ts | 13 ++- packages/jsts/src/rules/S6079/meta.ts | 13 ++- packages/jsts/src/rules/S6079/rule.ts | 13 ++- packages/jsts/src/rules/S6080/cb.test.ts | 13 ++- .../jsts/src/rules/S6080/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6080/index.ts | 13 ++- packages/jsts/src/rules/S6080/meta.ts | 13 ++- packages/jsts/src/rules/S6080/rule.ts | 13 ++- packages/jsts/src/rules/S6092/cb.test.ts | 13 ++- .../jsts/src/rules/S6092/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6092/index.ts | 13 ++- packages/jsts/src/rules/S6092/meta.ts | 13 ++- packages/jsts/src/rules/S6092/rule.ts | 13 ++- packages/jsts/src/rules/S6092/unit.test.ts | 13 ++- packages/jsts/src/rules/S6245/cb.test.ts | 13 ++- .../jsts/src/rules/S6245/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6245/index.ts | 13 ++- packages/jsts/src/rules/S6245/meta.ts | 13 ++- packages/jsts/src/rules/S6245/rule.ts | 13 ++- packages/jsts/src/rules/S6249/cb.test.ts | 13 ++- .../jsts/src/rules/S6249/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6249/index.ts | 13 ++- packages/jsts/src/rules/S6249/meta.ts | 13 ++- packages/jsts/src/rules/S6249/rule.ts | 13 ++- packages/jsts/src/rules/S6252/cb.test.ts | 13 ++- .../jsts/src/rules/S6252/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6252/index.ts | 13 ++- packages/jsts/src/rules/S6252/meta.ts | 13 ++- packages/jsts/src/rules/S6252/rule.ts | 13 ++- packages/jsts/src/rules/S6265/cb.test.ts | 13 ++- .../jsts/src/rules/S6265/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6265/index.ts | 13 ++- packages/jsts/src/rules/S6265/meta.ts | 13 ++- packages/jsts/src/rules/S6265/rule.ts | 13 ++- .../jsts/src/rules/S6268/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6268/index.ts | 13 ++- packages/jsts/src/rules/S6268/meta.ts | 13 ++- packages/jsts/src/rules/S6268/rule.ts | 13 ++- packages/jsts/src/rules/S6268/unit.test.ts | 13 ++- packages/jsts/src/rules/S6270/cb.test.ts | 13 ++- .../jsts/src/rules/S6270/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6270/index.ts | 13 ++- packages/jsts/src/rules/S6270/meta.ts | 13 ++- packages/jsts/src/rules/S6270/rule.ts | 13 ++- packages/jsts/src/rules/S6275/cb.test.ts | 13 ++- .../jsts/src/rules/S6275/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6275/index.ts | 13 ++- packages/jsts/src/rules/S6275/meta.ts | 13 ++- packages/jsts/src/rules/S6275/rule.ts | 13 ++- packages/jsts/src/rules/S6281/cb.test.ts | 13 ++- .../jsts/src/rules/S6281/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6281/index.ts | 13 ++- packages/jsts/src/rules/S6281/meta.ts | 13 ++- packages/jsts/src/rules/S6281/rule.ts | 13 ++- .../jsts/src/rules/S6299/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6299/index.ts | 13 ++- packages/jsts/src/rules/S6299/meta.ts | 13 ++- packages/jsts/src/rules/S6299/rule.ts | 13 ++- packages/jsts/src/rules/S6299/unit.test.ts | 13 ++- packages/jsts/src/rules/S6302/cb.test.ts | 13 ++- .../jsts/src/rules/S6302/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6302/index.ts | 13 ++- packages/jsts/src/rules/S6302/meta.ts | 13 ++- packages/jsts/src/rules/S6302/rule.ts | 13 ++- packages/jsts/src/rules/S6303/cb.test.ts | 13 ++- .../jsts/src/rules/S6303/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6303/index.ts | 13 ++- packages/jsts/src/rules/S6303/meta.ts | 13 ++- packages/jsts/src/rules/S6303/rule.ts | 13 ++- packages/jsts/src/rules/S6304/cb.test.ts | 13 ++- .../jsts/src/rules/S6304/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6304/index.ts | 13 ++- packages/jsts/src/rules/S6304/meta.ts | 13 ++- packages/jsts/src/rules/S6304/rule.ts | 13 ++- packages/jsts/src/rules/S6308/cb.test.ts | 13 ++- .../jsts/src/rules/S6308/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6308/index.ts | 13 ++- packages/jsts/src/rules/S6308/meta.ts | 13 ++- packages/jsts/src/rules/S6308/rule.ts | 13 ++- packages/jsts/src/rules/S6317/cb.test.ts | 13 ++- .../jsts/src/rules/S6317/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6317/index.ts | 13 ++- packages/jsts/src/rules/S6317/meta.ts | 13 ++- packages/jsts/src/rules/S6317/rule.ts | 13 ++- packages/jsts/src/rules/S6319/cb.test.ts | 13 ++- .../jsts/src/rules/S6319/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6319/index.ts | 13 ++- packages/jsts/src/rules/S6319/meta.ts | 13 ++- packages/jsts/src/rules/S6319/rule.ts | 13 ++- packages/jsts/src/rules/S6321/cb.test.ts | 13 ++- .../jsts/src/rules/S6321/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6321/index.ts | 13 ++- packages/jsts/src/rules/S6321/meta.ts | 13 ++- packages/jsts/src/rules/S6321/rule.ts | 13 ++- .../jsts/src/rules/S6323/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6323/index.ts | 13 ++- packages/jsts/src/rules/S6323/meta.ts | 13 ++- packages/jsts/src/rules/S6323/rule.ts | 13 ++- packages/jsts/src/rules/S6323/unit.test.ts | 13 ++- .../jsts/src/rules/S6324/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6324/index.ts | 13 ++- packages/jsts/src/rules/S6324/meta.ts | 13 ++- packages/jsts/src/rules/S6324/rule.ts | 13 ++- packages/jsts/src/rules/S6324/unit.test.ts | 13 ++- .../jsts/src/rules/S6325/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6325/index.ts | 14 ++- packages/jsts/src/rules/S6325/meta.ts | 13 ++- .../jsts/src/rules/S6326/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6326/index.ts | 13 ++- packages/jsts/src/rules/S6326/meta.ts | 13 ++- packages/jsts/src/rules/S6326/rule.ts | 13 ++- packages/jsts/src/rules/S6326/unit.test.ts | 13 ++- packages/jsts/src/rules/S6327/cb.test.ts | 13 ++- .../jsts/src/rules/S6327/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6327/index.ts | 13 ++- packages/jsts/src/rules/S6327/meta.ts | 13 ++- packages/jsts/src/rules/S6327/rule.ts | 13 ++- .../jsts/src/rules/S6328/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6328/index.ts | 13 ++- packages/jsts/src/rules/S6328/meta.ts | 13 ++- packages/jsts/src/rules/S6328/rule.ts | 13 ++- packages/jsts/src/rules/S6328/unit.test.ts | 13 ++- packages/jsts/src/rules/S6329/cb.test.ts | 13 ++- .../jsts/src/rules/S6329/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6329/index.ts | 13 ++- packages/jsts/src/rules/S6329/meta.ts | 13 ++- packages/jsts/src/rules/S6329/rule.ts | 13 ++- packages/jsts/src/rules/S6330/cb.test.ts | 13 ++- .../jsts/src/rules/S6330/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6330/index.ts | 13 ++- packages/jsts/src/rules/S6330/meta.ts | 13 ++- packages/jsts/src/rules/S6330/rule.ts | 13 ++- .../jsts/src/rules/S6331/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6331/index.ts | 13 ++- packages/jsts/src/rules/S6331/meta.ts | 13 ++- packages/jsts/src/rules/S6331/rule.ts | 13 ++- packages/jsts/src/rules/S6331/unit.test.ts | 13 ++- packages/jsts/src/rules/S6332/cb.test.ts | 13 ++- .../jsts/src/rules/S6332/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6332/index.ts | 13 ++- packages/jsts/src/rules/S6332/meta.ts | 13 ++- packages/jsts/src/rules/S6332/rule.ts | 13 ++- packages/jsts/src/rules/S6333/cb.test.ts | 13 ++- .../jsts/src/rules/S6333/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6333/index.ts | 13 ++- packages/jsts/src/rules/S6333/meta.ts | 13 ++- packages/jsts/src/rules/S6333/rule.ts | 13 ++- .../jsts/src/rules/S6351/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6351/index.ts | 13 ++- packages/jsts/src/rules/S6351/meta.ts | 13 ++- packages/jsts/src/rules/S6351/rule.ts | 13 ++- packages/jsts/src/rules/S6351/unit.test.ts | 13 ++- .../jsts/src/rules/S6353/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6353/index.ts | 13 ++- packages/jsts/src/rules/S6353/meta.ts | 13 ++- packages/jsts/src/rules/S6353/rule.ts | 13 ++- packages/jsts/src/rules/S6353/unit.test.ts | 13 ++- packages/jsts/src/rules/S6397/cb.test.ts | 13 ++- .../jsts/src/rules/S6397/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6397/index.ts | 13 ++- packages/jsts/src/rules/S6397/meta.ts | 13 ++- packages/jsts/src/rules/S6397/rule.ts | 13 ++- packages/jsts/src/rules/S6426/cb.test.ts | 13 ++- .../jsts/src/rules/S6426/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6426/index.ts | 13 ++- packages/jsts/src/rules/S6426/meta.ts | 13 ++- packages/jsts/src/rules/S6426/rule.ts | 13 ++- .../jsts/src/rules/S6435/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6435/index.ts | 14 ++- packages/jsts/src/rules/S6435/meta.ts | 13 ++- .../jsts/src/rules/S6438/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6438/index.ts | 14 ++- packages/jsts/src/rules/S6438/meta.ts | 13 ++- packages/jsts/src/rules/S6439/cb.test.ts | 13 ++- .../jsts/src/rules/S6439/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6439/index.ts | 13 ++- packages/jsts/src/rules/S6439/meta.ts | 13 ++- packages/jsts/src/rules/S6439/rule.ts | 13 ++- packages/jsts/src/rules/S6439/unit.test.ts | 13 ++- packages/jsts/src/rules/S6440/cb.test.ts | 13 ++- .../jsts/src/rules/S6440/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6440/index.ts | 13 ++- packages/jsts/src/rules/S6440/meta.ts | 13 ++- packages/jsts/src/rules/S6440/rule.ts | 13 ++- packages/jsts/src/rules/S6441/cb.test.ts | 13 ++- .../jsts/src/rules/S6441/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6441/index.ts | 13 ++- packages/jsts/src/rules/S6441/meta.ts | 13 ++- packages/jsts/src/rules/S6441/rule.ts | 13 ++- packages/jsts/src/rules/S6442/cb.test.ts | 13 ++- .../jsts/src/rules/S6442/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6442/index.ts | 13 ++- packages/jsts/src/rules/S6442/meta.ts | 13 ++- packages/jsts/src/rules/S6442/rule.ts | 13 ++- packages/jsts/src/rules/S6443/cb.test.ts | 13 ++- .../jsts/src/rules/S6443/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6443/index.ts | 13 ++- packages/jsts/src/rules/S6443/meta.ts | 13 ++- packages/jsts/src/rules/S6443/rule.ts | 13 ++- packages/jsts/src/rules/S6477/decorator.ts | 13 ++- .../jsts/src/rules/S6477/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6477/index.ts | 13 ++- packages/jsts/src/rules/S6477/meta.ts | 13 ++- .../S6477/non-react-project/unit.test.ts | 13 ++- .../src/rules/S6477/react-project/cb.test.ts | 13 ++- packages/jsts/src/rules/S6477/rule.ts | 13 ++- packages/jsts/src/rules/S6478/cb.test.ts | 13 ++- packages/jsts/src/rules/S6478/decorator.ts | 13 ++- .../jsts/src/rules/S6478/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6478/index.ts | 13 ++- packages/jsts/src/rules/S6478/meta.ts | 13 ++- .../jsts/src/rules/S6479/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6479/index.ts | 13 ++- packages/jsts/src/rules/S6479/meta.ts | 13 ++- packages/jsts/src/rules/S6479/rule.ts | 13 ++- packages/jsts/src/rules/S6479/unit.test.ts | 13 ++- .../jsts/src/rules/S6480/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6480/index.ts | 14 ++- packages/jsts/src/rules/S6480/meta.ts | 13 ++- packages/jsts/src/rules/S6481/cb.test.ts | 13 ++- packages/jsts/src/rules/S6481/decorator.ts | 13 ++- .../jsts/src/rules/S6481/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6481/index.ts | 13 ++- packages/jsts/src/rules/S6481/meta.ts | 13 ++- packages/jsts/src/rules/S6486/cb.test.ts | 13 ++- .../jsts/src/rules/S6486/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6486/index.ts | 13 ++- packages/jsts/src/rules/S6486/meta.ts | 13 ++- packages/jsts/src/rules/S6486/rule.ts | 13 ++- .../jsts/src/rules/S6509/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6509/index.ts | 14 ++- packages/jsts/src/rules/S6509/meta.ts | 13 ++- .../jsts/src/rules/S6522/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6522/index.ts | 14 ++- packages/jsts/src/rules/S6522/meta.ts | 13 ++- .../jsts/src/rules/S6523/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6523/index.ts | 14 ++- packages/jsts/src/rules/S6523/meta.ts | 13 ++- .../jsts/src/rules/S6534/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6534/index.ts | 14 ++- packages/jsts/src/rules/S6534/meta.ts | 13 ++- packages/jsts/src/rules/S6535/cb.test.ts | 13 ++- .../jsts/src/rules/S6535/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6535/index.ts | 13 ++- packages/jsts/src/rules/S6535/meta.ts | 13 ++- packages/jsts/src/rules/S6535/rule.ts | 13 ++- packages/jsts/src/rules/S6544/cb.test.ts | 13 ++- .../jsts/src/rules/S6544/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6544/index.ts | 13 ++- packages/jsts/src/rules/S6544/meta.ts | 13 ++- packages/jsts/src/rules/S6544/rule.ts | 13 ++- .../jsts/src/rules/S6550/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6550/index.ts | 14 ++- packages/jsts/src/rules/S6550/meta.ts | 13 ++- packages/jsts/src/rules/S6551/cb.test.ts | 13 ++- packages/jsts/src/rules/S6551/decorator.ts | 13 ++- .../jsts/src/rules/S6551/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6551/index.ts | 13 ++- packages/jsts/src/rules/S6551/meta.ts | 13 ++- packages/jsts/src/rules/S6557/decorator.ts | 13 ++- .../jsts/src/rules/S6557/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6557/index.ts | 13 ++- packages/jsts/src/rules/S6557/meta.ts | 13 ++- packages/jsts/src/rules/S6557/unit.test.ts | 13 ++- packages/jsts/src/rules/S6564/cb.test.ts | 13 ++- .../jsts/src/rules/S6564/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6564/index.ts | 13 ++- packages/jsts/src/rules/S6564/meta.ts | 13 ++- packages/jsts/src/rules/S6564/rule.ts | 13 ++- .../jsts/src/rules/S6565/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6565/index.ts | 14 ++- packages/jsts/src/rules/S6565/meta.ts | 13 ++- .../jsts/src/rules/S6568/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6568/index.ts | 14 ++- packages/jsts/src/rules/S6568/meta.ts | 13 ++- .../jsts/src/rules/S6569/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6569/index.ts | 14 ++- packages/jsts/src/rules/S6569/meta.ts | 13 ++- packages/jsts/src/rules/S6571/cb.test.ts | 13 ++- packages/jsts/src/rules/S6571/decorator.ts | 13 ++- .../jsts/src/rules/S6571/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6571/index.ts | 13 ++- packages/jsts/src/rules/S6571/meta.ts | 13 ++- packages/jsts/src/rules/S6572/cb.test.ts | 13 ++- .../jsts/src/rules/S6572/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6572/index.ts | 13 ++- packages/jsts/src/rules/S6572/meta.ts | 13 ++- packages/jsts/src/rules/S6572/rule.ts | 13 ++- .../jsts/src/rules/S6578/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6578/index.ts | 14 ++- packages/jsts/src/rules/S6578/meta.ts | 13 ++- packages/jsts/src/rules/S6582/cb.test.ts | 13 ++- .../jsts/src/rules/S6582/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6582/index.ts | 13 ++- packages/jsts/src/rules/S6582/meta.ts | 13 ++- packages/jsts/src/rules/S6582/rule.ts | 13 ++- packages/jsts/src/rules/S6582/unit.test.ts | 13 ++- .../jsts/src/rules/S6583/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6583/index.ts | 14 ++- packages/jsts/src/rules/S6583/meta.ts | 13 ++- .../jsts/src/rules/S6590/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6590/index.ts | 14 ++- packages/jsts/src/rules/S6590/meta.ts | 13 ++- packages/jsts/src/rules/S6594/cb.test.ts | 13 ++- .../jsts/src/rules/S6594/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6594/index.ts | 13 ++- packages/jsts/src/rules/S6594/meta.ts | 13 ++- packages/jsts/src/rules/S6594/rule.ts | 13 ++- packages/jsts/src/rules/S6598/decorator.ts | 13 ++- .../jsts/src/rules/S6598/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6598/index.ts | 13 ++- packages/jsts/src/rules/S6598/meta.ts | 13 ++- packages/jsts/src/rules/S6598/unit.test.ts | 13 ++- .../jsts/src/rules/S6606/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6606/index.ts | 13 ++- packages/jsts/src/rules/S6606/meta.ts | 13 ++- packages/jsts/src/rules/S6606/rule.ts | 13 ++- packages/jsts/src/rules/S6606/unit.test.ts | 13 ++- packages/jsts/src/rules/S6627/cb.test.ts | 13 ++- .../jsts/src/rules/S6627/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6627/index.ts | 13 ++- packages/jsts/src/rules/S6627/meta.ts | 13 ++- packages/jsts/src/rules/S6627/rule.ts | 13 ++- .../jsts/src/rules/S6635/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6635/index.ts | 14 ++- packages/jsts/src/rules/S6635/meta.ts | 13 ++- .../jsts/src/rules/S6637/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6637/index.ts | 14 ++- packages/jsts/src/rules/S6637/meta.ts | 13 ++- .../jsts/src/rules/S6638/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6638/index.ts | 14 ++- packages/jsts/src/rules/S6638/meta.ts | 13 ++- packages/jsts/src/rules/S6643/cb.test.ts | 13 ++- packages/jsts/src/rules/S6643/decorator.ts | 13 ++- .../jsts/src/rules/S6643/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6643/index.ts | 13 ++- packages/jsts/src/rules/S6643/meta.ts | 13 ++- .../jsts/src/rules/S6644/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6644/index.ts | 14 ++- packages/jsts/src/rules/S6644/meta.ts | 13 ++- .../jsts/src/rules/S6645/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6645/index.ts | 14 ++- packages/jsts/src/rules/S6645/meta.ts | 13 ++- packages/jsts/src/rules/S6647/cb.test.ts | 13 ++- packages/jsts/src/rules/S6647/decorator.ts | 13 ++- .../jsts/src/rules/S6647/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6647/index.ts | 13 ++- packages/jsts/src/rules/S6647/meta.ts | 13 ++- packages/jsts/src/rules/S6647/rule.ts | 13 ++- packages/jsts/src/rules/S6647/unit.test.ts | 13 ++- .../jsts/src/rules/S6650/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6650/index.ts | 14 ++- packages/jsts/src/rules/S6650/meta.ts | 13 ++- .../jsts/src/rules/S6653/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6653/index.ts | 14 ++- packages/jsts/src/rules/S6653/meta.ts | 13 ++- .../jsts/src/rules/S6654/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6654/index.ts | 14 ++- packages/jsts/src/rules/S6654/meta.ts | 13 ++- .../jsts/src/rules/S6657/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6657/index.ts | 14 ++- packages/jsts/src/rules/S6657/meta.ts | 13 ++- packages/jsts/src/rules/S6660/decorator.ts | 13 ++- .../jsts/src/rules/S6660/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6660/index.ts | 13 ++- packages/jsts/src/rules/S6660/meta.ts | 13 ++- packages/jsts/src/rules/S6660/unit.test.ts | 13 ++- packages/jsts/src/rules/S6661/decorator.ts | 13 ++- .../jsts/src/rules/S6661/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6661/index.ts | 13 ++- packages/jsts/src/rules/S6661/meta.ts | 13 ++- packages/jsts/src/rules/S6661/unit.test.ts | 13 ++- packages/jsts/src/rules/S6666/decorator.ts | 13 ++- .../jsts/src/rules/S6666/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6666/index.ts | 13 ++- packages/jsts/src/rules/S6666/meta.ts | 13 ++- packages/jsts/src/rules/S6666/unit.test.ts | 13 ++- .../jsts/src/rules/S6671/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6671/index.ts | 14 ++- packages/jsts/src/rules/S6671/meta.ts | 13 ++- packages/jsts/src/rules/S6676/decorator.ts | 13 ++- .../jsts/src/rules/S6676/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6676/index.ts | 13 ++- packages/jsts/src/rules/S6676/meta.ts | 13 ++- packages/jsts/src/rules/S6676/unit.test.ts | 13 ++- packages/jsts/src/rules/S6679/decorator.ts | 13 ++- .../jsts/src/rules/S6679/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6679/index.ts | 13 ++- packages/jsts/src/rules/S6679/meta.ts | 13 ++- packages/jsts/src/rules/S6679/unit.test.ts | 13 ++- .../jsts/src/rules/S6746/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6746/index.ts | 14 ++- packages/jsts/src/rules/S6746/meta.ts | 13 ++- packages/jsts/src/rules/S6747/decorator.ts | 13 ++- .../jsts/src/rules/S6747/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6747/index.ts | 13 ++- packages/jsts/src/rules/S6747/meta.ts | 13 ++- .../S6747/non-react-project/unit.test.ts | 13 ++- .../src/rules/S6747/react-project/cb.test.ts | 13 ++- packages/jsts/src/rules/S6747/rule.ts | 13 ++- .../jsts/src/rules/S6748/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6748/index.ts | 14 ++- packages/jsts/src/rules/S6748/meta.ts | 13 ++- packages/jsts/src/rules/S6749/decorator.ts | 13 ++- .../jsts/src/rules/S6749/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6749/index.ts | 13 ++- packages/jsts/src/rules/S6749/meta.ts | 13 ++- packages/jsts/src/rules/S6749/unit.test.ts | 13 ++- .../jsts/src/rules/S6750/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6750/index.ts | 14 ++- packages/jsts/src/rules/S6750/meta.ts | 13 ++- packages/jsts/src/rules/S6754/decorator.ts | 13 ++- .../jsts/src/rules/S6754/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6754/index.ts | 13 ++- packages/jsts/src/rules/S6754/meta.ts | 13 ++- packages/jsts/src/rules/S6754/unit.test.ts | 13 ++- .../jsts/src/rules/S6756/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6756/index.ts | 14 ++- packages/jsts/src/rules/S6756/meta.ts | 13 ++- .../jsts/src/rules/S6757/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6757/index.ts | 14 ++- packages/jsts/src/rules/S6757/meta.ts | 13 ++- packages/jsts/src/rules/S6759/cb.test.ts | 13 ++- .../jsts/src/rules/S6759/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6759/index.ts | 13 ++- packages/jsts/src/rules/S6759/meta.ts | 13 ++- packages/jsts/src/rules/S6759/rule.ts | 13 ++- .../jsts/src/rules/S6761/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6761/index.ts | 14 ++- packages/jsts/src/rules/S6761/meta.ts | 13 ++- .../jsts/src/rules/S6763/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6763/index.ts | 14 ++- packages/jsts/src/rules/S6763/meta.ts | 13 ++- .../jsts/src/rules/S6766/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6766/index.ts | 14 ++- packages/jsts/src/rules/S6766/meta.ts | 13 ++- .../jsts/src/rules/S6767/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6767/index.ts | 14 ++- packages/jsts/src/rules/S6767/meta.ts | 13 ++- .../jsts/src/rules/S6770/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6770/index.ts | 14 ++- packages/jsts/src/rules/S6770/meta.ts | 13 ++- .../jsts/src/rules/S6772/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6772/index.ts | 14 ++- packages/jsts/src/rules/S6772/meta.ts | 13 ++- .../jsts/src/rules/S6774/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6774/index.ts | 14 ++- packages/jsts/src/rules/S6774/meta.ts | 13 ++- .../jsts/src/rules/S6775/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6775/index.ts | 14 ++- packages/jsts/src/rules/S6775/meta.ts | 13 ++- packages/jsts/src/rules/S6788/decorator.ts | 13 ++- .../jsts/src/rules/S6788/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6788/index.ts | 13 ++- packages/jsts/src/rules/S6788/meta.ts | 13 ++- packages/jsts/src/rules/S6788/unit.test.ts | 13 ++- .../jsts/src/rules/S6789/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6789/index.ts | 14 ++- packages/jsts/src/rules/S6789/meta.ts | 13 ++- .../jsts/src/rules/S6790/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6790/index.ts | 14 ++- packages/jsts/src/rules/S6790/meta.ts | 13 ++- packages/jsts/src/rules/S6791/decorator.ts | 13 ++- .../jsts/src/rules/S6791/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6791/index.ts | 13 ++- packages/jsts/src/rules/S6791/meta.ts | 13 ++- packages/jsts/src/rules/S6791/unit.test.ts | 13 ++- .../jsts/src/rules/S6793/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6793/index.ts | 14 ++- packages/jsts/src/rules/S6793/meta.ts | 13 ++- .../jsts/src/rules/S6807/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6807/index.ts | 14 ++- packages/jsts/src/rules/S6807/meta.ts | 13 ++- .../jsts/src/rules/S6811/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6811/index.ts | 14 ++- packages/jsts/src/rules/S6811/meta.ts | 13 ++- .../jsts/src/rules/S6819/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6819/index.ts | 14 ++- packages/jsts/src/rules/S6819/meta.ts | 13 ++- .../jsts/src/rules/S6821/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6821/index.ts | 14 ++- packages/jsts/src/rules/S6821/meta.ts | 13 ++- .../jsts/src/rules/S6822/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6822/index.ts | 14 ++- packages/jsts/src/rules/S6822/meta.ts | 13 ++- .../jsts/src/rules/S6823/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6823/index.ts | 14 ++- packages/jsts/src/rules/S6823/meta.ts | 13 ++- .../jsts/src/rules/S6824/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6824/index.ts | 14 ++- packages/jsts/src/rules/S6824/meta.ts | 13 ++- .../jsts/src/rules/S6825/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6825/index.ts | 14 ++- packages/jsts/src/rules/S6825/meta.ts | 13 ++- packages/jsts/src/rules/S6827/cb.test.ts | 13 ++- packages/jsts/src/rules/S6827/decorator.ts | 13 ++- .../jsts/src/rules/S6827/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6827/index.ts | 13 ++- packages/jsts/src/rules/S6827/meta.ts | 13 ++- .../jsts/src/rules/S6836/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6836/index.ts | 14 ++- packages/jsts/src/rules/S6836/meta.ts | 13 ++- .../jsts/src/rules/S6840/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6840/index.ts | 14 ++- packages/jsts/src/rules/S6840/meta.ts | 13 ++- .../jsts/src/rules/S6841/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6841/index.ts | 14 ++- packages/jsts/src/rules/S6841/meta.ts | 13 ++- .../jsts/src/rules/S6842/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6842/index.ts | 14 ++- packages/jsts/src/rules/S6842/meta.ts | 13 ++- .../jsts/src/rules/S6843/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6843/index.ts | 14 ++- packages/jsts/src/rules/S6843/meta.ts | 13 ++- packages/jsts/src/rules/S6844/cb.test.ts | 13 ++- .../jsts/src/rules/S6844/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6844/index.ts | 13 ++- packages/jsts/src/rules/S6844/meta.ts | 13 ++- packages/jsts/src/rules/S6844/rule.ts | 13 ++- .../jsts/src/rules/S6845/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6845/index.ts | 14 ++- packages/jsts/src/rules/S6845/meta.ts | 13 ++- .../jsts/src/rules/S6846/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6846/index.ts | 14 ++- packages/jsts/src/rules/S6846/meta.ts | 13 ++- .../jsts/src/rules/S6847/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6847/index.ts | 14 ++- packages/jsts/src/rules/S6847/meta.ts | 13 ++- .../jsts/src/rules/S6848/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6848/index.ts | 14 ++- packages/jsts/src/rules/S6848/meta.ts | 13 ++- .../jsts/src/rules/S6850/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6850/index.ts | 14 ++- packages/jsts/src/rules/S6850/meta.ts | 13 ++- .../jsts/src/rules/S6851/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6851/index.ts | 14 ++- packages/jsts/src/rules/S6851/meta.ts | 13 ++- .../jsts/src/rules/S6852/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6852/index.ts | 14 ++- packages/jsts/src/rules/S6852/meta.ts | 13 ++- packages/jsts/src/rules/S6853/cb.test.ts | 13 ++- packages/jsts/src/rules/S6853/decorator.ts | 13 ++- .../jsts/src/rules/S6853/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6853/index.ts | 13 ++- packages/jsts/src/rules/S6853/meta.ts | 13 ++- .../jsts/src/rules/S6859/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6859/index.ts | 14 ++- packages/jsts/src/rules/S6859/meta.ts | 13 ++- .../jsts/src/rules/S6861/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6861/index.ts | 14 ++- packages/jsts/src/rules/S6861/meta.ts | 13 ++- packages/jsts/src/rules/S6957/cb.test.ts | 13 ++- .../jsts/src/rules/S6957/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6957/index.ts | 13 ++- packages/jsts/src/rules/S6957/meta.ts | 13 ++- packages/jsts/src/rules/S6957/rule.ts | 13 ++- packages/jsts/src/rules/S6957/unit.test.ts | 13 ++- .../jsts/src/rules/S6958/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6958/index.ts | 13 ++- packages/jsts/src/rules/S6958/meta.ts | 13 ++- packages/jsts/src/rules/S6958/rule.ts | 13 ++- packages/jsts/src/rules/S6958/unit.test.ts | 13 ++- packages/jsts/src/rules/S6959/cb.test.ts | 13 ++- .../jsts/src/rules/S6959/generated-meta.ts | 13 ++- packages/jsts/src/rules/S6959/index.ts | 13 ++- packages/jsts/src/rules/S6959/meta.ts | 13 ++- packages/jsts/src/rules/S6959/rule.ts | 13 ++- packages/jsts/src/rules/S6959/unit.test.ts | 13 ++- packages/jsts/src/rules/S7059/cb.test.ts | 13 ++- .../jsts/src/rules/S7059/generated-meta.ts | 13 ++- packages/jsts/src/rules/S7059/index.ts | 13 ++- packages/jsts/src/rules/S7059/meta.ts | 13 ++- packages/jsts/src/rules/S7059/rule.ts | 13 ++- packages/jsts/src/rules/S7060/cb.test.ts | 13 ++- packages/jsts/src/rules/S7060/decorator.ts | 13 ++- .../jsts/src/rules/S7060/generated-meta.ts | 13 ++- packages/jsts/src/rules/S7060/index.ts | 14 ++- packages/jsts/src/rules/S7060/meta.ts | 13 ++- .../jsts/src/rules/S878/generated-meta.ts | 13 ++- packages/jsts/src/rules/S878/index.ts | 14 ++- packages/jsts/src/rules/S878/meta.ts | 13 ++- .../jsts/src/rules/S881/generated-meta.ts | 13 ++- packages/jsts/src/rules/S881/index.ts | 13 ++- packages/jsts/src/rules/S881/meta.ts | 13 ++- packages/jsts/src/rules/S881/rule.ts | 13 ++- packages/jsts/src/rules/S881/unit.test.ts | 13 ++- packages/jsts/src/rules/S888/cb.test.ts | 13 ++- .../jsts/src/rules/S888/generated-meta.ts | 13 ++- packages/jsts/src/rules/S888/index.ts | 13 ++- packages/jsts/src/rules/S888/meta.ts | 13 ++- packages/jsts/src/rules/S888/rule.ts | 13 ++- packages/jsts/src/rules/S905/decorator.ts | 13 ++- .../jsts/src/rules/S905/generated-meta.ts | 13 ++- packages/jsts/src/rules/S905/index.ts | 13 ++- packages/jsts/src/rules/S905/meta.ts | 13 ++- packages/jsts/src/rules/S905/unit.test.ts | 13 ++- .../jsts/src/rules/S909/generated-meta.ts | 13 ++- packages/jsts/src/rules/S909/index.ts | 14 ++- packages/jsts/src/rules/S909/meta.ts | 13 ++- .../jsts/src/rules/S930/generated-meta.ts | 13 ++- packages/jsts/src/rules/S930/index.ts | 13 ++- packages/jsts/src/rules/S930/meta.ts | 13 ++- packages/jsts/src/rules/S930/rule.ts | 13 ++- packages/jsts/src/rules/S930/unit.test.ts | 13 ++- packages/jsts/src/rules/external/a11y.ts | 14 ++- packages/jsts/src/rules/external/core.ts | 13 ++- packages/jsts/src/rules/external/react.ts | 14 ++- .../rules/external/typescript-eslint/index.ts | 13 ++- .../external/typescript-eslint/sanitize.ts | 13 ++- .../jsts/src/rules/helpers/accessibility.ts | 14 ++- packages/jsts/src/rules/helpers/ancestor.ts | 13 ++- packages/jsts/src/rules/helpers/ast.ts | 13 ++- packages/jsts/src/rules/helpers/aws/cdk.ts | 13 ++- packages/jsts/src/rules/helpers/aws/iam.ts | 13 ++- packages/jsts/src/rules/helpers/aws/index.ts | 13 ++- packages/jsts/src/rules/helpers/aws/s3.ts | 13 ++- packages/jsts/src/rules/helpers/chai.ts | 13 ++- packages/jsts/src/rules/helpers/collection.ts | 13 ++- packages/jsts/src/rules/helpers/conditions.ts | 13 ++- .../src/rules/helpers/cookie-flag-check.ts | 13 ++- .../src/rules/helpers/decorators/index.ts | 13 ++- .../rules/helpers/decorators/interceptor.ts | 13 ++- .../src/rules/helpers/decorators/merger.ts | 13 ++- .../jsts/src/rules/helpers/equivalence.ts | 13 ++- packages/jsts/src/rules/helpers/express.ts | 13 ++- packages/jsts/src/rules/helpers/files.ts | 13 ++- packages/jsts/src/rules/helpers/find-files.ts | 13 ++- packages/jsts/src/rules/helpers/find-up.ts | 13 ++- .../jsts/src/rules/helpers/generate-meta.ts | 14 ++- packages/jsts/src/rules/helpers/globals.ts | 13 ++- packages/jsts/src/rules/helpers/index.ts | 13 ++- .../jsts/src/rules/helpers/isHtmlElement.ts | 14 ++- packages/jsts/src/rules/helpers/jsx.ts | 13 ++- packages/jsts/src/rules/helpers/location.ts | 13 ++- packages/jsts/src/rules/helpers/lva.ts | 13 ++- packages/jsts/src/rules/helpers/mocha.ts | 13 ++- packages/jsts/src/rules/helpers/module.ts | 13 ++- .../jsts/src/rules/helpers/package-json.ts | 13 ++- .../jsts/src/rules/helpers/parser-services.ts | 13 ++- packages/jsts/src/rules/helpers/quickfix.ts | 13 ++- .../src/rules/helpers/reaching-definitions.ts | 13 ++- .../helpers/recognizers/CodeRecognizer.ts | 13 ++- .../src/rules/helpers/recognizers/Detector.ts | 13 ++- .../recognizers/JavaScriptFootPrint.ts | 13 ++- .../helpers/recognizers/LanguageFootprint.ts | 13 ++- .../detectors/CamelCaseDetector.ts | 13 ++- .../recognizers/detectors/ContainsDetector.ts | 13 ++- .../recognizers/detectors/EndWithDetector.ts | 13 ++- .../recognizers/detectors/KeywordsDetector.ts | 13 ++- .../src/rules/helpers/recognizers/index.ts | 13 ++- .../src/rules/helpers/regex/alternation.ts | 13 ++- packages/jsts/src/rules/helpers/regex/ast.ts | 13 ++- .../jsts/src/rules/helpers/regex/extract.ts | 13 ++- .../jsts/src/rules/helpers/regex/flags.ts | 13 ++- .../jsts/src/rules/helpers/regex/group.ts | 13 ++- .../jsts/src/rules/helpers/regex/location.ts | 13 ++- .../jsts/src/rules/helpers/regex/range.ts | 13 ++- .../src/rules/helpers/regex/rule-template.ts | 13 ++- .../regex/simplified-regex-character-class.ts | 13 ++- .../jsts/src/rules/helpers/regex/tokenizer.ts | 13 ++- packages/jsts/src/rules/helpers/result.ts | 13 ++- .../src/rules/helpers/rule-detect-react.ts | 13 ++- packages/jsts/src/rules/helpers/sinon.ts | 13 ++- packages/jsts/src/rules/helpers/supertest.ts | 13 ++- packages/jsts/src/rules/helpers/table.ts | 14 ++- packages/jsts/src/rules/helpers/type.ts | 13 ++- .../src/rules/helpers/validate-version.ts | 14 ++- packages/jsts/src/rules/helpers/vitest.ts | 13 ++- packages/jsts/src/rules/helpers/vue.ts | 13 ++- packages/jsts/src/rules/index.ts | 14 ++- packages/jsts/src/rules/plugin.ts | 14 ++- packages/jsts/tests/analysis/analyzer.test.ts | 13 ++- .../tests/analysis/projectAnalyzer.test.ts | 13 ++- packages/jsts/tests/builders/build.test.ts | 13 ++- .../jsts/tests/linter/bundle-loader.test.ts | 13 ++- .../tests/linter/config/linter-config.test.ts | 13 ++- .../tests/linter/config/rule-config.test.ts | 13 ++- packages/jsts/tests/linter/index.test.ts | 13 ++- .../jsts/tests/linter/issues/decode.test.ts | 13 ++- .../jsts/tests/linter/issues/extract.test.ts | 13 ++- .../jsts/tests/linter/issues/message.test.ts | 13 ++- .../tests/linter/issues/transform.test.ts | 13 ++- .../linter/parameters/helpers/schema.test.ts | 13 ++- .../linter/parameters/sonar-context.test.ts | 13 ++- .../linter/parameters/sonar-runtime.test.ts | 13 ++- .../tests/linter/quickfixes/messages.test.ts | 13 ++- .../tests/linter/quickfixes/transform.test.ts | 13 ++- .../jsts/tests/linter/visitors/cpd.test.ts | 13 ++- .../linter/visitors/metrics/classes.test.ts | 13 ++- .../linter/visitors/metrics/comments.test.ts | 13 ++- .../linter/visitors/metrics/compute.test.ts | 13 ++- .../metrics/cyclomatic-complexity.test.ts | 13 ++- .../visitors/metrics/executable-lines.test.ts | 13 ++- .../linter/visitors/metrics/functions.test.ts | 13 ++- .../visitors/metrics/helpers/counter.test.ts | 13 ++- .../visitors/metrics/helpers/lines.test.ts | 13 ++- .../visitors/metrics/helpers/location.test.ts | 13 ++- .../visitors/metrics/helpers/tokens.test.ts | 13 ++- .../linter/visitors/metrics/ncloc.test.ts | 13 ++- .../linter/visitors/metrics/nosonar.test.ts | 13 ++- .../visitors/metrics/statements.test.ts | 13 ++- .../visitors/symbol-highlighting.test.ts | 13 ++- .../visitors/syntax-highlighting.test.ts | 13 ++- .../tests/linter/visitors/visitor.test.ts | 13 ++- packages/jsts/tests/linter/wrapper.test.ts | 13 ++- packages/jsts/tests/parsers/ast.test.ts | 13 ++- packages/jsts/tests/parsers/eslint.test.ts | 13 ++- packages/jsts/tests/parsers/options.test.ts | 13 ++- packages/jsts/tests/parsers/parse.test.ts | 13 ++- packages/jsts/tests/program/program.test.ts | 13 ++- packages/jsts/tests/program/tsconfigs.test.ts | 13 ++- .../jsts/tests/project-metadata/index.test.ts | 13 ++- packages/jsts/tests/rules/helpers/ast.test.ts | 14 ++- .../jsts/tests/rules/helpers/aws/cdk.test.ts | 13 ++- .../jsts/tests/rules/helpers/aws/s3.test.ts | 13 ++- .../helpers/decorators/interceptor.test.ts | 13 ++- .../jsts/tests/rules/helpers/express.test.ts | 13 ++- .../jsts/tests/rules/helpers/find-up.test.ts | 13 ++- .../jsts/tests/rules/helpers/mocha.test.ts | 13 ++- .../tests/rules/helpers/regex/range.test.ts | 13 ++- .../rules/helpers/regex/rule-template.test.ts | 13 ++- .../rules/helpers/regex/tokenizer.test.ts | 13 ++- packages/jsts/tests/rules/index.test.ts | 14 ++- .../rules/typescript-eslint/sanitize.test.ts | 13 ++- packages/jsts/tests/tools/helpers/index.ts | 13 ++- packages/jsts/tests/tools/helpers/input.ts | 13 ++- packages/jsts/tests/tools/helpers/parsing.ts | 13 ++- packages/jsts/tests/tools/index.ts | 13 ++- .../rule/no-missing-sonar-runtime.test.ts | 13 ++- .../rule/no-missing-sonar-runtime.ts | 13 ++- .../tools/sonar-runtime/sonar-runtime.test.ts | 13 ++- .../jsts/tests/tools/testers/babel/index.ts | 13 ++- .../jsts/tests/tools/testers/babel/tester.ts | 13 ++- .../tools/testers/comment-based/checker.ts | 13 ++- .../testers/comment-based/framework.test.ts | 13 ++- .../tools/testers/comment-based/framework.ts | 13 ++- .../testers/comment-based/helpers/comments.ts | 13 ++- .../testers/comment-based/helpers/file.ts | 13 ++- .../testers/comment-based/helpers/index.ts | 13 ++- .../testers/comment-based/helpers/issues.ts | 13 ++- .../comment-based/helpers/locations.ts | 13 ++- .../comment-based/helpers/quickfixes.ts | 13 ++- .../testers/comment-based/helpers/ranges.ts | 13 ++- .../tools/testers/comment-based/index.ts | 13 ++- .../tools/testers/comment-based/parser.ts | 13 ++- packages/jsts/tests/tools/testers/index.ts | 13 ++- .../tests/tools/testers/javascript/index.ts | 13 ++- .../tests/tools/testers/javascript/tester.ts | 13 ++- .../jsts/tests/tools/testers/rule-tester.ts | 13 ++- .../tests/tools/testers/typescript/index.ts | 13 ++- .../tests/tools/testers/typescript/tester.ts | 13 ++- .../filter/JavaScriptExclusionsFilter.ts | 13 ++- .../ruling/tests/filter/bundleAssessor.ts | 13 ++- packages/ruling/tests/filter/filter.test.ts | 13 ++- .../tests/filter/minificationAssessor.ts | 13 ++- packages/ruling/tests/filter/sizeAssessor.ts | 13 ++- .../tests/projects/Ghost.ruling.test.ts | 13 ++- .../tests/projects/Joust.ruling.test.ts | 13 ++- .../tests/projects/TypeScript.ruling.test.ts | 13 ++- .../ruling/tests/projects/ace.ruling.test.ts | 13 ++- .../tests/projects/ag-grid.ruling.test.ts | 13 ++- .../tests/projects/amplify.ruling.test.ts | 13 ++- .../tests/projects/angular.js.ruling.test.ts | 13 ++- .../tests/projects/ant-design.ruling.test.ts | 13 ++- .../tests/projects/backbone.ruling.test.ts | 13 ++- .../tests/projects/console.ruling.test.ts | 13 ++- .../tests/projects/courselit.ruling.test.ts | 13 ++- .../tests/projects/desktop.ruling.test.ts | 13 ++- .../projects/ecmascript6-today.ruling.test.ts | 13 ++- .../tests/projects/eigen.ruling.test.ts | 13 ++- .../tests/projects/es5-shim.ruling.test.ts | 13 ++- .../projects/expressionist.js.ruling.test.ts | 13 ++- .../projects/file-for-rules.ruling.test.ts | 13 ++- .../tests/projects/fireact.ruling.test.ts | 13 ++- .../tests/projects/fireface.ruling.test.ts | 13 ++- .../ruling/tests/projects/http.ruling.test.ts | 13 ++- .../tests/projects/ionic2-auth.ruling.test.ts | 13 ++- .../tests/projects/it-tools.ruling.test.ts | 13 ++- .../tests/projects/jStorage.ruling.test.ts | 13 ++- .../tests/projects/jira-clone.ruling.test.ts | 13 ++- .../tests/projects/jquery.ruling.test.ts | 13 ++- .../tests/projects/jshint.ruling.test.ts | 13 ++- .../tests/projects/knockout.ruling.test.ts | 13 ++- .../tests/projects/moose.ruling.test.ts | 13 ++- .../projects/mootools-core.ruling.test.ts | 13 ++- .../tests/projects/ocanvas.ruling.test.ts | 13 ++- .../tests/projects/p5.js.ruling.test.ts | 13 ++- .../tests/projects/paper.js.ruling.test.ts | 13 ++- .../tests/projects/postgraphql.ruling.test.ts | 13 ++- .../projects/prettier-vscode.ruling.test.ts | 13 ++- .../tests/projects/prototype.ruling.test.ts | 13 ++- .../tests/projects/qunit.ruling.test.ts | 13 ++- .../projects/react-cloud-music.ruling.test.ts | 13 ++- .../projects/reddit-mobile.ruling.test.ts | 13 ++- .../tests/projects/redux.ruling.test.ts | 13 ++- .../tests/projects/router.ruling.test.ts | 13 ++- .../ruling/tests/projects/rxjs.ruling.test.ts | 13 ++- .../tests/projects/searchkit.ruling.test.ts | 13 ++- .../tests/projects/sizzle.ruling.test.ts | 13 ++- .../tests/projects/snoode.ruling.test.ts | 13 ++- .../tests/projects/sonar-web.ruling.test.ts | 13 ++- .../tests/projects/templating.ruling.test.ts | 13 ++- .../tests/projects/underscore.ruling.test.ts | 13 ++- .../tests/projects/vuetify.ruling.test.ts | 13 ++- .../projects/watchtower.js.ruling.test.ts | 13 ++- .../ruling/tests/projects/yaml.ruling.test.ts | 13 ++- packages/ruling/tests/settings.js | 16 ++++ packages/ruling/tests/tools/languages.ts | 13 ++- packages/ruling/tests/tools/lits.ts | 13 ++- packages/ruling/tests/tools/parseRulesData.ts | 13 ++- packages/ruling/tests/tools/testProject.ts | 13 ++- packages/shared/src/errors/error.ts | 13 ++- packages/shared/src/helpers/context.ts | 13 ++- packages/shared/src/helpers/escape.ts | 13 ++- packages/shared/src/helpers/files.ts | 13 ++- packages/shared/src/helpers/language.ts | 13 ++- packages/shared/src/helpers/logging.ts | 13 ++- packages/shared/src/helpers/worker.ts | 13 ++- packages/shared/src/types/analysis.ts | 13 ++- packages/shared/tests/helpers/context.test.ts | 13 ++- packages/shared/tests/helpers/escape.test.ts | 13 ++- packages/shared/tests/helpers/files.test.ts | 13 ++- packages/shared/tests/helpers/logging.test.ts | 13 ++- packages/yaml/src/aws/parser.ts | 13 ++- packages/yaml/src/aws/parsingContexts.ts | 13 ++- packages/yaml/src/index.ts | 14 ++- packages/yaml/src/parser/parse-yaml.ts | 13 ++- packages/yaml/src/parser/yaml/format.ts | 13 ++- packages/yaml/tests/analysis/analyzer.test.ts | 13 ++- packages/yaml/tests/aws/parser.test.ts | 13 ++- packages/yaml/tests/builder/build.test.ts | 13 ++- packages/yaml/tests/builder/patch.test.ts | 13 ++- packages/yaml/tests/parser/format.test.ts | 13 ++- packages/yaml/tests/parser/parse.test.ts | 13 ++- pom.xml | 86 +++++++++++-------- profiling/profile-rule.ts | 13 ++- profiling/server.js | 13 ++- .../sonar/plugins/javascript/api/Check.java | 13 ++- .../javascript/api/CustomRuleRepository.java | 13 ++- .../javascript/api/EslintBasedCheck.java | 13 ++- .../javascript/api/JavaScriptCheck.java | 13 ++- .../javascript/api/JavaScriptRule.java | 13 ++- .../javascript/api/JsAnalysisConsumer.java | 13 ++- .../sonar/plugins/javascript/api/JsFile.java | 13 ++- .../plugins/javascript/api/RulesBundle.java | 13 ++- .../plugins/javascript/api/TestFileCheck.java | 13 ++- .../javascript/api/TypeScriptRule.java | 13 ++- .../plugins/javascript/api/estree/ESTree.java | 14 ++- .../javascript/api/estree/package-info.java | 13 ++- .../plugins/javascript/api/package-info.java | 13 ++- .../api/CustomRuleRepositoryTest.java | 13 ++- .../javascript/api/EslintBasedCheckTest.java | 13 ++- .../javascript/api/estree/ESTreeTest.java | 13 ++- .../javascript/bridge/AnalysisMode.java | 13 ++- .../bridge/AnalysisWarningsWrapper.java | 13 ++- .../javascript/bridge/BridgeServer.java | 13 ++- .../javascript/bridge/BridgeServerConfig.java | 13 ++- .../javascript/bridge/BridgeServerImpl.java | 13 ++- .../plugins/javascript/bridge/Bundle.java | 13 ++- .../plugins/javascript/bridge/BundleImpl.java | 13 ++- .../javascript/bridge/BundleUtils.java | 13 ++- .../javascript/bridge/ESTreeFactory.java | 13 ++- .../javascript/bridge/EmbeddedNode.java | 13 ++- .../javascript/bridge/Environment.java | 13 ++- .../plugins/javascript/bridge/EslintRule.java | 13 ++- .../javascript/bridge/FormDataUtils.java | 13 ++- .../sonar/plugins/javascript/bridge/Http.java | 13 ++- .../plugins/javascript/bridge/NetUtils.java | 13 ++- .../bridge/NodeDeprecationWarning.java | 13 ++- .../plugins/javascript/bridge/PluginInfo.java | 13 ++- .../javascript/bridge/RulesBundles.java | 13 ++- .../bridge/ServerAlreadyFailedException.java | 13 ++- .../javascript/bridge/StylelintRule.java | 13 ++- .../javascript/bridge/TsConfigFile.java | 13 ++- .../javascript/bridge/package-info.java | 13 ++- .../javascript/nodejs/BundlePathResolver.java | 13 ++- .../javascript/nodejs/NodeCommand.java | 13 ++- .../javascript/nodejs/NodeCommandBuilder.java | 13 ++- .../nodejs/NodeCommandBuilderImpl.java | 13 ++- .../nodejs/NodeCommandException.java | 13 ++- .../javascript/nodejs/NodeVersion.java | 13 ++- .../javascript/nodejs/ProcessWrapper.java | 13 ++- .../javascript/nodejs/ProcessWrapperImpl.java | 13 ++- .../javascript/nodejs/StreamConsumer.java | 13 ++- .../javascript/nodejs/package-info.java | 13 ++- .../javascript/bridge/AnalysisModeTest.java | 13 ++- .../bridge/AnalysisWarningsWrapperTest.java | 13 ++- .../bridge/BridgeServerImplTest.java | 13 ++- .../javascript/bridge/BundleImplTest.java | 13 ++- .../javascript/bridge/ESTreeFactoryTest.java | 13 ++- .../javascript/bridge/EmbeddedNodeTest.java | 13 ++- .../javascript/bridge/EnvironmentTest.java | 13 ++- .../javascript/bridge/EslintRuleTest.java | 13 ++- .../javascript/bridge/FormDataUtilsTest.java | 13 ++- .../bridge/NodeDeprecationWarningTest.java | 13 ++- .../javascript/bridge/PluginInfoTest.java | 13 ++- .../javascript/bridge/RulesBundlesTest.java | 13 ++- .../javascript/nodejs/NodeCommandTest.java | 13 ++- .../main/java/org/sonar/css/CssLanguage.java | 13 ++- .../org/sonar/css/CssProfileDefinition.java | 13 ++- .../src/main/java/org/sonar/css/CssRules.java | 13 ++- .../org/sonar/css/CssRulesDefinition.java | 13 ++- .../java/org/sonar/css/StylelintReport.java | 13 ++- .../org/sonar/css/StylelintReportSensor.java | 13 ++- .../java/org/sonar/css/metrics/CssLexer.java | 13 ++- .../sonar/css/metrics/CssMetricSensor.java | 13 ++- .../java/org/sonar/css/metrics/CssToken.java | 13 ++- .../org/sonar/css/metrics/CssTokenType.java | 13 ++- .../java/org/sonar/css/metrics/Tokenizer.java | 13 ++- .../org/sonar/css/metrics/package-info.java | 13 ++- .../main/java/org/sonar/css/package-info.java | 13 ++- .../org/sonar/css/rules/AtRuleNoUnknown.java | 13 ++- .../org/sonar/css/rules/BlockNoEmpty.java | 13 ++- .../sonar/css/rules/ColorNoInvalidHex.java | 13 ++- .../org/sonar/css/rules/CommentNoEmpty.java | 13 ++- .../java/org/sonar/css/rules/CssRule.java | 13 ++- ...DeclarationBlockNoDuplicateProperties.java | 13 ++- ...tionBlockNoShorthandPropertyOverrides.java | 13 ++- .../css/rules/FontFamilyNoDuplicateNames.java | 13 ++- ...ntFamilyNoMissingGenericFamilyKeyword.java | 13 ++- .../css/rules/FunctionCalcNoInvalid.java | 13 ++- .../rules/FunctionCalcNoUnspacedOperator.java | 13 ++- ...nLinearGradientNoNonstandardDirection.java | 13 ++- .../rules/KeyframeDeclarationNoImportant.java | 13 ++- .../css/rules/MediaFeatureNameNoUnknown.java | 13 ++- .../org/sonar/css/rules/NoCommentedCode.java | 13 ++- .../css/rules/NoDescendingSpecificity.java | 13 ++- .../css/rules/NoDuplicateAtImportRules.java | 13 ++- .../sonar/css/rules/NoDuplicateSelectors.java | 13 ++- .../org/sonar/css/rules/NoEmptySource.java | 13 ++- .../sonar/css/rules/NoExtraSemicolons.java | 13 ++- .../rules/NoInvalidDoubleSlashComments.java | 13 ++- .../sonar/css/rules/PropertyNoUnknown.java | 13 ++- .../java/org/sonar/css/rules/RuleUtils.java | 13 ++- .../rules/SelectorPseudoClassNoUnknown.java | 13 ++- .../rules/SelectorPseudoElementNoUnknown.java | 13 ++- .../css/rules/SelectorTypeNoUnknown.java | 13 ++- .../org/sonar/css/rules/StringNoNewline.java | 13 ++- .../org/sonar/css/rules/UnitNoUnknown.java | 13 ++- .../org/sonar/css/rules/package-info.java | 13 ++- .../java/org/sonar/css/CssLanguageTest.java | 13 ++- .../sonar/css/CssProfileDefinitionTest.java | 13 ++- .../org/sonar/css/CssRulesDefinitionTest.java | 13 ++- .../sonar/css/StylelintReportSensorTest.java | 13 ++- .../java/org/sonar/css/TestActiveRules.java | 13 ++- .../css/metrics/CssMetricSensorTest.java | 13 ++- .../org/sonar/css/metrics/TokenizerTest.java | 13 ++- .../java/org/sonar/css/rules/CssRuleTest.java | 13 ++- .../AdjacentOverloadSignaturesCheck.java | 13 ++- .../javascript/checks/AlertUseCheck.java | 13 ++- .../checks/AlphabeticalSortCheck.java | 13 ++- .../sonar/javascript/checks/AltTextCheck.java | 13 ++- .../checks/AlwaysUseCurlyBracesCheck.java | 13 ++- .../checks/AnchorHasContentCheck.java | 13 ++- .../javascript/checks/AnchorIsValidCheck.java | 13 ++- .../checks/AnchorPrecedenceCheck.java | 13 ++- .../AngleBracketTypeAssertionCheck.java | 13 ++- .../javascript/checks/ArgumentTypesCheck.java | 13 ++- .../ArgumentsCallerCalleeUsageCheck.java | 13 ++- .../checks/ArgumentsUsageCheck.java | 13 ++- .../AriaActivedescendantHasTabindexCheck.java | 13 ++- .../javascript/checks/AriaProptypesCheck.java | 13 ++- .../javascript/checks/AriaRoleCheck.java | 13 ++- .../checks/AriaUnsupportedElementsCheck.java | 13 ++- .../ArithmeticOperationReturningNanCheck.java | 13 ++- .../ArrayCallbackWithoutReturnCheck.java | 13 ++- .../checks/ArrayConstructorsCheck.java | 13 ++- .../checks/ArrowFunctionConventionCheck.java | 13 ++- .../checks/AssertionsInTestsCheck.java | 13 ++- .../checks/AssociativeArraysCheck.java | 13 ++- .../checks/AutocompleteValidCheck.java | 13 ++- .../checks/AwsApigatewayPublicApiCheck.java | 13 ++- .../checks/AwsEc2RdsDmsPublicCheck.java | 13 ++- .../AwsEc2UnencryptedEbsVolumeCheck.java | 13 ++- .../checks/AwsEfsUnencryptedCheck.java | 13 ++- .../checks/AwsIamAllPrivilegesCheck.java | 13 ++- .../AwsIamAllResourcesAccessibleCheck.java | 13 ++- .../AwsIamPrivilegeEscalationCheck.java | 13 ++- .../checks/AwsIamPublicAccessCheck.java | 13 ++- .../AwsOpenSearchServiceDomainCheck.java | 13 ++- .../AwsRdsUnencryptedDatabasesCheck.java | 13 ++- .../AwsRestrictedIpAdminAccessCheck.java | 13 ++- .../checks/AwsS3BucketGrantedAccessCheck.java | 13 ++- .../checks/AwsS3BucketInsecureHttpCheck.java | 13 ++- .../checks/AwsS3BucketPublicAccessCheck.java | 13 ++- .../AwsS3BucketServerEncryptionCheck.java | 13 ++- .../checks/AwsS3BucketVersioningCheck.java | 13 ++- .../AwsSagemakerUnencryptedNotebookCheck.java | 13 ++- .../checks/AwsSnsUnencryptedTopicsCheck.java | 13 ++- .../checks/AwsSqsUnencryptedQueueCheck.java | 13 ++- .../checks/BitwiseOperatorsCheck.java | 13 ++- .../checks/BoolParamDefaultCheck.java | 13 ++- .../BooleanEqualityComparisonCheck.java | 13 ++- .../checks/BuiltInObjectOverriddenCheck.java | 13 ++- .../checks/CertificateTransparencyCheck.java | 13 ++- .../checks/ChaiDeterminateAssertionCheck.java | 13 ++- .../sonar/javascript/checks/CheckList.java | 13 ++- .../javascript/checks/ClassNameCheck.java | 13 ++- .../checks/ClassPrototypeCheck.java | 13 ++- .../CognitiveComplexityFunctionCheck.java | 13 ++- .../checks/CollapsibleIfStatementsCheck.java | 13 ++- .../checks/CollectionSizeComparisonCheck.java | 13 ++- .../CommaOperatorInSwitchCaseCheck.java | 13 ++- .../checks/CommaOperatorUseCheck.java | 13 ++- .../checks/CommentRegularExpressionCheck.java | 13 ++- .../javascript/checks/CommentedCodeCheck.java | 13 ++- .../checks/ComparisonWithNaNCheck.java | 13 ++- .../javascript/checks/ConciseRegexCheck.java | 13 ++- .../checks/ConditionalIndentationCheck.java | 13 ++- .../checks/ConditionalOperatorCheck.java | 13 ++- .../ConfidentialInformationLoggingCheck.java | 13 ++- .../checks/ConsistentReturnsCheck.java | 13 ++- .../checks/ConsoleLoggingCheck.java | 13 ++- ...nstructorFunctionsForSideEffectsCheck.java | 13 ++- .../javascript/checks/ContentLengthCheck.java | 13 ++- .../checks/ContentSecurityPolicyCheck.java | 13 ++- .../checks/ContinueStatementCheck.java | 13 ++- .../checks/CookieNoHttpOnlyCheck.java | 13 ++- .../sonar/javascript/checks/CookiesCheck.java | 13 ++- .../sonar/javascript/checks/CorsCheck.java | 13 ++- .../checks/CounterUpdatedInLoopCheck.java | 13 ++- .../sonar/javascript/checks/CsrfCheck.java | 13 ++- .../CyclomaticComplexityJavaScriptCheck.java | 13 ++- .../CyclomaticComplexityTypeScriptCheck.java | 13 ++- .../javascript/checks/DeadStoreCheck.java | 13 ++- .../checks/DebuggerStatementCheck.java | 13 ++- .../checks/DeclarationInGlobalScopeCheck.java | 13 ++- .../checks/DefaultParametersNotLastCheck.java | 13 ++- .../DefaultPropsMatchPropTypesCheck.java | 13 ++- .../checks/DeleteNonPropertyCheck.java | 13 ++- .../javascript/checks/DeprecationCheck.java | 13 ++- .../DestructuringAssignmentSyntaxCheck.java | 13 ++- .../checks/DifferentTypesComparisonCheck.java | 13 ++- .../checks/DisabledAutoEscapingCheck.java | 13 ++- .../DisabledResourceIntegrityCheck.java | 13 ++- .../checks/DisabledTimeoutCheck.java | 13 ++- .../checks/DnsPrefetchingCheck.java | 13 ++- ...DuplicateAllBranchImplementationCheck.java | 13 ++- .../DuplicateBranchImplementationCheck.java | 13 ++- .../checks/DuplicateConditionIfCheck.java | 13 ++- .../DuplicateFunctionArgumentCheck.java | 13 ++- .../checks/DuplicatePropertyNameCheck.java | 13 ++- .../DuplicatesInCharacterClassCheck.java | 13 ++- .../checks/ElseIfWithoutElseCheck.java | 13 ++- .../javascript/checks/EmptyBlockCheck.java | 13 ++- .../checks/EmptyCharacterClassesCheck.java | 13 ++- .../EmptyDestructuringPatternCheck.java | 13 ++- .../javascript/checks/EmptyFunctionCheck.java | 13 ++- .../checks/EmptyStatementCheck.java | 13 ++- .../checks/EmptyStringRepetitionCheck.java | 13 ++- .../javascript/checks/EncryptionCheck.java | 13 ++- .../checks/EncryptionSecureModeCheck.java | 13 ++- .../sonar/javascript/checks/EqEqEqCheck.java | 13 ++- .../EqualInForLoopTerminationCheck.java | 13 ++- .../checks/ErrorWithoutThrowCheck.java | 13 ++- .../sonar/javascript/checks/EscapeUtils.java | 13 ++- .../sonar/javascript/checks/EvalCheck.java | 13 ++- .../checks/ExistingGroupsCheck.java | 13 ++- .../checks/ExpressionComplexityCheck.java | 13 ++- .../javascript/checks/FileHeaderCheck.java | 13 ++- .../checks/FileNameDiffersFromClassCheck.java | 13 ++- .../checks/FilePermissionsCheck.java | 13 ++- .../javascript/checks/FileUploadsCheck.java | 13 ++- .../checks/FixmeTagPresenceCheck.java | 13 ++- .../checks/ForHidingWhileCheck.java | 13 ++- .../sonar/javascript/checks/ForInCheck.java | 13 ++- .../ForLoopConditionAndUpdateCheck.java | 13 ++- .../checks/ForLoopIncrementSignCheck.java | 13 ++- .../javascript/checks/FormatRuleProperty.java | 13 ++- .../checks/FrameAncestorsCheck.java | 13 ++- .../FunctionCallArgumentsOnNewLineCheck.java | 13 ++- .../checks/FunctionConstructorCheck.java | 13 ++- ...FunctionDeclarationsWithinBlocksCheck.java | 13 ++- .../FunctionDefinitionInsideLoopCheck.java | 13 ++- .../javascript/checks/FunctionNameCheck.java | 13 ++- .../checks/FunctionReturnTypeCheck.java | 13 ++- .../checks/FutureReservedWordsCheck.java | 13 ++- .../checks/GeneratorWithoutYieldCheck.java | 13 ++- .../javascript/checks/GetterSetterCheck.java | 13 ++- .../javascript/checks/GlobalThisCheck.java | 13 ++- .../checks/GlobalsShadowingCheck.java | 13 ++- .../checks/GratuitousConditionCheck.java | 13 ++- .../checks/HardcodedCredentialsCheck.java | 13 ++- .../sonar/javascript/checks/HashingCheck.java | 13 ++- .../checks/HeadingHasContentCheck.java | 13 ++- .../javascript/checks/HiddenFilesCheck.java | 13 ++- .../javascript/checks/HookUseStateCheck.java | 13 ++- .../javascript/checks/HtmlHasLangCheck.java | 13 ++- ...nticalExpressionOnBinaryOperatorCheck.java | 13 ++- .../checks/IdenticalFunctionsCheck.java | 13 ++- .../checks/IframeHasTitleCheck.java | 13 ++- .../javascript/checks/IgnoredReturnCheck.java | 13 ++- .../checks/ImgRedundantAltCheck.java | 13 ++- .../ImmediatelyReturnedVariableCheck.java | 13 ++- .../checks/ImplicitDependenciesCheck.java | 13 ++- .../checks/InOperatorTypeErrorCheck.java | 13 ++- .../checks/InconsistentFunctionCallCheck.java | 13 ++- ...ncrementDecrementInSubExpressionCheck.java | 13 ++- .../IndexOfCompareToPositiveNumberCheck.java | 13 ++- .../checks/InsecureCookieCheck.java | 13 ++- .../checks/InsecureJwtTokenCheck.java | 13 ++- .../checks/InstanceofInMisuseCheck.java | 13 ++- ...ractiveElementsShouldBeFocusableCheck.java | 13 ++- .../checks/IntrusivePermissionsCheck.java | 13 ++- .../checks/InvariantReturnCheck.java | 13 ++- .../InvertedAssertionArgumentsCheck.java | 13 ++- .../javascript/checks/IpForwardCheck.java | 13 ++- .../checks/JsxChildElementSpacingCheck.java | 13 ++- .../sonar/javascript/checks/JsxKeyCheck.java | 13 ++- .../javascript/checks/JsxNoBindCheck.java | 13 ++- .../checks/JsxNoCommentTextnodesCheck.java | 13 ++- .../JsxNoConstructedContextValuesCheck.java | 13 ++- .../checks/JsxNoLeakedRenderCheck.java | 13 ++- .../checks/JsxNoUselessFragmentCheck.java | 13 ++- .../javascript/checks/JsxPascalCaseCheck.java | 13 ++- .../checks/JumpStatementInFinallyCheck.java | 13 ++- .../LabelHasAssociatedControlCheck.java | 13 ++- .../checks/LabelPlacementCheck.java | 13 ++- .../checks/LabelledStatementCheck.java | 13 ++- .../javascript/checks/LineLengthCheck.java | 13 ++- .../checks/LinkWithTargetBlankCheck.java | 13 ++- .../checks/LoopsShouldNotBeInfiniteCheck.java | 13 ++- .../javascript/checks/MaxParameterCheck.java | 13 ++- .../checks/MaxSwitchCasesCheck.java | 13 ++- .../javascript/checks/MaxUnionSizeCheck.java | 13 ++- .../checks/MediaHasCaptionCheck.java | 13 ++- .../checks/MisorderedParameterListCheck.java | 13 ++- .../MissingNewlineAtEndOfFileCheck.java | 13 ++- .../checks/MissingTrailingCommaCheck.java | 13 ++- .../checks/MouseEventsA11YCheck.java | 13 ++- .../checks/MultilineBlockCurlyBraceCheck.java | 13 ++- .../checks/MultilineStringLiteralsCheck.java | 13 ++- .../checks/NestedAssignmentCheck.java | 13 ++- .../NestedConditionalOperatorsCheck.java | 13 ++- .../checks/NestedControlFlowDepthCheck.java | 13 ++- .../sonar/javascript/checks/NewCapCheck.java | 13 ++- .../checks/NewOperatorMisuseCheck.java | 13 ++- .../checks/NoAbsolutePathCheck.java | 13 ++- .../javascript/checks/NoAccessKeyCheck.java | 13 ++- .../checks/NoAccessStateInSetstateCheck.java | 13 ++- .../checks/NoAccessorFieldMismatchCheck.java | 13 ++- .../NoAngularBypassSanitizationCheck.java | 13 ++- .../sonar/javascript/checks/NoAnyCheck.java | 13 ++- .../checks/NoAriaHiddenOnFocusableCheck.java | 13 ++- .../javascript/checks/NoArrayDeleteCheck.java | 13 ++- .../checks/NoArrayIndexKeyCheck.java | 13 ++- .../checks/NoAsyncConstructorCheck.java | 13 ++- .../checks/NoBaseToStringCheck.java | 13 ++- .../checks/NoCaseDeclarationsCheck.java | 13 ++- .../checks/NoChildrenPropCheck.java | 13 ++- .../checks/NoClearTextProtocolsCheck.java | 13 ++- .../checks/NoCodeAfterDoneCheck.java | 13 ++- .../NoConfusingNonNullAssertionCheck.java | 13 ++- .../NoConstantBinaryExpressionCheck.java | 13 ++- .../checks/NoConstructorReturnCheck.java | 13 ++- .../checks/NoControlRegexCheck.java | 13 ++- .../checks/NoDangerWithChildrenCheck.java | 13 ++- .../checks/NoDeprecatedReactCheck.java | 13 ++- .../checks/NoDirectMutationStateCheck.java | 13 ++- .../checks/NoDuplicateEnumValuesCheck.java | 13 ++- .../checks/NoDuplicateImportsCheck.java | 13 ++- .../checks/NoDuplicateInCompositeCheck.java | 13 ++- .../checks/NoDuplicateStringCheck.java | 13 ++- .../checks/NoElementOverwriteCheck.java | 13 ++- .../checks/NoEmptyAfterReluctantCheck.java | 13 ++- .../checks/NoEmptyAlternativesCheck.java | 13 ++- .../javascript/checks/NoEmptyClassCheck.java | 13 ++- .../checks/NoEmptyCollectionCheck.java | 13 ++- .../javascript/checks/NoEmptyGroupCheck.java | 13 ++- .../checks/NoEmptyInterfaceCheck.java | 13 ++- .../checks/NoEmptyTestFileCheck.java | 13 ++- .../checks/NoExclusiveTestsCheck.java | 13 ++- .../checks/NoExtendNativeCheck.java | 13 ++- .../javascript/checks/NoExtraBindCheck.java | 13 ++- .../checks/NoExtraBooleanCastCheck.java | 13 ++- .../javascript/checks/NoFindDomNodeCheck.java | 13 ++- .../javascript/checks/NoForInArrayCheck.java | 13 ++- .../javascript/checks/NoHardcodedIpCheck.java | 13 ++- .../checks/NoHookSetterInBodyCheck.java | 13 ++- .../checks/NoIgnoredExceptionsCheck.java | 13 ++- .../checks/NoImportAssignCheck.java | 13 ++- .../javascript/checks/NoInMisuseCheck.java | 13 ++- .../checks/NoIncompleteAssertionsCheck.java | 13 ++- .../checks/NoInferrableTypesCheck.java | 13 ++- ...ctiveElementToNoninteractiveRoleCheck.java | 13 ++- .../checks/NoInternalApiUseCheck.java | 13 ++- .../checks/NoInvalidAwaitCheck.java | 13 ++- .../checks/NoInvertedBooleanCheckCheck.java | 13 ++- .../javascript/checks/NoIsMountedCheck.java | 13 ++- .../javascript/checks/NoLiteralCallCheck.java | 13 ++- .../javascript/checks/NoLoneBlocksCheck.java | 13 ++- .../javascript/checks/NoLonelyIfCheck.java | 13 ++- .../checks/NoLossOfPrecisionCheck.java | 13 ++- .../checks/NoMagicNumbersCheck.java | 13 ++- .../javascript/checks/NoMimeSniffCheck.java | 13 ++- .../checks/NoMisleadingArrayReverseCheck.java | 13 ++- .../javascript/checks/NoMisusedNewCheck.java | 13 ++- .../checks/NoMisusedPromisesCheck.java | 13 ++- .../checks/NoMixedContentCheck.java | 13 ++- .../javascript/checks/NoMixedEnumsCheck.java | 13 ++- .../checks/NoMutableExportsCheck.java | 13 ++- .../checks/NoNestedFunctionsCheck.java | 13 ++- .../checks/NoNestedSwitchCheck.java | 13 ++- .../checks/NoNestedTemplateLiteralsCheck.java | 13 ++- .../NoNewNativeNonconstructorCheck.java | 13 ++- ...nInteractiveElementsWithHandlersCheck.java | 13 ++- .../checks/NoNonNullAssertionCheck.java | 13 ++- ...eractiveElementToInteractiveRoleCheck.java | 13 ++- .../checks/NoNoninteractiveTabindexCheck.java | 13 ++- .../javascript/checks/NoOctalEscapeCheck.java | 13 ++- .../checks/NoOneIterationLoopCheck.java | 13 ++- .../checks/NoOsCommandsFromPathCheck.java | 13 ++- .../sonar/javascript/checks/NoProtoCheck.java | 13 ++- .../checks/NoRedundantJumpCheck.java | 13 ++- .../checks/NoRedundantOptionalCheck.java | 13 ++- .../checks/NoRedundantRolesCheck.java | 13 ++- ...NoRedundantShouldComponentUpdateCheck.java | 13 ++- .../NoRedundantTypeConstituentsCheck.java | 13 ++- .../checks/NoReferrerPolicyCheck.java | 13 ++- .../javascript/checks/NoRegexSpacesCheck.java | 13 ++- .../checks/NoRenderReturnValueCheck.java | 13 ++- .../javascript/checks/NoReturnAwaitCheck.java | 13 ++- .../checks/NoReturnTypeAnyCheck.java | 13 ++- .../checks/NoSameArgumentAssertCheck.java | 13 ++- .../javascript/checks/NoSelfCompareCheck.java | 13 ++- .../javascript/checks/NoSelfImportCheck.java | 13 ++- .../checks/NoSkippedTestsCheck.java | 13 ++- .../checks/NoSparseArraysCheck.java | 13 ++- .../NoStaticElementInteractionsCheck.java | 13 ++- .../javascript/checks/NoStringRefsCheck.java | 13 ++- .../checks/NoTableAsLayoutCheck.java | 13 ++- .../javascript/checks/NoThisAliasCheck.java | 13 ++- .../javascript/checks/NoThisInSfcCheck.java | 13 ++- .../javascript/checks/NoUndefInitCheck.java | 13 ++- .../checks/NoUnescapedEntitiesCheck.java | 13 ++- .../javascript/checks/NoUniqKeyCheck.java | 13 ++- .../checks/NoUnknownPropertyCheck.java | 13 ++- .../NoUnnecessaryTypeAssertionCheck.java | 13 ++- .../NoUnnecessaryTypeConstraintCheck.java | 13 ++- .../checks/NoUnneededTernaryCheck.java | 13 ++- .../javascript/checks/NoUnsafeCheck.java | 13 ++- .../checks/NoUnsafeOptionalChainingCheck.java | 13 ++- .../NoUnstableNestedComponentsCheck.java | 13 ++- .../NoUnusedClassComponentMethodsCheck.java | 13 ++- .../NoUnusedPrivateClassMembersCheck.java | 13 ++- .../checks/NoUnusedPropTypesCheck.java | 13 ++- .../javascript/checks/NoUselessCallCheck.java | 13 ++- .../checks/NoUselessCatchCheck.java | 13 ++- .../checks/NoUselessConstructorCheck.java | 13 ++- .../checks/NoUselessReactSetstateCheck.java | 13 ++- .../checks/NoUselessRenameCheck.java | 13 ++- .../checks/NoVueBypassSanitizationCheck.java | 13 ++- .../javascript/checks/NoWeakCipherCheck.java | 13 ++- .../javascript/checks/NoWeakKeysCheck.java | 13 ++- .../checks/NonCaseLabelInSwitchCheck.java | 13 ++- .../checks/NonEmptyCaseWithoutBreakCheck.java | 13 ++- .../NonExistentAssignmentOperatorCheck.java | 13 ++- .../NonNumberInArithmeticExpressionCheck.java | 13 ++- .../checks/NonStandardImportCheck.java | 13 ++- .../checks/NullDereferenceCheck.java | 13 ++- .../javascript/checks/OSCommandCheck.java | 13 ++- .../checks/ObjectAltContentCheck.java | 13 ++- .../checks/ObjectLiteralShorthandCheck.java | 13 ++- .../javascript/checks/OctalNumberCheck.java | 13 ++- .../checks/OneStatementPerLineCheck.java | 13 ++- .../checks/OpenCurlyBracesAtEOLCheck.java | 13 ++- .../javascript/checks/ParenthesesCheck.java | 13 ++- .../checks/ParseIntCallWithoutBaseCheck.java | 13 ++- .../javascript/checks/ParsingErrorCheck.java | 13 ++- .../javascript/checks/PostMessageCheck.java | 13 ++- .../javascript/checks/PreferAsConstCheck.java | 13 ++- .../checks/PreferDefaultLastCheck.java | 13 ++- .../checks/PreferEnumInitializersCheck.java | 13 ++- .../javascript/checks/PreferForOfCheck.java | 13 ++- .../checks/PreferFunctionTypeCheck.java | 13 ++- .../checks/PreferLiteralEnumMemberCheck.java | 13 ++- .../checks/PreferNamespaceCheck.java | 13 ++- .../checks/PreferNullishCoalescingCheck.java | 13 ++- .../checks/PreferObjectHasOwnCheck.java | 13 ++- .../checks/PreferObjectLiteralCheck.java | 13 ++- .../checks/PreferObjectSpreadCheck.java | 13 ++- .../PreferPromiseRejectErrorsCheck.java | 13 ++- .../checks/PreferPromiseShorthandCheck.java | 13 ++- .../checks/PreferReadOnlyPropsCheck.java | 13 ++- .../checks/PreferReadonlyCheck.java | 13 ++- .../checks/PreferRegexLiteralsCheck.java | 13 ++- .../checks/PreferRegexpExecCheck.java | 13 ++- .../checks/PreferReturnThisTypeCheck.java | 13 ++- .../javascript/checks/PreferSpreadCheck.java | 13 ++- .../PreferStringStartsEndsWithCheck.java | 13 ++- .../checks/PreferTagOverRoleCheck.java | 13 ++- .../checks/PreferTypeGuardCheck.java | 13 ++- .../checks/PrimitiveWrappersCheck.java | 13 ++- .../javascript/checks/ProcessArgvCheck.java | 13 ++- .../checks/ProductionDebugCheck.java | 13 ++- .../javascript/checks/PropTypesCheck.java | 13 ++- .../javascript/checks/PseudoRandomCheck.java | 13 ++- .../checks/PublicStaticReadonlyCheck.java | 13 ++- .../PubliclyWritableDirectoriesCheck.java | 13 ++- .../checks/ReassignedParameterCheck.java | 13 ++- .../checks/RedeclaredSymbolCheck.java | 13 ++- .../checks/ReduceInitialValueCheck.java | 13 ++- .../checks/RedundantAssignmentCheck.java | 13 ++- .../checks/RedundantTypeAliasesCheck.java | 13 ++- .../checks/ReferenceErrorCheck.java | 13 ++- .../checks/RegexComplexityCheck.java | 13 ++- .../javascript/checks/RegularExprCheck.java | 13 ++- .../checks/RequireRenderReturnCheck.java | 13 ++- .../checks/ReturnInSetterCheck.java | 13 ++- .../ReturnOfBooleanExpressionCheck.java | 13 ++- .../checks/RoleHasRequiredAriaPropsCheck.java | 13 ++- .../checks/RoleSupportsAriaPropsCheck.java | 13 ++- .../javascript/checks/RulesOfHooksCheck.java | 13 ++- .../sonar/javascript/checks/S2301Check.java | 13 ++- .../checks/SameLineConditionalCheck.java | 13 ++- .../checks/SelfAssignmentCheck.java | 13 ++- .../javascript/checks/SemicolonCheck.java | 13 ++- .../checks/SessionRegenerationCheck.java | 13 ++- .../ShorthandPropertiesNotGroupedCheck.java | 13 ++- .../SingleCharInCharacterClassesCheck.java | 13 ++- .../SingleCharacterAlternativeCheck.java | 13 ++- .../javascript/checks/SlowRegexCheck.java | 13 ++- .../sonar/javascript/checks/SocketsCheck.java | 13 ++- .../checks/SonarNoInvalidRegexCheck.java | 13 ++- .../SonarNoMisleadingCharacterClassCheck.java | 13 ++- .../checks/SonarPreferOptionalChainCheck.java | 13 ++- .../javascript/checks/SqlQueriesCheck.java | 13 ++- .../javascript/checks/StableTestsCheck.java | 13 ++- .../javascript/checks/StandardInputCheck.java | 13 ++- .../javascript/checks/StatefulRegexCheck.java | 13 ++- .../javascript/checks/StrictModeCheck.java | 13 ++- .../checks/StrictTransportSecurityCheck.java | 13 ++- .../StringConcatenatedWithNonStringCheck.java | 13 ++- .../checks/StringConcatenationCheck.java | 13 ++- .../checks/StringLiteralsQuotesCheck.java | 13 ++- .../checks/StringsComparisonCheck.java | 13 ++- .../checks/SuperInvocationCheck.java | 13 ++- .../checks/SwitchWithNotEnoughCaseCheck.java | 13 ++- .../checks/SwitchWithoutDefaultCheck.java | 13 ++- .../javascript/checks/TabCharacterCheck.java | 13 ++- .../checks/TabindexNoPositiveCheck.java | 13 ++- .../javascript/checks/TableHeaderCheck.java | 13 ++- .../checks/TableHeaderReferenceCheck.java | 13 ++- .../checks/TemplateStringMisuseCheck.java | 13 ++- .../checks/TestCheckExceptionCheck.java | 13 ++- .../javascript/checks/ThrowLiteralCheck.java | 13 ++- .../checks/TodoTagPresenceCheck.java | 13 ++- .../checks/TooManyArgumentsCheck.java | 13 ++- .../TooManyBreakOrContinueInLoopCheck.java | 13 ++- .../checks/TooManyLinesInFileCheck.java | 13 ++- .../checks/TooManyLinesInFunctionCheck.java | 13 ++- .../javascript/checks/TrailingCommaCheck.java | 13 ++- .../checks/TrailingCommentCheck.java | 13 ++- .../checks/TrailingWhitespaceCheck.java | 13 ++- .../javascript/checks/TryPromiseCheck.java | 13 ++- .../checks/UnchangedLetVariableCheck.java | 13 ++- .../checks/UndefinedArgumentCheck.java | 13 ++- .../checks/UndefinedAssignmentCheck.java | 13 ++- .../checks/UnicodeAwareRegexCheck.java | 13 ++- .../UnnecessaryCharacterEscapesCheck.java | 13 ++- .../checks/UnnecessaryTypeArgumentsCheck.java | 13 ++- .../checks/UnreachableCodeCheck.java | 13 ++- .../javascript/checks/UnsafeUnzipCheck.java | 13 ++- .../checks/UnusedCollectionCheck.java | 13 ++- .../checks/UnusedFunctionArgumentCheck.java | 13 ++- .../javascript/checks/UnusedImportCheck.java | 13 ++- .../checks/UnusedNamedGroupsCheck.java | 13 ++- .../checks/UnusedVariableCheck.java | 13 ++- .../checks/UnverifiedCertificateCheck.java | 13 ++- .../checks/UnverifiedHostnameCheck.java | 13 ++- .../checks/UpdatedConstVariableCheck.java | 13 ++- .../checks/UseOfEmptyReturnValueCheck.java | 13 ++- .../javascript/checks/UseTypeAliasCheck.java | 13 ++- .../UselessExpressionStatementCheck.java | 13 ++- .../checks/UselessIncrementCheck.java | 13 ++- .../checks/UselessIntersectionCheck.java | 13 ++- .../checks/UselessStringOperationCheck.java | 13 ++- .../javascript/checks/ValidTypeOfCheck.java | 13 ++- .../ValuesNotConvertibleToNumbersCheck.java | 13 ++- .../checks/VarDeclarationCheck.java | 13 ++- .../VariableDeclarationAfterUsageCheck.java | 13 ++- .../VariableDeclarationWithoutVarCheck.java | 13 ++- .../javascript/checks/VariableNameCheck.java | 13 ++- .../checks/VariableShadowingCheck.java | 13 ++- .../sonar/javascript/checks/VoidUseCheck.java | 13 ++- .../sonar/javascript/checks/WeakSslCheck.java | 13 ++- .../checks/WebSQLDatabaseCheck.java | 13 ++- .../checks/WildcardImportCheck.java | 13 ++- .../javascript/checks/WithStatementCheck.java | 13 ++- .../checks/WrongScopeDeclarationCheck.java | 13 ++- .../checks/XMLParserXXEVulnerableCheck.java | 13 ++- .../javascript/checks/XPoweredByCheck.java | 13 ++- .../sonar/javascript/checks/XpathCheck.java | 13 ++- .../sonar/javascript/checks/package-info.java | 13 ++- .../AngleBracketTypeAssertionCheckTest.java | 13 ++- .../javascript/checks/AriaRoleCheckTest.java | 13 ++- .../ArrowFunctionConventionCheckTest.java | 13 ++- .../javascript/checks/CheckListTest.java | 13 ++- .../javascript/checks/ClassNameCheckTest.java | 13 ++- .../CognitiveComplexityFunctionCheckTest.java | 13 ++- .../CommentRegularExpressionCheckTest.java | 13 ++- .../checks/ConsoleLoggingCheckTest.java | 13 ++- .../checks/ContentLengthCheckTest.java | 13 ++- ...clomaticComplexityJavaScriptCheckTest.java | 13 ++- ...clomaticComplexityTypeScriptCheckTest.java | 13 ++- .../checks/EmptyBlockCheckTest.java | 13 ++- .../checks/EmptyFunctionCheckTest.java | 13 ++- .../javascript/checks/EqEqEqCheckTest.java | 13 ++- .../javascript/checks/EscapeUtilsTest.java | 13 ++- .../checks/ExpressionComplexityCheckTest.java | 13 ++- .../checks/FileHeaderCheckTest.java | 13 ++- .../checks/FunctionNameCheckTest.java | 13 ++- .../checks/GetterSetterCheckTest.java | 13 ++- .../checks/HardcodedCredentialsCheckTest.java | 13 ++- .../checks/HookUseStateCheckTest.java | 13 ++- .../checks/IdenticalFunctionsCheckTest.java | 13 ++- .../checks/ImplicitDependenciesCheckTest.java | 13 ++- .../checks/IntrusivePermissionsCheckTest.java | 13 ++- .../javascript/checks/JsxNoBindCheckTest.java | 13 ++- .../checks/JsxNoUselessFragmentCheckTest.java | 13 ++- .../checks/LineLengthCheckTest.java | 13 ++- .../checks/MaxParameterCheckTest.java | 13 ++- .../checks/MaxSwitchCasesCheckTest.java | 13 ++- .../checks/MaxUnionSizeCheckTest.java | 13 ++- .../MissingNewlineAtEndOfFileCheckTest.java | 13 ++- .../checks/MissingTrailingCommaCheckTest.java | 13 ++- .../NestedControlFlowDepthCheckTest.java | 13 ++- .../javascript/checks/NewCapCheckTest.java | 13 ++- .../checks/NewOperatorMisuseCheckTest.java | 13 ++- .../checks/NoDuplicateStringCheckTest.java | 13 ++- .../checks/NoEmptyClassCheckTest.java | 13 ++- .../checks/NoEmptyInterfaceCheckTest.java | 13 ++- .../checks/NoMagicNumbersCheckTest.java | 13 ++- .../checks/NoMisusedPromisesCheckTest.java | 13 ++- .../checks/NoNestedFunctionsCheckTest.java | 13 ++- ...eractiveElementsWithHandlersCheckTest.java | 13 ++- .../checks/NoThisAliasCheckTest.java | 13 ++- .../checks/NoUnescapedEntitiesCheckTest.java | 13 ++- .../checks/NoUnknownPropertyCheckTest.java | 13 ++- .../checks/NoUnneededTernaryCheckTest.java | 13 ++- .../javascript/checks/NoUnsafeCheckTest.java | 13 ++- .../checks/OpenCurlyBracesAtEOLCheckTest.java | 13 ++- .../PreferLiteralEnumMemberCheckTest.java | 13 ++- .../PreferNullishCoalescingCheckTest.java | 13 ++- .../checks/RedeclaredSymbolCheckTest.java | 13 ++- .../checks/RegexComplexityCheckTest.java | 13 ++- .../checks/StrictModeCheckTest.java | 13 ++- .../checks/StringLiteralsQuotesCheckTest.java | 13 ++- .../checks/TooManyLinesInFileCheckTest.java | 13 ++- .../TooManyLinesInFunctionCheckTest.java | 13 ++- .../checks/TrailingCommentCheckTest.java | 13 ++- .../checks/UnchangedLetVariableCheckTest.java | 13 ++- .../UselessExpressionStatementCheckTest.java | 13 ++- .../checks/VariableNameCheckTest.java | 13 ++- .../checks/VariableShadowingCheckTest.java | 13 ++- .../javascript/CancellationException.java | 13 ++- .../javascript/JavaScriptFilePredicate.java | 13 ++- .../javascript/JavaScriptLanguage.java | 13 ++- .../plugins/javascript/JavaScriptPlugin.java | 13 ++- .../JavaScriptProfilesDefinition.java | 13 ++- .../javascript/TypeScriptLanguage.java | 13 ++- .../javascript/analysis/AbstractAnalysis.java | 13 ++- .../analysis/AbstractBridgeSensor.java | 13 ++- .../analysis/AnalysisConsumers.java | 13 ++- .../analysis/AnalysisProcessor.java | 13 ++- .../analysis/AnalysisWithProgram.java | 13 ++- .../analysis/AnalysisWithWatchProgram.java | 13 ++- .../javascript/analysis/ContextUtils.java | 13 ++- .../javascript/analysis/CssRuleSensor.java | 13 ++- .../javascript/analysis/HtmlSensor.java | 13 ++- .../javascript/analysis/JsTsChecks.java | 13 ++- .../javascript/analysis/JsTsSensor.java | 13 ++- .../analysis/LookupConfigProviderFilter.java | 13 ++- .../javascript/analysis/QuickFixSupport.java | 13 ++- .../javascript/analysis/TsConfigOrigin.java | 13 ++- .../javascript/analysis/TsConfigProvider.java | 13 ++- .../javascript/analysis/YamlSensor.java | 13 ++- .../analysis/cache/CacheAnalysis.java | 13 ++- .../cache/CacheAnalysisSerialization.java | 13 ++- .../javascript/analysis/cache/CacheKey.java | 13 ++- .../analysis/cache/CacheReporter.java | 13 ++- .../analysis/cache/CacheSerialization.java | 13 ++- .../analysis/cache/CacheStrategies.java | 13 ++- .../analysis/cache/CacheStrategy.java | 13 ++- .../javascript/analysis/cache/CpdData.java | 13 ++- .../analysis/cache/CpdDeserializer.java | 13 ++- .../analysis/cache/CpdSerialization.java | 13 ++- .../analysis/cache/CpdSerializer.java | 13 ++- .../analysis/cache/FileIterator.java | 13 ++- .../analysis/cache/FileMetadata.java | 13 ++- .../analysis/cache/FilesManifest.java | 13 ++- .../analysis/cache/IteratorEnumeration.java | 13 ++- .../analysis/cache/JsonSerialization.java | 13 ++- .../analysis/cache/SequenceSerialization.java | 13 ++- .../analysis/cache/StringTable.java | 13 ++- .../cache/UCFGFilesSerialization.java | 13 ++- .../analysis/cache/VarLengthInputStream.java | 13 ++- .../analysis/cache/VarLengthOutputStream.java | 13 ++- .../analysis/cache/package-info.java | 13 ++- .../javascript/analysis/package-info.java | 13 ++- .../AbstractExternalIssuesSensor.java | 13 ++- .../external/EslintReportSensor.java | 13 ++- .../external/TslintReportSensor.java | 13 ++- .../javascript/external/package-info.java | 13 ++- .../plugins/javascript/filter/Assessor.java | 13 ++- .../filter/AverageLineLengthCalculator.java | 13 ++- .../javascript/filter/BundleAssessor.java | 13 ++- .../JavaScriptExclusionsFileFilter.java | 13 ++- .../filter/MinificationAssessor.java | 13 ++- .../javascript/filter/PathAssessor.java | 13 ++- .../javascript/filter/SizeAssessor.java | 13 ++- .../javascript/filter/package-info.java | 13 ++- .../javascript/lcov/CoverageSensor.java | 13 ++- .../plugins/javascript/lcov/FileLocator.java | 13 ++- .../plugins/javascript/lcov/LCOVParser.java | 13 ++- .../javascript/lcov/ReversePathTree.java | 13 ++- .../plugins/javascript/lcov/package-info.java | 13 ++- .../plugins/javascript/package-info.java | 13 ++- .../rules/EslintRulesDefinition.java | 13 ++- .../rules/JavaScriptRulesDefinition.java | 13 ++- .../rules/TslintRulesDefinition.java | 13 ++- .../rules/TypeScriptRulesDefinition.java | 13 ++- .../javascript/rules/package-info.java | 13 ++- .../javascript/sonarlint/TsConfigCache.java | 13 ++- .../sonarlint/TsConfigCacheImpl.java | 13 ++- .../javascript/sonarlint/package-info.java | 13 ++- .../plugins/javascript/utils/Exclusions.java | 13 ++- .../plugins/javascript/utils/PathWalker.java | 13 ++- .../javascript/utils/ProgressReport.java | 13 ++- .../utils/RulesMetadataForSonarLint.java | 13 ++- .../javascript/utils/UnicodeEscape.java | 13 ++- .../javascript/utils/package-info.java | 13 ++- .../sonar/plugins/security/api/JsRules.java | 13 ++- .../JavaScriptFilePredicateTest.java | 13 ++- .../javascript/JavaScriptLanguageTest.java | 13 ++- .../javascript/JavaScriptPluginTest.java | 13 ++- .../JavaScriptProfilesDefinitionTest.java | 13 ++- .../sonar/plugins/javascript/TestUtils.java | 13 ++- .../javascript/TypeScriptLanguageTest.java | 13 ++- .../analysis/AnalysisProcessorTest.java | 13 ++- .../analysis/CssRuleSensorTest.java | 13 ++- .../javascript/analysis/HtmlSensorTest.java | 13 ++- .../analysis/JavaScriptChecksTest.java | 13 ++- .../JavaScriptEslintBasedSensorTest.java | 13 ++- .../javascript/analysis/JsTsChecksTest.java | 13 ++- .../javascript/analysis/JsTsSensorTest.java | 13 ++- .../LookupConfigProviderFilterTest.java | 13 ++- .../analysis/QuickFixSupportTest.java | 13 ++- .../analysis/TestAnalysisWarnings.java | 13 ++- .../analysis/TsConfigCacheTest.java | 13 ++- .../javascript/analysis/TsConfigFileTest.java | 13 ++- .../analysis/TsConfigProviderTest.java | 13 ++- .../javascript/analysis/YamlSensorTest.java | 13 ++- .../analysis/cache/CacheKeyTest.java | 13 ++- .../analysis/cache/CacheReporterTest.java | 13 ++- .../analysis/cache/CacheStrategyTest.java | 13 ++- .../analysis/cache/CacheTestUtils.java | 13 ++- .../analysis/cache/FileMetadataTest.java | 13 ++- .../external/EslintReportSensorTest.java | 13 ++- .../external/TslintReportSensorTest.java | 13 ++- .../AverageLineLengthCalculatorTest.java | 13 ++- .../javascript/filter/BundleAssessorTest.java | 13 ++- .../JavaScriptExclusionsFileFilterTest.java | 13 ++- .../filter/MinificationAssessorTest.java | 13 ++- .../javascript/filter/SizeAssessorTest.java | 13 ++- .../javascript/lcov/CoverageSensorTest.java | 13 ++- .../javascript/lcov/FileLocatorTest.java | 13 ++- .../nodejs/ProcessWrapperImplTest.java | 13 ++- .../rules/EslintRulesDefinitionTest.java | 13 ++- .../rules/JavaScriptRulesDefinitionTest.java | 13 ++- .../rules/TslintRulesDefinitionTest.java | 13 ++- .../rules/TypeScriptRulesDefinitionTest.java | 13 ++- .../javascript/utils/PathWalkerTest.java | 13 ++- .../javascript/utils/ProgressReportTest.java | 13 ++- .../utils/RulesMetadataForSonarLintTest.java | 13 ++- .../javascript/utils/UnicodeEscapeTest.java | 13 ++- .../standalone/StandaloneParser.java | 13 ++- .../standalone/StandaloneTemporaryFolder.java | 13 ++- .../javascript/standalone/package-info.java | 13 ++- .../standalone/StandaloneParserTest.java | 13 ++- .../StandaloneTemporaryFolderTest.java | 13 ++- tools/check-distribution-filepath-length.cjs | 14 ++- tools/count-rules.js | 16 ++++ tools/external-rules-metadata.js | 14 ++- tools/fetch-node/node-distros.mjs | 16 ++++ tools/fetch-node/scripts/copy-to-plugin.mjs | 13 ++- tools/fetch-node/scripts/directories.mjs | 13 ++- tools/fetch-node/scripts/fetch-node.mjs | 13 ++- tools/fetch-node/scripts/wrapper.mjs | 13 ++- .../java/org/sonarsource/javascript/XZ.java | 13 ++- .../org/sonarsource/javascript/XZTest.java | 13 ++- tools/generate-meta.ts | 46 +++++----- tools/generate-rule-indexes.ts | 26 +++--- tools/generate-rules-list.js | 16 ++++ tools/newRule.ts | 13 ++- tools/prepare-ruling.js | 16 ++++ typedoc/searchable-parameters-plugin/index.js | 16 ++++ typedoc/searchable-parameters-plugin/setup.js | 16 ++++ typedoc/typedoc.js | 16 ++++ 3113 files changed, 15753 insertions(+), 25003 deletions(-) diff --git a/.eslint-doc-generatorrc.cjs b/.eslint-doc-generatorrc.cjs index ddbf57badb7..0777469cd6b 100644 --- a/.eslint-doc-generatorrc.cjs +++ b/.eslint-doc-generatorrc.cjs @@ -1,3 +1,19 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ const rules = require('./lib').rules; const prettier = require('prettier'); const { prettier: prettierOpts } = require('./package.json'); diff --git a/esbuild.mjs b/esbuild.mjs index 1a59c4e24f1..fd8a49363f7 100644 --- a/esbuild.mjs +++ b/esbuild.mjs @@ -1,3 +1,19 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ import esbuild from 'esbuild'; import textReplace from 'esbuild-plugin-text-replace'; import { copy } from 'esbuild-plugin-copy'; diff --git a/generate-eslint-package-json.mjs b/generate-eslint-package-json.mjs index 9923acc18b8..6ca9f925854 100644 --- a/generate-eslint-package-json.mjs +++ b/generate-eslint-package-json.mjs @@ -1,3 +1,19 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ import fs from 'node:fs/promises'; import { dirname, join } from 'path'; import { fileURLToPath } from 'node:url'; diff --git a/packages/bridge/src/delegate.ts b/packages/bridge/src/delegate.ts index 1252af1e41f..48d6e5e9160 100644 --- a/packages/bridge/src/delegate.ts +++ b/packages/bridge/src/delegate.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import formData from 'form-data'; import express from 'express'; diff --git a/packages/bridge/src/errors/index.ts b/packages/bridge/src/errors/index.ts index d25754e05ce..2ae24fdc81b 100644 --- a/packages/bridge/src/errors/index.ts +++ b/packages/bridge/src/errors/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './middleware.js'; diff --git a/packages/bridge/src/errors/middleware.ts b/packages/bridge/src/errors/middleware.ts index 691f7a66ce1..1507051a8d6 100644 --- a/packages/bridge/src/errors/middleware.ts +++ b/packages/bridge/src/errors/middleware.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import express from 'express'; import { ErrorCode } from '../../../shared/src/errors/error.js'; diff --git a/packages/bridge/src/handle-request.ts b/packages/bridge/src/handle-request.ts index c4edb61cd6d..1144f10b6da 100644 --- a/packages/bridge/src/handle-request.ts +++ b/packages/bridge/src/handle-request.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { analyzeCSS } from '../../css/src/analysis/analyzer.js'; import { analyzeHTML } from '../../html/src/index.js'; diff --git a/packages/bridge/src/memory.ts b/packages/bridge/src/memory.ts index 7ea743cfbfc..c1d688981cc 100644 --- a/packages/bridge/src/memory.ts +++ b/packages/bridge/src/memory.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import v8 from 'v8'; import os from 'os'; diff --git a/packages/bridge/src/request.ts b/packages/bridge/src/request.ts index aaf875c8e28..b7a9c97d25c 100644 --- a/packages/bridge/src/request.ts +++ b/packages/bridge/src/request.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { AnalysisOutput } from '../../shared/src/types/analysis.js'; import { CssAnalysisInput } from '../../css/src/analysis/analysis.js'; diff --git a/packages/bridge/src/router.ts b/packages/bridge/src/router.ts index 1a27db28870..44b9d6efa79 100644 --- a/packages/bridge/src/router.ts +++ b/packages/bridge/src/router.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import * as express from 'express'; import { Worker } from 'worker_threads'; diff --git a/packages/bridge/src/server.ts b/packages/bridge/src/server.ts index 2e780a1938c..f7f023e40cc 100644 --- a/packages/bridge/src/server.ts +++ b/packages/bridge/src/server.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * `module-alias` must be imported first for module aliasing to work. diff --git a/packages/bridge/src/timeout/index.ts b/packages/bridge/src/timeout/index.ts index d25754e05ce..2ae24fdc81b 100644 --- a/packages/bridge/src/timeout/index.ts +++ b/packages/bridge/src/timeout/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './middleware.js'; diff --git a/packages/bridge/src/timeout/middleware.ts b/packages/bridge/src/timeout/middleware.ts index 6cd5f1c4248..6d1eebdabf1 100644 --- a/packages/bridge/src/timeout/middleware.ts +++ b/packages/bridge/src/timeout/middleware.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import express from 'express'; import { Timeout } from './timeout.js'; diff --git a/packages/bridge/src/timeout/timeout.ts b/packages/bridge/src/timeout/timeout.ts index 0d255c77104..6cf30f7b6e8 100644 --- a/packages/bridge/src/timeout/timeout.ts +++ b/packages/bridge/src/timeout/timeout.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * Wrapper of Node.js timeout. diff --git a/packages/bridge/src/worker.ts b/packages/bridge/src/worker.ts index 675ad35804b..2eab954f2a9 100644 --- a/packages/bridge/src/worker.ts +++ b/packages/bridge/src/worker.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { parentPort, workerData } from 'worker_threads'; import { setContext } from '../../shared/src/helpers/context.js'; import { handleRequest } from './handle-request.js'; diff --git a/packages/bridge/tests/errors/middleware.test.ts b/packages/bridge/tests/errors/middleware.test.ts index 399d73d5278..d66bcea48ce 100644 --- a/packages/bridge/tests/errors/middleware.test.ts +++ b/packages/bridge/tests/errors/middleware.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import express from 'express'; import { EMPTY_JSTS_ANALYSIS_OUTPUT, errorMiddleware } from '../../src/errors/index.js'; diff --git a/packages/bridge/tests/memory.test.ts b/packages/bridge/tests/memory.test.ts index 90e57ae2283..8830b4e3bfd 100644 --- a/packages/bridge/tests/memory.test.ts +++ b/packages/bridge/tests/memory.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { logMemoryError } from '../src/memory.js'; import { describe, it, mock, Mock } from 'node:test'; diff --git a/packages/bridge/tests/router.test.ts b/packages/bridge/tests/router.test.ts index 8a689cc1ccd..3fe5c02ef61 100644 --- a/packages/bridge/tests/router.test.ts +++ b/packages/bridge/tests/router.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import http from 'http'; import path from 'path'; diff --git a/packages/bridge/tests/server.test.ts b/packages/bridge/tests/server.test.ts index 0217f33a7c2..b0dd6c852e9 100644 --- a/packages/bridge/tests/server.test.ts +++ b/packages/bridge/tests/server.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { start } from '../src/server.js'; import * as path from 'path'; diff --git a/packages/bridge/tests/timeout/timeout.test.ts b/packages/bridge/tests/timeout/timeout.test.ts index 5b1e172731f..8eaf4bea8c4 100644 --- a/packages/bridge/tests/timeout/timeout.test.ts +++ b/packages/bridge/tests/timeout/timeout.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Timeout } from '../../src/timeout/timeout.js'; import { describe, it, mock } from 'node:test'; diff --git a/packages/bridge/tests/tools/index.ts b/packages/bridge/tests/tools/index.ts index 0bbc85759d5..45bcb7197fc 100644 --- a/packages/bridge/tests/tools/index.ts +++ b/packages/bridge/tests/tools/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './request.js'; diff --git a/packages/bridge/tests/tools/request.ts b/packages/bridge/tests/tools/request.ts index bdc33c54076..93c4f0d3ecd 100644 --- a/packages/bridge/tests/tools/request.ts +++ b/packages/bridge/tests/tools/request.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { AddressInfo } from 'net'; import http from 'http'; diff --git a/packages/bridge/tests/worker.test.ts b/packages/bridge/tests/worker.test.ts index 0b451e2eed5..9942708b0fe 100644 --- a/packages/bridge/tests/worker.test.ts +++ b/packages/bridge/tests/worker.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { Worker } from 'worker_threads'; diff --git a/packages/css/src/analysis/analysis.ts b/packages/css/src/analysis/analysis.ts index 78e72caf3ce..68987ac1706 100644 --- a/packages/css/src/analysis/analysis.ts +++ b/packages/css/src/analysis/analysis.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { AnalysisInput, AnalysisOutput } from '../../../shared/src/types/analysis.js'; import { RuleConfig } from '../linter/config.js'; import { Issue } from '../linter/issues/index.js'; diff --git a/packages/css/src/analysis/analyzer.ts b/packages/css/src/analysis/analyzer.ts index 056d1119dcb..40c41f4a8e0 100644 --- a/packages/css/src/analysis/analyzer.ts +++ b/packages/css/src/analysis/analyzer.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { CssAnalysisInput, CssAnalysisOutput } from './analysis.js'; import { linter } from '../linter/wrapper.js'; diff --git a/packages/css/src/linter/config.ts b/packages/css/src/linter/config.ts index 6d04ba52311..67b2bbd3647 100644 --- a/packages/css/src/linter/config.ts +++ b/packages/css/src/linter/config.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import stylelint from 'stylelint'; import postcssHtml from 'postcss-html'; diff --git a/packages/css/src/linter/issues/index.ts b/packages/css/src/linter/issues/index.ts index 22f82e20410..9a0f350e7f1 100644 --- a/packages/css/src/linter/issues/index.ts +++ b/packages/css/src/linter/issues/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './issue.js'; export * from './transform.js'; diff --git a/packages/css/src/linter/issues/issue.ts b/packages/css/src/linter/issues/issue.ts index 5a750db4a5d..06d5c908b49 100644 --- a/packages/css/src/linter/issues/issue.ts +++ b/packages/css/src/linter/issues/issue.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * A SonarQube-compatible stylesheet issue diff --git a/packages/css/src/linter/issues/transform.ts b/packages/css/src/linter/issues/transform.ts index 2818e6a94ee..0dcfd4e72cb 100644 --- a/packages/css/src/linter/issues/transform.ts +++ b/packages/css/src/linter/issues/transform.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import stylelint from 'stylelint'; import { debug } from '../../../../shared/src/helpers/logging.js'; diff --git a/packages/css/src/linter/wrapper.ts b/packages/css/src/linter/wrapper.ts index 564061d71bf..f0c6e7f4049 100644 --- a/packages/css/src/linter/wrapper.ts +++ b/packages/css/src/linter/wrapper.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import stylelint from 'stylelint'; import { transform } from './issues/index.js'; diff --git a/packages/css/src/rules/S125/index.ts b/packages/css/src/rules/S125/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/css/src/rules/S125/index.ts +++ b/packages/css/src/rules/S125/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/css/src/rules/S125/rule.ts b/packages/css/src/rules/S125/rule.ts index 1aa771148df..085a75a7bce 100644 --- a/packages/css/src/rules/S125/rule.ts +++ b/packages/css/src/rules/S125/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S125/css diff --git a/packages/css/src/rules/S125/unit.test.ts b/packages/css/src/rules/S125/unit.test.ts index 806fbd2dfc6..19cc69b6ee8 100644 --- a/packages/css/src/rules/S125/unit.test.ts +++ b/packages/css/src/rules/S125/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { StylelintRuleTester } from '../../../tests/tools/tester/index.js'; import { rule } from './rule.js'; diff --git a/packages/css/src/rules/S5362/index.ts b/packages/css/src/rules/S5362/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/css/src/rules/S5362/index.ts +++ b/packages/css/src/rules/S5362/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/css/src/rules/S5362/rule.ts b/packages/css/src/rules/S5362/rule.ts index 60ba4e21095..8de7dc6157e 100644 --- a/packages/css/src/rules/S5362/rule.ts +++ b/packages/css/src/rules/S5362/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5362/css import stylelint from 'stylelint'; diff --git a/packages/css/src/rules/S5362/unit.test.ts b/packages/css/src/rules/S5362/unit.test.ts index 165568e1020..d76cfb5ee02 100644 --- a/packages/css/src/rules/S5362/unit.test.ts +++ b/packages/css/src/rules/S5362/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { StylelintRuleTester } from '../../../tests/tools/tester/index.js'; import { messages, rule } from './rule.js'; diff --git a/packages/css/src/rules/index.ts b/packages/css/src/rules/index.ts index 3bb0425b925..fb49264c2ad 100644 --- a/packages/css/src/rules/index.ts +++ b/packages/css/src/rules/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule as S125 } from './S125/index.js'; import { rule as S5362 } from './S5362/index.js'; diff --git a/packages/css/tests/analysis/analyzer.test.ts b/packages/css/tests/analysis/analyzer.test.ts index ccf03b9e18a..dbdacffaf61 100644 --- a/packages/css/tests/analysis/analyzer.test.ts +++ b/packages/css/tests/analysis/analyzer.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { describe, it } from 'node:test'; diff --git a/packages/css/tests/linter/config.test.ts b/packages/css/tests/linter/config.test.ts index e7d33c027c4..0fb04ff7a11 100644 --- a/packages/css/tests/linter/config.test.ts +++ b/packages/css/tests/linter/config.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { plugins } from '../../src/rules/index.js'; import { describe, it } from 'node:test'; diff --git a/packages/css/tests/linter/issues/transform.test.ts b/packages/css/tests/linter/issues/transform.test.ts index 963104b357c..6584958d21c 100644 --- a/packages/css/tests/linter/issues/transform.test.ts +++ b/packages/css/tests/linter/issues/transform.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import stylelint from 'stylelint'; import { transform } from '../../../src/linter/issues/index.js'; diff --git a/packages/css/tests/linter/wrapper.test.ts b/packages/css/tests/linter/wrapper.test.ts index b8defb627f6..2ba5cc0ccb6 100644 --- a/packages/css/tests/linter/wrapper.test.ts +++ b/packages/css/tests/linter/wrapper.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import stylelint from 'stylelint'; diff --git a/packages/css/tests/tools/tester/index.ts b/packages/css/tests/tools/tester/index.ts index 9bbd96a28f6..8d9e055ed72 100644 --- a/packages/css/tests/tools/tester/index.ts +++ b/packages/css/tests/tools/tester/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './tester.js'; diff --git a/packages/css/tests/tools/tester/tester.ts b/packages/css/tests/tools/tester/tester.ts index 632af23168c..d3f2b2cdb29 100644 --- a/packages/css/tests/tools/tester/tester.ts +++ b/packages/css/tests/tools/tester/tester.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import stylelint from 'stylelint'; import { describe, it } from 'node:test'; diff --git a/packages/html/src/index.ts b/packages/html/src/index.ts index d6c238cd2e5..72f36955e6a 100644 --- a/packages/html/src/index.ts +++ b/packages/html/src/index.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { parseHTML } from './parser/parse.js'; import type { diff --git a/packages/html/src/parser/parse.ts b/packages/html/src/parser/parse.ts index 0207a8187ae..764e2aa6f1e 100644 --- a/packages/html/src/parser/parse.ts +++ b/packages/html/src/parser/parse.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import * as htmlparser from 'htmlparser2'; import { EmbeddedJS } from '../../../jsts/src/embedded/analysis/embedded-js.js'; diff --git a/packages/html/tests/analysis/analyzer.test.ts b/packages/html/tests/analysis/analyzer.test.ts index 0ef4e7219d8..39f21a7308a 100644 --- a/packages/html/tests/analysis/analyzer.test.ts +++ b/packages/html/tests/analysis/analyzer.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { join } from 'path'; import { embeddedInput } from '../../../jsts/tests/tools/index.js'; diff --git a/packages/html/tests/builder/build.test.ts b/packages/html/tests/builder/build.test.ts index 8e9cd3797e4..2839d76096c 100644 --- a/packages/html/tests/builder/build.test.ts +++ b/packages/html/tests/builder/build.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { join } from 'path'; import { embeddedInput } from '../../../jsts/tests/tools/index.js'; diff --git a/packages/html/tests/parser/parse.test.ts b/packages/html/tests/parser/parse.test.ts index a16fef1d9d7..726a5f41bfc 100644 --- a/packages/html/tests/parser/parse.test.ts +++ b/packages/html/tests/parser/parse.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { describe, it } from 'node:test'; diff --git a/packages/jsts/src/analysis/analysis.ts b/packages/jsts/src/analysis/analysis.ts index d2a706dce3c..b467176ee70 100644 --- a/packages/jsts/src/analysis/analysis.ts +++ b/packages/jsts/src/analysis/analysis.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { FileType } from '../../../shared/src/helpers/files.js'; import { JsTsLanguage } from '../../../shared/src/helpers/language.js'; diff --git a/packages/jsts/src/analysis/analyzer.ts b/packages/jsts/src/analysis/analyzer.ts index 885fccda3a7..b823541f5f4 100644 --- a/packages/jsts/src/analysis/analyzer.ts +++ b/packages/jsts/src/analysis/analyzer.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { debug, info } from '../../../shared/src/helpers/logging.js'; import { SourceCode } from 'eslint'; diff --git a/packages/jsts/src/analysis/projectAnalysis/analyzeFile.ts b/packages/jsts/src/analysis/projectAnalysis/analyzeFile.ts index 6fba25ecccb..469b1e98743 100644 --- a/packages/jsts/src/analysis/projectAnalysis/analyzeFile.ts +++ b/packages/jsts/src/analysis/projectAnalysis/analyzeFile.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { parseParsingError } from '../../../../bridge/src/errors/index.js'; import { JsTsAnalysisInput } from '../analysis.js'; diff --git a/packages/jsts/src/analysis/projectAnalysis/analyzeWithProgram.ts b/packages/jsts/src/analysis/projectAnalysis/analyzeWithProgram.ts index b61a587bfbf..976fc1d2b2c 100644 --- a/packages/jsts/src/analysis/projectAnalysis/analyzeWithProgram.ts +++ b/packages/jsts/src/analysis/projectAnalysis/analyzeWithProgram.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { DEFAULT_LANGUAGE, JsTsFiles, ProjectAnalysisOutput } from './projectAnalysis.js'; import { createAndSaveProgram, deleteProgram } from '../../program/program.js'; import { analyzeFile } from './analyzeFile.js'; diff --git a/packages/jsts/src/analysis/projectAnalysis/analyzeWithWatchProgram.ts b/packages/jsts/src/analysis/projectAnalysis/analyzeWithWatchProgram.ts index 65ecac0fe7c..8459d403545 100644 --- a/packages/jsts/src/analysis/projectAnalysis/analyzeWithWatchProgram.ts +++ b/packages/jsts/src/analysis/projectAnalysis/analyzeWithWatchProgram.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { DEFAULT_LANGUAGE, JsTsFiles, ProjectAnalysisOutput } from './projectAnalysis.js'; import { createProgramOptions } from '../../program/program.js'; import { analyzeFile } from './analyzeFile.js'; diff --git a/packages/jsts/src/analysis/projectAnalysis/analyzeWithoutProgram.ts b/packages/jsts/src/analysis/projectAnalysis/analyzeWithoutProgram.ts index fafbde8b350..a7f836bf89f 100644 --- a/packages/jsts/src/analysis/projectAnalysis/analyzeWithoutProgram.ts +++ b/packages/jsts/src/analysis/projectAnalysis/analyzeWithoutProgram.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { DEFAULT_LANGUAGE, JsTsFiles, ProjectAnalysisOutput } from './projectAnalysis.js'; import { analyzeFile } from './analyzeFile.js'; import { readFile } from '../../../../shared/src/helpers/files.js'; diff --git a/packages/jsts/src/analysis/projectAnalysis/projectAnalysis.ts b/packages/jsts/src/analysis/projectAnalysis/projectAnalysis.ts index fee82ab8ad5..ae2b8f4e631 100644 --- a/packages/jsts/src/analysis/projectAnalysis/projectAnalysis.ts +++ b/packages/jsts/src/analysis/projectAnalysis/projectAnalysis.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { JsTsAnalysisOutput } from '../analysis.js'; import { FileType } from '../../../../shared/src/helpers/files.js'; import { JsTsLanguage } from '../../../../shared/src/helpers/language.js'; diff --git a/packages/jsts/src/analysis/projectAnalysis/projectAnalyzer.ts b/packages/jsts/src/analysis/projectAnalysis/projectAnalyzer.ts index 5a01bcbf6b2..7d442c5a521 100644 --- a/packages/jsts/src/analysis/projectAnalysis/projectAnalyzer.ts +++ b/packages/jsts/src/analysis/projectAnalysis/projectAnalyzer.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { DEFAULT_ENVIRONMENTS, diff --git a/packages/jsts/src/builders/build.ts b/packages/jsts/src/builders/build.ts index 8c4c3138548..4efd12d866a 100644 --- a/packages/jsts/src/builders/build.ts +++ b/packages/jsts/src/builders/build.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { debug } from '../../../shared/src/helpers/logging.js'; import { JsTsAnalysisInput } from '../analysis/analysis.js'; diff --git a/packages/jsts/src/embedded/analysis/analysis.ts b/packages/jsts/src/embedded/analysis/analysis.ts index 9b21a54dc8b..38ee0ae47bf 100644 --- a/packages/jsts/src/embedded/analysis/analysis.ts +++ b/packages/jsts/src/embedded/analysis/analysis.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Issue } from '../../linter/issues/issue.js'; import { AnalysisInput, AnalysisOutput } from '../../../../shared/src/types/analysis.js'; diff --git a/packages/jsts/src/embedded/analysis/analyzer.ts b/packages/jsts/src/embedded/analysis/analyzer.ts index 40efd86b962..1be63a3779b 100644 --- a/packages/jsts/src/embedded/analysis/analyzer.ts +++ b/packages/jsts/src/embedded/analysis/analyzer.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { SourceCode } from 'eslint'; import type { Position } from 'estree'; diff --git a/packages/jsts/src/embedded/analysis/embedded-js.ts b/packages/jsts/src/embedded/analysis/embedded-js.ts index a6a0b43d904..c7e056ba416 100644 --- a/packages/jsts/src/embedded/analysis/embedded-js.ts +++ b/packages/jsts/src/embedded/analysis/embedded-js.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * An extracted embedded JavaScript code snippet diff --git a/packages/jsts/src/embedded/builder/build.ts b/packages/jsts/src/embedded/builder/build.ts index db99df97dc2..c60993ddcd7 100644 --- a/packages/jsts/src/embedded/builder/build.ts +++ b/packages/jsts/src/embedded/builder/build.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { SourceCode } from 'eslint'; import { patchParsingError, patchSourceCode } from './patch.js'; diff --git a/packages/jsts/src/embedded/builder/patch.ts b/packages/jsts/src/embedded/builder/patch.ts index cb56279d9d8..7514d6df8a4 100644 --- a/packages/jsts/src/embedded/builder/patch.ts +++ b/packages/jsts/src/embedded/builder/patch.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { AST, SourceCode } from 'eslint'; import { Comment, Node } from 'estree'; diff --git a/packages/jsts/src/linter/bundle-loader.ts b/packages/jsts/src/linter/bundle-loader.ts index 1bce40018bd..5f7a0fc6d15 100755 --- a/packages/jsts/src/linter/bundle-loader.ts +++ b/packages/jsts/src/linter/bundle-loader.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Linter, Rule } from 'eslint'; import { rules as internalRules } from '../rules/index.js'; diff --git a/packages/jsts/src/linter/config/linter-config.ts b/packages/jsts/src/linter/config/linter-config.ts index b23fbc59500..822d5e07e88 100644 --- a/packages/jsts/src/linter/config/linter-config.ts +++ b/packages/jsts/src/linter/config/linter-config.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Linter, Rule } from 'eslint'; import { getContext } from '../../../../shared/src/helpers/context.js'; diff --git a/packages/jsts/src/linter/config/rule-config.ts b/packages/jsts/src/linter/config/rule-config.ts index 746c40b4007..3dfc3b67961 100644 --- a/packages/jsts/src/linter/config/rule-config.ts +++ b/packages/jsts/src/linter/config/rule-config.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { hasSonarRuntimeOption, SONAR_RUNTIME } from '../parameters/sonar-runtime.js'; diff --git a/packages/jsts/src/linter/custom-rules/cognitive-complexity.ts b/packages/jsts/src/linter/custom-rules/cognitive-complexity.ts index 703a5e76e96..7810e307e13 100644 --- a/packages/jsts/src/linter/custom-rules/cognitive-complexity.ts +++ b/packages/jsts/src/linter/custom-rules/cognitive-complexity.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule as cognitiveComplexityRule } from '../../rules/S3776/index.js'; import { CustomRule } from './custom-rule.js'; diff --git a/packages/jsts/src/linter/custom-rules/custom-rule.ts b/packages/jsts/src/linter/custom-rules/custom-rule.ts index 67b6930da97..337abba6560 100644 --- a/packages/jsts/src/linter/custom-rules/custom-rule.ts +++ b/packages/jsts/src/linter/custom-rules/custom-rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; diff --git a/packages/jsts/src/linter/custom-rules/rules.ts b/packages/jsts/src/linter/custom-rules/rules.ts index 0187b16ac2e..5b48cba953c 100644 --- a/packages/jsts/src/linter/custom-rules/rules.ts +++ b/packages/jsts/src/linter/custom-rules/rules.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule as cognitiveComplexity } from './cognitive-complexity.js'; import { CustomRule } from './custom-rule.js'; diff --git a/packages/jsts/src/linter/custom-rules/symbol-highlighting.ts b/packages/jsts/src/linter/custom-rules/symbol-highlighting.ts index 4371a51e63d..e9629769504 100644 --- a/packages/jsts/src/linter/custom-rules/symbol-highlighting.ts +++ b/packages/jsts/src/linter/custom-rules/symbol-highlighting.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { CustomRule } from './custom-rule.js'; import { rule as symbolHighlightingRule } from '../visitors/symbol-highlighting.js'; diff --git a/packages/jsts/src/linter/issues/decode.ts b/packages/jsts/src/linter/issues/decode.ts index 4fef5780cb7..1ddea69083f 100644 --- a/packages/jsts/src/linter/issues/decode.ts +++ b/packages/jsts/src/linter/issues/decode.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { Issue } from './issue.js'; diff --git a/packages/jsts/src/linter/issues/extract.ts b/packages/jsts/src/linter/issues/extract.ts index 1cccea5c386..d875d33104d 100644 --- a/packages/jsts/src/linter/issues/extract.ts +++ b/packages/jsts/src/linter/issues/extract.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Issue } from './issue.js'; import { rule as cognitiveComplexityRule } from '../custom-rules/cognitive-complexity.js'; diff --git a/packages/jsts/src/linter/issues/issue.ts b/packages/jsts/src/linter/issues/issue.ts index 72c0b4d8c09..60f8abb37d9 100644 --- a/packages/jsts/src/linter/issues/issue.ts +++ b/packages/jsts/src/linter/issues/issue.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { QuickFix } from '../quickfixes/quickfix.js'; import { Location } from './location.js'; diff --git a/packages/jsts/src/linter/issues/location.ts b/packages/jsts/src/linter/issues/location.ts index 8371e5b7a6b..4c9892f7c50 100644 --- a/packages/jsts/src/linter/issues/location.ts +++ b/packages/jsts/src/linter/issues/location.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * An issue location container diff --git a/packages/jsts/src/linter/issues/message.ts b/packages/jsts/src/linter/issues/message.ts index c2aa2bcf121..f056f3aa150 100644 --- a/packages/jsts/src/linter/issues/message.ts +++ b/packages/jsts/src/linter/issues/message.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Linter, SourceCode } from 'eslint'; import { transformFixes } from '../quickfixes/transform.js'; diff --git a/packages/jsts/src/linter/issues/normalize.ts b/packages/jsts/src/linter/issues/normalize.ts index eee659e0445..89942b2f760 100644 --- a/packages/jsts/src/linter/issues/normalize.ts +++ b/packages/jsts/src/linter/issues/normalize.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Issue } from './issue.js'; diff --git a/packages/jsts/src/linter/issues/transform.ts b/packages/jsts/src/linter/issues/transform.ts index d93244687b9..6006387398f 100644 --- a/packages/jsts/src/linter/issues/transform.ts +++ b/packages/jsts/src/linter/issues/transform.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Linter, Rule, SourceCode } from 'eslint'; import { decodeSonarRuntime } from './decode.js'; diff --git a/packages/jsts/src/linter/linters.ts b/packages/jsts/src/linter/linters.ts index 0a2170aedcd..6851437c196 100644 --- a/packages/jsts/src/linter/linters.ts +++ b/packages/jsts/src/linter/linters.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { debug } from '../../../shared/src/helpers/logging.js'; import { LinterWrapper } from './wrapper.js'; diff --git a/packages/jsts/src/linter/parameters/helpers/index.ts b/packages/jsts/src/linter/parameters/helpers/index.ts index 9cb88c51918..6463ae21c5f 100644 --- a/packages/jsts/src/linter/parameters/helpers/index.ts +++ b/packages/jsts/src/linter/parameters/helpers/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './schema.js'; diff --git a/packages/jsts/src/linter/parameters/helpers/schema.ts b/packages/jsts/src/linter/parameters/helpers/schema.ts index cd663225354..f372bd4044e 100644 --- a/packages/jsts/src/linter/parameters/helpers/schema.ts +++ b/packages/jsts/src/linter/parameters/helpers/schema.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { debug } from '../../../../../shared/src/helpers/logging.js'; diff --git a/packages/jsts/src/linter/parameters/sonar-context.ts b/packages/jsts/src/linter/parameters/sonar-context.ts index 25da140603b..b814fb0258b 100644 --- a/packages/jsts/src/linter/parameters/sonar-context.ts +++ b/packages/jsts/src/linter/parameters/sonar-context.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { getRuleSchema } from './helpers/schema.js'; diff --git a/packages/jsts/src/linter/parameters/sonar-runtime.ts b/packages/jsts/src/linter/parameters/sonar-runtime.ts index 9ce01a75627..654542b4aa5 100644 --- a/packages/jsts/src/linter/parameters/sonar-runtime.ts +++ b/packages/jsts/src/linter/parameters/sonar-runtime.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { getRuleSchema } from './helpers/index.js'; diff --git a/packages/jsts/src/linter/quickfixes/messages.ts b/packages/jsts/src/linter/quickfixes/messages.ts index 454042efd1f..21fe0c89c45 100644 --- a/packages/jsts/src/linter/quickfixes/messages.ts +++ b/packages/jsts/src/linter/quickfixes/messages.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * A mapping of ESLint rule keys to quick fix messages diff --git a/packages/jsts/src/linter/quickfixes/quickfix.ts b/packages/jsts/src/linter/quickfixes/quickfix.ts index ab37c6a2b7b..6034e6a596c 100644 --- a/packages/jsts/src/linter/quickfixes/quickfix.ts +++ b/packages/jsts/src/linter/quickfixes/quickfix.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Location } from '../issues/location.js'; diff --git a/packages/jsts/src/linter/quickfixes/rules.ts b/packages/jsts/src/linter/quickfixes/rules.ts index a5b3d4f6dab..efe66849c02 100644 --- a/packages/jsts/src/linter/quickfixes/rules.ts +++ b/packages/jsts/src/linter/quickfixes/rules.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * The set of enabled rules with quick fixes diff --git a/packages/jsts/src/linter/quickfixes/transform.ts b/packages/jsts/src/linter/quickfixes/transform.ts index 55e36a284f2..cb9eeedfde0 100644 --- a/packages/jsts/src/linter/quickfixes/transform.ts +++ b/packages/jsts/src/linter/quickfixes/transform.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Linter, Rule, SourceCode } from 'eslint'; import { getQuickFixMessage } from './messages.js'; diff --git a/packages/jsts/src/linter/visitors/cpd.ts b/packages/jsts/src/linter/visitors/cpd.ts index 8e7700b4802..8c4be1a295e 100644 --- a/packages/jsts/src/linter/visitors/cpd.ts +++ b/packages/jsts/src/linter/visitors/cpd.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; import type { TSESTree } from '@typescript-eslint/utils'; diff --git a/packages/jsts/src/linter/visitors/metrics/classes.ts b/packages/jsts/src/linter/visitors/metrics/classes.ts index 477683bdf4c..695eae1cbdf 100644 --- a/packages/jsts/src/linter/visitors/metrics/classes.ts +++ b/packages/jsts/src/linter/visitors/metrics/classes.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { SourceCode } from 'eslint'; import { visitAndCountIf } from './helpers/index.js'; diff --git a/packages/jsts/src/linter/visitors/metrics/comments.ts b/packages/jsts/src/linter/visitors/metrics/comments.ts index 1d27eb56f1c..46759248553 100644 --- a/packages/jsts/src/linter/visitors/metrics/comments.ts +++ b/packages/jsts/src/linter/visitors/metrics/comments.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { SourceCode } from 'eslint'; import { addLines } from './helpers/index.js'; diff --git a/packages/jsts/src/linter/visitors/metrics/compute.ts b/packages/jsts/src/linter/visitors/metrics/compute.ts index 2b5afdb8c1f..c898407e58e 100644 --- a/packages/jsts/src/linter/visitors/metrics/compute.ts +++ b/packages/jsts/src/linter/visitors/metrics/compute.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { SourceCode } from 'eslint'; import { countClasses } from './classes.js'; diff --git a/packages/jsts/src/linter/visitors/metrics/cyclomatic-complexity.ts b/packages/jsts/src/linter/visitors/metrics/cyclomatic-complexity.ts index 77337594ed6..b71c0b8e58c 100644 --- a/packages/jsts/src/linter/visitors/metrics/cyclomatic-complexity.ts +++ b/packages/jsts/src/linter/visitors/metrics/cyclomatic-complexity.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { SourceCode } from 'eslint'; import { visit } from '../visitor.js'; diff --git a/packages/jsts/src/linter/visitors/metrics/executable-lines.ts b/packages/jsts/src/linter/visitors/metrics/executable-lines.ts index 42113b05871..86fb5d4abb1 100644 --- a/packages/jsts/src/linter/visitors/metrics/executable-lines.ts +++ b/packages/jsts/src/linter/visitors/metrics/executable-lines.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { SourceCode } from 'eslint'; import { visit } from '../visitor.js'; diff --git a/packages/jsts/src/linter/visitors/metrics/functions.ts b/packages/jsts/src/linter/visitors/metrics/functions.ts index 10eda524e1f..1bb8f499fc0 100644 --- a/packages/jsts/src/linter/visitors/metrics/functions.ts +++ b/packages/jsts/src/linter/visitors/metrics/functions.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { SourceCode } from 'eslint'; import { visitAndCountIf } from './helpers/index.js'; diff --git a/packages/jsts/src/linter/visitors/metrics/helpers/counter.ts b/packages/jsts/src/linter/visitors/metrics/helpers/counter.ts index b9dc287f07e..34b80b353bf 100644 --- a/packages/jsts/src/linter/visitors/metrics/helpers/counter.ts +++ b/packages/jsts/src/linter/visitors/metrics/helpers/counter.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; import { SourceCode } from 'eslint'; diff --git a/packages/jsts/src/linter/visitors/metrics/helpers/index.ts b/packages/jsts/src/linter/visitors/metrics/helpers/index.ts index 028e1de9aef..dba30354a3a 100644 --- a/packages/jsts/src/linter/visitors/metrics/helpers/index.ts +++ b/packages/jsts/src/linter/visitors/metrics/helpers/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './counter.js'; export * from './lines.js'; diff --git a/packages/jsts/src/linter/visitors/metrics/helpers/lines.ts b/packages/jsts/src/linter/visitors/metrics/helpers/lines.ts index 39acf2d53d5..1b920c11475 100644 --- a/packages/jsts/src/linter/visitors/metrics/helpers/lines.ts +++ b/packages/jsts/src/linter/visitors/metrics/helpers/lines.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * Adds the line numbers within a range into a set diff --git a/packages/jsts/src/linter/visitors/metrics/helpers/location.ts b/packages/jsts/src/linter/visitors/metrics/helpers/location.ts index 1085ec1e82f..d85a5f39dbb 100644 --- a/packages/jsts/src/linter/visitors/metrics/helpers/location.ts +++ b/packages/jsts/src/linter/visitors/metrics/helpers/location.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; diff --git a/packages/jsts/src/linter/visitors/metrics/helpers/tokens.ts b/packages/jsts/src/linter/visitors/metrics/helpers/tokens.ts index 66265774325..c33d2c0551b 100644 --- a/packages/jsts/src/linter/visitors/metrics/helpers/tokens.ts +++ b/packages/jsts/src/linter/visitors/metrics/helpers/tokens.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { SourceCode } from 'eslint'; import { AST } from 'vue-eslint-parser'; diff --git a/packages/jsts/src/linter/visitors/metrics/index.ts b/packages/jsts/src/linter/visitors/metrics/index.ts index 587f48d609d..6001319e613 100644 --- a/packages/jsts/src/linter/visitors/metrics/index.ts +++ b/packages/jsts/src/linter/visitors/metrics/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './compute.js'; export * from './metrics.js'; diff --git a/packages/jsts/src/linter/visitors/metrics/metrics.ts b/packages/jsts/src/linter/visitors/metrics/metrics.ts index 9c196125304..25c837172b2 100644 --- a/packages/jsts/src/linter/visitors/metrics/metrics.ts +++ b/packages/jsts/src/linter/visitors/metrics/metrics.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * Metrics of the source code diff --git a/packages/jsts/src/linter/visitors/metrics/ncloc.ts b/packages/jsts/src/linter/visitors/metrics/ncloc.ts index 1850e955b8a..914cc77791f 100644 --- a/packages/jsts/src/linter/visitors/metrics/ncloc.ts +++ b/packages/jsts/src/linter/visitors/metrics/ncloc.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { SourceCode } from 'eslint'; import { AST } from 'vue-eslint-parser'; diff --git a/packages/jsts/src/linter/visitors/metrics/nosonar.ts b/packages/jsts/src/linter/visitors/metrics/nosonar.ts index a5f51e9c4f8..2ad0f34077f 100644 --- a/packages/jsts/src/linter/visitors/metrics/nosonar.ts +++ b/packages/jsts/src/linter/visitors/metrics/nosonar.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { SourceCode } from 'eslint'; import { findCommentLines } from './comments.js'; diff --git a/packages/jsts/src/linter/visitors/metrics/statements.ts b/packages/jsts/src/linter/visitors/metrics/statements.ts index babd3b2f8f3..b08328c7739 100644 --- a/packages/jsts/src/linter/visitors/metrics/statements.ts +++ b/packages/jsts/src/linter/visitors/metrics/statements.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { SourceCode } from 'eslint'; import { visitAndCountIf } from './helpers/index.js'; diff --git a/packages/jsts/src/linter/visitors/symbol-highlighting.ts b/packages/jsts/src/linter/visitors/symbol-highlighting.ts index d509e236443..123964e2689 100644 --- a/packages/jsts/src/linter/visitors/symbol-highlighting.ts +++ b/packages/jsts/src/linter/visitors/symbol-highlighting.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Rule, Scope } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/linter/visitors/syntax-highlighting.ts b/packages/jsts/src/linter/visitors/syntax-highlighting.ts index 52f8bd33091..40fa98a441f 100644 --- a/packages/jsts/src/linter/visitors/syntax-highlighting.ts +++ b/packages/jsts/src/linter/visitors/syntax-highlighting.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { SourceCode } from 'eslint'; import ESTree from 'estree'; diff --git a/packages/jsts/src/linter/visitors/visitor.ts b/packages/jsts/src/linter/visitors/visitor.ts index ac9bff1354e..9150acdf5f8 100644 --- a/packages/jsts/src/linter/visitors/visitor.ts +++ b/packages/jsts/src/linter/visitors/visitor.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; import { SourceCode } from 'eslint'; diff --git a/packages/jsts/src/linter/wrapper.ts b/packages/jsts/src/linter/wrapper.ts index 582342897fb..4de36af3e91 100644 --- a/packages/jsts/src/linter/wrapper.ts +++ b/packages/jsts/src/linter/wrapper.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Linter, SourceCode } from 'eslint'; import { loadBundles, loadCustomRules } from './bundle-loader.js'; diff --git a/packages/jsts/src/parsers/ast.ts b/packages/jsts/src/parsers/ast.ts index 755a2e52917..2a63ec8c4be 100644 --- a/packages/jsts/src/parsers/ast.ts +++ b/packages/jsts/src/parsers/ast.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import protobuf from 'protobufjs'; import type { TSESTree } from '@typescript-eslint/utils'; diff --git a/packages/jsts/src/parsers/eslint.ts b/packages/jsts/src/parsers/eslint.ts index 79ebf9a0e85..2ccf5aba489 100644 --- a/packages/jsts/src/parsers/eslint.ts +++ b/packages/jsts/src/parsers/eslint.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import * as babelESLintParser from '@babel/eslint-parser'; import * as vueESLintParser from 'vue-eslint-parser'; diff --git a/packages/jsts/src/parsers/options.ts b/packages/jsts/src/parsers/options.ts index 6d6bb7fcfb4..d787d486a1d 100644 --- a/packages/jsts/src/parsers/options.ts +++ b/packages/jsts/src/parsers/options.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Linter } from 'eslint'; import babelPresetReact from '@babel/preset-react'; diff --git a/packages/jsts/src/parsers/parse.ts b/packages/jsts/src/parsers/parse.ts index b471b9dabba..48780d83610 100644 --- a/packages/jsts/src/parsers/parse.ts +++ b/packages/jsts/src/parsers/parse.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { APIError } from '../../../shared/src/errors/error.js'; import { SourceCode } from 'eslint'; diff --git a/packages/jsts/src/program/program.ts b/packages/jsts/src/program/program.ts index 1b6522044f7..b98de906b14 100644 --- a/packages/jsts/src/program/program.ts +++ b/packages/jsts/src/program/program.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * This file provides an API to take control over TypeScript's Program instances diff --git a/packages/jsts/src/program/tsconfigs/index.ts b/packages/jsts/src/program/tsconfigs/index.ts index 8048cdfe940..8298b4955b5 100644 --- a/packages/jsts/src/program/tsconfigs/index.ts +++ b/packages/jsts/src/program/tsconfigs/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { createTSConfigFile, writeTSConfigFile } from '../program.js'; import { File, searchFiles } from '../../rules/helpers/index.js'; diff --git a/packages/jsts/src/rules/S100/generated-meta.ts b/packages/jsts/src/rules/S100/generated-meta.ts index 818b8d69d77..928aa77ef9d 100644 --- a/packages/jsts/src/rules/S100/generated-meta.ts +++ b/packages/jsts/src/rules/S100/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S100/index.ts b/packages/jsts/src/rules/S100/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S100/index.ts +++ b/packages/jsts/src/rules/S100/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S100/meta.ts b/packages/jsts/src/rules/S100/meta.ts index 6dabcc0d031..817f5a354a5 100644 --- a/packages/jsts/src/rules/S100/meta.ts +++ b/packages/jsts/src/rules/S100/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S100/rule.ts b/packages/jsts/src/rules/S100/rule.ts index ed8606ef5d5..1af31e34053 100644 --- a/packages/jsts/src/rules/S100/rule.ts +++ b/packages/jsts/src/rules/S100/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S100/javascript diff --git a/packages/jsts/src/rules/S100/unit.test.ts b/packages/jsts/src/rules/S100/unit.test.ts index a4d3fb4c2ee..88d2d7fa018 100644 --- a/packages/jsts/src/rules/S100/unit.test.ts +++ b/packages/jsts/src/rules/S100/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S101/generated-meta.ts b/packages/jsts/src/rules/S101/generated-meta.ts index a8cb186e4ff..1b38138931e 100644 --- a/packages/jsts/src/rules/S101/generated-meta.ts +++ b/packages/jsts/src/rules/S101/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S101/index.ts b/packages/jsts/src/rules/S101/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S101/index.ts +++ b/packages/jsts/src/rules/S101/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S101/meta.ts b/packages/jsts/src/rules/S101/meta.ts index 456bf8fe4b3..53340360635 100644 --- a/packages/jsts/src/rules/S101/meta.ts +++ b/packages/jsts/src/rules/S101/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S101/rule.ts b/packages/jsts/src/rules/S101/rule.ts index 48a4220356f..8d30b9f8260 100644 --- a/packages/jsts/src/rules/S101/rule.ts +++ b/packages/jsts/src/rules/S101/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S101/javascript diff --git a/packages/jsts/src/rules/S101/unit.test.ts b/packages/jsts/src/rules/S101/unit.test.ts index e13efb105f1..9ab5b31cec2 100644 --- a/packages/jsts/src/rules/S101/unit.test.ts +++ b/packages/jsts/src/rules/S101/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S103/generated-meta.ts b/packages/jsts/src/rules/S103/generated-meta.ts index 20acb88dbc2..794a85e431b 100644 --- a/packages/jsts/src/rules/S103/generated-meta.ts +++ b/packages/jsts/src/rules/S103/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S103/index.ts b/packages/jsts/src/rules/S103/index.ts index 4f0566017e0..f6320618ac3 100644 --- a/packages/jsts/src/rules/S103/index.ts +++ b/packages/jsts/src/rules/S103/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('max-len'); diff --git a/packages/jsts/src/rules/S103/meta.ts b/packages/jsts/src/rules/S103/meta.ts index 79eed56de52..428984cd99c 100644 --- a/packages/jsts/src/rules/S103/meta.ts +++ b/packages/jsts/src/rules/S103/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S104/generated-meta.ts b/packages/jsts/src/rules/S104/generated-meta.ts index a370dff46de..4061308594b 100644 --- a/packages/jsts/src/rules/S104/generated-meta.ts +++ b/packages/jsts/src/rules/S104/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S104/index.ts b/packages/jsts/src/rules/S104/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S104/index.ts +++ b/packages/jsts/src/rules/S104/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S104/meta.ts b/packages/jsts/src/rules/S104/meta.ts index 7d58659d88b..f2fb2cb65d4 100644 --- a/packages/jsts/src/rules/S104/meta.ts +++ b/packages/jsts/src/rules/S104/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S104/rule.ts b/packages/jsts/src/rules/S104/rule.ts index c7fd23b8c9d..c14b58a70bc 100644 --- a/packages/jsts/src/rules/S104/rule.ts +++ b/packages/jsts/src/rules/S104/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S104/javascript diff --git a/packages/jsts/src/rules/S104/unit.test.ts b/packages/jsts/src/rules/S104/unit.test.ts index eca32611a27..3bde82b8918 100644 --- a/packages/jsts/src/rules/S104/unit.test.ts +++ b/packages/jsts/src/rules/S104/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S105/generated-meta.ts b/packages/jsts/src/rules/S105/generated-meta.ts index bdb1ef9536b..823c011a1e8 100644 --- a/packages/jsts/src/rules/S105/generated-meta.ts +++ b/packages/jsts/src/rules/S105/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S105/index.ts b/packages/jsts/src/rules/S105/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S105/index.ts +++ b/packages/jsts/src/rules/S105/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S105/meta.ts b/packages/jsts/src/rules/S105/meta.ts index f093628854e..dbf2dc253a8 100644 --- a/packages/jsts/src/rules/S105/meta.ts +++ b/packages/jsts/src/rules/S105/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S105/rule.ts b/packages/jsts/src/rules/S105/rule.ts index caae7cb5b9e..e39da714d34 100644 --- a/packages/jsts/src/rules/S105/rule.ts +++ b/packages/jsts/src/rules/S105/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S105/javascript diff --git a/packages/jsts/src/rules/S105/unit.test.ts b/packages/jsts/src/rules/S105/unit.test.ts index 651c474b4db..7f64f80f4d2 100644 --- a/packages/jsts/src/rules/S105/unit.test.ts +++ b/packages/jsts/src/rules/S105/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S106/generated-meta.ts b/packages/jsts/src/rules/S106/generated-meta.ts index 6c7dc232b36..a2744ebb908 100644 --- a/packages/jsts/src/rules/S106/generated-meta.ts +++ b/packages/jsts/src/rules/S106/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S106/index.ts b/packages/jsts/src/rules/S106/index.ts index a68049cb7b2..7809961389b 100644 --- a/packages/jsts/src/rules/S106/index.ts +++ b/packages/jsts/src/rules/S106/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-console'); diff --git a/packages/jsts/src/rules/S106/meta.ts b/packages/jsts/src/rules/S106/meta.ts index 27cce5f1c54..b719980efda 100644 --- a/packages/jsts/src/rules/S106/meta.ts +++ b/packages/jsts/src/rules/S106/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1066/generated-meta.ts b/packages/jsts/src/rules/S1066/generated-meta.ts index 5beb16da361..19a52ef2df5 100644 --- a/packages/jsts/src/rules/S1066/generated-meta.ts +++ b/packages/jsts/src/rules/S1066/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1066/index.ts b/packages/jsts/src/rules/S1066/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1066/index.ts +++ b/packages/jsts/src/rules/S1066/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1066/meta.ts b/packages/jsts/src/rules/S1066/meta.ts index 9a31db2ab73..997c0a06522 100644 --- a/packages/jsts/src/rules/S1066/meta.ts +++ b/packages/jsts/src/rules/S1066/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1066/rule.ts b/packages/jsts/src/rules/S1066/rule.ts index 0d49b60e62c..aa1deee6e83 100644 --- a/packages/jsts/src/rules/S1066/rule.ts +++ b/packages/jsts/src/rules/S1066/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1066 diff --git a/packages/jsts/src/rules/S1066/unit.test.ts b/packages/jsts/src/rules/S1066/unit.test.ts index 652c5708a05..a53e10ef92c 100644 --- a/packages/jsts/src/rules/S1066/unit.test.ts +++ b/packages/jsts/src/rules/S1066/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1067/generated-meta.ts b/packages/jsts/src/rules/S1067/generated-meta.ts index bb164a14b70..65794e847ca 100644 --- a/packages/jsts/src/rules/S1067/generated-meta.ts +++ b/packages/jsts/src/rules/S1067/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1067/index.ts b/packages/jsts/src/rules/S1067/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1067/index.ts +++ b/packages/jsts/src/rules/S1067/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1067/meta.ts b/packages/jsts/src/rules/S1067/meta.ts index 52fe950351f..67f31efef19 100644 --- a/packages/jsts/src/rules/S1067/meta.ts +++ b/packages/jsts/src/rules/S1067/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1067/rule.ts b/packages/jsts/src/rules/S1067/rule.ts index 9818148d983..af8438000d7 100644 --- a/packages/jsts/src/rules/S1067/rule.ts +++ b/packages/jsts/src/rules/S1067/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1067/javascript diff --git a/packages/jsts/src/rules/S1067/unit.test.ts b/packages/jsts/src/rules/S1067/unit.test.ts index 1d427bab6ce..5f5693be97b 100644 --- a/packages/jsts/src/rules/S1067/unit.test.ts +++ b/packages/jsts/src/rules/S1067/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1068/decorator.ts b/packages/jsts/src/rules/S1068/decorator.ts index 53490cd5833..7a6ad0ba918 100644 --- a/packages/jsts/src/rules/S1068/decorator.ts +++ b/packages/jsts/src/rules/S1068/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1068/javascript diff --git a/packages/jsts/src/rules/S1068/generated-meta.ts b/packages/jsts/src/rules/S1068/generated-meta.ts index 593f106abb3..b36a51c01f1 100644 --- a/packages/jsts/src/rules/S1068/generated-meta.ts +++ b/packages/jsts/src/rules/S1068/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1068/index.ts b/packages/jsts/src/rules/S1068/index.ts index cf6c2ed187b..19fdc91a3d8 100644 --- a/packages/jsts/src/rules/S1068/index.ts +++ b/packages/jsts/src/rules/S1068/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S1068/meta.ts b/packages/jsts/src/rules/S1068/meta.ts index 1ef562d723b..bb646cc6583 100644 --- a/packages/jsts/src/rules/S1068/meta.ts +++ b/packages/jsts/src/rules/S1068/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S1068/unit.test.ts b/packages/jsts/src/rules/S1068/unit.test.ts index b004b717521..d6f4cf4d357 100644 --- a/packages/jsts/src/rules/S1068/unit.test.ts +++ b/packages/jsts/src/rules/S1068/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S107/generated-meta.ts b/packages/jsts/src/rules/S107/generated-meta.ts index 92338365dbd..c7bfff7d314 100644 --- a/packages/jsts/src/rules/S107/generated-meta.ts +++ b/packages/jsts/src/rules/S107/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S107/index.ts b/packages/jsts/src/rules/S107/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S107/index.ts +++ b/packages/jsts/src/rules/S107/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S107/meta.ts b/packages/jsts/src/rules/S107/meta.ts index 53dfaf60f58..49a1e719bcd 100644 --- a/packages/jsts/src/rules/S107/meta.ts +++ b/packages/jsts/src/rules/S107/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S107/rule.ts b/packages/jsts/src/rules/S107/rule.ts index 24482a8ccb4..1542f0899ef 100644 --- a/packages/jsts/src/rules/S107/rule.ts +++ b/packages/jsts/src/rules/S107/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S107/javascript diff --git a/packages/jsts/src/rules/S107/unit.test.ts b/packages/jsts/src/rules/S107/unit.test.ts index e99d92b8e75..7e136972d71 100644 --- a/packages/jsts/src/rules/S107/unit.test.ts +++ b/packages/jsts/src/rules/S107/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1077/cb.test.ts b/packages/jsts/src/rules/S1077/cb.test.ts index 8428363e071..4b81349f5d1 100644 --- a/packages/jsts/src/rules/S1077/cb.test.ts +++ b/packages/jsts/src/rules/S1077/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1077/decorator.ts b/packages/jsts/src/rules/S1077/decorator.ts index 5f69574e4a6..39a6054207f 100644 --- a/packages/jsts/src/rules/S1077/decorator.ts +++ b/packages/jsts/src/rules/S1077/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1077/javascript diff --git a/packages/jsts/src/rules/S1077/generated-meta.ts b/packages/jsts/src/rules/S1077/generated-meta.ts index c90f99fa414..590a381f079 100644 --- a/packages/jsts/src/rules/S1077/generated-meta.ts +++ b/packages/jsts/src/rules/S1077/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1077/index.ts b/packages/jsts/src/rules/S1077/index.ts index 62788eb867e..d279e4c7a3d 100644 --- a/packages/jsts/src/rules/S1077/index.ts +++ b/packages/jsts/src/rules/S1077/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules } from '../external/a11y.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S1077/meta.ts b/packages/jsts/src/rules/S1077/meta.ts index bbcc940e909..d57e27beb33 100644 --- a/packages/jsts/src/rules/S1077/meta.ts +++ b/packages/jsts/src/rules/S1077/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S108/generated-meta.ts b/packages/jsts/src/rules/S108/generated-meta.ts index 278274d08b9..9f552ff6bd3 100644 --- a/packages/jsts/src/rules/S108/generated-meta.ts +++ b/packages/jsts/src/rules/S108/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S108/index.ts b/packages/jsts/src/rules/S108/index.ts index ab421c5e47a..b9739e6a820 100644 --- a/packages/jsts/src/rules/S108/index.ts +++ b/packages/jsts/src/rules/S108/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-empty'); diff --git a/packages/jsts/src/rules/S108/meta.ts b/packages/jsts/src/rules/S108/meta.ts index 15cd833ef4e..b7b88b4a416 100644 --- a/packages/jsts/src/rules/S108/meta.ts +++ b/packages/jsts/src/rules/S108/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1082/cb.test.ts b/packages/jsts/src/rules/S1082/cb.test.ts index a63b83b407d..552bcb01873 100644 --- a/packages/jsts/src/rules/S1082/cb.test.ts +++ b/packages/jsts/src/rules/S1082/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1082/generated-meta.ts b/packages/jsts/src/rules/S1082/generated-meta.ts index 3760b963697..7a2b274ce2e 100644 --- a/packages/jsts/src/rules/S1082/generated-meta.ts +++ b/packages/jsts/src/rules/S1082/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1082/index.ts b/packages/jsts/src/rules/S1082/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1082/index.ts +++ b/packages/jsts/src/rules/S1082/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1082/meta.ts b/packages/jsts/src/rules/S1082/meta.ts index 1f8b7cfeda7..d1fa2d46f42 100644 --- a/packages/jsts/src/rules/S1082/meta.ts +++ b/packages/jsts/src/rules/S1082/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S1082/rule.ts b/packages/jsts/src/rules/S1082/rule.ts index 5f294522d65..6eede6d0ce9 100644 --- a/packages/jsts/src/rules/S1082/rule.ts +++ b/packages/jsts/src/rules/S1082/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1082/javascript diff --git a/packages/jsts/src/rules/S109/cb.test.ts b/packages/jsts/src/rules/S109/cb.test.ts index 3e72d4bad36..624fea33964 100644 --- a/packages/jsts/src/rules/S109/cb.test.ts +++ b/packages/jsts/src/rules/S109/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S109/generated-meta.ts b/packages/jsts/src/rules/S109/generated-meta.ts index a0f39b76fc7..0712485144a 100644 --- a/packages/jsts/src/rules/S109/generated-meta.ts +++ b/packages/jsts/src/rules/S109/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S109/index.ts b/packages/jsts/src/rules/S109/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S109/index.ts +++ b/packages/jsts/src/rules/S109/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S109/meta.ts b/packages/jsts/src/rules/S109/meta.ts index 06bea65e4bc..0045fad6209 100644 --- a/packages/jsts/src/rules/S109/meta.ts +++ b/packages/jsts/src/rules/S109/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S109/rule.ts b/packages/jsts/src/rules/S109/rule.ts index e8ad13558b0..9af6d457973 100644 --- a/packages/jsts/src/rules/S109/rule.ts +++ b/packages/jsts/src/rules/S109/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S109/javascript diff --git a/packages/jsts/src/rules/S1090/generated-meta.ts b/packages/jsts/src/rules/S1090/generated-meta.ts index fd11ab8d1ab..7af8ba731f1 100644 --- a/packages/jsts/src/rules/S1090/generated-meta.ts +++ b/packages/jsts/src/rules/S1090/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1090/index.ts b/packages/jsts/src/rules/S1090/index.ts index 20ca37a718f..8b1a1a9769f 100644 --- a/packages/jsts/src/rules/S1090/index.ts +++ b/packages/jsts/src/rules/S1090/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['iframe-has-title']; diff --git a/packages/jsts/src/rules/S1090/meta.ts b/packages/jsts/src/rules/S1090/meta.ts index 0629505a42b..430e10343bd 100644 --- a/packages/jsts/src/rules/S1090/meta.ts +++ b/packages/jsts/src/rules/S1090/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1105/cb.test.ts b/packages/jsts/src/rules/S1105/cb.test.ts index deda30da2ff..c6460d30c05 100644 --- a/packages/jsts/src/rules/S1105/cb.test.ts +++ b/packages/jsts/src/rules/S1105/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1105/decorator.ts b/packages/jsts/src/rules/S1105/decorator.ts index 493581dacd9..55bcf7fee30 100644 --- a/packages/jsts/src/rules/S1105/decorator.ts +++ b/packages/jsts/src/rules/S1105/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1105/javascript diff --git a/packages/jsts/src/rules/S1105/generated-meta.ts b/packages/jsts/src/rules/S1105/generated-meta.ts index 9b569f34a3b..d2061cde285 100644 --- a/packages/jsts/src/rules/S1105/generated-meta.ts +++ b/packages/jsts/src/rules/S1105/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1105/index.ts b/packages/jsts/src/rules/S1105/index.ts index eac860e4145..6c063e62458 100644 --- a/packages/jsts/src/rules/S1105/index.ts +++ b/packages/jsts/src/rules/S1105/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S1105/meta.ts b/packages/jsts/src/rules/S1105/meta.ts index 5d015796285..cf8a3d943bc 100644 --- a/packages/jsts/src/rules/S1105/meta.ts +++ b/packages/jsts/src/rules/S1105/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S1110/generated-meta.ts b/packages/jsts/src/rules/S1110/generated-meta.ts index e0d921815f3..f03bc8edcd8 100644 --- a/packages/jsts/src/rules/S1110/generated-meta.ts +++ b/packages/jsts/src/rules/S1110/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1110/index.ts b/packages/jsts/src/rules/S1110/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1110/index.ts +++ b/packages/jsts/src/rules/S1110/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1110/meta.ts b/packages/jsts/src/rules/S1110/meta.ts index 2988ee1de6a..9d8995b1b0a 100644 --- a/packages/jsts/src/rules/S1110/meta.ts +++ b/packages/jsts/src/rules/S1110/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1110/rule.ts b/packages/jsts/src/rules/S1110/rule.ts index f33e9bb4a9f..4a1768e2caa 100644 --- a/packages/jsts/src/rules/S1110/rule.ts +++ b/packages/jsts/src/rules/S1110/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1110/javascript diff --git a/packages/jsts/src/rules/S1110/unit.test.ts b/packages/jsts/src/rules/S1110/unit.test.ts index 15e46c249d9..056978c7319 100644 --- a/packages/jsts/src/rules/S1110/unit.test.ts +++ b/packages/jsts/src/rules/S1110/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1116/decorator.ts b/packages/jsts/src/rules/S1116/decorator.ts index 939f699b20b..dce0e12729b 100644 --- a/packages/jsts/src/rules/S1116/decorator.ts +++ b/packages/jsts/src/rules/S1116/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { AST, Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/S1116/generated-meta.ts b/packages/jsts/src/rules/S1116/generated-meta.ts index 77f39f18132..a97f368ee89 100644 --- a/packages/jsts/src/rules/S1116/generated-meta.ts +++ b/packages/jsts/src/rules/S1116/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1116/index.ts b/packages/jsts/src/rules/S1116/index.ts index c81a3c0332f..ce08f0408a3 100644 --- a/packages/jsts/src/rules/S1116/index.ts +++ b/packages/jsts/src/rules/S1116/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S1116/meta.ts b/packages/jsts/src/rules/S1116/meta.ts index a1f0275f436..a9d8ff1fb06 100644 --- a/packages/jsts/src/rules/S1116/meta.ts +++ b/packages/jsts/src/rules/S1116/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S1116/unit.test.ts b/packages/jsts/src/rules/S1116/unit.test.ts index bbf265ac8f7..f6191b0aaf6 100644 --- a/packages/jsts/src/rules/S1116/unit.test.ts +++ b/packages/jsts/src/rules/S1116/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Rule } from 'eslint'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S1117/generated-meta.ts b/packages/jsts/src/rules/S1117/generated-meta.ts index f67662d2d5b..83029f082c3 100644 --- a/packages/jsts/src/rules/S1117/generated-meta.ts +++ b/packages/jsts/src/rules/S1117/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1117/index.ts b/packages/jsts/src/rules/S1117/index.ts index e1d1b5701a1..6b437c0e62b 100644 --- a/packages/jsts/src/rules/S1117/index.ts +++ b/packages/jsts/src/rules/S1117/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-shadow']; diff --git a/packages/jsts/src/rules/S1117/meta.ts b/packages/jsts/src/rules/S1117/meta.ts index 94fecdb53db..307898bd7a8 100644 --- a/packages/jsts/src/rules/S1117/meta.ts +++ b/packages/jsts/src/rules/S1117/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1119/generated-meta.ts b/packages/jsts/src/rules/S1119/generated-meta.ts index d8904846de1..650d3d72ba2 100644 --- a/packages/jsts/src/rules/S1119/generated-meta.ts +++ b/packages/jsts/src/rules/S1119/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1119/index.ts b/packages/jsts/src/rules/S1119/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1119/index.ts +++ b/packages/jsts/src/rules/S1119/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1119/meta.ts b/packages/jsts/src/rules/S1119/meta.ts index a1c1e7fdb3d..28f5466be4b 100644 --- a/packages/jsts/src/rules/S1119/meta.ts +++ b/packages/jsts/src/rules/S1119/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1119/rule.ts b/packages/jsts/src/rules/S1119/rule.ts index 19416c033f5..d87c7abc6e1 100644 --- a/packages/jsts/src/rules/S1119/rule.ts +++ b/packages/jsts/src/rules/S1119/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1119/javascript diff --git a/packages/jsts/src/rules/S1119/unit.test.ts b/packages/jsts/src/rules/S1119/unit.test.ts index 78ebfbf6472..2afc7f559b4 100644 --- a/packages/jsts/src/rules/S1119/unit.test.ts +++ b/packages/jsts/src/rules/S1119/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S1121/generated-meta.ts b/packages/jsts/src/rules/S1121/generated-meta.ts index 1cb14c29eac..8b30a5ed50f 100644 --- a/packages/jsts/src/rules/S1121/generated-meta.ts +++ b/packages/jsts/src/rules/S1121/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1121/index.ts b/packages/jsts/src/rules/S1121/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1121/index.ts +++ b/packages/jsts/src/rules/S1121/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1121/meta.ts b/packages/jsts/src/rules/S1121/meta.ts index 76ca44d134d..976a48df856 100644 --- a/packages/jsts/src/rules/S1121/meta.ts +++ b/packages/jsts/src/rules/S1121/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1121/rule.ts b/packages/jsts/src/rules/S1121/rule.ts index f8a84359ef1..7e686296cde 100644 --- a/packages/jsts/src/rules/S1121/rule.ts +++ b/packages/jsts/src/rules/S1121/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1121/javascript diff --git a/packages/jsts/src/rules/S1121/unit.test.ts b/packages/jsts/src/rules/S1121/unit.test.ts index 5e7e85be309..f315441b624 100644 --- a/packages/jsts/src/rules/S1121/unit.test.ts +++ b/packages/jsts/src/rules/S1121/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1125/generated-meta.ts b/packages/jsts/src/rules/S1125/generated-meta.ts index 6f7ca13175c..0fada34cdd6 100644 --- a/packages/jsts/src/rules/S1125/generated-meta.ts +++ b/packages/jsts/src/rules/S1125/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1125/index.ts b/packages/jsts/src/rules/S1125/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1125/index.ts +++ b/packages/jsts/src/rules/S1125/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1125/meta.ts b/packages/jsts/src/rules/S1125/meta.ts index 143b55f0026..2442a70c322 100644 --- a/packages/jsts/src/rules/S1125/meta.ts +++ b/packages/jsts/src/rules/S1125/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1125/rule.ts b/packages/jsts/src/rules/S1125/rule.ts index be3e8da1369..50dea154e7e 100644 --- a/packages/jsts/src/rules/S1125/rule.ts +++ b/packages/jsts/src/rules/S1125/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1125 diff --git a/packages/jsts/src/rules/S1125/unit.test.ts b/packages/jsts/src/rules/S1125/unit.test.ts index cb7e6693289..d915cf6992f 100644 --- a/packages/jsts/src/rules/S1125/unit.test.ts +++ b/packages/jsts/src/rules/S1125/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1126/generated-meta.ts b/packages/jsts/src/rules/S1126/generated-meta.ts index 7c29b37fc6e..a13a2c97242 100644 --- a/packages/jsts/src/rules/S1126/generated-meta.ts +++ b/packages/jsts/src/rules/S1126/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1126/index.ts b/packages/jsts/src/rules/S1126/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1126/index.ts +++ b/packages/jsts/src/rules/S1126/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1126/meta.ts b/packages/jsts/src/rules/S1126/meta.ts index 7eaed825d30..450e7e533bf 100644 --- a/packages/jsts/src/rules/S1126/meta.ts +++ b/packages/jsts/src/rules/S1126/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1126/rule.ts b/packages/jsts/src/rules/S1126/rule.ts index 4fceab000cd..4dd47159425 100644 --- a/packages/jsts/src/rules/S1126/rule.ts +++ b/packages/jsts/src/rules/S1126/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1126 import type { TSESTree } from '@typescript-eslint/utils'; diff --git a/packages/jsts/src/rules/S1126/unit.test.ts b/packages/jsts/src/rules/S1126/unit.test.ts index 52e1709ce13..9cbbf328827 100644 --- a/packages/jsts/src/rules/S1126/unit.test.ts +++ b/packages/jsts/src/rules/S1126/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1128/cb.test.ts b/packages/jsts/src/rules/S1128/cb.test.ts index a22c0d4b6c8..a63e1bcedcf 100644 --- a/packages/jsts/src/rules/S1128/cb.test.ts +++ b/packages/jsts/src/rules/S1128/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1128/generated-meta.ts b/packages/jsts/src/rules/S1128/generated-meta.ts index 087f54bbd19..7ec29ce1b5a 100644 --- a/packages/jsts/src/rules/S1128/generated-meta.ts +++ b/packages/jsts/src/rules/S1128/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1128/index.ts b/packages/jsts/src/rules/S1128/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1128/index.ts +++ b/packages/jsts/src/rules/S1128/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1128/meta.ts b/packages/jsts/src/rules/S1128/meta.ts index 01bf7d7fca4..cc74a5d3598 100644 --- a/packages/jsts/src/rules/S1128/meta.ts +++ b/packages/jsts/src/rules/S1128/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1128/rule.ts b/packages/jsts/src/rules/S1128/rule.ts index 961487dbf5f..f7bdeb2957e 100644 --- a/packages/jsts/src/rules/S1128/rule.ts +++ b/packages/jsts/src/rules/S1128/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1128/javascript diff --git a/packages/jsts/src/rules/S1128/unit.test.ts b/packages/jsts/src/rules/S1128/unit.test.ts index 2e2e0093ad6..43792a20bcb 100644 --- a/packages/jsts/src/rules/S1128/unit.test.ts +++ b/packages/jsts/src/rules/S1128/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S113/generated-meta.ts b/packages/jsts/src/rules/S113/generated-meta.ts index 89654ed6e9c..0cd72f0213b 100644 --- a/packages/jsts/src/rules/S113/generated-meta.ts +++ b/packages/jsts/src/rules/S113/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S113/index.ts b/packages/jsts/src/rules/S113/index.ts index 1188913020e..6d089d92370 100644 --- a/packages/jsts/src/rules/S113/index.ts +++ b/packages/jsts/src/rules/S113/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('eol-last'); diff --git a/packages/jsts/src/rules/S113/meta.ts b/packages/jsts/src/rules/S113/meta.ts index 283e2c06266..a8249d60690 100644 --- a/packages/jsts/src/rules/S113/meta.ts +++ b/packages/jsts/src/rules/S113/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1131/generated-meta.ts b/packages/jsts/src/rules/S1131/generated-meta.ts index 79cf4384d3f..4f20f7d892d 100644 --- a/packages/jsts/src/rules/S1131/generated-meta.ts +++ b/packages/jsts/src/rules/S1131/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1131/index.ts b/packages/jsts/src/rules/S1131/index.ts index 759d5bf46bb..b3e77354420 100644 --- a/packages/jsts/src/rules/S1131/index.ts +++ b/packages/jsts/src/rules/S1131/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-trailing-spaces'); diff --git a/packages/jsts/src/rules/S1131/meta.ts b/packages/jsts/src/rules/S1131/meta.ts index 7b452d982c8..f54a805e3e3 100644 --- a/packages/jsts/src/rules/S1131/meta.ts +++ b/packages/jsts/src/rules/S1131/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1134/generated-meta.ts b/packages/jsts/src/rules/S1134/generated-meta.ts index fad297f6002..fbea18d7879 100644 --- a/packages/jsts/src/rules/S1134/generated-meta.ts +++ b/packages/jsts/src/rules/S1134/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1134/index.ts b/packages/jsts/src/rules/S1134/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1134/index.ts +++ b/packages/jsts/src/rules/S1134/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1134/meta.ts b/packages/jsts/src/rules/S1134/meta.ts index 24687051a4d..586443642b0 100644 --- a/packages/jsts/src/rules/S1134/meta.ts +++ b/packages/jsts/src/rules/S1134/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1134/rule.ts b/packages/jsts/src/rules/S1134/rule.ts index 274480d7035..0a0c258bdae 100644 --- a/packages/jsts/src/rules/S1134/rule.ts +++ b/packages/jsts/src/rules/S1134/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1134/javascript diff --git a/packages/jsts/src/rules/S1134/unit.test.ts b/packages/jsts/src/rules/S1134/unit.test.ts index 15fb51d8a79..3930ac9efac 100644 --- a/packages/jsts/src/rules/S1134/unit.test.ts +++ b/packages/jsts/src/rules/S1134/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1135/generated-meta.ts b/packages/jsts/src/rules/S1135/generated-meta.ts index 3cbb36fee66..1e38355868d 100644 --- a/packages/jsts/src/rules/S1135/generated-meta.ts +++ b/packages/jsts/src/rules/S1135/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1135/index.ts b/packages/jsts/src/rules/S1135/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1135/index.ts +++ b/packages/jsts/src/rules/S1135/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1135/meta.ts b/packages/jsts/src/rules/S1135/meta.ts index 0751a405340..27987094aee 100644 --- a/packages/jsts/src/rules/S1135/meta.ts +++ b/packages/jsts/src/rules/S1135/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1135/rule.ts b/packages/jsts/src/rules/S1135/rule.ts index e94978b1807..bcaf0fcc78e 100644 --- a/packages/jsts/src/rules/S1135/rule.ts +++ b/packages/jsts/src/rules/S1135/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1135/javascript diff --git a/packages/jsts/src/rules/S1135/unit.test.ts b/packages/jsts/src/rules/S1135/unit.test.ts index e18470d74e2..8c9ce5480ad 100644 --- a/packages/jsts/src/rules/S1135/unit.test.ts +++ b/packages/jsts/src/rules/S1135/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1143/generated-meta.ts b/packages/jsts/src/rules/S1143/generated-meta.ts index 7eaca7180b3..725a7cfb129 100644 --- a/packages/jsts/src/rules/S1143/generated-meta.ts +++ b/packages/jsts/src/rules/S1143/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1143/index.ts b/packages/jsts/src/rules/S1143/index.ts index 8a322aa8e9b..c8776936907 100644 --- a/packages/jsts/src/rules/S1143/index.ts +++ b/packages/jsts/src/rules/S1143/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-unsafe-finally'); diff --git a/packages/jsts/src/rules/S1143/meta.ts b/packages/jsts/src/rules/S1143/meta.ts index b9e0e032073..b2b3bba95df 100644 --- a/packages/jsts/src/rules/S1143/meta.ts +++ b/packages/jsts/src/rules/S1143/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1154/generated-meta.ts b/packages/jsts/src/rules/S1154/generated-meta.ts index 955b0aee51d..ec9e5061a1b 100644 --- a/packages/jsts/src/rules/S1154/generated-meta.ts +++ b/packages/jsts/src/rules/S1154/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1154/index.ts b/packages/jsts/src/rules/S1154/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1154/index.ts +++ b/packages/jsts/src/rules/S1154/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1154/meta.ts b/packages/jsts/src/rules/S1154/meta.ts index b2d7d2c5258..694209a3921 100644 --- a/packages/jsts/src/rules/S1154/meta.ts +++ b/packages/jsts/src/rules/S1154/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1154/rule.ts b/packages/jsts/src/rules/S1154/rule.ts index 9801ff8e0bc..c00b219cd1c 100644 --- a/packages/jsts/src/rules/S1154/rule.ts +++ b/packages/jsts/src/rules/S1154/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1154/javascript diff --git a/packages/jsts/src/rules/S1154/unit.test.ts b/packages/jsts/src/rules/S1154/unit.test.ts index 2fe6cda870f..7a6d4c51f2b 100644 --- a/packages/jsts/src/rules/S1154/unit.test.ts +++ b/packages/jsts/src/rules/S1154/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S117/generated-meta.ts b/packages/jsts/src/rules/S117/generated-meta.ts index 80456b75339..aeee7aed542 100644 --- a/packages/jsts/src/rules/S117/generated-meta.ts +++ b/packages/jsts/src/rules/S117/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S117/index.ts b/packages/jsts/src/rules/S117/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S117/index.ts +++ b/packages/jsts/src/rules/S117/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S117/meta.ts b/packages/jsts/src/rules/S117/meta.ts index ef040a220e3..9e1ff4c8957 100644 --- a/packages/jsts/src/rules/S117/meta.ts +++ b/packages/jsts/src/rules/S117/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S117/rule.ts b/packages/jsts/src/rules/S117/rule.ts index 0abcc82d39a..ac898df1f94 100644 --- a/packages/jsts/src/rules/S117/rule.ts +++ b/packages/jsts/src/rules/S117/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S117/javascript diff --git a/packages/jsts/src/rules/S117/unit.test.ts b/packages/jsts/src/rules/S117/unit.test.ts index 67908e1bb81..f2bc28f6a6d 100644 --- a/packages/jsts/src/rules/S117/unit.test.ts +++ b/packages/jsts/src/rules/S117/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1172/generated-meta.ts b/packages/jsts/src/rules/S1172/generated-meta.ts index fe192ac206b..71e8477122c 100644 --- a/packages/jsts/src/rules/S1172/generated-meta.ts +++ b/packages/jsts/src/rules/S1172/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1172/index.ts b/packages/jsts/src/rules/S1172/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1172/index.ts +++ b/packages/jsts/src/rules/S1172/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1172/meta.ts b/packages/jsts/src/rules/S1172/meta.ts index e82bf7d5602..7495ba10622 100644 --- a/packages/jsts/src/rules/S1172/meta.ts +++ b/packages/jsts/src/rules/S1172/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1172/rule.ts b/packages/jsts/src/rules/S1172/rule.ts index 402e60db24d..35670caee42 100644 --- a/packages/jsts/src/rules/S1172/rule.ts +++ b/packages/jsts/src/rules/S1172/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1172/javascript diff --git a/packages/jsts/src/rules/S1172/unit.test.ts b/packages/jsts/src/rules/S1172/unit.test.ts index 701c72554f8..3f9cf08dbd4 100644 --- a/packages/jsts/src/rules/S1172/unit.test.ts +++ b/packages/jsts/src/rules/S1172/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Scope } from 'eslint'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S1186/decorator.ts b/packages/jsts/src/rules/S1186/decorator.ts index 556a81b54d9..331e232ba92 100644 --- a/packages/jsts/src/rules/S1186/decorator.ts +++ b/packages/jsts/src/rules/S1186/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1186/javascript diff --git a/packages/jsts/src/rules/S1186/generated-meta.ts b/packages/jsts/src/rules/S1186/generated-meta.ts index 0122765b37a..35c7a764ecc 100644 --- a/packages/jsts/src/rules/S1186/generated-meta.ts +++ b/packages/jsts/src/rules/S1186/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1186/index.ts b/packages/jsts/src/rules/S1186/index.ts index 34b1de87b03..a69f2f02e21 100644 --- a/packages/jsts/src/rules/S1186/index.ts +++ b/packages/jsts/src/rules/S1186/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S1186/meta.ts b/packages/jsts/src/rules/S1186/meta.ts index 23bb5e079a3..d1fbc297f4f 100644 --- a/packages/jsts/src/rules/S1186/meta.ts +++ b/packages/jsts/src/rules/S1186/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S1186/unit.test.ts b/packages/jsts/src/rules/S1186/unit.test.ts index 483887a1acf..ae33bdef9d8 100644 --- a/packages/jsts/src/rules/S1186/unit.test.ts +++ b/packages/jsts/src/rules/S1186/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Rule } from 'eslint'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S1192/generated-meta.ts b/packages/jsts/src/rules/S1192/generated-meta.ts index e997f3d8e79..8a79bc04b7f 100644 --- a/packages/jsts/src/rules/S1192/generated-meta.ts +++ b/packages/jsts/src/rules/S1192/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1192/index.ts b/packages/jsts/src/rules/S1192/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1192/index.ts +++ b/packages/jsts/src/rules/S1192/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1192/meta.ts b/packages/jsts/src/rules/S1192/meta.ts index c51442030a2..5a71d650130 100644 --- a/packages/jsts/src/rules/S1192/meta.ts +++ b/packages/jsts/src/rules/S1192/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1192/rule.ts b/packages/jsts/src/rules/S1192/rule.ts index 4fb818082b1..8b3c25445c9 100644 --- a/packages/jsts/src/rules/S1192/rule.ts +++ b/packages/jsts/src/rules/S1192/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1192 diff --git a/packages/jsts/src/rules/S1192/unit.test.ts b/packages/jsts/src/rules/S1192/unit.test.ts index 05bf84f8eef..cfad06040a2 100644 --- a/packages/jsts/src/rules/S1192/unit.test.ts +++ b/packages/jsts/src/rules/S1192/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1199/generated-meta.ts b/packages/jsts/src/rules/S1199/generated-meta.ts index e12391a9fc8..05af34adb71 100644 --- a/packages/jsts/src/rules/S1199/generated-meta.ts +++ b/packages/jsts/src/rules/S1199/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1199/index.ts b/packages/jsts/src/rules/S1199/index.ts index bba4ea7fa94..27f2329ed6b 100644 --- a/packages/jsts/src/rules/S1199/index.ts +++ b/packages/jsts/src/rules/S1199/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-lone-blocks'); diff --git a/packages/jsts/src/rules/S1199/meta.ts b/packages/jsts/src/rules/S1199/meta.ts index c434d4e010b..9a321a211f4 100644 --- a/packages/jsts/src/rules/S1199/meta.ts +++ b/packages/jsts/src/rules/S1199/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S121/generated-meta.ts b/packages/jsts/src/rules/S121/generated-meta.ts index 8c3066d0903..4beb56ada52 100644 --- a/packages/jsts/src/rules/S121/generated-meta.ts +++ b/packages/jsts/src/rules/S121/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S121/index.ts b/packages/jsts/src/rules/S121/index.ts index 404554c1ce5..ecf088f59b9 100644 --- a/packages/jsts/src/rules/S121/index.ts +++ b/packages/jsts/src/rules/S121/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('curly'); diff --git a/packages/jsts/src/rules/S121/meta.ts b/packages/jsts/src/rules/S121/meta.ts index a4ca5889f0d..5ece1e7e6bf 100644 --- a/packages/jsts/src/rules/S121/meta.ts +++ b/packages/jsts/src/rules/S121/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1219/generated-meta.ts b/packages/jsts/src/rules/S1219/generated-meta.ts index e9f16caf3ac..790cccee42e 100644 --- a/packages/jsts/src/rules/S1219/generated-meta.ts +++ b/packages/jsts/src/rules/S1219/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1219/index.ts b/packages/jsts/src/rules/S1219/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1219/index.ts +++ b/packages/jsts/src/rules/S1219/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1219/meta.ts b/packages/jsts/src/rules/S1219/meta.ts index a0140fb2702..694c4dbf0b6 100644 --- a/packages/jsts/src/rules/S1219/meta.ts +++ b/packages/jsts/src/rules/S1219/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1219/rule.ts b/packages/jsts/src/rules/S1219/rule.ts index e68e764ec32..3923b95e5bb 100644 --- a/packages/jsts/src/rules/S1219/rule.ts +++ b/packages/jsts/src/rules/S1219/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1219/javascript diff --git a/packages/jsts/src/rules/S1219/unit.test.ts b/packages/jsts/src/rules/S1219/unit.test.ts index 79b9a63a35e..36be6ad2bca 100644 --- a/packages/jsts/src/rules/S1219/unit.test.ts +++ b/packages/jsts/src/rules/S1219/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S122/generated-meta.ts b/packages/jsts/src/rules/S122/generated-meta.ts index cacbc793ccc..833ba33a801 100644 --- a/packages/jsts/src/rules/S122/generated-meta.ts +++ b/packages/jsts/src/rules/S122/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S122/index.ts b/packages/jsts/src/rules/S122/index.ts index e822972312e..db0cccec403 100644 --- a/packages/jsts/src/rules/S122/index.ts +++ b/packages/jsts/src/rules/S122/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('max-statements-per-line'); diff --git a/packages/jsts/src/rules/S122/meta.ts b/packages/jsts/src/rules/S122/meta.ts index efac7cac4b4..35849cda02c 100644 --- a/packages/jsts/src/rules/S122/meta.ts +++ b/packages/jsts/src/rules/S122/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1226/generated-meta.ts b/packages/jsts/src/rules/S1226/generated-meta.ts index 2938c04a372..e9cb521fa51 100644 --- a/packages/jsts/src/rules/S1226/generated-meta.ts +++ b/packages/jsts/src/rules/S1226/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1226/index.ts b/packages/jsts/src/rules/S1226/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1226/index.ts +++ b/packages/jsts/src/rules/S1226/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1226/meta.ts b/packages/jsts/src/rules/S1226/meta.ts index 44180f512f5..ca5554966ec 100644 --- a/packages/jsts/src/rules/S1226/meta.ts +++ b/packages/jsts/src/rules/S1226/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1226/rule.ts b/packages/jsts/src/rules/S1226/rule.ts index d7ea772588b..0fb10db8ffa 100644 --- a/packages/jsts/src/rules/S1226/rule.ts +++ b/packages/jsts/src/rules/S1226/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1226/javascript diff --git a/packages/jsts/src/rules/S1226/unit.test.ts b/packages/jsts/src/rules/S1226/unit.test.ts index 40604eca512..fce133faae7 100644 --- a/packages/jsts/src/rules/S1226/unit.test.ts +++ b/packages/jsts/src/rules/S1226/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S124/generated-meta.ts b/packages/jsts/src/rules/S124/generated-meta.ts index df23bc1fe03..909d543dce5 100644 --- a/packages/jsts/src/rules/S124/generated-meta.ts +++ b/packages/jsts/src/rules/S124/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S124/index.ts b/packages/jsts/src/rules/S124/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S124/index.ts +++ b/packages/jsts/src/rules/S124/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S124/meta.ts b/packages/jsts/src/rules/S124/meta.ts index 4c722311f94..9a2b4dba4c6 100644 --- a/packages/jsts/src/rules/S124/meta.ts +++ b/packages/jsts/src/rules/S124/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S124/rule.ts b/packages/jsts/src/rules/S124/rule.ts index 76f23c99ddf..66c59d06453 100644 --- a/packages/jsts/src/rules/S124/rule.ts +++ b/packages/jsts/src/rules/S124/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S124/javascript diff --git a/packages/jsts/src/rules/S124/unit.test.ts b/packages/jsts/src/rules/S124/unit.test.ts index 8b16a293d83..44f37de9ae4 100644 --- a/packages/jsts/src/rules/S124/unit.test.ts +++ b/packages/jsts/src/rules/S124/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S125/generated-meta.ts b/packages/jsts/src/rules/S125/generated-meta.ts index a0ca0a51826..8f68d44514f 100644 --- a/packages/jsts/src/rules/S125/generated-meta.ts +++ b/packages/jsts/src/rules/S125/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S125/index.ts b/packages/jsts/src/rules/S125/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S125/index.ts +++ b/packages/jsts/src/rules/S125/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S125/meta.ts b/packages/jsts/src/rules/S125/meta.ts index 9d2cbbe06c8..1104c197cd4 100644 --- a/packages/jsts/src/rules/S125/meta.ts +++ b/packages/jsts/src/rules/S125/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S125/rule.ts b/packages/jsts/src/rules/S125/rule.ts index 96b4bd7424f..b5c981070b0 100644 --- a/packages/jsts/src/rules/S125/rule.ts +++ b/packages/jsts/src/rules/S125/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S125/javascript diff --git a/packages/jsts/src/rules/S125/unit.test.ts b/packages/jsts/src/rules/S125/unit.test.ts index 9143c4b6590..eb226279d43 100644 --- a/packages/jsts/src/rules/S125/unit.test.ts +++ b/packages/jsts/src/rules/S125/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S126/generated-meta.ts b/packages/jsts/src/rules/S126/generated-meta.ts index f6a937c1f43..e7bcde83b79 100644 --- a/packages/jsts/src/rules/S126/generated-meta.ts +++ b/packages/jsts/src/rules/S126/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S126/index.ts b/packages/jsts/src/rules/S126/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S126/index.ts +++ b/packages/jsts/src/rules/S126/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S126/meta.ts b/packages/jsts/src/rules/S126/meta.ts index ef773dcb2db..5c4f8b9ad3b 100644 --- a/packages/jsts/src/rules/S126/meta.ts +++ b/packages/jsts/src/rules/S126/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S126/rule.ts b/packages/jsts/src/rules/S126/rule.ts index 9c377d2e362..3cef78cb581 100644 --- a/packages/jsts/src/rules/S126/rule.ts +++ b/packages/jsts/src/rules/S126/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S126 diff --git a/packages/jsts/src/rules/S126/unit.test.ts b/packages/jsts/src/rules/S126/unit.test.ts index d32edbc6738..f32a0ca6b3c 100644 --- a/packages/jsts/src/rules/S126/unit.test.ts +++ b/packages/jsts/src/rules/S126/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1264/generated-meta.ts b/packages/jsts/src/rules/S1264/generated-meta.ts index 3a205c35241..9bb1ec14687 100644 --- a/packages/jsts/src/rules/S1264/generated-meta.ts +++ b/packages/jsts/src/rules/S1264/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1264/index.ts b/packages/jsts/src/rules/S1264/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1264/index.ts +++ b/packages/jsts/src/rules/S1264/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1264/meta.ts b/packages/jsts/src/rules/S1264/meta.ts index 14bb0d750f6..47acd2f01f0 100644 --- a/packages/jsts/src/rules/S1264/meta.ts +++ b/packages/jsts/src/rules/S1264/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1264/rule.ts b/packages/jsts/src/rules/S1264/rule.ts index 5ef6aa1d95f..9830e34e9c2 100644 --- a/packages/jsts/src/rules/S1264/rule.ts +++ b/packages/jsts/src/rules/S1264/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1264 diff --git a/packages/jsts/src/rules/S1264/unit.test.ts b/packages/jsts/src/rules/S1264/unit.test.ts index 910e484e34a..88f3995d28f 100644 --- a/packages/jsts/src/rules/S1264/unit.test.ts +++ b/packages/jsts/src/rules/S1264/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S128/generated-meta.ts b/packages/jsts/src/rules/S128/generated-meta.ts index 182c3bb6703..c5da4f7724f 100644 --- a/packages/jsts/src/rules/S128/generated-meta.ts +++ b/packages/jsts/src/rules/S128/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S128/index.ts b/packages/jsts/src/rules/S128/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S128/index.ts +++ b/packages/jsts/src/rules/S128/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S128/meta.ts b/packages/jsts/src/rules/S128/meta.ts index 8c0b776ec95..b2821a18c80 100644 --- a/packages/jsts/src/rules/S128/meta.ts +++ b/packages/jsts/src/rules/S128/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S128/rule.ts b/packages/jsts/src/rules/S128/rule.ts index 038bc433469..80256017549 100644 --- a/packages/jsts/src/rules/S128/rule.ts +++ b/packages/jsts/src/rules/S128/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S128/javascript diff --git a/packages/jsts/src/rules/S128/unit.test.ts b/packages/jsts/src/rules/S128/unit.test.ts index 428bd5d6af9..f12100db1b4 100644 --- a/packages/jsts/src/rules/S128/unit.test.ts +++ b/packages/jsts/src/rules/S128/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1301/generated-meta.ts b/packages/jsts/src/rules/S1301/generated-meta.ts index e00777841c3..c355a8874ca 100644 --- a/packages/jsts/src/rules/S1301/generated-meta.ts +++ b/packages/jsts/src/rules/S1301/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1301/index.ts b/packages/jsts/src/rules/S1301/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1301/index.ts +++ b/packages/jsts/src/rules/S1301/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1301/meta.ts b/packages/jsts/src/rules/S1301/meta.ts index c80d288a153..dd5cfc5c9f1 100644 --- a/packages/jsts/src/rules/S1301/meta.ts +++ b/packages/jsts/src/rules/S1301/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1301/rule.ts b/packages/jsts/src/rules/S1301/rule.ts index 97dca4f3735..44928701f9b 100644 --- a/packages/jsts/src/rules/S1301/rule.ts +++ b/packages/jsts/src/rules/S1301/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1301 diff --git a/packages/jsts/src/rules/S1301/unit.test.ts b/packages/jsts/src/rules/S1301/unit.test.ts index 8edd5a8d0ef..0e00a8de0d7 100644 --- a/packages/jsts/src/rules/S1301/unit.test.ts +++ b/packages/jsts/src/rules/S1301/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S131/generated-meta.ts b/packages/jsts/src/rules/S131/generated-meta.ts index 6b9b419efb8..34b237bf0ec 100644 --- a/packages/jsts/src/rules/S131/generated-meta.ts +++ b/packages/jsts/src/rules/S131/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S131/index.ts b/packages/jsts/src/rules/S131/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S131/index.ts +++ b/packages/jsts/src/rules/S131/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S131/meta.ts b/packages/jsts/src/rules/S131/meta.ts index 8b818a7c97b..3f1bfb6b6f3 100644 --- a/packages/jsts/src/rules/S131/meta.ts +++ b/packages/jsts/src/rules/S131/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S131/rule.ts b/packages/jsts/src/rules/S131/rule.ts index af0427466c0..09d6a57b343 100644 --- a/packages/jsts/src/rules/S131/rule.ts +++ b/packages/jsts/src/rules/S131/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S131/javascript diff --git a/packages/jsts/src/rules/S131/unit.test.ts b/packages/jsts/src/rules/S131/unit.test.ts index bcbdfa0d373..b94aabe651e 100644 --- a/packages/jsts/src/rules/S131/unit.test.ts +++ b/packages/jsts/src/rules/S131/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S1313/generated-meta.ts b/packages/jsts/src/rules/S1313/generated-meta.ts index 3166a23fafa..aceb060ad43 100644 --- a/packages/jsts/src/rules/S1313/generated-meta.ts +++ b/packages/jsts/src/rules/S1313/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1313/index.ts b/packages/jsts/src/rules/S1313/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1313/index.ts +++ b/packages/jsts/src/rules/S1313/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1313/meta.ts b/packages/jsts/src/rules/S1313/meta.ts index 92f2f7c0c21..b1ebd6ba572 100644 --- a/packages/jsts/src/rules/S1313/meta.ts +++ b/packages/jsts/src/rules/S1313/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1313/rule.ts b/packages/jsts/src/rules/S1313/rule.ts index 342a70f3278..0b8c64c9f46 100644 --- a/packages/jsts/src/rules/S1313/rule.ts +++ b/packages/jsts/src/rules/S1313/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1313/javascript diff --git a/packages/jsts/src/rules/S1313/unit.test.ts b/packages/jsts/src/rules/S1313/unit.test.ts index 8a9e176391d..ceb6782fe14 100644 --- a/packages/jsts/src/rules/S1313/unit.test.ts +++ b/packages/jsts/src/rules/S1313/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1314/generated-meta.ts b/packages/jsts/src/rules/S1314/generated-meta.ts index 18ac6e0d1d7..8212f966648 100644 --- a/packages/jsts/src/rules/S1314/generated-meta.ts +++ b/packages/jsts/src/rules/S1314/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1314/index.ts b/packages/jsts/src/rules/S1314/index.ts index 1254832cf7c..191622bf95c 100644 --- a/packages/jsts/src/rules/S1314/index.ts +++ b/packages/jsts/src/rules/S1314/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-octal'); diff --git a/packages/jsts/src/rules/S1314/meta.ts b/packages/jsts/src/rules/S1314/meta.ts index 03b2e01c78e..efe9e237c27 100644 --- a/packages/jsts/src/rules/S1314/meta.ts +++ b/packages/jsts/src/rules/S1314/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1321/generated-meta.ts b/packages/jsts/src/rules/S1321/generated-meta.ts index f605c67de5d..cdd4ae894df 100644 --- a/packages/jsts/src/rules/S1321/generated-meta.ts +++ b/packages/jsts/src/rules/S1321/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1321/index.ts b/packages/jsts/src/rules/S1321/index.ts index 79dc0d83aa8..5e51e07ed96 100644 --- a/packages/jsts/src/rules/S1321/index.ts +++ b/packages/jsts/src/rules/S1321/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-with'); diff --git a/packages/jsts/src/rules/S1321/meta.ts b/packages/jsts/src/rules/S1321/meta.ts index deff51bb56b..d6dd61a48e1 100644 --- a/packages/jsts/src/rules/S1321/meta.ts +++ b/packages/jsts/src/rules/S1321/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S134/generated-meta.ts b/packages/jsts/src/rules/S134/generated-meta.ts index cdaa946fb92..0a9c96a28bc 100644 --- a/packages/jsts/src/rules/S134/generated-meta.ts +++ b/packages/jsts/src/rules/S134/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S134/index.ts b/packages/jsts/src/rules/S134/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S134/index.ts +++ b/packages/jsts/src/rules/S134/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S134/meta.ts b/packages/jsts/src/rules/S134/meta.ts index dc771656c87..fd9fcdb857a 100644 --- a/packages/jsts/src/rules/S134/meta.ts +++ b/packages/jsts/src/rules/S134/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S134/rule.ts b/packages/jsts/src/rules/S134/rule.ts index c133cd66c75..de3e5032b4d 100644 --- a/packages/jsts/src/rules/S134/rule.ts +++ b/packages/jsts/src/rules/S134/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S134/javascript diff --git a/packages/jsts/src/rules/S134/unit.test.ts b/packages/jsts/src/rules/S134/unit.test.ts index a770017e469..b8c0b1489e1 100644 --- a/packages/jsts/src/rules/S134/unit.test.ts +++ b/packages/jsts/src/rules/S134/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S135/generated-meta.ts b/packages/jsts/src/rules/S135/generated-meta.ts index e61769f73f4..b718efadeb0 100644 --- a/packages/jsts/src/rules/S135/generated-meta.ts +++ b/packages/jsts/src/rules/S135/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S135/index.ts b/packages/jsts/src/rules/S135/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S135/index.ts +++ b/packages/jsts/src/rules/S135/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S135/meta.ts b/packages/jsts/src/rules/S135/meta.ts index 9e210494269..70bb903984c 100644 --- a/packages/jsts/src/rules/S135/meta.ts +++ b/packages/jsts/src/rules/S135/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S135/rule.ts b/packages/jsts/src/rules/S135/rule.ts index f808b6052e7..d6915ad7c02 100644 --- a/packages/jsts/src/rules/S135/rule.ts +++ b/packages/jsts/src/rules/S135/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S135/javascript diff --git a/packages/jsts/src/rules/S135/unit.test.ts b/packages/jsts/src/rules/S135/unit.test.ts index 12c0bb10a5c..b330284499a 100644 --- a/packages/jsts/src/rules/S135/unit.test.ts +++ b/packages/jsts/src/rules/S135/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S138/generated-meta.ts b/packages/jsts/src/rules/S138/generated-meta.ts index 00f89e22e7c..7665a419e7a 100644 --- a/packages/jsts/src/rules/S138/generated-meta.ts +++ b/packages/jsts/src/rules/S138/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S138/index.ts b/packages/jsts/src/rules/S138/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S138/index.ts +++ b/packages/jsts/src/rules/S138/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S138/meta.ts b/packages/jsts/src/rules/S138/meta.ts index f21a5f3214f..7ad3260246b 100644 --- a/packages/jsts/src/rules/S138/meta.ts +++ b/packages/jsts/src/rules/S138/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S138/rule.ts b/packages/jsts/src/rules/S138/rule.ts index 91cd5ec6b35..6f32bb4fd5c 100644 --- a/packages/jsts/src/rules/S138/rule.ts +++ b/packages/jsts/src/rules/S138/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // Greatly inspired by https://github.com/eslint/eslint/blob/561b6d4726f3e77dd40ba0d340ca7f08429cd2eb/lib/rules/max-lines-per-function.js // We had to fork the implementation to control the reporting (issue location), in order to provide a better user experience. diff --git a/packages/jsts/src/rules/S138/unit.test.ts b/packages/jsts/src/rules/S138/unit.test.ts index a42a45178ee..f1a3c2f7f2a 100644 --- a/packages/jsts/src/rules/S138/unit.test.ts +++ b/packages/jsts/src/rules/S138/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S139/generated-meta.ts b/packages/jsts/src/rules/S139/generated-meta.ts index f339c7ab42f..d497f273edb 100644 --- a/packages/jsts/src/rules/S139/generated-meta.ts +++ b/packages/jsts/src/rules/S139/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S139/index.ts b/packages/jsts/src/rules/S139/index.ts index 3d66d94d55f..adc6d48f95b 100644 --- a/packages/jsts/src/rules/S139/index.ts +++ b/packages/jsts/src/rules/S139/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('line-comment-position'); diff --git a/packages/jsts/src/rules/S139/meta.ts b/packages/jsts/src/rules/S139/meta.ts index 9a0ea6026f7..f879b664f0d 100644 --- a/packages/jsts/src/rules/S139/meta.ts +++ b/packages/jsts/src/rules/S139/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1438/cb.test.ts b/packages/jsts/src/rules/S1438/cb.test.ts index bf6b8550d14..6e98afbf248 100644 --- a/packages/jsts/src/rules/S1438/cb.test.ts +++ b/packages/jsts/src/rules/S1438/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1438/decorator.ts b/packages/jsts/src/rules/S1438/decorator.ts index 332bce603ca..6538b9f9ba0 100644 --- a/packages/jsts/src/rules/S1438/decorator.ts +++ b/packages/jsts/src/rules/S1438/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1438/javascript diff --git a/packages/jsts/src/rules/S1438/generated-meta.ts b/packages/jsts/src/rules/S1438/generated-meta.ts index 9663538ed65..6116be2814e 100644 --- a/packages/jsts/src/rules/S1438/generated-meta.ts +++ b/packages/jsts/src/rules/S1438/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1438/index.ts b/packages/jsts/src/rules/S1438/index.ts index a315b3cce67..711c6fb4c1b 100644 --- a/packages/jsts/src/rules/S1438/index.ts +++ b/packages/jsts/src/rules/S1438/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S1438/meta.ts b/packages/jsts/src/rules/S1438/meta.ts index 4442ca3418c..3ce902132d8 100644 --- a/packages/jsts/src/rules/S1438/meta.ts +++ b/packages/jsts/src/rules/S1438/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S1439/generated-meta.ts b/packages/jsts/src/rules/S1439/generated-meta.ts index f148125fbcb..784311f820e 100644 --- a/packages/jsts/src/rules/S1439/generated-meta.ts +++ b/packages/jsts/src/rules/S1439/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1439/index.ts b/packages/jsts/src/rules/S1439/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1439/index.ts +++ b/packages/jsts/src/rules/S1439/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1439/meta.ts b/packages/jsts/src/rules/S1439/meta.ts index c7901375a63..68fccc0f6d2 100644 --- a/packages/jsts/src/rules/S1439/meta.ts +++ b/packages/jsts/src/rules/S1439/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1439/rule.ts b/packages/jsts/src/rules/S1439/rule.ts index 486ddf17405..b53be4ae26d 100644 --- a/packages/jsts/src/rules/S1439/rule.ts +++ b/packages/jsts/src/rules/S1439/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1439/javascript diff --git a/packages/jsts/src/rules/S1439/unit.test.ts b/packages/jsts/src/rules/S1439/unit.test.ts index 6689c7489a7..32f2fe7cc6a 100644 --- a/packages/jsts/src/rules/S1439/unit.test.ts +++ b/packages/jsts/src/rules/S1439/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1440/generated-meta.ts b/packages/jsts/src/rules/S1440/generated-meta.ts index ccee06280e0..cfa2d1c7847 100644 --- a/packages/jsts/src/rules/S1440/generated-meta.ts +++ b/packages/jsts/src/rules/S1440/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1440/index.ts b/packages/jsts/src/rules/S1440/index.ts index 9cb707df6d8..1ef37d3e12b 100644 --- a/packages/jsts/src/rules/S1440/index.ts +++ b/packages/jsts/src/rules/S1440/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('eqeqeq'); diff --git a/packages/jsts/src/rules/S1440/meta.ts b/packages/jsts/src/rules/S1440/meta.ts index 7ffcf0320ae..e9fc7a94de9 100644 --- a/packages/jsts/src/rules/S1440/meta.ts +++ b/packages/jsts/src/rules/S1440/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1441/generated-meta.ts b/packages/jsts/src/rules/S1441/generated-meta.ts index 2b8edfbef4f..5977c413f17 100644 --- a/packages/jsts/src/rules/S1441/generated-meta.ts +++ b/packages/jsts/src/rules/S1441/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1441/index.ts b/packages/jsts/src/rules/S1441/index.ts index d2e9ae8225f..e9566c9e58a 100644 --- a/packages/jsts/src/rules/S1441/index.ts +++ b/packages/jsts/src/rules/S1441/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('quotes'); diff --git a/packages/jsts/src/rules/S1441/meta.ts b/packages/jsts/src/rules/S1441/meta.ts index da2e0ad1844..6bb8d5be7fe 100644 --- a/packages/jsts/src/rules/S1441/meta.ts +++ b/packages/jsts/src/rules/S1441/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1442/generated-meta.ts b/packages/jsts/src/rules/S1442/generated-meta.ts index efa5172ad23..9d2e74e0a9a 100644 --- a/packages/jsts/src/rules/S1442/generated-meta.ts +++ b/packages/jsts/src/rules/S1442/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1442/index.ts b/packages/jsts/src/rules/S1442/index.ts index ab48bd8dc12..e1ebfc38f0e 100644 --- a/packages/jsts/src/rules/S1442/index.ts +++ b/packages/jsts/src/rules/S1442/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-alert'); diff --git a/packages/jsts/src/rules/S1442/meta.ts b/packages/jsts/src/rules/S1442/meta.ts index 02668537968..06ee2ca9b85 100644 --- a/packages/jsts/src/rules/S1442/meta.ts +++ b/packages/jsts/src/rules/S1442/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1444/cb.test.ts b/packages/jsts/src/rules/S1444/cb.test.ts index b100d3ad43e..ff121db6e94 100644 --- a/packages/jsts/src/rules/S1444/cb.test.ts +++ b/packages/jsts/src/rules/S1444/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1444/generated-meta.ts b/packages/jsts/src/rules/S1444/generated-meta.ts index 8d41917d42c..cc0990b5207 100644 --- a/packages/jsts/src/rules/S1444/generated-meta.ts +++ b/packages/jsts/src/rules/S1444/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1444/index.ts b/packages/jsts/src/rules/S1444/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1444/index.ts +++ b/packages/jsts/src/rules/S1444/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1444/meta.ts b/packages/jsts/src/rules/S1444/meta.ts index 64a36d92185..3a7d8affcff 100644 --- a/packages/jsts/src/rules/S1444/meta.ts +++ b/packages/jsts/src/rules/S1444/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1444/rule.ts b/packages/jsts/src/rules/S1444/rule.ts index e85069e8fde..9a521610294 100644 --- a/packages/jsts/src/rules/S1444/rule.ts +++ b/packages/jsts/src/rules/S1444/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1444/javascript diff --git a/packages/jsts/src/rules/S1451/generated-meta.ts b/packages/jsts/src/rules/S1451/generated-meta.ts index a3eef623d3a..b2f58e1b310 100644 --- a/packages/jsts/src/rules/S1451/generated-meta.ts +++ b/packages/jsts/src/rules/S1451/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1451/index.ts b/packages/jsts/src/rules/S1451/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1451/index.ts +++ b/packages/jsts/src/rules/S1451/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1451/meta.ts b/packages/jsts/src/rules/S1451/meta.ts index 5a2ff8a005a..4bf0adbd3f7 100644 --- a/packages/jsts/src/rules/S1451/meta.ts +++ b/packages/jsts/src/rules/S1451/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1451/rule.ts b/packages/jsts/src/rules/S1451/rule.ts index 22cefd32749..00845eb7ab3 100644 --- a/packages/jsts/src/rules/S1451/rule.ts +++ b/packages/jsts/src/rules/S1451/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1451/javascript diff --git a/packages/jsts/src/rules/S1451/unit.test.ts b/packages/jsts/src/rules/S1451/unit.test.ts index 1241a1d63fe..455c02332d6 100644 --- a/packages/jsts/src/rules/S1451/unit.test.ts +++ b/packages/jsts/src/rules/S1451/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1472/generated-meta.ts b/packages/jsts/src/rules/S1472/generated-meta.ts index 14013be1d7f..d0dacb8e91f 100644 --- a/packages/jsts/src/rules/S1472/generated-meta.ts +++ b/packages/jsts/src/rules/S1472/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1472/index.ts b/packages/jsts/src/rules/S1472/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1472/index.ts +++ b/packages/jsts/src/rules/S1472/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1472/meta.ts b/packages/jsts/src/rules/S1472/meta.ts index d744ced7fc9..f1561c162f6 100644 --- a/packages/jsts/src/rules/S1472/meta.ts +++ b/packages/jsts/src/rules/S1472/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1472/rule.ts b/packages/jsts/src/rules/S1472/rule.ts index 063b2525e4e..a27a7deb0b9 100644 --- a/packages/jsts/src/rules/S1472/rule.ts +++ b/packages/jsts/src/rules/S1472/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1472/javascript diff --git a/packages/jsts/src/rules/S1472/unit.test.ts b/packages/jsts/src/rules/S1472/unit.test.ts index 6137882a152..6af93e3cfec 100644 --- a/packages/jsts/src/rules/S1472/unit.test.ts +++ b/packages/jsts/src/rules/S1472/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1479/generated-meta.ts b/packages/jsts/src/rules/S1479/generated-meta.ts index 6e48852f7a0..35643ad5de9 100644 --- a/packages/jsts/src/rules/S1479/generated-meta.ts +++ b/packages/jsts/src/rules/S1479/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1479/index.ts b/packages/jsts/src/rules/S1479/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1479/index.ts +++ b/packages/jsts/src/rules/S1479/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1479/meta.ts b/packages/jsts/src/rules/S1479/meta.ts index a94437ff981..552a1ee7a0f 100644 --- a/packages/jsts/src/rules/S1479/meta.ts +++ b/packages/jsts/src/rules/S1479/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1479/rule.ts b/packages/jsts/src/rules/S1479/rule.ts index 9dda6133f2a..72c7cdacc04 100644 --- a/packages/jsts/src/rules/S1479/rule.ts +++ b/packages/jsts/src/rules/S1479/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1479 diff --git a/packages/jsts/src/rules/S1479/unit.test.ts b/packages/jsts/src/rules/S1479/unit.test.ts index 30708acdc20..5523ed9e7df 100644 --- a/packages/jsts/src/rules/S1479/unit.test.ts +++ b/packages/jsts/src/rules/S1479/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1481/generated-meta.ts b/packages/jsts/src/rules/S1481/generated-meta.ts index da9e1c32266..88325bf6f53 100644 --- a/packages/jsts/src/rules/S1481/generated-meta.ts +++ b/packages/jsts/src/rules/S1481/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1481/index.ts b/packages/jsts/src/rules/S1481/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1481/index.ts +++ b/packages/jsts/src/rules/S1481/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1481/meta.ts b/packages/jsts/src/rules/S1481/meta.ts index 319371138a1..05ccbf274e1 100644 --- a/packages/jsts/src/rules/S1481/meta.ts +++ b/packages/jsts/src/rules/S1481/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1481/rule.ts b/packages/jsts/src/rules/S1481/rule.ts index ffd93ee30e2..f52fd291412 100644 --- a/packages/jsts/src/rules/S1481/rule.ts +++ b/packages/jsts/src/rules/S1481/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1481/javascript diff --git a/packages/jsts/src/rules/S1481/unit.test.ts b/packages/jsts/src/rules/S1481/unit.test.ts index 187e4fb753c..dd38ccdf230 100644 --- a/packages/jsts/src/rules/S1481/unit.test.ts +++ b/packages/jsts/src/rules/S1481/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1488/generated-meta.ts b/packages/jsts/src/rules/S1488/generated-meta.ts index a4aec6169a0..950a055fb28 100644 --- a/packages/jsts/src/rules/S1488/generated-meta.ts +++ b/packages/jsts/src/rules/S1488/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1488/index.ts b/packages/jsts/src/rules/S1488/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1488/index.ts +++ b/packages/jsts/src/rules/S1488/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1488/meta.ts b/packages/jsts/src/rules/S1488/meta.ts index c0077643838..1aa20edba55 100644 --- a/packages/jsts/src/rules/S1488/meta.ts +++ b/packages/jsts/src/rules/S1488/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1488/rule.ts b/packages/jsts/src/rules/S1488/rule.ts index 09efc273078..453b4940cca 100644 --- a/packages/jsts/src/rules/S1488/rule.ts +++ b/packages/jsts/src/rules/S1488/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1488 diff --git a/packages/jsts/src/rules/S1488/unit.test.ts b/packages/jsts/src/rules/S1488/unit.test.ts index f0dc94b6d84..c841e9a8c2e 100644 --- a/packages/jsts/src/rules/S1488/unit.test.ts +++ b/packages/jsts/src/rules/S1488/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1515/generated-meta.ts b/packages/jsts/src/rules/S1515/generated-meta.ts index 57e0344c988..5fd99af4c84 100644 --- a/packages/jsts/src/rules/S1515/generated-meta.ts +++ b/packages/jsts/src/rules/S1515/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1515/index.ts b/packages/jsts/src/rules/S1515/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1515/index.ts +++ b/packages/jsts/src/rules/S1515/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1515/meta.ts b/packages/jsts/src/rules/S1515/meta.ts index 66b271db3fd..5718664c64a 100644 --- a/packages/jsts/src/rules/S1515/meta.ts +++ b/packages/jsts/src/rules/S1515/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1515/rule.ts b/packages/jsts/src/rules/S1515/rule.ts index 6b1afc19d95..7732234666c 100644 --- a/packages/jsts/src/rules/S1515/rule.ts +++ b/packages/jsts/src/rules/S1515/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1515/javascript diff --git a/packages/jsts/src/rules/S1515/unit.test.ts b/packages/jsts/src/rules/S1515/unit.test.ts index e471700c10d..bcca79e1986 100644 --- a/packages/jsts/src/rules/S1515/unit.test.ts +++ b/packages/jsts/src/rules/S1515/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1516/generated-meta.ts b/packages/jsts/src/rules/S1516/generated-meta.ts index e50ac2815b8..3a59a59860c 100644 --- a/packages/jsts/src/rules/S1516/generated-meta.ts +++ b/packages/jsts/src/rules/S1516/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1516/index.ts b/packages/jsts/src/rules/S1516/index.ts index d429e1d20ff..018781b1b7a 100644 --- a/packages/jsts/src/rules/S1516/index.ts +++ b/packages/jsts/src/rules/S1516/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-multi-str'); diff --git a/packages/jsts/src/rules/S1516/meta.ts b/packages/jsts/src/rules/S1516/meta.ts index 2ce88e4ee35..878165ac8e2 100644 --- a/packages/jsts/src/rules/S1516/meta.ts +++ b/packages/jsts/src/rules/S1516/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1523/generated-meta.ts b/packages/jsts/src/rules/S1523/generated-meta.ts index 8bf45e7c30b..dffc5543f3e 100644 --- a/packages/jsts/src/rules/S1523/generated-meta.ts +++ b/packages/jsts/src/rules/S1523/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1523/index.ts b/packages/jsts/src/rules/S1523/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1523/index.ts +++ b/packages/jsts/src/rules/S1523/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1523/meta.ts b/packages/jsts/src/rules/S1523/meta.ts index 7dce9766f8f..2fedea3d8fa 100644 --- a/packages/jsts/src/rules/S1523/meta.ts +++ b/packages/jsts/src/rules/S1523/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1523/rule.ts b/packages/jsts/src/rules/S1523/rule.ts index be3a06c12df..c1c21d9af23 100644 --- a/packages/jsts/src/rules/S1523/rule.ts +++ b/packages/jsts/src/rules/S1523/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1523/javascript // SQ key 'eval' diff --git a/packages/jsts/src/rules/S1523/unit.test.ts b/packages/jsts/src/rules/S1523/unit.test.ts index d16596de069..b19ef658081 100644 --- a/packages/jsts/src/rules/S1523/unit.test.ts +++ b/packages/jsts/src/rules/S1523/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1525/generated-meta.ts b/packages/jsts/src/rules/S1525/generated-meta.ts index 61febb301c8..69d4a9cd160 100644 --- a/packages/jsts/src/rules/S1525/generated-meta.ts +++ b/packages/jsts/src/rules/S1525/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1525/index.ts b/packages/jsts/src/rules/S1525/index.ts index 877d465571b..37f569415d7 100644 --- a/packages/jsts/src/rules/S1525/index.ts +++ b/packages/jsts/src/rules/S1525/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-debugger'); diff --git a/packages/jsts/src/rules/S1525/meta.ts b/packages/jsts/src/rules/S1525/meta.ts index 4105be28c30..26c0973862c 100644 --- a/packages/jsts/src/rules/S1525/meta.ts +++ b/packages/jsts/src/rules/S1525/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1526/generated-meta.ts b/packages/jsts/src/rules/S1526/generated-meta.ts index 9d60d044d36..532b960cb9e 100644 --- a/packages/jsts/src/rules/S1526/generated-meta.ts +++ b/packages/jsts/src/rules/S1526/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1526/index.ts b/packages/jsts/src/rules/S1526/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1526/index.ts +++ b/packages/jsts/src/rules/S1526/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1526/meta.ts b/packages/jsts/src/rules/S1526/meta.ts index 98c81d73a8b..d68dab2896f 100644 --- a/packages/jsts/src/rules/S1526/meta.ts +++ b/packages/jsts/src/rules/S1526/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1526/rule.ts b/packages/jsts/src/rules/S1526/rule.ts index 80f321fd0ac..2410ef75410 100644 --- a/packages/jsts/src/rules/S1526/rule.ts +++ b/packages/jsts/src/rules/S1526/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1526/javascript diff --git a/packages/jsts/src/rules/S1526/unit.test.ts b/packages/jsts/src/rules/S1526/unit.test.ts index 682a470198b..373fa93a8ff 100644 --- a/packages/jsts/src/rules/S1526/unit.test.ts +++ b/packages/jsts/src/rules/S1526/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1527/generated-meta.ts b/packages/jsts/src/rules/S1527/generated-meta.ts index 1109b772ef3..ed9bfef31f8 100644 --- a/packages/jsts/src/rules/S1527/generated-meta.ts +++ b/packages/jsts/src/rules/S1527/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1527/index.ts b/packages/jsts/src/rules/S1527/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1527/index.ts +++ b/packages/jsts/src/rules/S1527/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1527/meta.ts b/packages/jsts/src/rules/S1527/meta.ts index 241ef3289b1..0883fc84760 100644 --- a/packages/jsts/src/rules/S1527/meta.ts +++ b/packages/jsts/src/rules/S1527/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1527/rule.ts b/packages/jsts/src/rules/S1527/rule.ts index 1a89e385868..25a4e51d81b 100644 --- a/packages/jsts/src/rules/S1527/rule.ts +++ b/packages/jsts/src/rules/S1527/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1527/javascript diff --git a/packages/jsts/src/rules/S1527/unit.test.ts b/packages/jsts/src/rules/S1527/unit.test.ts index f7ee3c8a279..597e1473614 100644 --- a/packages/jsts/src/rules/S1527/unit.test.ts +++ b/packages/jsts/src/rules/S1527/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1528/generated-meta.ts b/packages/jsts/src/rules/S1528/generated-meta.ts index 28252df2299..853e7750de6 100644 --- a/packages/jsts/src/rules/S1528/generated-meta.ts +++ b/packages/jsts/src/rules/S1528/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1528/index.ts b/packages/jsts/src/rules/S1528/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1528/index.ts +++ b/packages/jsts/src/rules/S1528/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1528/meta.ts b/packages/jsts/src/rules/S1528/meta.ts index 48ee9bbe878..fa3818ee035 100644 --- a/packages/jsts/src/rules/S1528/meta.ts +++ b/packages/jsts/src/rules/S1528/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1528/rule.ts b/packages/jsts/src/rules/S1528/rule.ts index 872f4c0d4a6..f338a424c2a 100644 --- a/packages/jsts/src/rules/S1528/rule.ts +++ b/packages/jsts/src/rules/S1528/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1528/javascript import type { Rule } from 'eslint'; diff --git a/packages/jsts/src/rules/S1528/unit.test.ts b/packages/jsts/src/rules/S1528/unit.test.ts index 5bfb18bffe6..02f0712835b 100644 --- a/packages/jsts/src/rules/S1528/unit.test.ts +++ b/packages/jsts/src/rules/S1528/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1529/generated-meta.ts b/packages/jsts/src/rules/S1529/generated-meta.ts index fc9fc203900..7883cc2d893 100644 --- a/packages/jsts/src/rules/S1529/generated-meta.ts +++ b/packages/jsts/src/rules/S1529/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1529/index.ts b/packages/jsts/src/rules/S1529/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1529/index.ts +++ b/packages/jsts/src/rules/S1529/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1529/meta.ts b/packages/jsts/src/rules/S1529/meta.ts index 843556520f2..7f60dd1f41f 100644 --- a/packages/jsts/src/rules/S1529/meta.ts +++ b/packages/jsts/src/rules/S1529/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1529/rule.ts b/packages/jsts/src/rules/S1529/rule.ts index dccfdefc65a..e918c5f7dc2 100644 --- a/packages/jsts/src/rules/S1529/rule.ts +++ b/packages/jsts/src/rules/S1529/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1529/javascript diff --git a/packages/jsts/src/rules/S1529/unit.test.ts b/packages/jsts/src/rules/S1529/unit.test.ts index 76422d366f5..e1d73522731 100644 --- a/packages/jsts/src/rules/S1529/unit.test.ts +++ b/packages/jsts/src/rules/S1529/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1530/generated-meta.ts b/packages/jsts/src/rules/S1530/generated-meta.ts index 47fa8b77ee1..bf229724d30 100644 --- a/packages/jsts/src/rules/S1530/generated-meta.ts +++ b/packages/jsts/src/rules/S1530/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1530/index.ts b/packages/jsts/src/rules/S1530/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1530/index.ts +++ b/packages/jsts/src/rules/S1530/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1530/meta.ts b/packages/jsts/src/rules/S1530/meta.ts index ecc6565bf6c..495f5a418df 100644 --- a/packages/jsts/src/rules/S1530/meta.ts +++ b/packages/jsts/src/rules/S1530/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1530/rule.ts b/packages/jsts/src/rules/S1530/rule.ts index bf646b6ac3e..a84297b9a75 100644 --- a/packages/jsts/src/rules/S1530/rule.ts +++ b/packages/jsts/src/rules/S1530/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1530/javascript diff --git a/packages/jsts/src/rules/S1530/unit.test.ts b/packages/jsts/src/rules/S1530/unit.test.ts index 405d3ca8641..42ae4d9a96b 100644 --- a/packages/jsts/src/rules/S1530/unit.test.ts +++ b/packages/jsts/src/rules/S1530/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1533/generated-meta.ts b/packages/jsts/src/rules/S1533/generated-meta.ts index 7eec8fc33f8..ea563501102 100644 --- a/packages/jsts/src/rules/S1533/generated-meta.ts +++ b/packages/jsts/src/rules/S1533/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1533/index.ts b/packages/jsts/src/rules/S1533/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1533/index.ts +++ b/packages/jsts/src/rules/S1533/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1533/meta.ts b/packages/jsts/src/rules/S1533/meta.ts index 7876a69c3a3..1d4369e47de 100644 --- a/packages/jsts/src/rules/S1533/meta.ts +++ b/packages/jsts/src/rules/S1533/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1533/rule.ts b/packages/jsts/src/rules/S1533/rule.ts index a034ec0689c..8463a73453e 100644 --- a/packages/jsts/src/rules/S1533/rule.ts +++ b/packages/jsts/src/rules/S1533/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1533/javascript diff --git a/packages/jsts/src/rules/S1533/unit.test.ts b/packages/jsts/src/rules/S1533/unit.test.ts index cbb6014524c..7e3b22167ec 100644 --- a/packages/jsts/src/rules/S1533/unit.test.ts +++ b/packages/jsts/src/rules/S1533/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1534/cb.test.ts b/packages/jsts/src/rules/S1534/cb.test.ts index ad41f48cfc8..03e91bdc9c1 100644 --- a/packages/jsts/src/rules/S1534/cb.test.ts +++ b/packages/jsts/src/rules/S1534/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1534/decorator.ts b/packages/jsts/src/rules/S1534/decorator.ts index b1ff2d3afed..51b72f313b9 100644 --- a/packages/jsts/src/rules/S1534/decorator.ts +++ b/packages/jsts/src/rules/S1534/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1534/javascript diff --git a/packages/jsts/src/rules/S1534/generated-meta.ts b/packages/jsts/src/rules/S1534/generated-meta.ts index 77a8e470645..2a307094d83 100644 --- a/packages/jsts/src/rules/S1534/generated-meta.ts +++ b/packages/jsts/src/rules/S1534/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1534/index.ts b/packages/jsts/src/rules/S1534/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1534/index.ts +++ b/packages/jsts/src/rules/S1534/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1534/meta.ts b/packages/jsts/src/rules/S1534/meta.ts index dffd5cbc6ad..dc0bb48a4eb 100644 --- a/packages/jsts/src/rules/S1534/meta.ts +++ b/packages/jsts/src/rules/S1534/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S1534/rule.ts b/packages/jsts/src/rules/S1534/rule.ts index 2b93ce75b36..66355ad7c7b 100644 --- a/packages/jsts/src/rules/S1534/rule.ts +++ b/packages/jsts/src/rules/S1534/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1534/javascript diff --git a/packages/jsts/src/rules/S1534/unit.test.ts b/packages/jsts/src/rules/S1534/unit.test.ts index d1af9ff53da..c4abf77d9a0 100644 --- a/packages/jsts/src/rules/S1534/unit.test.ts +++ b/packages/jsts/src/rules/S1534/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1535/generated-meta.ts b/packages/jsts/src/rules/S1535/generated-meta.ts index 6c5011d0323..bd7d85abb54 100644 --- a/packages/jsts/src/rules/S1535/generated-meta.ts +++ b/packages/jsts/src/rules/S1535/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1535/index.ts b/packages/jsts/src/rules/S1535/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1535/index.ts +++ b/packages/jsts/src/rules/S1535/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1535/meta.ts b/packages/jsts/src/rules/S1535/meta.ts index 4109d8f389b..c1ff9ff6888 100644 --- a/packages/jsts/src/rules/S1535/meta.ts +++ b/packages/jsts/src/rules/S1535/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1535/rule.ts b/packages/jsts/src/rules/S1535/rule.ts index c5a768881df..ad097d7034e 100644 --- a/packages/jsts/src/rules/S1535/rule.ts +++ b/packages/jsts/src/rules/S1535/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1535/javascript diff --git a/packages/jsts/src/rules/S1535/unit.test.ts b/packages/jsts/src/rules/S1535/unit.test.ts index 8c99aab52fe..ac45fe0a654 100644 --- a/packages/jsts/src/rules/S1535/unit.test.ts +++ b/packages/jsts/src/rules/S1535/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1536/generated-meta.ts b/packages/jsts/src/rules/S1536/generated-meta.ts index e6a9f7290e9..69fc9fcf3c4 100644 --- a/packages/jsts/src/rules/S1536/generated-meta.ts +++ b/packages/jsts/src/rules/S1536/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1536/index.ts b/packages/jsts/src/rules/S1536/index.ts index 624dbce93fb..a6f596f03a9 100644 --- a/packages/jsts/src/rules/S1536/index.ts +++ b/packages/jsts/src/rules/S1536/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-dupe-args'); diff --git a/packages/jsts/src/rules/S1536/meta.ts b/packages/jsts/src/rules/S1536/meta.ts index 81541732c11..e6649f62ecb 100644 --- a/packages/jsts/src/rules/S1536/meta.ts +++ b/packages/jsts/src/rules/S1536/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1537/generated-meta.ts b/packages/jsts/src/rules/S1537/generated-meta.ts index 4ae6e94de1b..b130cd7b59e 100644 --- a/packages/jsts/src/rules/S1537/generated-meta.ts +++ b/packages/jsts/src/rules/S1537/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1537/index.ts b/packages/jsts/src/rules/S1537/index.ts index 3e9b36735a4..56df653cc4f 100644 --- a/packages/jsts/src/rules/S1537/index.ts +++ b/packages/jsts/src/rules/S1537/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['comma-dangle']; diff --git a/packages/jsts/src/rules/S1537/meta.ts b/packages/jsts/src/rules/S1537/meta.ts index d76143b96c0..e7b0935c07e 100644 --- a/packages/jsts/src/rules/S1537/meta.ts +++ b/packages/jsts/src/rules/S1537/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1539/generated-meta.ts b/packages/jsts/src/rules/S1539/generated-meta.ts index aa13b480490..8750f8e50a5 100644 --- a/packages/jsts/src/rules/S1539/generated-meta.ts +++ b/packages/jsts/src/rules/S1539/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1539/index.ts b/packages/jsts/src/rules/S1539/index.ts index 15f0dc6597d..6fbdee94128 100644 --- a/packages/jsts/src/rules/S1539/index.ts +++ b/packages/jsts/src/rules/S1539/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('strict'); diff --git a/packages/jsts/src/rules/S1539/meta.ts b/packages/jsts/src/rules/S1539/meta.ts index 29c0743f70c..97c0df91452 100644 --- a/packages/jsts/src/rules/S1539/meta.ts +++ b/packages/jsts/src/rules/S1539/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1541/generated-meta.ts b/packages/jsts/src/rules/S1541/generated-meta.ts index ddef7e7a421..cf0ea8f57b7 100644 --- a/packages/jsts/src/rules/S1541/generated-meta.ts +++ b/packages/jsts/src/rules/S1541/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1541/index.ts b/packages/jsts/src/rules/S1541/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1541/index.ts +++ b/packages/jsts/src/rules/S1541/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1541/meta.ts b/packages/jsts/src/rules/S1541/meta.ts index d14dd25246d..5ed749c5913 100644 --- a/packages/jsts/src/rules/S1541/meta.ts +++ b/packages/jsts/src/rules/S1541/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1541/rule.ts b/packages/jsts/src/rules/S1541/rule.ts index 06914757772..29ed3c544a9 100644 --- a/packages/jsts/src/rules/S1541/rule.ts +++ b/packages/jsts/src/rules/S1541/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1541/javascript diff --git a/packages/jsts/src/rules/S1541/unit.test.ts b/packages/jsts/src/rules/S1541/unit.test.ts index 0698125ad13..6b6a1b1fa01 100644 --- a/packages/jsts/src/rules/S1541/unit.test.ts +++ b/packages/jsts/src/rules/S1541/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1607/generated-meta.ts b/packages/jsts/src/rules/S1607/generated-meta.ts index 060bd51d862..c50553a8cdf 100644 --- a/packages/jsts/src/rules/S1607/generated-meta.ts +++ b/packages/jsts/src/rules/S1607/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1607/index.ts b/packages/jsts/src/rules/S1607/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1607/index.ts +++ b/packages/jsts/src/rules/S1607/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1607/jasmine/cb.test.ts b/packages/jsts/src/rules/S1607/jasmine/cb.test.ts index e5f3ba6298a..6dbc9ed880e 100644 --- a/packages/jsts/src/rules/S1607/jasmine/cb.test.ts +++ b/packages/jsts/src/rules/S1607/jasmine/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { basename, dirname } from 'path'; import { check } from '../../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1607/jest/cb.test.ts b/packages/jsts/src/rules/S1607/jest/cb.test.ts index e5f3ba6298a..6dbc9ed880e 100644 --- a/packages/jsts/src/rules/S1607/jest/cb.test.ts +++ b/packages/jsts/src/rules/S1607/jest/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { basename, dirname } from 'path'; import { check } from '../../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1607/meta.ts b/packages/jsts/src/rules/S1607/meta.ts index c4693d24b6c..580c6698163 100644 --- a/packages/jsts/src/rules/S1607/meta.ts +++ b/packages/jsts/src/rules/S1607/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1607/mocha/cb.test.ts b/packages/jsts/src/rules/S1607/mocha/cb.test.ts index e5f3ba6298a..6dbc9ed880e 100644 --- a/packages/jsts/src/rules/S1607/mocha/cb.test.ts +++ b/packages/jsts/src/rules/S1607/mocha/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { basename, dirname } from 'path'; import { check } from '../../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1607/nodejs/cb.test.ts b/packages/jsts/src/rules/S1607/nodejs/cb.test.ts index e5f3ba6298a..6dbc9ed880e 100644 --- a/packages/jsts/src/rules/S1607/nodejs/cb.test.ts +++ b/packages/jsts/src/rules/S1607/nodejs/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { basename, dirname } from 'path'; import { check } from '../../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1607/rule.ts b/packages/jsts/src/rules/S1607/rule.ts index 0a47c25321d..3fcf457cbbe 100644 --- a/packages/jsts/src/rules/S1607/rule.ts +++ b/packages/jsts/src/rules/S1607/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1607 diff --git a/packages/jsts/src/rules/S1607/unit.test.ts b/packages/jsts/src/rules/S1607/unit.test.ts index fe89f2f5b7c..7413f7526cd 100644 --- a/packages/jsts/src/rules/S1607/unit.test.ts +++ b/packages/jsts/src/rules/S1607/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1656/generated-meta.ts b/packages/jsts/src/rules/S1656/generated-meta.ts index a43ea906459..98bb27de597 100644 --- a/packages/jsts/src/rules/S1656/generated-meta.ts +++ b/packages/jsts/src/rules/S1656/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1656/index.ts b/packages/jsts/src/rules/S1656/index.ts index 92c615b9091..dc313929608 100644 --- a/packages/jsts/src/rules/S1656/index.ts +++ b/packages/jsts/src/rules/S1656/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-self-assign'); diff --git a/packages/jsts/src/rules/S1656/meta.ts b/packages/jsts/src/rules/S1656/meta.ts index 5536f70f959..507e819a9bf 100644 --- a/packages/jsts/src/rules/S1656/meta.ts +++ b/packages/jsts/src/rules/S1656/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1751/generated-meta.ts b/packages/jsts/src/rules/S1751/generated-meta.ts index 08751b4dde9..034335e9b0a 100644 --- a/packages/jsts/src/rules/S1751/generated-meta.ts +++ b/packages/jsts/src/rules/S1751/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1751/index.ts b/packages/jsts/src/rules/S1751/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1751/index.ts +++ b/packages/jsts/src/rules/S1751/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1751/meta.ts b/packages/jsts/src/rules/S1751/meta.ts index 4041315b04a..b60eeaaa037 100644 --- a/packages/jsts/src/rules/S1751/meta.ts +++ b/packages/jsts/src/rules/S1751/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1751/rule.ts b/packages/jsts/src/rules/S1751/rule.ts index d07de8c181e..a90a6daf0b0 100644 --- a/packages/jsts/src/rules/S1751/rule.ts +++ b/packages/jsts/src/rules/S1751/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1751 diff --git a/packages/jsts/src/rules/S1751/unit.test.ts b/packages/jsts/src/rules/S1751/unit.test.ts index 1a9dcfd3d17..007db4e40a6 100644 --- a/packages/jsts/src/rules/S1751/unit.test.ts +++ b/packages/jsts/src/rules/S1751/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1763/decorator.ts b/packages/jsts/src/rules/S1763/decorator.ts index cf376866555..7e716b0a1fa 100644 --- a/packages/jsts/src/rules/S1763/decorator.ts +++ b/packages/jsts/src/rules/S1763/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1763/javascript diff --git a/packages/jsts/src/rules/S1763/generated-meta.ts b/packages/jsts/src/rules/S1763/generated-meta.ts index 128e6010a73..da8f8c37594 100644 --- a/packages/jsts/src/rules/S1763/generated-meta.ts +++ b/packages/jsts/src/rules/S1763/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1763/index.ts b/packages/jsts/src/rules/S1763/index.ts index 14f9477e97e..bf510ad181d 100644 --- a/packages/jsts/src/rules/S1763/index.ts +++ b/packages/jsts/src/rules/S1763/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S1763/meta.ts b/packages/jsts/src/rules/S1763/meta.ts index 3b7e4397b53..9bf68c10467 100644 --- a/packages/jsts/src/rules/S1763/meta.ts +++ b/packages/jsts/src/rules/S1763/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S1763/unit.test.ts b/packages/jsts/src/rules/S1763/unit.test.ts index d7534652569..3166f6ac120 100644 --- a/packages/jsts/src/rules/S1763/unit.test.ts +++ b/packages/jsts/src/rules/S1763/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1764/generated-meta.ts b/packages/jsts/src/rules/S1764/generated-meta.ts index 4f66a59f17f..1d3b11408d7 100644 --- a/packages/jsts/src/rules/S1764/generated-meta.ts +++ b/packages/jsts/src/rules/S1764/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1764/index.ts b/packages/jsts/src/rules/S1764/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1764/index.ts +++ b/packages/jsts/src/rules/S1764/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1764/meta.ts b/packages/jsts/src/rules/S1764/meta.ts index 42152a0a7e4..1b8e6ffda5c 100644 --- a/packages/jsts/src/rules/S1764/meta.ts +++ b/packages/jsts/src/rules/S1764/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1764/rule.ts b/packages/jsts/src/rules/S1764/rule.ts index d8d94965052..46806a50ebb 100644 --- a/packages/jsts/src/rules/S1764/rule.ts +++ b/packages/jsts/src/rules/S1764/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1764 diff --git a/packages/jsts/src/rules/S1764/unit.test.ts b/packages/jsts/src/rules/S1764/unit.test.ts index 55f633e5e8d..d15f8845148 100644 --- a/packages/jsts/src/rules/S1764/unit.test.ts +++ b/packages/jsts/src/rules/S1764/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1774/generated-meta.ts b/packages/jsts/src/rules/S1774/generated-meta.ts index 2cc9f2084eb..38ffd65fd3b 100644 --- a/packages/jsts/src/rules/S1774/generated-meta.ts +++ b/packages/jsts/src/rules/S1774/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1774/index.ts b/packages/jsts/src/rules/S1774/index.ts index 6ab7ebc4786..b53138e2c49 100644 --- a/packages/jsts/src/rules/S1774/index.ts +++ b/packages/jsts/src/rules/S1774/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-ternary'); diff --git a/packages/jsts/src/rules/S1774/meta.ts b/packages/jsts/src/rules/S1774/meta.ts index 8ee1510a098..7f453086e05 100644 --- a/packages/jsts/src/rules/S1774/meta.ts +++ b/packages/jsts/src/rules/S1774/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S1788/cb.test.ts b/packages/jsts/src/rules/S1788/cb.test.ts index 520806e9911..7f03860b31b 100644 --- a/packages/jsts/src/rules/S1788/cb.test.ts +++ b/packages/jsts/src/rules/S1788/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1788/decorator.ts b/packages/jsts/src/rules/S1788/decorator.ts index 6912075eaac..a0dc03f37ba 100644 --- a/packages/jsts/src/rules/S1788/decorator.ts +++ b/packages/jsts/src/rules/S1788/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1788/javascript diff --git a/packages/jsts/src/rules/S1788/generated-meta.ts b/packages/jsts/src/rules/S1788/generated-meta.ts index f7eb3742519..8e44e338e79 100644 --- a/packages/jsts/src/rules/S1788/generated-meta.ts +++ b/packages/jsts/src/rules/S1788/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1788/index.ts b/packages/jsts/src/rules/S1788/index.ts index 1e3dfa9285c..b1fde7a187e 100644 --- a/packages/jsts/src/rules/S1788/index.ts +++ b/packages/jsts/src/rules/S1788/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S1788/meta.ts b/packages/jsts/src/rules/S1788/meta.ts index 93d1dddbaf5..023a3e72ab5 100644 --- a/packages/jsts/src/rules/S1788/meta.ts +++ b/packages/jsts/src/rules/S1788/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S1821/generated-meta.ts b/packages/jsts/src/rules/S1821/generated-meta.ts index 5ac61f93b5c..1af695bfd4a 100644 --- a/packages/jsts/src/rules/S1821/generated-meta.ts +++ b/packages/jsts/src/rules/S1821/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1821/index.ts b/packages/jsts/src/rules/S1821/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1821/index.ts +++ b/packages/jsts/src/rules/S1821/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1821/meta.ts b/packages/jsts/src/rules/S1821/meta.ts index 410ec9c3371..f02e59beb71 100644 --- a/packages/jsts/src/rules/S1821/meta.ts +++ b/packages/jsts/src/rules/S1821/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1821/rule.ts b/packages/jsts/src/rules/S1821/rule.ts index 122880b16f7..0acf30b01c2 100644 --- a/packages/jsts/src/rules/S1821/rule.ts +++ b/packages/jsts/src/rules/S1821/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1821 diff --git a/packages/jsts/src/rules/S1821/unit.test.ts b/packages/jsts/src/rules/S1821/unit.test.ts index 8d5ceee77d7..91cdb5c6b35 100644 --- a/packages/jsts/src/rules/S1821/unit.test.ts +++ b/packages/jsts/src/rules/S1821/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1848/generated-meta.ts b/packages/jsts/src/rules/S1848/generated-meta.ts index b56bb6033ea..89c12b931d0 100644 --- a/packages/jsts/src/rules/S1848/generated-meta.ts +++ b/packages/jsts/src/rules/S1848/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1848/index.ts b/packages/jsts/src/rules/S1848/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1848/index.ts +++ b/packages/jsts/src/rules/S1848/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1848/meta.ts b/packages/jsts/src/rules/S1848/meta.ts index b1a439dd584..ba6e7b5488a 100644 --- a/packages/jsts/src/rules/S1848/meta.ts +++ b/packages/jsts/src/rules/S1848/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1848/rule.ts b/packages/jsts/src/rules/S1848/rule.ts index 47274fbf6e1..078c91d1be6 100644 --- a/packages/jsts/src/rules/S1848/rule.ts +++ b/packages/jsts/src/rules/S1848/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1848/javascript diff --git a/packages/jsts/src/rules/S1848/unit.test.ts b/packages/jsts/src/rules/S1848/unit.test.ts index 1eee8bde2c5..94175c68c85 100644 --- a/packages/jsts/src/rules/S1848/unit.test.ts +++ b/packages/jsts/src/rules/S1848/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1854/generated-meta.ts b/packages/jsts/src/rules/S1854/generated-meta.ts index e01908b275f..6c0039d56f6 100644 --- a/packages/jsts/src/rules/S1854/generated-meta.ts +++ b/packages/jsts/src/rules/S1854/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1854/index.ts b/packages/jsts/src/rules/S1854/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1854/index.ts +++ b/packages/jsts/src/rules/S1854/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1854/meta.ts b/packages/jsts/src/rules/S1854/meta.ts index 173bde5dd37..bf026c493e4 100644 --- a/packages/jsts/src/rules/S1854/meta.ts +++ b/packages/jsts/src/rules/S1854/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1854/rule.ts b/packages/jsts/src/rules/S1854/rule.ts index d6c0d521b42..14f82903b9e 100644 --- a/packages/jsts/src/rules/S1854/rule.ts +++ b/packages/jsts/src/rules/S1854/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1854/javascript diff --git a/packages/jsts/src/rules/S1854/unit.test.ts b/packages/jsts/src/rules/S1854/unit.test.ts index 97d0d460598..a1f1d89669d 100644 --- a/packages/jsts/src/rules/S1854/unit.test.ts +++ b/packages/jsts/src/rules/S1854/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { BabelRuleTester, TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1862/generated-meta.ts b/packages/jsts/src/rules/S1862/generated-meta.ts index e9dcfffb24d..f7523e43025 100644 --- a/packages/jsts/src/rules/S1862/generated-meta.ts +++ b/packages/jsts/src/rules/S1862/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1862/index.ts b/packages/jsts/src/rules/S1862/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1862/index.ts +++ b/packages/jsts/src/rules/S1862/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1862/meta.ts b/packages/jsts/src/rules/S1862/meta.ts index dd5ac5c80eb..c923d204749 100644 --- a/packages/jsts/src/rules/S1862/meta.ts +++ b/packages/jsts/src/rules/S1862/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1862/rule.ts b/packages/jsts/src/rules/S1862/rule.ts index e6cc3a73e8f..27304a08752 100644 --- a/packages/jsts/src/rules/S1862/rule.ts +++ b/packages/jsts/src/rules/S1862/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1862 diff --git a/packages/jsts/src/rules/S1862/unit.test.ts b/packages/jsts/src/rules/S1862/unit.test.ts index 96279e78d88..21ba7ff49b7 100644 --- a/packages/jsts/src/rules/S1862/unit.test.ts +++ b/packages/jsts/src/rules/S1862/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1871/generated-meta.ts b/packages/jsts/src/rules/S1871/generated-meta.ts index 82e4ea48b87..907cca1cd99 100644 --- a/packages/jsts/src/rules/S1871/generated-meta.ts +++ b/packages/jsts/src/rules/S1871/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1871/index.ts b/packages/jsts/src/rules/S1871/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1871/index.ts +++ b/packages/jsts/src/rules/S1871/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1871/meta.ts b/packages/jsts/src/rules/S1871/meta.ts index 248e3bfd5ea..4fa39b2300b 100644 --- a/packages/jsts/src/rules/S1871/meta.ts +++ b/packages/jsts/src/rules/S1871/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1871/rule.ts b/packages/jsts/src/rules/S1871/rule.ts index cdb3772dee3..2635a0d9c38 100644 --- a/packages/jsts/src/rules/S1871/rule.ts +++ b/packages/jsts/src/rules/S1871/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1871 diff --git a/packages/jsts/src/rules/S1871/unit.test.ts b/packages/jsts/src/rules/S1871/unit.test.ts index b85d3adb451..4aaa7cd4f31 100644 --- a/packages/jsts/src/rules/S1871/unit.test.ts +++ b/packages/jsts/src/rules/S1871/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1874/cb.test.ts b/packages/jsts/src/rules/S1874/cb.test.ts index fa8dff077d9..db37f132761 100644 --- a/packages/jsts/src/rules/S1874/cb.test.ts +++ b/packages/jsts/src/rules/S1874/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S1874/generated-meta.ts b/packages/jsts/src/rules/S1874/generated-meta.ts index e95eba96a8b..d7fadd45ec2 100644 --- a/packages/jsts/src/rules/S1874/generated-meta.ts +++ b/packages/jsts/src/rules/S1874/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1874/index.ts b/packages/jsts/src/rules/S1874/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1874/index.ts +++ b/packages/jsts/src/rules/S1874/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1874/meta.ts b/packages/jsts/src/rules/S1874/meta.ts index 78f75c27964..3c4d7872a50 100644 --- a/packages/jsts/src/rules/S1874/meta.ts +++ b/packages/jsts/src/rules/S1874/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1874/rule.ts b/packages/jsts/src/rules/S1874/rule.ts index 27214e4d92e..3daf2d50891 100644 --- a/packages/jsts/src/rules/S1874/rule.ts +++ b/packages/jsts/src/rules/S1874/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1874/javascript diff --git a/packages/jsts/src/rules/S1940/generated-meta.ts b/packages/jsts/src/rules/S1940/generated-meta.ts index 8e623631131..b2fd8b5f56d 100644 --- a/packages/jsts/src/rules/S1940/generated-meta.ts +++ b/packages/jsts/src/rules/S1940/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1940/index.ts b/packages/jsts/src/rules/S1940/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1940/index.ts +++ b/packages/jsts/src/rules/S1940/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1940/meta.ts b/packages/jsts/src/rules/S1940/meta.ts index f5d1ca8e880..4bd0479d19a 100644 --- a/packages/jsts/src/rules/S1940/meta.ts +++ b/packages/jsts/src/rules/S1940/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1940/rule.ts b/packages/jsts/src/rules/S1940/rule.ts index e1f63a45caf..ceae2ac9cf8 100644 --- a/packages/jsts/src/rules/S1940/rule.ts +++ b/packages/jsts/src/rules/S1940/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1940 diff --git a/packages/jsts/src/rules/S1940/unit.test.ts b/packages/jsts/src/rules/S1940/unit.test.ts index 5812f9c4bfc..c6a8cd53a70 100644 --- a/packages/jsts/src/rules/S1940/unit.test.ts +++ b/packages/jsts/src/rules/S1940/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S1994/generated-meta.ts b/packages/jsts/src/rules/S1994/generated-meta.ts index e2405e8fbb0..6ddbb838059 100644 --- a/packages/jsts/src/rules/S1994/generated-meta.ts +++ b/packages/jsts/src/rules/S1994/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S1994/index.ts b/packages/jsts/src/rules/S1994/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S1994/index.ts +++ b/packages/jsts/src/rules/S1994/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S1994/meta.ts b/packages/jsts/src/rules/S1994/meta.ts index 0315dbf0e23..a185664f049 100644 --- a/packages/jsts/src/rules/S1994/meta.ts +++ b/packages/jsts/src/rules/S1994/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S1994/rule.ts b/packages/jsts/src/rules/S1994/rule.ts index 0598648e2e9..1182b48bde6 100644 --- a/packages/jsts/src/rules/S1994/rule.ts +++ b/packages/jsts/src/rules/S1994/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S1994/javascript diff --git a/packages/jsts/src/rules/S1994/unit.test.ts b/packages/jsts/src/rules/S1994/unit.test.ts index 5fbfb075903..4d13f64e80d 100644 --- a/packages/jsts/src/rules/S1994/unit.test.ts +++ b/packages/jsts/src/rules/S1994/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2004/cb.test.ts b/packages/jsts/src/rules/S2004/cb.test.ts index 5fab6caf5c2..0d295381255 100644 --- a/packages/jsts/src/rules/S2004/cb.test.ts +++ b/packages/jsts/src/rules/S2004/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/testers/comment-based/checker.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2004/generated-meta.ts b/packages/jsts/src/rules/S2004/generated-meta.ts index 0a4246ad695..758f2df3df4 100644 --- a/packages/jsts/src/rules/S2004/generated-meta.ts +++ b/packages/jsts/src/rules/S2004/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2004/index.ts b/packages/jsts/src/rules/S2004/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2004/index.ts +++ b/packages/jsts/src/rules/S2004/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2004/meta.ts b/packages/jsts/src/rules/S2004/meta.ts index 596fb7eb93c..83aa23611b3 100644 --- a/packages/jsts/src/rules/S2004/meta.ts +++ b/packages/jsts/src/rules/S2004/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2004/rule.ts b/packages/jsts/src/rules/S2004/rule.ts index 0a231753478..6e9e317f6dd 100644 --- a/packages/jsts/src/rules/S2004/rule.ts +++ b/packages/jsts/src/rules/S2004/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2004/javascript diff --git a/packages/jsts/src/rules/S2004/unit.test.ts b/packages/jsts/src/rules/S2004/unit.test.ts index 5c1a2452f0d..96fd2331287 100644 --- a/packages/jsts/src/rules/S2004/unit.test.ts +++ b/packages/jsts/src/rules/S2004/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2068/generated-meta.ts b/packages/jsts/src/rules/S2068/generated-meta.ts index cd99b9ffb73..e71bc529bb9 100644 --- a/packages/jsts/src/rules/S2068/generated-meta.ts +++ b/packages/jsts/src/rules/S2068/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2068/index.ts b/packages/jsts/src/rules/S2068/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2068/index.ts +++ b/packages/jsts/src/rules/S2068/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2068/meta.ts b/packages/jsts/src/rules/S2068/meta.ts index 2332f54cbe3..53f3fd6ac0d 100644 --- a/packages/jsts/src/rules/S2068/meta.ts +++ b/packages/jsts/src/rules/S2068/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2068/rule.ts b/packages/jsts/src/rules/S2068/rule.ts index e1626b3fc7f..e05d8232bbc 100644 --- a/packages/jsts/src/rules/S2068/rule.ts +++ b/packages/jsts/src/rules/S2068/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2068/javascript diff --git a/packages/jsts/src/rules/S2068/unit.test.ts b/packages/jsts/src/rules/S2068/unit.test.ts index 9668e5e4916..b4e357202bb 100644 --- a/packages/jsts/src/rules/S2068/unit.test.ts +++ b/packages/jsts/src/rules/S2068/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2077/generated-meta.ts b/packages/jsts/src/rules/S2077/generated-meta.ts index b9b8f50d98b..b8eb9db5679 100644 --- a/packages/jsts/src/rules/S2077/generated-meta.ts +++ b/packages/jsts/src/rules/S2077/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2077/index.ts b/packages/jsts/src/rules/S2077/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2077/index.ts +++ b/packages/jsts/src/rules/S2077/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2077/meta.ts b/packages/jsts/src/rules/S2077/meta.ts index 8a53db72c5c..75ee7f6d56c 100644 --- a/packages/jsts/src/rules/S2077/meta.ts +++ b/packages/jsts/src/rules/S2077/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2077/rule.ts b/packages/jsts/src/rules/S2077/rule.ts index b52a5eabf37..518b2569722 100644 --- a/packages/jsts/src/rules/S2077/rule.ts +++ b/packages/jsts/src/rules/S2077/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2077/javascript diff --git a/packages/jsts/src/rules/S2077/unit.test.ts b/packages/jsts/src/rules/S2077/unit.test.ts index bf9992d8e7b..640aa285d44 100644 --- a/packages/jsts/src/rules/S2077/unit.test.ts +++ b/packages/jsts/src/rules/S2077/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2092/generated-meta.ts b/packages/jsts/src/rules/S2092/generated-meta.ts index 84eea7a8e70..8e6559fe6ea 100644 --- a/packages/jsts/src/rules/S2092/generated-meta.ts +++ b/packages/jsts/src/rules/S2092/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2092/index.ts b/packages/jsts/src/rules/S2092/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2092/index.ts +++ b/packages/jsts/src/rules/S2092/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2092/meta.ts b/packages/jsts/src/rules/S2092/meta.ts index e8552bac963..7648b8e76a7 100644 --- a/packages/jsts/src/rules/S2092/meta.ts +++ b/packages/jsts/src/rules/S2092/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2092/rule.ts b/packages/jsts/src/rules/S2092/rule.ts index 7fd529231a4..75d87355fd4 100644 --- a/packages/jsts/src/rules/S2092/rule.ts +++ b/packages/jsts/src/rules/S2092/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2092/javascript diff --git a/packages/jsts/src/rules/S2092/unit.test.ts b/packages/jsts/src/rules/S2092/unit.test.ts index 635f18b1b38..5164e767762 100644 --- a/packages/jsts/src/rules/S2092/unit.test.ts +++ b/packages/jsts/src/rules/S2092/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S2094/generated-meta.ts b/packages/jsts/src/rules/S2094/generated-meta.ts index 949e9737bc0..4edce2dc04e 100644 --- a/packages/jsts/src/rules/S2094/generated-meta.ts +++ b/packages/jsts/src/rules/S2094/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2094/index.ts b/packages/jsts/src/rules/S2094/index.ts index ffb3195f6ea..cd05c0d8b43 100644 --- a/packages/jsts/src/rules/S2094/index.ts +++ b/packages/jsts/src/rules/S2094/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-extraneous-class']; diff --git a/packages/jsts/src/rules/S2094/meta.ts b/packages/jsts/src/rules/S2094/meta.ts index ca5165a98ad..8331edef813 100644 --- a/packages/jsts/src/rules/S2094/meta.ts +++ b/packages/jsts/src/rules/S2094/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S2123/generated-meta.ts b/packages/jsts/src/rules/S2123/generated-meta.ts index a068945076b..5ac45b8bb23 100644 --- a/packages/jsts/src/rules/S2123/generated-meta.ts +++ b/packages/jsts/src/rules/S2123/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2123/index.ts b/packages/jsts/src/rules/S2123/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2123/index.ts +++ b/packages/jsts/src/rules/S2123/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2123/meta.ts b/packages/jsts/src/rules/S2123/meta.ts index 8f481a5d01b..cdf00caea15 100644 --- a/packages/jsts/src/rules/S2123/meta.ts +++ b/packages/jsts/src/rules/S2123/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2123/rule.ts b/packages/jsts/src/rules/S2123/rule.ts index 1b2aa553b78..549e54326a5 100644 --- a/packages/jsts/src/rules/S2123/rule.ts +++ b/packages/jsts/src/rules/S2123/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2123/javascript diff --git a/packages/jsts/src/rules/S2123/unit.test.ts b/packages/jsts/src/rules/S2123/unit.test.ts index 7f716495485..6756ae0bbfd 100644 --- a/packages/jsts/src/rules/S2123/unit.test.ts +++ b/packages/jsts/src/rules/S2123/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2137/generated-meta.ts b/packages/jsts/src/rules/S2137/generated-meta.ts index a0f7ea4de04..b416f216884 100644 --- a/packages/jsts/src/rules/S2137/generated-meta.ts +++ b/packages/jsts/src/rules/S2137/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2137/index.ts b/packages/jsts/src/rules/S2137/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2137/index.ts +++ b/packages/jsts/src/rules/S2137/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2137/meta.ts b/packages/jsts/src/rules/S2137/meta.ts index 1ac84a1b482..dc3447474d2 100644 --- a/packages/jsts/src/rules/S2137/meta.ts +++ b/packages/jsts/src/rules/S2137/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2137/rule.ts b/packages/jsts/src/rules/S2137/rule.ts index 8f117e6063a..1659bc10259 100644 --- a/packages/jsts/src/rules/S2137/rule.ts +++ b/packages/jsts/src/rules/S2137/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2137/javascript diff --git a/packages/jsts/src/rules/S2137/unit.test.ts b/packages/jsts/src/rules/S2137/unit.test.ts index 92e177e0f4e..88ea1904da4 100644 --- a/packages/jsts/src/rules/S2137/unit.test.ts +++ b/packages/jsts/src/rules/S2137/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { BabelRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S2138/generated-meta.ts b/packages/jsts/src/rules/S2138/generated-meta.ts index 0bdd8476c83..a7314cfdb9f 100644 --- a/packages/jsts/src/rules/S2138/generated-meta.ts +++ b/packages/jsts/src/rules/S2138/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2138/index.ts b/packages/jsts/src/rules/S2138/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2138/index.ts +++ b/packages/jsts/src/rules/S2138/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2138/meta.ts b/packages/jsts/src/rules/S2138/meta.ts index 92bb8a6f5e2..e1d110b3bd3 100644 --- a/packages/jsts/src/rules/S2138/meta.ts +++ b/packages/jsts/src/rules/S2138/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2138/rule.ts b/packages/jsts/src/rules/S2138/rule.ts index 74302238e89..a0c51bca6b1 100644 --- a/packages/jsts/src/rules/S2138/rule.ts +++ b/packages/jsts/src/rules/S2138/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2138/javascript diff --git a/packages/jsts/src/rules/S2138/unit.test.ts b/packages/jsts/src/rules/S2138/unit.test.ts index 8cb39368792..9ec83fc4dc3 100644 --- a/packages/jsts/src/rules/S2138/unit.test.ts +++ b/packages/jsts/src/rules/S2138/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S2187/generated-meta.ts b/packages/jsts/src/rules/S2187/generated-meta.ts index 1c7f9cc63fc..0412684bfc5 100644 --- a/packages/jsts/src/rules/S2187/generated-meta.ts +++ b/packages/jsts/src/rules/S2187/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2187/index.ts b/packages/jsts/src/rules/S2187/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2187/index.ts +++ b/packages/jsts/src/rules/S2187/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2187/meta.ts b/packages/jsts/src/rules/S2187/meta.ts index d6c5fc28260..cfa393f37a3 100644 --- a/packages/jsts/src/rules/S2187/meta.ts +++ b/packages/jsts/src/rules/S2187/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2187/rule.ts b/packages/jsts/src/rules/S2187/rule.ts index 9b2eb9c3e9b..7058041172d 100644 --- a/packages/jsts/src/rules/S2187/rule.ts +++ b/packages/jsts/src/rules/S2187/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2187/javascript diff --git a/packages/jsts/src/rules/S2187/unit.test.ts b/packages/jsts/src/rules/S2187/unit.test.ts index 042d5e94790..d86a962a82c 100644 --- a/packages/jsts/src/rules/S2187/unit.test.ts +++ b/packages/jsts/src/rules/S2187/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2189/generated-meta.ts b/packages/jsts/src/rules/S2189/generated-meta.ts index 357fe653819..1dbc8bbebde 100644 --- a/packages/jsts/src/rules/S2189/generated-meta.ts +++ b/packages/jsts/src/rules/S2189/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2189/index.ts b/packages/jsts/src/rules/S2189/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2189/index.ts +++ b/packages/jsts/src/rules/S2189/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2189/meta.ts b/packages/jsts/src/rules/S2189/meta.ts index b8355829587..c5f27658954 100644 --- a/packages/jsts/src/rules/S2189/meta.ts +++ b/packages/jsts/src/rules/S2189/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S2189/rule.ts b/packages/jsts/src/rules/S2189/rule.ts index d0a318d6cab..cd5e6f1a1e7 100644 --- a/packages/jsts/src/rules/S2189/rule.ts +++ b/packages/jsts/src/rules/S2189/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2189/javascript diff --git a/packages/jsts/src/rules/S2189/unit.test.ts b/packages/jsts/src/rules/S2189/unit.test.ts index 4c516aa57dc..e3664e2181d 100644 --- a/packages/jsts/src/rules/S2189/unit.test.ts +++ b/packages/jsts/src/rules/S2189/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2201/generated-meta.ts b/packages/jsts/src/rules/S2201/generated-meta.ts index 75366df1fe0..3d41f9bd113 100644 --- a/packages/jsts/src/rules/S2201/generated-meta.ts +++ b/packages/jsts/src/rules/S2201/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2201/index.ts b/packages/jsts/src/rules/S2201/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2201/index.ts +++ b/packages/jsts/src/rules/S2201/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2201/meta.ts b/packages/jsts/src/rules/S2201/meta.ts index 87b4e61a0e8..704e9f013f1 100644 --- a/packages/jsts/src/rules/S2201/meta.ts +++ b/packages/jsts/src/rules/S2201/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2201/rule.ts b/packages/jsts/src/rules/S2201/rule.ts index 2e27f5adfa8..3c2efb598af 100644 --- a/packages/jsts/src/rules/S2201/rule.ts +++ b/packages/jsts/src/rules/S2201/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2201 diff --git a/packages/jsts/src/rules/S2201/unit.test.ts b/packages/jsts/src/rules/S2201/unit.test.ts index 8fb1136cf83..0bb39e896e9 100644 --- a/packages/jsts/src/rules/S2201/unit.test.ts +++ b/packages/jsts/src/rules/S2201/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S2208/generated-meta.ts b/packages/jsts/src/rules/S2208/generated-meta.ts index b5666c29214..c75cf9954fe 100644 --- a/packages/jsts/src/rules/S2208/generated-meta.ts +++ b/packages/jsts/src/rules/S2208/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2208/index.ts b/packages/jsts/src/rules/S2208/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2208/index.ts +++ b/packages/jsts/src/rules/S2208/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2208/meta.ts b/packages/jsts/src/rules/S2208/meta.ts index 73509b17043..6ff23db093a 100644 --- a/packages/jsts/src/rules/S2208/meta.ts +++ b/packages/jsts/src/rules/S2208/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2208/rule.ts b/packages/jsts/src/rules/S2208/rule.ts index 6cc603d4088..27818cd964b 100644 --- a/packages/jsts/src/rules/S2208/rule.ts +++ b/packages/jsts/src/rules/S2208/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2208/javascript diff --git a/packages/jsts/src/rules/S2208/unit.test.ts b/packages/jsts/src/rules/S2208/unit.test.ts index 4e2b7452cb7..d48fa603aa2 100644 --- a/packages/jsts/src/rules/S2208/unit.test.ts +++ b/packages/jsts/src/rules/S2208/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2234/generated-meta.ts b/packages/jsts/src/rules/S2234/generated-meta.ts index e7cfacff05c..bbed013d53c 100644 --- a/packages/jsts/src/rules/S2234/generated-meta.ts +++ b/packages/jsts/src/rules/S2234/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2234/index.ts b/packages/jsts/src/rules/S2234/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2234/index.ts +++ b/packages/jsts/src/rules/S2234/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2234/meta.ts b/packages/jsts/src/rules/S2234/meta.ts index cf6f478858a..0fd71b0bf6a 100644 --- a/packages/jsts/src/rules/S2234/meta.ts +++ b/packages/jsts/src/rules/S2234/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2234/rule.ts b/packages/jsts/src/rules/S2234/rule.ts index e709f00a8f4..b54bc27cbf6 100644 --- a/packages/jsts/src/rules/S2234/rule.ts +++ b/packages/jsts/src/rules/S2234/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2234/javascript diff --git a/packages/jsts/src/rules/S2234/unit.test.ts b/packages/jsts/src/rules/S2234/unit.test.ts index 74fee753cc5..4578e67c1be 100644 --- a/packages/jsts/src/rules/S2234/unit.test.ts +++ b/packages/jsts/src/rules/S2234/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S2245/generated-meta.ts b/packages/jsts/src/rules/S2245/generated-meta.ts index 8013c689da1..e585104de0c 100644 --- a/packages/jsts/src/rules/S2245/generated-meta.ts +++ b/packages/jsts/src/rules/S2245/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2245/index.ts b/packages/jsts/src/rules/S2245/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2245/index.ts +++ b/packages/jsts/src/rules/S2245/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2245/meta.ts b/packages/jsts/src/rules/S2245/meta.ts index b65b35f0c54..452d348aed6 100644 --- a/packages/jsts/src/rules/S2245/meta.ts +++ b/packages/jsts/src/rules/S2245/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2245/rule.ts b/packages/jsts/src/rules/S2245/rule.ts index 893033e675e..3564a2b8851 100644 --- a/packages/jsts/src/rules/S2245/rule.ts +++ b/packages/jsts/src/rules/S2245/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2245/javascript diff --git a/packages/jsts/src/rules/S2245/unit.test.ts b/packages/jsts/src/rules/S2245/unit.test.ts index eb2f86b5f38..8888922066f 100644 --- a/packages/jsts/src/rules/S2245/unit.test.ts +++ b/packages/jsts/src/rules/S2245/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2251/generated-meta.ts b/packages/jsts/src/rules/S2251/generated-meta.ts index f4148e2430b..e3b42d89fdd 100644 --- a/packages/jsts/src/rules/S2251/generated-meta.ts +++ b/packages/jsts/src/rules/S2251/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2251/index.ts b/packages/jsts/src/rules/S2251/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2251/index.ts +++ b/packages/jsts/src/rules/S2251/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2251/meta.ts b/packages/jsts/src/rules/S2251/meta.ts index 2cccc23fc9e..0dfe560a6c3 100644 --- a/packages/jsts/src/rules/S2251/meta.ts +++ b/packages/jsts/src/rules/S2251/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2251/rule.ts b/packages/jsts/src/rules/S2251/rule.ts index 990ac7ba5ca..391ae44f992 100644 --- a/packages/jsts/src/rules/S2251/rule.ts +++ b/packages/jsts/src/rules/S2251/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2251/javascript diff --git a/packages/jsts/src/rules/S2251/unit.test.ts b/packages/jsts/src/rules/S2251/unit.test.ts index c249d508798..3144165481d 100644 --- a/packages/jsts/src/rules/S2251/unit.test.ts +++ b/packages/jsts/src/rules/S2251/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S2255/generated-meta.ts b/packages/jsts/src/rules/S2255/generated-meta.ts index b1fe9412802..6e97af9b597 100644 --- a/packages/jsts/src/rules/S2255/generated-meta.ts +++ b/packages/jsts/src/rules/S2255/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2255/index.ts b/packages/jsts/src/rules/S2255/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2255/index.ts +++ b/packages/jsts/src/rules/S2255/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2255/meta.ts b/packages/jsts/src/rules/S2255/meta.ts index 64ebcf6ca0f..06a52233b0a 100644 --- a/packages/jsts/src/rules/S2255/meta.ts +++ b/packages/jsts/src/rules/S2255/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2255/rule.ts b/packages/jsts/src/rules/S2255/rule.ts index 24cc806bf26..3b39beeba50 100644 --- a/packages/jsts/src/rules/S2255/rule.ts +++ b/packages/jsts/src/rules/S2255/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2255/javascript diff --git a/packages/jsts/src/rules/S2255/unit.test.ts b/packages/jsts/src/rules/S2255/unit.test.ts index a28c90a329e..d51f10f0b49 100644 --- a/packages/jsts/src/rules/S2255/unit.test.ts +++ b/packages/jsts/src/rules/S2255/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2259/generated-meta.ts b/packages/jsts/src/rules/S2259/generated-meta.ts index 2dbf5c42513..a5856296a2d 100644 --- a/packages/jsts/src/rules/S2259/generated-meta.ts +++ b/packages/jsts/src/rules/S2259/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2259/index.ts b/packages/jsts/src/rules/S2259/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2259/index.ts +++ b/packages/jsts/src/rules/S2259/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2259/meta.ts b/packages/jsts/src/rules/S2259/meta.ts index c92be2b5cf4..52a4a3475f5 100644 --- a/packages/jsts/src/rules/S2259/meta.ts +++ b/packages/jsts/src/rules/S2259/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2259/rule.ts b/packages/jsts/src/rules/S2259/rule.ts index d0341143fb3..5e047d48f30 100644 --- a/packages/jsts/src/rules/S2259/rule.ts +++ b/packages/jsts/src/rules/S2259/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2259/javascript diff --git a/packages/jsts/src/rules/S2259/unit.test.ts b/packages/jsts/src/rules/S2259/unit.test.ts index 2710ec25689..cd5f0b2270a 100644 --- a/packages/jsts/src/rules/S2259/unit.test.ts +++ b/packages/jsts/src/rules/S2259/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S2301/generated-meta.ts b/packages/jsts/src/rules/S2301/generated-meta.ts index a9cef0deb82..57999846ad3 100644 --- a/packages/jsts/src/rules/S2301/generated-meta.ts +++ b/packages/jsts/src/rules/S2301/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2301/index.ts b/packages/jsts/src/rules/S2301/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2301/index.ts +++ b/packages/jsts/src/rules/S2301/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2301/meta.ts b/packages/jsts/src/rules/S2301/meta.ts index 0ef2c2e99af..fa5b7d9f65d 100644 --- a/packages/jsts/src/rules/S2301/meta.ts +++ b/packages/jsts/src/rules/S2301/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2301/rule.ts b/packages/jsts/src/rules/S2301/rule.ts index c01765ed0b5..31b56b93ad2 100644 --- a/packages/jsts/src/rules/S2301/rule.ts +++ b/packages/jsts/src/rules/S2301/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2301/javascript diff --git a/packages/jsts/src/rules/S2301/unit.test.ts b/packages/jsts/src/rules/S2301/unit.test.ts index 2c96ca8800f..c5aaddbf8cb 100644 --- a/packages/jsts/src/rules/S2301/unit.test.ts +++ b/packages/jsts/src/rules/S2301/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule as S2301 } from './index.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S2310/generated-meta.ts b/packages/jsts/src/rules/S2310/generated-meta.ts index 1177bc855b2..8fd3bdf459c 100644 --- a/packages/jsts/src/rules/S2310/generated-meta.ts +++ b/packages/jsts/src/rules/S2310/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2310/index.ts b/packages/jsts/src/rules/S2310/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2310/index.ts +++ b/packages/jsts/src/rules/S2310/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2310/meta.ts b/packages/jsts/src/rules/S2310/meta.ts index 2e6bb7c23de..822917c6568 100644 --- a/packages/jsts/src/rules/S2310/meta.ts +++ b/packages/jsts/src/rules/S2310/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2310/rule.ts b/packages/jsts/src/rules/S2310/rule.ts index 679556a7ebe..37dadc3246e 100644 --- a/packages/jsts/src/rules/S2310/rule.ts +++ b/packages/jsts/src/rules/S2310/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2310/javascript diff --git a/packages/jsts/src/rules/S2310/unit.test.ts b/packages/jsts/src/rules/S2310/unit.test.ts index dfb18d2a9f4..a4bb6bd6668 100644 --- a/packages/jsts/src/rules/S2310/unit.test.ts +++ b/packages/jsts/src/rules/S2310/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2376/decorator.ts b/packages/jsts/src/rules/S2376/decorator.ts index 5db211fd8df..8b6b11dd2ab 100644 --- a/packages/jsts/src/rules/S2376/decorator.ts +++ b/packages/jsts/src/rules/S2376/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import type { TSESTree } from '@typescript-eslint/utils'; diff --git a/packages/jsts/src/rules/S2376/generated-meta.ts b/packages/jsts/src/rules/S2376/generated-meta.ts index b8e275c904e..9faf1395b21 100644 --- a/packages/jsts/src/rules/S2376/generated-meta.ts +++ b/packages/jsts/src/rules/S2376/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2376/index.ts b/packages/jsts/src/rules/S2376/index.ts index a2206143311..a66c686b6ae 100644 --- a/packages/jsts/src/rules/S2376/index.ts +++ b/packages/jsts/src/rules/S2376/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S2376/meta.ts b/packages/jsts/src/rules/S2376/meta.ts index 06ee7698acb..23953c99190 100644 --- a/packages/jsts/src/rules/S2376/meta.ts +++ b/packages/jsts/src/rules/S2376/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S2376/unit.test.ts b/packages/jsts/src/rules/S2376/unit.test.ts index 12db569e719..d138dad6620 100644 --- a/packages/jsts/src/rules/S2376/unit.test.ts +++ b/packages/jsts/src/rules/S2376/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2392/generated-meta.ts b/packages/jsts/src/rules/S2392/generated-meta.ts index cc5fb3b2c62..1e12700fd49 100644 --- a/packages/jsts/src/rules/S2392/generated-meta.ts +++ b/packages/jsts/src/rules/S2392/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2392/index.ts b/packages/jsts/src/rules/S2392/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2392/index.ts +++ b/packages/jsts/src/rules/S2392/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2392/meta.ts b/packages/jsts/src/rules/S2392/meta.ts index cb6b96c3e09..3ce21ae449a 100644 --- a/packages/jsts/src/rules/S2392/meta.ts +++ b/packages/jsts/src/rules/S2392/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2392/rule.ts b/packages/jsts/src/rules/S2392/rule.ts index b417376754e..352a2910447 100644 --- a/packages/jsts/src/rules/S2392/rule.ts +++ b/packages/jsts/src/rules/S2392/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2392/javascript diff --git a/packages/jsts/src/rules/S2392/unit.test.ts b/packages/jsts/src/rules/S2392/unit.test.ts index 3341d00bd4f..905db1c33de 100644 --- a/packages/jsts/src/rules/S2392/unit.test.ts +++ b/packages/jsts/src/rules/S2392/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2424/generated-meta.ts b/packages/jsts/src/rules/S2424/generated-meta.ts index 2b757b27474..fcfa79699dd 100644 --- a/packages/jsts/src/rules/S2424/generated-meta.ts +++ b/packages/jsts/src/rules/S2424/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2424/index.ts b/packages/jsts/src/rules/S2424/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2424/index.ts +++ b/packages/jsts/src/rules/S2424/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2424/meta.ts b/packages/jsts/src/rules/S2424/meta.ts index 19144bfedba..477eb1ac942 100644 --- a/packages/jsts/src/rules/S2424/meta.ts +++ b/packages/jsts/src/rules/S2424/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2424/rule.ts b/packages/jsts/src/rules/S2424/rule.ts index 90a935ae3eb..ce62ff49241 100644 --- a/packages/jsts/src/rules/S2424/rule.ts +++ b/packages/jsts/src/rules/S2424/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2424/javascript diff --git a/packages/jsts/src/rules/S2424/unit.test.ts b/packages/jsts/src/rules/S2424/unit.test.ts index 0381ee6cf7c..73ca1606aba 100644 --- a/packages/jsts/src/rules/S2424/unit.test.ts +++ b/packages/jsts/src/rules/S2424/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S2427/generated-meta.ts b/packages/jsts/src/rules/S2427/generated-meta.ts index 8f7ac720ce3..431257cbb0d 100644 --- a/packages/jsts/src/rules/S2427/generated-meta.ts +++ b/packages/jsts/src/rules/S2427/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2427/index.ts b/packages/jsts/src/rules/S2427/index.ts index 17c44456bbf..6339dbd6bf3 100644 --- a/packages/jsts/src/rules/S2427/index.ts +++ b/packages/jsts/src/rules/S2427/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('radix'); diff --git a/packages/jsts/src/rules/S2427/meta.ts b/packages/jsts/src/rules/S2427/meta.ts index f27bc2e1e64..bd91f7d8126 100644 --- a/packages/jsts/src/rules/S2427/meta.ts +++ b/packages/jsts/src/rules/S2427/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S2428/generated-meta.ts b/packages/jsts/src/rules/S2428/generated-meta.ts index 19c02264c30..f92f9145c42 100644 --- a/packages/jsts/src/rules/S2428/generated-meta.ts +++ b/packages/jsts/src/rules/S2428/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2428/index.ts b/packages/jsts/src/rules/S2428/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2428/index.ts +++ b/packages/jsts/src/rules/S2428/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2428/meta.ts b/packages/jsts/src/rules/S2428/meta.ts index 1009ca1af19..a9cdad3e418 100644 --- a/packages/jsts/src/rules/S2428/meta.ts +++ b/packages/jsts/src/rules/S2428/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2428/rule.ts b/packages/jsts/src/rules/S2428/rule.ts index 901263eca64..2a0736cc02d 100644 --- a/packages/jsts/src/rules/S2428/rule.ts +++ b/packages/jsts/src/rules/S2428/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2428 diff --git a/packages/jsts/src/rules/S2428/unit.test.ts b/packages/jsts/src/rules/S2428/unit.test.ts index a5eacedbcb3..beb85451262 100644 --- a/packages/jsts/src/rules/S2428/unit.test.ts +++ b/packages/jsts/src/rules/S2428/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S2430/decorator.ts b/packages/jsts/src/rules/S2430/decorator.ts index 05c8e6b3968..cc4cdac13e9 100644 --- a/packages/jsts/src/rules/S2430/decorator.ts +++ b/packages/jsts/src/rules/S2430/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2430/javascript diff --git a/packages/jsts/src/rules/S2430/generated-meta.ts b/packages/jsts/src/rules/S2430/generated-meta.ts index f75f9935019..15f4808ffc4 100644 --- a/packages/jsts/src/rules/S2430/generated-meta.ts +++ b/packages/jsts/src/rules/S2430/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2430/index.ts b/packages/jsts/src/rules/S2430/index.ts index d9a1c9789f8..a72b2dd46d0 100644 --- a/packages/jsts/src/rules/S2430/index.ts +++ b/packages/jsts/src/rules/S2430/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S2430/meta.ts b/packages/jsts/src/rules/S2430/meta.ts index 3a8dd1d886e..a00119203a5 100644 --- a/packages/jsts/src/rules/S2430/meta.ts +++ b/packages/jsts/src/rules/S2430/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S2430/unit.test.ts b/packages/jsts/src/rules/S2430/unit.test.ts index 787201d6715..86fe49041bb 100644 --- a/packages/jsts/src/rules/S2430/unit.test.ts +++ b/packages/jsts/src/rules/S2430/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2432/generated-meta.ts b/packages/jsts/src/rules/S2432/generated-meta.ts index f710e02d12e..c076f7ba877 100644 --- a/packages/jsts/src/rules/S2432/generated-meta.ts +++ b/packages/jsts/src/rules/S2432/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2432/index.ts b/packages/jsts/src/rules/S2432/index.ts index 091cef11a95..1339b28b023 100644 --- a/packages/jsts/src/rules/S2432/index.ts +++ b/packages/jsts/src/rules/S2432/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-setter-return'); diff --git a/packages/jsts/src/rules/S2432/meta.ts b/packages/jsts/src/rules/S2432/meta.ts index ef961f42b79..570708b3a10 100644 --- a/packages/jsts/src/rules/S2432/meta.ts +++ b/packages/jsts/src/rules/S2432/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S2486/cb.test.ts b/packages/jsts/src/rules/S2486/cb.test.ts index 2390c72b8f4..a5e483988a3 100644 --- a/packages/jsts/src/rules/S2486/cb.test.ts +++ b/packages/jsts/src/rules/S2486/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2486/generated-meta.ts b/packages/jsts/src/rules/S2486/generated-meta.ts index 52532b82a5d..94f69814331 100644 --- a/packages/jsts/src/rules/S2486/generated-meta.ts +++ b/packages/jsts/src/rules/S2486/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2486/index.ts b/packages/jsts/src/rules/S2486/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2486/index.ts +++ b/packages/jsts/src/rules/S2486/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2486/meta.ts b/packages/jsts/src/rules/S2486/meta.ts index b72dcbc8647..ea28f16041a 100644 --- a/packages/jsts/src/rules/S2486/meta.ts +++ b/packages/jsts/src/rules/S2486/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2486/rule.ts b/packages/jsts/src/rules/S2486/rule.ts index ab61082a87d..ce38fd46313 100644 --- a/packages/jsts/src/rules/S2486/rule.ts +++ b/packages/jsts/src/rules/S2486/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2486/javascript diff --git a/packages/jsts/src/rules/S2589/generated-meta.ts b/packages/jsts/src/rules/S2589/generated-meta.ts index eae1bf2ed77..331a2ee83e5 100644 --- a/packages/jsts/src/rules/S2589/generated-meta.ts +++ b/packages/jsts/src/rules/S2589/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2589/index.ts b/packages/jsts/src/rules/S2589/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2589/index.ts +++ b/packages/jsts/src/rules/S2589/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2589/meta.ts b/packages/jsts/src/rules/S2589/meta.ts index 2dcc7858b0a..72332e46bbb 100644 --- a/packages/jsts/src/rules/S2589/meta.ts +++ b/packages/jsts/src/rules/S2589/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2589/rule.ts b/packages/jsts/src/rules/S2589/rule.ts index d71100b3f6c..2921639069e 100644 --- a/packages/jsts/src/rules/S2589/rule.ts +++ b/packages/jsts/src/rules/S2589/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2589 diff --git a/packages/jsts/src/rules/S2589/unit.test.ts b/packages/jsts/src/rules/S2589/unit.test.ts index 4bac750c393..d26368aa5fc 100644 --- a/packages/jsts/src/rules/S2589/unit.test.ts +++ b/packages/jsts/src/rules/S2589/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S2598/generated-meta.ts b/packages/jsts/src/rules/S2598/generated-meta.ts index 6794a083497..8a1231b0540 100644 --- a/packages/jsts/src/rules/S2598/generated-meta.ts +++ b/packages/jsts/src/rules/S2598/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2598/index.ts b/packages/jsts/src/rules/S2598/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2598/index.ts +++ b/packages/jsts/src/rules/S2598/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2598/meta.ts b/packages/jsts/src/rules/S2598/meta.ts index e4495378c90..93d8efe2c83 100644 --- a/packages/jsts/src/rules/S2598/meta.ts +++ b/packages/jsts/src/rules/S2598/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2598/rule.ts b/packages/jsts/src/rules/S2598/rule.ts index 00f41a3757d..90d3f7ce4bf 100644 --- a/packages/jsts/src/rules/S2598/rule.ts +++ b/packages/jsts/src/rules/S2598/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2598/javascript diff --git a/packages/jsts/src/rules/S2598/unit.test.ts b/packages/jsts/src/rules/S2598/unit.test.ts index 403889bdc34..6040bf77f94 100644 --- a/packages/jsts/src/rules/S2598/unit.test.ts +++ b/packages/jsts/src/rules/S2598/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2612/generated-meta.ts b/packages/jsts/src/rules/S2612/generated-meta.ts index f868fdea8d5..cbc7c47ccfc 100644 --- a/packages/jsts/src/rules/S2612/generated-meta.ts +++ b/packages/jsts/src/rules/S2612/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2612/index.ts b/packages/jsts/src/rules/S2612/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2612/index.ts +++ b/packages/jsts/src/rules/S2612/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2612/meta.ts b/packages/jsts/src/rules/S2612/meta.ts index 01138d96223..f6bcbf4c1a6 100644 --- a/packages/jsts/src/rules/S2612/meta.ts +++ b/packages/jsts/src/rules/S2612/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2612/rule.ts b/packages/jsts/src/rules/S2612/rule.ts index 713497f6e3f..eae446e2542 100644 --- a/packages/jsts/src/rules/S2612/rule.ts +++ b/packages/jsts/src/rules/S2612/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2612/javascript diff --git a/packages/jsts/src/rules/S2612/unit.test.ts b/packages/jsts/src/rules/S2612/unit.test.ts index a34c4bd87b5..eb054824e7a 100644 --- a/packages/jsts/src/rules/S2612/unit.test.ts +++ b/packages/jsts/src/rules/S2612/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S2639/cb.test.ts b/packages/jsts/src/rules/S2639/cb.test.ts index c1dd15a3a5f..c0241beea8c 100644 --- a/packages/jsts/src/rules/S2639/cb.test.ts +++ b/packages/jsts/src/rules/S2639/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2639/generated-meta.ts b/packages/jsts/src/rules/S2639/generated-meta.ts index a6a895bbb7c..7ba15f1f870 100644 --- a/packages/jsts/src/rules/S2639/generated-meta.ts +++ b/packages/jsts/src/rules/S2639/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2639/index.ts b/packages/jsts/src/rules/S2639/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2639/index.ts +++ b/packages/jsts/src/rules/S2639/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2639/meta.ts b/packages/jsts/src/rules/S2639/meta.ts index 3b593720262..850ddfded3c 100644 --- a/packages/jsts/src/rules/S2639/meta.ts +++ b/packages/jsts/src/rules/S2639/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2639/rule.ts b/packages/jsts/src/rules/S2639/rule.ts index d0e677f5241..f64ce651c5e 100644 --- a/packages/jsts/src/rules/S2639/rule.ts +++ b/packages/jsts/src/rules/S2639/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2639/javascript diff --git a/packages/jsts/src/rules/S2681/generated-meta.ts b/packages/jsts/src/rules/S2681/generated-meta.ts index db4bae9ab2a..f4a98fac679 100644 --- a/packages/jsts/src/rules/S2681/generated-meta.ts +++ b/packages/jsts/src/rules/S2681/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2681/index.ts b/packages/jsts/src/rules/S2681/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2681/index.ts +++ b/packages/jsts/src/rules/S2681/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2681/meta.ts b/packages/jsts/src/rules/S2681/meta.ts index f0fc971fae0..4c22d101c52 100644 --- a/packages/jsts/src/rules/S2681/meta.ts +++ b/packages/jsts/src/rules/S2681/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2681/rule.ts b/packages/jsts/src/rules/S2681/rule.ts index c5e81d59815..018c0b6b6ce 100644 --- a/packages/jsts/src/rules/S2681/rule.ts +++ b/packages/jsts/src/rules/S2681/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2681/javascript diff --git a/packages/jsts/src/rules/S2681/unit.test.ts b/packages/jsts/src/rules/S2681/unit.test.ts index 59f33babffa..124864b0671 100644 --- a/packages/jsts/src/rules/S2681/unit.test.ts +++ b/packages/jsts/src/rules/S2681/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S2685/generated-meta.ts b/packages/jsts/src/rules/S2685/generated-meta.ts index ce4442833c9..7cfebe74d64 100644 --- a/packages/jsts/src/rules/S2685/generated-meta.ts +++ b/packages/jsts/src/rules/S2685/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2685/index.ts b/packages/jsts/src/rules/S2685/index.ts index b49762378a0..a1a33d87bbb 100644 --- a/packages/jsts/src/rules/S2685/index.ts +++ b/packages/jsts/src/rules/S2685/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-caller'); diff --git a/packages/jsts/src/rules/S2685/meta.ts b/packages/jsts/src/rules/S2685/meta.ts index e71b251f83c..b3dd72c8d4f 100644 --- a/packages/jsts/src/rules/S2685/meta.ts +++ b/packages/jsts/src/rules/S2685/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S2688/cb.test.ts b/packages/jsts/src/rules/S2688/cb.test.ts index 753ecaec20f..27300f262e8 100644 --- a/packages/jsts/src/rules/S2688/cb.test.ts +++ b/packages/jsts/src/rules/S2688/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2688/decorator.ts b/packages/jsts/src/rules/S2688/decorator.ts index ba2b511af59..65b9a1c4c1d 100644 --- a/packages/jsts/src/rules/S2688/decorator.ts +++ b/packages/jsts/src/rules/S2688/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2688/javascript diff --git a/packages/jsts/src/rules/S2688/generated-meta.ts b/packages/jsts/src/rules/S2688/generated-meta.ts index 060abf68961..352f4d28d75 100644 --- a/packages/jsts/src/rules/S2688/generated-meta.ts +++ b/packages/jsts/src/rules/S2688/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2688/index.ts b/packages/jsts/src/rules/S2688/index.ts index 6dc86c9e470..0151715a7f0 100644 --- a/packages/jsts/src/rules/S2688/index.ts +++ b/packages/jsts/src/rules/S2688/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S2688/meta.ts b/packages/jsts/src/rules/S2688/meta.ts index ed176144936..26f1656681b 100644 --- a/packages/jsts/src/rules/S2688/meta.ts +++ b/packages/jsts/src/rules/S2688/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S2692/generated-meta.ts b/packages/jsts/src/rules/S2692/generated-meta.ts index ffa9fbde1dc..3cc015e6a26 100644 --- a/packages/jsts/src/rules/S2692/generated-meta.ts +++ b/packages/jsts/src/rules/S2692/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2692/index.ts b/packages/jsts/src/rules/S2692/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2692/index.ts +++ b/packages/jsts/src/rules/S2692/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2692/meta.ts b/packages/jsts/src/rules/S2692/meta.ts index 6d79059c39b..65d996d4940 100644 --- a/packages/jsts/src/rules/S2692/meta.ts +++ b/packages/jsts/src/rules/S2692/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2692/rule.ts b/packages/jsts/src/rules/S2692/rule.ts index e8404f1cfe7..5f2c1bccaa5 100644 --- a/packages/jsts/src/rules/S2692/rule.ts +++ b/packages/jsts/src/rules/S2692/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2692/javascript diff --git a/packages/jsts/src/rules/S2692/unit.test.ts b/packages/jsts/src/rules/S2692/unit.test.ts index f4d2674aeec..5c438a3635b 100644 --- a/packages/jsts/src/rules/S2692/unit.test.ts +++ b/packages/jsts/src/rules/S2692/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2699/cb.test.ts b/packages/jsts/src/rules/S2699/cb.test.ts index 3c83c6deba3..51b5513e928 100644 --- a/packages/jsts/src/rules/S2699/cb.test.ts +++ b/packages/jsts/src/rules/S2699/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2699/generated-meta.ts b/packages/jsts/src/rules/S2699/generated-meta.ts index c2e71341449..b47833cbc41 100644 --- a/packages/jsts/src/rules/S2699/generated-meta.ts +++ b/packages/jsts/src/rules/S2699/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2699/index.ts b/packages/jsts/src/rules/S2699/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2699/index.ts +++ b/packages/jsts/src/rules/S2699/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2699/meta.ts b/packages/jsts/src/rules/S2699/meta.ts index 721892c069f..ad5ca32e654 100644 --- a/packages/jsts/src/rules/S2699/meta.ts +++ b/packages/jsts/src/rules/S2699/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2699/rule.ts b/packages/jsts/src/rules/S2699/rule.ts index a2110595a68..e1d6b7ecde2 100644 --- a/packages/jsts/src/rules/S2699/rule.ts +++ b/packages/jsts/src/rules/S2699/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2699/javascript import { Rule, SourceCode } from 'eslint'; diff --git a/packages/jsts/src/rules/S2703/generated-meta.ts b/packages/jsts/src/rules/S2703/generated-meta.ts index d466d0f65c5..8061779a8ba 100644 --- a/packages/jsts/src/rules/S2703/generated-meta.ts +++ b/packages/jsts/src/rules/S2703/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2703/index.ts b/packages/jsts/src/rules/S2703/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2703/index.ts +++ b/packages/jsts/src/rules/S2703/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2703/meta.ts b/packages/jsts/src/rules/S2703/meta.ts index d049934ef09..931154bfc54 100644 --- a/packages/jsts/src/rules/S2703/meta.ts +++ b/packages/jsts/src/rules/S2703/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2703/rule.ts b/packages/jsts/src/rules/S2703/rule.ts index 2823f57bc7b..b5ef8d97602 100644 --- a/packages/jsts/src/rules/S2703/rule.ts +++ b/packages/jsts/src/rules/S2703/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2703/javascript diff --git a/packages/jsts/src/rules/S2703/unit.test.ts b/packages/jsts/src/rules/S2703/unit.test.ts index 6a6b25e444d..b21dfffe813 100644 --- a/packages/jsts/src/rules/S2703/unit.test.ts +++ b/packages/jsts/src/rules/S2703/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S2737/generated-meta.ts b/packages/jsts/src/rules/S2737/generated-meta.ts index 8edf6a17e09..2342524859b 100644 --- a/packages/jsts/src/rules/S2737/generated-meta.ts +++ b/packages/jsts/src/rules/S2737/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2737/index.ts b/packages/jsts/src/rules/S2737/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2737/index.ts +++ b/packages/jsts/src/rules/S2737/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2737/meta.ts b/packages/jsts/src/rules/S2737/meta.ts index 3ba5f44eac2..e2bafb50ed4 100644 --- a/packages/jsts/src/rules/S2737/meta.ts +++ b/packages/jsts/src/rules/S2737/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2737/rule.ts b/packages/jsts/src/rules/S2737/rule.ts index 8c148f59ad8..07325bf1e00 100644 --- a/packages/jsts/src/rules/S2737/rule.ts +++ b/packages/jsts/src/rules/S2737/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2737 diff --git a/packages/jsts/src/rules/S2737/unit.test.ts b/packages/jsts/src/rules/S2737/unit.test.ts index b080f9fa1d9..49da13fcbd1 100644 --- a/packages/jsts/src/rules/S2737/unit.test.ts +++ b/packages/jsts/src/rules/S2737/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S2755/generated-meta.ts b/packages/jsts/src/rules/S2755/generated-meta.ts index 63cd000d2cb..75310068dc1 100644 --- a/packages/jsts/src/rules/S2755/generated-meta.ts +++ b/packages/jsts/src/rules/S2755/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2755/index.ts b/packages/jsts/src/rules/S2755/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2755/index.ts +++ b/packages/jsts/src/rules/S2755/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2755/meta.ts b/packages/jsts/src/rules/S2755/meta.ts index b4e203ecf62..2f32655dba0 100644 --- a/packages/jsts/src/rules/S2755/meta.ts +++ b/packages/jsts/src/rules/S2755/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2755/rule.ts b/packages/jsts/src/rules/S2755/rule.ts index d6b533d355b..9f1dd39fd9d 100644 --- a/packages/jsts/src/rules/S2755/rule.ts +++ b/packages/jsts/src/rules/S2755/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2755/javascript diff --git a/packages/jsts/src/rules/S2755/unit.test.ts b/packages/jsts/src/rules/S2755/unit.test.ts index 2152770ad43..874318d5237 100644 --- a/packages/jsts/src/rules/S2755/unit.test.ts +++ b/packages/jsts/src/rules/S2755/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S2757/generated-meta.ts b/packages/jsts/src/rules/S2757/generated-meta.ts index a7847d1d55a..7ff83590837 100644 --- a/packages/jsts/src/rules/S2757/generated-meta.ts +++ b/packages/jsts/src/rules/S2757/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2757/index.ts b/packages/jsts/src/rules/S2757/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2757/index.ts +++ b/packages/jsts/src/rules/S2757/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2757/meta.ts b/packages/jsts/src/rules/S2757/meta.ts index bd28e821446..fef809d95fd 100644 --- a/packages/jsts/src/rules/S2757/meta.ts +++ b/packages/jsts/src/rules/S2757/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2757/rule.ts b/packages/jsts/src/rules/S2757/rule.ts index 99ea314e26e..9e036fdfb9a 100644 --- a/packages/jsts/src/rules/S2757/rule.ts +++ b/packages/jsts/src/rules/S2757/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2757 diff --git a/packages/jsts/src/rules/S2757/unit.test.ts b/packages/jsts/src/rules/S2757/unit.test.ts index 842c0c7684a..1e7090638b0 100644 --- a/packages/jsts/src/rules/S2757/unit.test.ts +++ b/packages/jsts/src/rules/S2757/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S2814/decorator.ts b/packages/jsts/src/rules/S2814/decorator.ts index 9124e3e0821..286c31af004 100644 --- a/packages/jsts/src/rules/S2814/decorator.ts +++ b/packages/jsts/src/rules/S2814/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/S2814/generated-meta.ts b/packages/jsts/src/rules/S2814/generated-meta.ts index 860ea174157..491cf1f083a 100644 --- a/packages/jsts/src/rules/S2814/generated-meta.ts +++ b/packages/jsts/src/rules/S2814/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2814/index.ts b/packages/jsts/src/rules/S2814/index.ts index 646c373d20b..4313ec4ca6c 100644 --- a/packages/jsts/src/rules/S2814/index.ts +++ b/packages/jsts/src/rules/S2814/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S2814/meta.ts b/packages/jsts/src/rules/S2814/meta.ts index 511c20c2839..37cc63b4d6a 100644 --- a/packages/jsts/src/rules/S2814/meta.ts +++ b/packages/jsts/src/rules/S2814/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S2814/unit.test.ts b/packages/jsts/src/rules/S2814/unit.test.ts index 0e235113650..b8d51c5693c 100644 --- a/packages/jsts/src/rules/S2814/unit.test.ts +++ b/packages/jsts/src/rules/S2814/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2817/generated-meta.ts b/packages/jsts/src/rules/S2817/generated-meta.ts index e48bc2b6948..798b6806176 100644 --- a/packages/jsts/src/rules/S2817/generated-meta.ts +++ b/packages/jsts/src/rules/S2817/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2817/index.ts b/packages/jsts/src/rules/S2817/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2817/index.ts +++ b/packages/jsts/src/rules/S2817/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2817/meta.ts b/packages/jsts/src/rules/S2817/meta.ts index 634f5c003e0..ea5c52b4c01 100644 --- a/packages/jsts/src/rules/S2817/meta.ts +++ b/packages/jsts/src/rules/S2817/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2817/rule.ts b/packages/jsts/src/rules/S2817/rule.ts index 091373ab2c0..28d9d83aabd 100644 --- a/packages/jsts/src/rules/S2817/rule.ts +++ b/packages/jsts/src/rules/S2817/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2817/javascript diff --git a/packages/jsts/src/rules/S2817/unit.test.ts b/packages/jsts/src/rules/S2817/unit.test.ts index 524c00b7890..b03db0994b0 100644 --- a/packages/jsts/src/rules/S2817/unit.test.ts +++ b/packages/jsts/src/rules/S2817/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S2819/generated-meta.ts b/packages/jsts/src/rules/S2819/generated-meta.ts index 329a5affdb6..f40afaacaa8 100644 --- a/packages/jsts/src/rules/S2819/generated-meta.ts +++ b/packages/jsts/src/rules/S2819/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2819/index.ts b/packages/jsts/src/rules/S2819/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2819/index.ts +++ b/packages/jsts/src/rules/S2819/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2819/meta.ts b/packages/jsts/src/rules/S2819/meta.ts index 3126b80c43f..9251eecdead 100644 --- a/packages/jsts/src/rules/S2819/meta.ts +++ b/packages/jsts/src/rules/S2819/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2819/rule.ts b/packages/jsts/src/rules/S2819/rule.ts index 477154d71ab..766b04cd3f9 100644 --- a/packages/jsts/src/rules/S2819/rule.ts +++ b/packages/jsts/src/rules/S2819/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2819/javascript diff --git a/packages/jsts/src/rules/S2819/unit.test.ts b/packages/jsts/src/rules/S2819/unit.test.ts index c9623ed1764..9195c15209c 100644 --- a/packages/jsts/src/rules/S2819/unit.test.ts +++ b/packages/jsts/src/rules/S2819/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S2870/cb.test.ts b/packages/jsts/src/rules/S2870/cb.test.ts index 3a3192d80ec..12798ad73d0 100644 --- a/packages/jsts/src/rules/S2870/cb.test.ts +++ b/packages/jsts/src/rules/S2870/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2870/generated-meta.ts b/packages/jsts/src/rules/S2870/generated-meta.ts index 14d5dd80247..8ceffd3acab 100644 --- a/packages/jsts/src/rules/S2870/generated-meta.ts +++ b/packages/jsts/src/rules/S2870/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2870/index.ts b/packages/jsts/src/rules/S2870/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2870/index.ts +++ b/packages/jsts/src/rules/S2870/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2870/meta.ts b/packages/jsts/src/rules/S2870/meta.ts index d8148f9a840..e4b3a1d889c 100644 --- a/packages/jsts/src/rules/S2870/meta.ts +++ b/packages/jsts/src/rules/S2870/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2870/rule.ts b/packages/jsts/src/rules/S2870/rule.ts index c4859c1ff1b..340a52665d1 100644 --- a/packages/jsts/src/rules/S2870/rule.ts +++ b/packages/jsts/src/rules/S2870/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2870/javascript diff --git a/packages/jsts/src/rules/S2871/generated-meta.ts b/packages/jsts/src/rules/S2871/generated-meta.ts index d2edaf6b2e6..7770368d903 100644 --- a/packages/jsts/src/rules/S2871/generated-meta.ts +++ b/packages/jsts/src/rules/S2871/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2871/index.ts b/packages/jsts/src/rules/S2871/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2871/index.ts +++ b/packages/jsts/src/rules/S2871/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2871/meta.ts b/packages/jsts/src/rules/S2871/meta.ts index 8fe22e73908..b1f3f120877 100644 --- a/packages/jsts/src/rules/S2871/meta.ts +++ b/packages/jsts/src/rules/S2871/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2871/rule.ts b/packages/jsts/src/rules/S2871/rule.ts index c8e62ab7e91..060df2136ca 100644 --- a/packages/jsts/src/rules/S2871/rule.ts +++ b/packages/jsts/src/rules/S2871/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2871/javascript diff --git a/packages/jsts/src/rules/S2871/unit.test.ts b/packages/jsts/src/rules/S2871/unit.test.ts index b8d489c44c4..4acaf1b332d 100644 --- a/packages/jsts/src/rules/S2871/unit.test.ts +++ b/packages/jsts/src/rules/S2871/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2933/generated-meta.ts b/packages/jsts/src/rules/S2933/generated-meta.ts index a10b62a32be..b481e8136fd 100644 --- a/packages/jsts/src/rules/S2933/generated-meta.ts +++ b/packages/jsts/src/rules/S2933/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2933/index.ts b/packages/jsts/src/rules/S2933/index.ts index cf98cbd0190..17c6fc64704 100644 --- a/packages/jsts/src/rules/S2933/index.ts +++ b/packages/jsts/src/rules/S2933/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['prefer-readonly']; diff --git a/packages/jsts/src/rules/S2933/meta.ts b/packages/jsts/src/rules/S2933/meta.ts index 4d88eeea8ec..feee9059889 100644 --- a/packages/jsts/src/rules/S2933/meta.ts +++ b/packages/jsts/src/rules/S2933/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S2966/generated-meta.ts b/packages/jsts/src/rules/S2966/generated-meta.ts index a95cfe0fe45..e29331f9820 100644 --- a/packages/jsts/src/rules/S2966/generated-meta.ts +++ b/packages/jsts/src/rules/S2966/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2966/index.ts b/packages/jsts/src/rules/S2966/index.ts index 371b96940a9..b678dc4eacb 100644 --- a/packages/jsts/src/rules/S2966/index.ts +++ b/packages/jsts/src/rules/S2966/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-non-null-assertion']; diff --git a/packages/jsts/src/rules/S2966/meta.ts b/packages/jsts/src/rules/S2966/meta.ts index 3b42ed6a510..f56ef5d344c 100644 --- a/packages/jsts/src/rules/S2966/meta.ts +++ b/packages/jsts/src/rules/S2966/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S2970/cb.test.ts b/packages/jsts/src/rules/S2970/cb.test.ts index f68050cf434..87b307efe92 100644 --- a/packages/jsts/src/rules/S2970/cb.test.ts +++ b/packages/jsts/src/rules/S2970/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S2970/generated-meta.ts b/packages/jsts/src/rules/S2970/generated-meta.ts index e06a83faa30..93d9219f508 100644 --- a/packages/jsts/src/rules/S2970/generated-meta.ts +++ b/packages/jsts/src/rules/S2970/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2970/index.ts b/packages/jsts/src/rules/S2970/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2970/index.ts +++ b/packages/jsts/src/rules/S2970/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2970/meta.ts b/packages/jsts/src/rules/S2970/meta.ts index 82c92ee7fcb..c0999e59e7c 100644 --- a/packages/jsts/src/rules/S2970/meta.ts +++ b/packages/jsts/src/rules/S2970/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2970/rule.ts b/packages/jsts/src/rules/S2970/rule.ts index 6dd282b61c3..fd85c3276e2 100644 --- a/packages/jsts/src/rules/S2970/rule.ts +++ b/packages/jsts/src/rules/S2970/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2970/javascript diff --git a/packages/jsts/src/rules/S2990/generated-meta.ts b/packages/jsts/src/rules/S2990/generated-meta.ts index 2b24f53d0d9..9cde9474d1a 100644 --- a/packages/jsts/src/rules/S2990/generated-meta.ts +++ b/packages/jsts/src/rules/S2990/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2990/index.ts b/packages/jsts/src/rules/S2990/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2990/index.ts +++ b/packages/jsts/src/rules/S2990/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2990/meta.ts b/packages/jsts/src/rules/S2990/meta.ts index d566ad6745c..22b0ee3ec56 100644 --- a/packages/jsts/src/rules/S2990/meta.ts +++ b/packages/jsts/src/rules/S2990/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2990/rule.ts b/packages/jsts/src/rules/S2990/rule.ts index 08f6d1ee7e9..2c653cbaae3 100644 --- a/packages/jsts/src/rules/S2990/rule.ts +++ b/packages/jsts/src/rules/S2990/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2990/javascript diff --git a/packages/jsts/src/rules/S2990/unit.test.ts b/packages/jsts/src/rules/S2990/unit.test.ts index 4eee4e0fd23..571fe23bcce 100644 --- a/packages/jsts/src/rules/S2990/unit.test.ts +++ b/packages/jsts/src/rules/S2990/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S2999/generated-meta.ts b/packages/jsts/src/rules/S2999/generated-meta.ts index eef6f45614e..985e7ccc9ab 100644 --- a/packages/jsts/src/rules/S2999/generated-meta.ts +++ b/packages/jsts/src/rules/S2999/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S2999/index.ts b/packages/jsts/src/rules/S2999/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S2999/index.ts +++ b/packages/jsts/src/rules/S2999/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S2999/meta.ts b/packages/jsts/src/rules/S2999/meta.ts index 5c4631ebdbc..fb362721248 100644 --- a/packages/jsts/src/rules/S2999/meta.ts +++ b/packages/jsts/src/rules/S2999/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S2999/rule.ts b/packages/jsts/src/rules/S2999/rule.ts index bcc17764cd6..065d7d75871 100644 --- a/packages/jsts/src/rules/S2999/rule.ts +++ b/packages/jsts/src/rules/S2999/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S2999/javascript diff --git a/packages/jsts/src/rules/S2999/unit.test.ts b/packages/jsts/src/rules/S2999/unit.test.ts index dfc4d14c089..2cd4fda0dfa 100644 --- a/packages/jsts/src/rules/S2999/unit.test.ts +++ b/packages/jsts/src/rules/S2999/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S3001/generated-meta.ts b/packages/jsts/src/rules/S3001/generated-meta.ts index 4e06437d3b4..eff0763b332 100644 --- a/packages/jsts/src/rules/S3001/generated-meta.ts +++ b/packages/jsts/src/rules/S3001/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3001/index.ts b/packages/jsts/src/rules/S3001/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3001/index.ts +++ b/packages/jsts/src/rules/S3001/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3001/meta.ts b/packages/jsts/src/rules/S3001/meta.ts index 33d94e811e8..9e209128c04 100644 --- a/packages/jsts/src/rules/S3001/meta.ts +++ b/packages/jsts/src/rules/S3001/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3001/rule.ts b/packages/jsts/src/rules/S3001/rule.ts index 3e4a0dcb09d..dabd6e9daab 100644 --- a/packages/jsts/src/rules/S3001/rule.ts +++ b/packages/jsts/src/rules/S3001/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3001/javascript diff --git a/packages/jsts/src/rules/S3001/unit.test.ts b/packages/jsts/src/rules/S3001/unit.test.ts index 3cc2e0f5ca2..aea5f2d7d6d 100644 --- a/packages/jsts/src/rules/S3001/unit.test.ts +++ b/packages/jsts/src/rules/S3001/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S3003/generated-meta.ts b/packages/jsts/src/rules/S3003/generated-meta.ts index b805ad95e2a..283e90fed85 100644 --- a/packages/jsts/src/rules/S3003/generated-meta.ts +++ b/packages/jsts/src/rules/S3003/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3003/index.ts b/packages/jsts/src/rules/S3003/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3003/index.ts +++ b/packages/jsts/src/rules/S3003/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3003/meta.ts b/packages/jsts/src/rules/S3003/meta.ts index 9d05e071e39..b6bf5c617ba 100644 --- a/packages/jsts/src/rules/S3003/meta.ts +++ b/packages/jsts/src/rules/S3003/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3003/rule.ts b/packages/jsts/src/rules/S3003/rule.ts index a72d2905b80..7e6b5bb8564 100644 --- a/packages/jsts/src/rules/S3003/rule.ts +++ b/packages/jsts/src/rules/S3003/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3003/javascript diff --git a/packages/jsts/src/rules/S3003/unit.test.ts b/packages/jsts/src/rules/S3003/unit.test.ts index 2b771f6c46d..694f5c406a7 100644 --- a/packages/jsts/src/rules/S3003/unit.test.ts +++ b/packages/jsts/src/rules/S3003/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S3257/generated-meta.ts b/packages/jsts/src/rules/S3257/generated-meta.ts index 1b209dd0c1c..3e4299f7ad6 100644 --- a/packages/jsts/src/rules/S3257/generated-meta.ts +++ b/packages/jsts/src/rules/S3257/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3257/index.ts b/packages/jsts/src/rules/S3257/index.ts index 118c90cbf00..dddec23ba4f 100644 --- a/packages/jsts/src/rules/S3257/index.ts +++ b/packages/jsts/src/rules/S3257/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-inferrable-types']; diff --git a/packages/jsts/src/rules/S3257/meta.ts b/packages/jsts/src/rules/S3257/meta.ts index 508abd47ec3..d9a0141ca97 100644 --- a/packages/jsts/src/rules/S3257/meta.ts +++ b/packages/jsts/src/rules/S3257/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S3317/generated-meta.ts b/packages/jsts/src/rules/S3317/generated-meta.ts index b529745e887..e0ba9e01914 100644 --- a/packages/jsts/src/rules/S3317/generated-meta.ts +++ b/packages/jsts/src/rules/S3317/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3317/index.ts b/packages/jsts/src/rules/S3317/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3317/index.ts +++ b/packages/jsts/src/rules/S3317/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3317/meta.ts b/packages/jsts/src/rules/S3317/meta.ts index f07a83ffc26..0822c85ae1f 100644 --- a/packages/jsts/src/rules/S3317/meta.ts +++ b/packages/jsts/src/rules/S3317/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3317/rule.ts b/packages/jsts/src/rules/S3317/rule.ts index a5839553087..a4e39c2321f 100644 --- a/packages/jsts/src/rules/S3317/rule.ts +++ b/packages/jsts/src/rules/S3317/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3317/javascript diff --git a/packages/jsts/src/rules/S3317/unit.test.ts b/packages/jsts/src/rules/S3317/unit.test.ts index 97104df356f..ebd0795921d 100644 --- a/packages/jsts/src/rules/S3317/unit.test.ts +++ b/packages/jsts/src/rules/S3317/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3330/generated-meta.ts b/packages/jsts/src/rules/S3330/generated-meta.ts index f74a2265fe4..3818cc0225f 100644 --- a/packages/jsts/src/rules/S3330/generated-meta.ts +++ b/packages/jsts/src/rules/S3330/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3330/index.ts b/packages/jsts/src/rules/S3330/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3330/index.ts +++ b/packages/jsts/src/rules/S3330/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3330/meta.ts b/packages/jsts/src/rules/S3330/meta.ts index 71b8a10c348..b561285a562 100644 --- a/packages/jsts/src/rules/S3330/meta.ts +++ b/packages/jsts/src/rules/S3330/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3330/rule.ts b/packages/jsts/src/rules/S3330/rule.ts index 1e6a8fd71d0..d4ae5bd92e8 100644 --- a/packages/jsts/src/rules/S3330/rule.ts +++ b/packages/jsts/src/rules/S3330/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3330/javascript diff --git a/packages/jsts/src/rules/S3330/unit.test.ts b/packages/jsts/src/rules/S3330/unit.test.ts index 99d06251754..e9b64e68e61 100644 --- a/packages/jsts/src/rules/S3330/unit.test.ts +++ b/packages/jsts/src/rules/S3330/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S3353/generated-meta.ts b/packages/jsts/src/rules/S3353/generated-meta.ts index 7f25c5e0299..1ba3f58532c 100644 --- a/packages/jsts/src/rules/S3353/generated-meta.ts +++ b/packages/jsts/src/rules/S3353/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3353/index.ts b/packages/jsts/src/rules/S3353/index.ts index 71c249ef560..f43e09a0f35 100644 --- a/packages/jsts/src/rules/S3353/index.ts +++ b/packages/jsts/src/rules/S3353/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('prefer-const'); diff --git a/packages/jsts/src/rules/S3353/meta.ts b/packages/jsts/src/rules/S3353/meta.ts index fba6b46aa78..f2b3126e3a0 100644 --- a/packages/jsts/src/rules/S3353/meta.ts +++ b/packages/jsts/src/rules/S3353/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S3358/generated-meta.ts b/packages/jsts/src/rules/S3358/generated-meta.ts index 0ef5b048294..d85b6cfdeb3 100644 --- a/packages/jsts/src/rules/S3358/generated-meta.ts +++ b/packages/jsts/src/rules/S3358/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3358/index.ts b/packages/jsts/src/rules/S3358/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3358/index.ts +++ b/packages/jsts/src/rules/S3358/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3358/meta.ts b/packages/jsts/src/rules/S3358/meta.ts index 8574cfa04d0..8619d67be8a 100644 --- a/packages/jsts/src/rules/S3358/meta.ts +++ b/packages/jsts/src/rules/S3358/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3358/rule.ts b/packages/jsts/src/rules/S3358/rule.ts index 5f76b04894b..96217ae2c66 100644 --- a/packages/jsts/src/rules/S3358/rule.ts +++ b/packages/jsts/src/rules/S3358/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3358/javascript diff --git a/packages/jsts/src/rules/S3358/unit.test.ts b/packages/jsts/src/rules/S3358/unit.test.ts index 62d0473efd3..45a3981ea29 100644 --- a/packages/jsts/src/rules/S3358/unit.test.ts +++ b/packages/jsts/src/rules/S3358/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3402/generated-meta.ts b/packages/jsts/src/rules/S3402/generated-meta.ts index e93f0283eae..d63ef620eef 100644 --- a/packages/jsts/src/rules/S3402/generated-meta.ts +++ b/packages/jsts/src/rules/S3402/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3402/index.ts b/packages/jsts/src/rules/S3402/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3402/index.ts +++ b/packages/jsts/src/rules/S3402/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3402/meta.ts b/packages/jsts/src/rules/S3402/meta.ts index f7ab6026909..d32770d1ad5 100644 --- a/packages/jsts/src/rules/S3402/meta.ts +++ b/packages/jsts/src/rules/S3402/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3402/rule.ts b/packages/jsts/src/rules/S3402/rule.ts index db510ccb511..c3383719713 100644 --- a/packages/jsts/src/rules/S3402/rule.ts +++ b/packages/jsts/src/rules/S3402/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3402/javascript diff --git a/packages/jsts/src/rules/S3402/unit.test.ts b/packages/jsts/src/rules/S3402/unit.test.ts index 384c2d9cc82..009a677b179 100644 --- a/packages/jsts/src/rules/S3402/unit.test.ts +++ b/packages/jsts/src/rules/S3402/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3403/generated-meta.ts b/packages/jsts/src/rules/S3403/generated-meta.ts index b6a38d20b10..939b1dbbbc7 100644 --- a/packages/jsts/src/rules/S3403/generated-meta.ts +++ b/packages/jsts/src/rules/S3403/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3403/index.ts b/packages/jsts/src/rules/S3403/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3403/index.ts +++ b/packages/jsts/src/rules/S3403/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3403/meta.ts b/packages/jsts/src/rules/S3403/meta.ts index 8806fcc7381..d141821cdeb 100644 --- a/packages/jsts/src/rules/S3403/meta.ts +++ b/packages/jsts/src/rules/S3403/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3403/rule.ts b/packages/jsts/src/rules/S3403/rule.ts index 10be95d925d..949beb7dc6a 100644 --- a/packages/jsts/src/rules/S3403/rule.ts +++ b/packages/jsts/src/rules/S3403/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3403/javascript diff --git a/packages/jsts/src/rules/S3403/unit.test.ts b/packages/jsts/src/rules/S3403/unit.test.ts index 9b2443dfee9..f17db6765cd 100644 --- a/packages/jsts/src/rules/S3403/unit.test.ts +++ b/packages/jsts/src/rules/S3403/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S3415/cb.test.ts b/packages/jsts/src/rules/S3415/cb.test.ts index fd107ea7a77..60e4fd0f6d7 100644 --- a/packages/jsts/src/rules/S3415/cb.test.ts +++ b/packages/jsts/src/rules/S3415/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3415/generated-meta.ts b/packages/jsts/src/rules/S3415/generated-meta.ts index 6be6ee287c2..f17807495a9 100644 --- a/packages/jsts/src/rules/S3415/generated-meta.ts +++ b/packages/jsts/src/rules/S3415/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3415/index.ts b/packages/jsts/src/rules/S3415/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3415/index.ts +++ b/packages/jsts/src/rules/S3415/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3415/meta.ts b/packages/jsts/src/rules/S3415/meta.ts index bcb05b183c3..0757c0c2754 100644 --- a/packages/jsts/src/rules/S3415/meta.ts +++ b/packages/jsts/src/rules/S3415/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3415/rule.ts b/packages/jsts/src/rules/S3415/rule.ts index 2687821f3f6..571659602dd 100644 --- a/packages/jsts/src/rules/S3415/rule.ts +++ b/packages/jsts/src/rules/S3415/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3415/javascript diff --git a/packages/jsts/src/rules/S3498/decorator.ts b/packages/jsts/src/rules/S3498/decorator.ts index 0c0942afac9..6f0fadac508 100644 --- a/packages/jsts/src/rules/S3498/decorator.ts +++ b/packages/jsts/src/rules/S3498/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3498/javascript diff --git a/packages/jsts/src/rules/S3498/generated-meta.ts b/packages/jsts/src/rules/S3498/generated-meta.ts index 8a8c92d88b1..29a1776f4c2 100644 --- a/packages/jsts/src/rules/S3498/generated-meta.ts +++ b/packages/jsts/src/rules/S3498/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3498/index.ts b/packages/jsts/src/rules/S3498/index.ts index 737691bd336..dacd31ae18f 100644 --- a/packages/jsts/src/rules/S3498/index.ts +++ b/packages/jsts/src/rules/S3498/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S3498/meta.ts b/packages/jsts/src/rules/S3498/meta.ts index 9c6b471f9e5..033cb7c2921 100644 --- a/packages/jsts/src/rules/S3498/meta.ts +++ b/packages/jsts/src/rules/S3498/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S3498/unit.test.ts b/packages/jsts/src/rules/S3498/unit.test.ts index e9404243925..7d97d574304 100644 --- a/packages/jsts/src/rules/S3498/unit.test.ts +++ b/packages/jsts/src/rules/S3498/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3499/generated-meta.ts b/packages/jsts/src/rules/S3499/generated-meta.ts index 94b316f7129..e51ac4abc6f 100644 --- a/packages/jsts/src/rules/S3499/generated-meta.ts +++ b/packages/jsts/src/rules/S3499/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3499/index.ts b/packages/jsts/src/rules/S3499/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3499/index.ts +++ b/packages/jsts/src/rules/S3499/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3499/meta.ts b/packages/jsts/src/rules/S3499/meta.ts index 59211823176..f801d19e48c 100644 --- a/packages/jsts/src/rules/S3499/meta.ts +++ b/packages/jsts/src/rules/S3499/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3499/rule.ts b/packages/jsts/src/rules/S3499/rule.ts index 48e8299d2f1..287df6e19db 100644 --- a/packages/jsts/src/rules/S3499/rule.ts +++ b/packages/jsts/src/rules/S3499/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3499/javascript diff --git a/packages/jsts/src/rules/S3499/unit.test.ts b/packages/jsts/src/rules/S3499/unit.test.ts index f8620302712..a3ce4fb1d0d 100644 --- a/packages/jsts/src/rules/S3499/unit.test.ts +++ b/packages/jsts/src/rules/S3499/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3500/generated-meta.ts b/packages/jsts/src/rules/S3500/generated-meta.ts index a271b7b1e01..21729d5aee3 100644 --- a/packages/jsts/src/rules/S3500/generated-meta.ts +++ b/packages/jsts/src/rules/S3500/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3500/index.ts b/packages/jsts/src/rules/S3500/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3500/index.ts +++ b/packages/jsts/src/rules/S3500/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3500/meta.ts b/packages/jsts/src/rules/S3500/meta.ts index ecbd0f20d8c..6dfafe19e2e 100644 --- a/packages/jsts/src/rules/S3500/meta.ts +++ b/packages/jsts/src/rules/S3500/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3500/rule.ts b/packages/jsts/src/rules/S3500/rule.ts index 10a2d0e9a75..f0a954ebdbd 100644 --- a/packages/jsts/src/rules/S3500/rule.ts +++ b/packages/jsts/src/rules/S3500/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3500/javascript diff --git a/packages/jsts/src/rules/S3500/unit.test.ts b/packages/jsts/src/rules/S3500/unit.test.ts index 781b8acdcdd..51f2b7abe96 100644 --- a/packages/jsts/src/rules/S3500/unit.test.ts +++ b/packages/jsts/src/rules/S3500/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3504/cb.test.ts b/packages/jsts/src/rules/S3504/cb.test.ts index 69aaa7ba967..00d1c2249a6 100644 --- a/packages/jsts/src/rules/S3504/cb.test.ts +++ b/packages/jsts/src/rules/S3504/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3504/decorator.ts b/packages/jsts/src/rules/S3504/decorator.ts index fe8832e6840..4d3427642bf 100644 --- a/packages/jsts/src/rules/S3504/decorator.ts +++ b/packages/jsts/src/rules/S3504/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { generateMeta, interceptReport } from '../helpers/index.js'; diff --git a/packages/jsts/src/rules/S3504/generated-meta.ts b/packages/jsts/src/rules/S3504/generated-meta.ts index aeda662d14c..9c31278a7d9 100644 --- a/packages/jsts/src/rules/S3504/generated-meta.ts +++ b/packages/jsts/src/rules/S3504/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3504/index.ts b/packages/jsts/src/rules/S3504/index.ts index 4b3a0bbd87d..226cebf4eda 100644 --- a/packages/jsts/src/rules/S3504/index.ts +++ b/packages/jsts/src/rules/S3504/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S3504/meta.ts b/packages/jsts/src/rules/S3504/meta.ts index 626d49b4c9f..d00b1cc0c2b 100644 --- a/packages/jsts/src/rules/S3504/meta.ts +++ b/packages/jsts/src/rules/S3504/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S3512/decorator.ts b/packages/jsts/src/rules/S3512/decorator.ts index 36fd822d187..3e7cc8a7908 100644 --- a/packages/jsts/src/rules/S3512/decorator.ts +++ b/packages/jsts/src/rules/S3512/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/S3512/generated-meta.ts b/packages/jsts/src/rules/S3512/generated-meta.ts index a57e38993d7..db342a72e25 100644 --- a/packages/jsts/src/rules/S3512/generated-meta.ts +++ b/packages/jsts/src/rules/S3512/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3512/index.ts b/packages/jsts/src/rules/S3512/index.ts index 5625cf560fe..2c8abf156cf 100644 --- a/packages/jsts/src/rules/S3512/index.ts +++ b/packages/jsts/src/rules/S3512/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S3512/meta.ts b/packages/jsts/src/rules/S3512/meta.ts index f8ae2304714..c8449ae56ec 100644 --- a/packages/jsts/src/rules/S3512/meta.ts +++ b/packages/jsts/src/rules/S3512/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S3512/unit.test.ts b/packages/jsts/src/rules/S3512/unit.test.ts index ee3a2e9bc85..4f610ff7d09 100644 --- a/packages/jsts/src/rules/S3512/unit.test.ts +++ b/packages/jsts/src/rules/S3512/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3513/generated-meta.ts b/packages/jsts/src/rules/S3513/generated-meta.ts index 6e5c45e57c9..ea1f0c5c3df 100644 --- a/packages/jsts/src/rules/S3513/generated-meta.ts +++ b/packages/jsts/src/rules/S3513/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3513/index.ts b/packages/jsts/src/rules/S3513/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3513/index.ts +++ b/packages/jsts/src/rules/S3513/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3513/meta.ts b/packages/jsts/src/rules/S3513/meta.ts index b35fec037a3..3baceb1cd8a 100644 --- a/packages/jsts/src/rules/S3513/meta.ts +++ b/packages/jsts/src/rules/S3513/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3513/rule.ts b/packages/jsts/src/rules/S3513/rule.ts index 4470842c40e..0e5a181280b 100644 --- a/packages/jsts/src/rules/S3513/rule.ts +++ b/packages/jsts/src/rules/S3513/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3513/javascript diff --git a/packages/jsts/src/rules/S3513/unit.test.ts b/packages/jsts/src/rules/S3513/unit.test.ts index 2ce3c025249..3b8644f9636 100644 --- a/packages/jsts/src/rules/S3513/unit.test.ts +++ b/packages/jsts/src/rules/S3513/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3514/generated-meta.ts b/packages/jsts/src/rules/S3514/generated-meta.ts index b94967c0d8b..c81a0c149ff 100644 --- a/packages/jsts/src/rules/S3514/generated-meta.ts +++ b/packages/jsts/src/rules/S3514/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3514/index.ts b/packages/jsts/src/rules/S3514/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3514/index.ts +++ b/packages/jsts/src/rules/S3514/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3514/meta.ts b/packages/jsts/src/rules/S3514/meta.ts index b2bd3a34085..d8e3f673482 100644 --- a/packages/jsts/src/rules/S3514/meta.ts +++ b/packages/jsts/src/rules/S3514/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3514/rule.ts b/packages/jsts/src/rules/S3514/rule.ts index 13964b9b268..888e21c23d2 100644 --- a/packages/jsts/src/rules/S3514/rule.ts +++ b/packages/jsts/src/rules/S3514/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3514/javascript diff --git a/packages/jsts/src/rules/S3514/unit.test.ts b/packages/jsts/src/rules/S3514/unit.test.ts index 67ac1f5d280..f978cfec50d 100644 --- a/packages/jsts/src/rules/S3514/unit.test.ts +++ b/packages/jsts/src/rules/S3514/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3516/generated-meta.ts b/packages/jsts/src/rules/S3516/generated-meta.ts index 2a9dede978d..fb384ca22a9 100644 --- a/packages/jsts/src/rules/S3516/generated-meta.ts +++ b/packages/jsts/src/rules/S3516/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3516/index.ts b/packages/jsts/src/rules/S3516/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3516/index.ts +++ b/packages/jsts/src/rules/S3516/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3516/meta.ts b/packages/jsts/src/rules/S3516/meta.ts index b7711b3512f..2d7ae313c13 100644 --- a/packages/jsts/src/rules/S3516/meta.ts +++ b/packages/jsts/src/rules/S3516/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3516/rule.ts b/packages/jsts/src/rules/S3516/rule.ts index 6771bcadd22..db4427e50d8 100644 --- a/packages/jsts/src/rules/S3516/rule.ts +++ b/packages/jsts/src/rules/S3516/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3516/javascript diff --git a/packages/jsts/src/rules/S3516/unit.test.ts b/packages/jsts/src/rules/S3516/unit.test.ts index 28005cb84cd..2b5ef9d9c97 100644 --- a/packages/jsts/src/rules/S3516/unit.test.ts +++ b/packages/jsts/src/rules/S3516/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3523/generated-meta.ts b/packages/jsts/src/rules/S3523/generated-meta.ts index 2b3797c5db2..70a4c385175 100644 --- a/packages/jsts/src/rules/S3523/generated-meta.ts +++ b/packages/jsts/src/rules/S3523/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3523/index.ts b/packages/jsts/src/rules/S3523/index.ts index 026452c0481..4c6600615be 100644 --- a/packages/jsts/src/rules/S3523/index.ts +++ b/packages/jsts/src/rules/S3523/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-new-func'); diff --git a/packages/jsts/src/rules/S3523/meta.ts b/packages/jsts/src/rules/S3523/meta.ts index 6fe5f13eaca..33869f7302e 100644 --- a/packages/jsts/src/rules/S3523/meta.ts +++ b/packages/jsts/src/rules/S3523/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S3524/generated-meta.ts b/packages/jsts/src/rules/S3524/generated-meta.ts index 4331dc0c797..1edff9d89a3 100644 --- a/packages/jsts/src/rules/S3524/generated-meta.ts +++ b/packages/jsts/src/rules/S3524/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3524/index.ts b/packages/jsts/src/rules/S3524/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3524/index.ts +++ b/packages/jsts/src/rules/S3524/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3524/meta.ts b/packages/jsts/src/rules/S3524/meta.ts index 5c24457b1bb..d31eb9a80f0 100644 --- a/packages/jsts/src/rules/S3524/meta.ts +++ b/packages/jsts/src/rules/S3524/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3524/rule.ts b/packages/jsts/src/rules/S3524/rule.ts index e790080c798..a9a349824c8 100644 --- a/packages/jsts/src/rules/S3524/rule.ts +++ b/packages/jsts/src/rules/S3524/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3524/javascript diff --git a/packages/jsts/src/rules/S3524/unit.test.ts b/packages/jsts/src/rules/S3524/unit.test.ts index b1c0aa5a8cc..e189dcc9aa0 100644 --- a/packages/jsts/src/rules/S3524/unit.test.ts +++ b/packages/jsts/src/rules/S3524/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3525/generated-meta.ts b/packages/jsts/src/rules/S3525/generated-meta.ts index 75a41f61ec1..eea2ed61851 100644 --- a/packages/jsts/src/rules/S3525/generated-meta.ts +++ b/packages/jsts/src/rules/S3525/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3525/index.ts b/packages/jsts/src/rules/S3525/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3525/index.ts +++ b/packages/jsts/src/rules/S3525/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3525/meta.ts b/packages/jsts/src/rules/S3525/meta.ts index d256cf6767d..0948c5b6087 100644 --- a/packages/jsts/src/rules/S3525/meta.ts +++ b/packages/jsts/src/rules/S3525/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3525/rule.ts b/packages/jsts/src/rules/S3525/rule.ts index 4742681b568..98854ff668a 100644 --- a/packages/jsts/src/rules/S3525/rule.ts +++ b/packages/jsts/src/rules/S3525/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3525/javascript diff --git a/packages/jsts/src/rules/S3525/unit.test.ts b/packages/jsts/src/rules/S3525/unit.test.ts index 71373f27862..01c79c70661 100644 --- a/packages/jsts/src/rules/S3525/unit.test.ts +++ b/packages/jsts/src/rules/S3525/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S3531/generated-meta.ts b/packages/jsts/src/rules/S3531/generated-meta.ts index b8fc958105e..18ae4ec0c94 100644 --- a/packages/jsts/src/rules/S3531/generated-meta.ts +++ b/packages/jsts/src/rules/S3531/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3531/index.ts b/packages/jsts/src/rules/S3531/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3531/index.ts +++ b/packages/jsts/src/rules/S3531/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3531/meta.ts b/packages/jsts/src/rules/S3531/meta.ts index 29752e24334..924351f7936 100644 --- a/packages/jsts/src/rules/S3531/meta.ts +++ b/packages/jsts/src/rules/S3531/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3531/rule.ts b/packages/jsts/src/rules/S3531/rule.ts index a656b2e8155..4a125dfb651 100644 --- a/packages/jsts/src/rules/S3531/rule.ts +++ b/packages/jsts/src/rules/S3531/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3531/javascript diff --git a/packages/jsts/src/rules/S3531/unit.test.ts b/packages/jsts/src/rules/S3531/unit.test.ts index c1509c66af2..bae0ad3c313 100644 --- a/packages/jsts/src/rules/S3531/unit.test.ts +++ b/packages/jsts/src/rules/S3531/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S3533/generated-meta.ts b/packages/jsts/src/rules/S3533/generated-meta.ts index 557636f0e59..1ce438976d4 100644 --- a/packages/jsts/src/rules/S3533/generated-meta.ts +++ b/packages/jsts/src/rules/S3533/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3533/index.ts b/packages/jsts/src/rules/S3533/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3533/index.ts +++ b/packages/jsts/src/rules/S3533/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3533/meta.ts b/packages/jsts/src/rules/S3533/meta.ts index 5872f475c2e..0626cf7c91e 100644 --- a/packages/jsts/src/rules/S3533/meta.ts +++ b/packages/jsts/src/rules/S3533/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3533/rule.ts b/packages/jsts/src/rules/S3533/rule.ts index 921abc1b954..a777fa3624c 100644 --- a/packages/jsts/src/rules/S3533/rule.ts +++ b/packages/jsts/src/rules/S3533/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3533/javascript diff --git a/packages/jsts/src/rules/S3533/unit.test.ts b/packages/jsts/src/rules/S3533/unit.test.ts index 918f25591e9..005334ef03f 100644 --- a/packages/jsts/src/rules/S3533/unit.test.ts +++ b/packages/jsts/src/rules/S3533/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S3579/generated-meta.ts b/packages/jsts/src/rules/S3579/generated-meta.ts index 84b73f25f10..05cde952dc1 100644 --- a/packages/jsts/src/rules/S3579/generated-meta.ts +++ b/packages/jsts/src/rules/S3579/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3579/index.ts b/packages/jsts/src/rules/S3579/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3579/index.ts +++ b/packages/jsts/src/rules/S3579/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3579/meta.ts b/packages/jsts/src/rules/S3579/meta.ts index fd2bade825c..f7d576c2809 100644 --- a/packages/jsts/src/rules/S3579/meta.ts +++ b/packages/jsts/src/rules/S3579/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3579/rule.ts b/packages/jsts/src/rules/S3579/rule.ts index 96615277604..cd4a396d709 100644 --- a/packages/jsts/src/rules/S3579/rule.ts +++ b/packages/jsts/src/rules/S3579/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3579/javascript diff --git a/packages/jsts/src/rules/S3579/unit.test.ts b/packages/jsts/src/rules/S3579/unit.test.ts index 30f91493f54..5e3448ef2dd 100644 --- a/packages/jsts/src/rules/S3579/unit.test.ts +++ b/packages/jsts/src/rules/S3579/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S3616/generated-meta.ts b/packages/jsts/src/rules/S3616/generated-meta.ts index 34548b0ec04..6dabe8c9902 100644 --- a/packages/jsts/src/rules/S3616/generated-meta.ts +++ b/packages/jsts/src/rules/S3616/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3616/index.ts b/packages/jsts/src/rules/S3616/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3616/index.ts +++ b/packages/jsts/src/rules/S3616/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3616/meta.ts b/packages/jsts/src/rules/S3616/meta.ts index 9d25d1f89d1..88f6f30c128 100644 --- a/packages/jsts/src/rules/S3616/meta.ts +++ b/packages/jsts/src/rules/S3616/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3616/rule.ts b/packages/jsts/src/rules/S3616/rule.ts index 733f51ee241..7e4411af40a 100644 --- a/packages/jsts/src/rules/S3616/rule.ts +++ b/packages/jsts/src/rules/S3616/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3616/javascript diff --git a/packages/jsts/src/rules/S3616/unit.test.ts b/packages/jsts/src/rules/S3616/unit.test.ts index d226dbdc9eb..026f404f631 100644 --- a/packages/jsts/src/rules/S3616/unit.test.ts +++ b/packages/jsts/src/rules/S3616/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3626/generated-meta.ts b/packages/jsts/src/rules/S3626/generated-meta.ts index 4880031c975..bb7ca26fb6e 100644 --- a/packages/jsts/src/rules/S3626/generated-meta.ts +++ b/packages/jsts/src/rules/S3626/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3626/index.ts b/packages/jsts/src/rules/S3626/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3626/index.ts +++ b/packages/jsts/src/rules/S3626/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3626/meta.ts b/packages/jsts/src/rules/S3626/meta.ts index ea4d228d3a5..1c3e8ec2099 100644 --- a/packages/jsts/src/rules/S3626/meta.ts +++ b/packages/jsts/src/rules/S3626/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3626/rule.ts b/packages/jsts/src/rules/S3626/rule.ts index 47cf08a60e9..67241073bdc 100644 --- a/packages/jsts/src/rules/S3626/rule.ts +++ b/packages/jsts/src/rules/S3626/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3626 diff --git a/packages/jsts/src/rules/S3626/unit.test.ts b/packages/jsts/src/rules/S3626/unit.test.ts index 73b5d895994..e0066486e66 100644 --- a/packages/jsts/src/rules/S3626/unit.test.ts +++ b/packages/jsts/src/rules/S3626/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S3686/generated-meta.ts b/packages/jsts/src/rules/S3686/generated-meta.ts index c36b304ed0f..9426592986a 100644 --- a/packages/jsts/src/rules/S3686/generated-meta.ts +++ b/packages/jsts/src/rules/S3686/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3686/index.ts b/packages/jsts/src/rules/S3686/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3686/index.ts +++ b/packages/jsts/src/rules/S3686/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3686/meta.ts b/packages/jsts/src/rules/S3686/meta.ts index 0e2e94e8ade..a56390ae819 100644 --- a/packages/jsts/src/rules/S3686/meta.ts +++ b/packages/jsts/src/rules/S3686/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3686/rule.ts b/packages/jsts/src/rules/S3686/rule.ts index 9ac2da447f3..7c442231887 100644 --- a/packages/jsts/src/rules/S3686/rule.ts +++ b/packages/jsts/src/rules/S3686/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3686/javascript diff --git a/packages/jsts/src/rules/S3686/unit.test.ts b/packages/jsts/src/rules/S3686/unit.test.ts index 3b5a357048b..b524600a52c 100644 --- a/packages/jsts/src/rules/S3686/unit.test.ts +++ b/packages/jsts/src/rules/S3686/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3696/decorator.ts b/packages/jsts/src/rules/S3696/decorator.ts index 866df053cb7..1c5100b1f9c 100644 --- a/packages/jsts/src/rules/S3696/decorator.ts +++ b/packages/jsts/src/rules/S3696/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3696/javascript diff --git a/packages/jsts/src/rules/S3696/generated-meta.ts b/packages/jsts/src/rules/S3696/generated-meta.ts index 15f47294d2c..a91b4ed4f71 100644 --- a/packages/jsts/src/rules/S3696/generated-meta.ts +++ b/packages/jsts/src/rules/S3696/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3696/index.ts b/packages/jsts/src/rules/S3696/index.ts index f241e3bf115..28fea1ada91 100644 --- a/packages/jsts/src/rules/S3696/index.ts +++ b/packages/jsts/src/rules/S3696/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S3696/meta.ts b/packages/jsts/src/rules/S3696/meta.ts index ede963306b1..e5fa9574d88 100644 --- a/packages/jsts/src/rules/S3696/meta.ts +++ b/packages/jsts/src/rules/S3696/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S3696/unit.test.ts b/packages/jsts/src/rules/S3696/unit.test.ts index 3d230bd1e4b..fbc5151fbfe 100644 --- a/packages/jsts/src/rules/S3696/unit.test.ts +++ b/packages/jsts/src/rules/S3696/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3699/generated-meta.ts b/packages/jsts/src/rules/S3699/generated-meta.ts index 2b32c9f45b0..c267cc73f46 100644 --- a/packages/jsts/src/rules/S3699/generated-meta.ts +++ b/packages/jsts/src/rules/S3699/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3699/index.ts b/packages/jsts/src/rules/S3699/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3699/index.ts +++ b/packages/jsts/src/rules/S3699/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3699/meta.ts b/packages/jsts/src/rules/S3699/meta.ts index 42eb5068fdb..d9c360e1764 100644 --- a/packages/jsts/src/rules/S3699/meta.ts +++ b/packages/jsts/src/rules/S3699/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3699/rule.ts b/packages/jsts/src/rules/S3699/rule.ts index 68d88a5f048..e2cb0c8797a 100644 --- a/packages/jsts/src/rules/S3699/rule.ts +++ b/packages/jsts/src/rules/S3699/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3699 diff --git a/packages/jsts/src/rules/S3699/unit.test.ts b/packages/jsts/src/rules/S3699/unit.test.ts index cfacf88fc06..43e512cba51 100644 --- a/packages/jsts/src/rules/S3699/unit.test.ts +++ b/packages/jsts/src/rules/S3699/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S3723/generated-meta.ts b/packages/jsts/src/rules/S3723/generated-meta.ts index b357b579255..feacfeb77fa 100644 --- a/packages/jsts/src/rules/S3723/generated-meta.ts +++ b/packages/jsts/src/rules/S3723/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3723/index.ts b/packages/jsts/src/rules/S3723/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3723/index.ts +++ b/packages/jsts/src/rules/S3723/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3723/meta.ts b/packages/jsts/src/rules/S3723/meta.ts index 581ee7a4bc8..e22e982081f 100644 --- a/packages/jsts/src/rules/S3723/meta.ts +++ b/packages/jsts/src/rules/S3723/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3723/rule.ts b/packages/jsts/src/rules/S3723/rule.ts index 584da2beb89..031bb5428ed 100644 --- a/packages/jsts/src/rules/S3723/rule.ts +++ b/packages/jsts/src/rules/S3723/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3723/javascript diff --git a/packages/jsts/src/rules/S3723/unit.test.ts b/packages/jsts/src/rules/S3723/unit.test.ts index 5a67b718210..01db58f04ac 100644 --- a/packages/jsts/src/rules/S3723/unit.test.ts +++ b/packages/jsts/src/rules/S3723/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3735/generated-meta.ts b/packages/jsts/src/rules/S3735/generated-meta.ts index ebe535c8c7c..c8e56ffbc79 100644 --- a/packages/jsts/src/rules/S3735/generated-meta.ts +++ b/packages/jsts/src/rules/S3735/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3735/index.ts b/packages/jsts/src/rules/S3735/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3735/index.ts +++ b/packages/jsts/src/rules/S3735/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3735/meta.ts b/packages/jsts/src/rules/S3735/meta.ts index 6467d676421..358aedebdac 100644 --- a/packages/jsts/src/rules/S3735/meta.ts +++ b/packages/jsts/src/rules/S3735/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3735/rule.ts b/packages/jsts/src/rules/S3735/rule.ts index a9bd2af3ed5..9099cb6ca16 100644 --- a/packages/jsts/src/rules/S3735/rule.ts +++ b/packages/jsts/src/rules/S3735/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3735/javascript diff --git a/packages/jsts/src/rules/S3735/unit.test.ts b/packages/jsts/src/rules/S3735/unit.test.ts index 3ab729a05ba..9139cbc24bc 100644 --- a/packages/jsts/src/rules/S3735/unit.test.ts +++ b/packages/jsts/src/rules/S3735/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S3757/generated-meta.ts b/packages/jsts/src/rules/S3757/generated-meta.ts index 5eae3addad2..dd772b1010f 100644 --- a/packages/jsts/src/rules/S3757/generated-meta.ts +++ b/packages/jsts/src/rules/S3757/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3757/index.ts b/packages/jsts/src/rules/S3757/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3757/index.ts +++ b/packages/jsts/src/rules/S3757/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3757/meta.ts b/packages/jsts/src/rules/S3757/meta.ts index cbdb9204af3..413ec9e5882 100644 --- a/packages/jsts/src/rules/S3757/meta.ts +++ b/packages/jsts/src/rules/S3757/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3757/rule.ts b/packages/jsts/src/rules/S3757/rule.ts index 0f95919e43e..73fd0561533 100644 --- a/packages/jsts/src/rules/S3757/rule.ts +++ b/packages/jsts/src/rules/S3757/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3757/javascript diff --git a/packages/jsts/src/rules/S3757/unit.test.ts b/packages/jsts/src/rules/S3757/unit.test.ts index 3f812549e5b..163ab1cdf3b 100644 --- a/packages/jsts/src/rules/S3757/unit.test.ts +++ b/packages/jsts/src/rules/S3757/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S3758/generated-meta.ts b/packages/jsts/src/rules/S3758/generated-meta.ts index 9787b944589..2d3bb33b7ea 100644 --- a/packages/jsts/src/rules/S3758/generated-meta.ts +++ b/packages/jsts/src/rules/S3758/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3758/index.ts b/packages/jsts/src/rules/S3758/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3758/index.ts +++ b/packages/jsts/src/rules/S3758/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3758/meta.ts b/packages/jsts/src/rules/S3758/meta.ts index 257d3a49821..0ba4584432b 100644 --- a/packages/jsts/src/rules/S3758/meta.ts +++ b/packages/jsts/src/rules/S3758/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3758/rule.ts b/packages/jsts/src/rules/S3758/rule.ts index d139835369a..9c64249cb28 100644 --- a/packages/jsts/src/rules/S3758/rule.ts +++ b/packages/jsts/src/rules/S3758/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3758/javascript diff --git a/packages/jsts/src/rules/S3758/unit.test.ts b/packages/jsts/src/rules/S3758/unit.test.ts index ca409cd36c7..d120e4c198f 100644 --- a/packages/jsts/src/rules/S3758/unit.test.ts +++ b/packages/jsts/src/rules/S3758/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S3760/generated-meta.ts b/packages/jsts/src/rules/S3760/generated-meta.ts index b9e7a820409..1bfcc3c4c6b 100644 --- a/packages/jsts/src/rules/S3760/generated-meta.ts +++ b/packages/jsts/src/rules/S3760/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3760/index.ts b/packages/jsts/src/rules/S3760/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3760/index.ts +++ b/packages/jsts/src/rules/S3760/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3760/meta.ts b/packages/jsts/src/rules/S3760/meta.ts index 8b01761103d..578f97ca168 100644 --- a/packages/jsts/src/rules/S3760/meta.ts +++ b/packages/jsts/src/rules/S3760/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3760/rule.ts b/packages/jsts/src/rules/S3760/rule.ts index 7ed5804bb37..1bc886a14b1 100644 --- a/packages/jsts/src/rules/S3760/rule.ts +++ b/packages/jsts/src/rules/S3760/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3760/javascript diff --git a/packages/jsts/src/rules/S3760/unit.test.ts b/packages/jsts/src/rules/S3760/unit.test.ts index 7dd71d56aa6..a2e37d9d888 100644 --- a/packages/jsts/src/rules/S3760/unit.test.ts +++ b/packages/jsts/src/rules/S3760/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S3776/generated-meta.ts b/packages/jsts/src/rules/S3776/generated-meta.ts index 0289e74d6d5..d5a42976897 100644 --- a/packages/jsts/src/rules/S3776/generated-meta.ts +++ b/packages/jsts/src/rules/S3776/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3776/index.ts b/packages/jsts/src/rules/S3776/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3776/index.ts +++ b/packages/jsts/src/rules/S3776/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3776/meta.ts b/packages/jsts/src/rules/S3776/meta.ts index 71af9e9b19e..9a90b8b6e86 100644 --- a/packages/jsts/src/rules/S3776/meta.ts +++ b/packages/jsts/src/rules/S3776/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3776/rule.ts b/packages/jsts/src/rules/S3776/rule.ts index 68eb7106cbc..a79d1b6a567 100644 --- a/packages/jsts/src/rules/S3776/rule.ts +++ b/packages/jsts/src/rules/S3776/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3776 diff --git a/packages/jsts/src/rules/S3776/unit.test.ts b/packages/jsts/src/rules/S3776/unit.test.ts index d6f58228cda..9f4eb6d6014 100644 --- a/packages/jsts/src/rules/S3776/unit.test.ts +++ b/packages/jsts/src/rules/S3776/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3782/generated-meta.ts b/packages/jsts/src/rules/S3782/generated-meta.ts index 5644b3c07e2..b012d5a6ada 100644 --- a/packages/jsts/src/rules/S3782/generated-meta.ts +++ b/packages/jsts/src/rules/S3782/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3782/index.ts b/packages/jsts/src/rules/S3782/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3782/index.ts +++ b/packages/jsts/src/rules/S3782/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3782/meta.ts b/packages/jsts/src/rules/S3782/meta.ts index 43880b62843..dcacaf0f84b 100644 --- a/packages/jsts/src/rules/S3782/meta.ts +++ b/packages/jsts/src/rules/S3782/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3782/rule.ts b/packages/jsts/src/rules/S3782/rule.ts index fccb5e28655..95dc63ab71d 100644 --- a/packages/jsts/src/rules/S3782/rule.ts +++ b/packages/jsts/src/rules/S3782/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3782/javascript diff --git a/packages/jsts/src/rules/S3782/unit.test.ts b/packages/jsts/src/rules/S3782/unit.test.ts index 84d8563a205..1c2b8c0563d 100644 --- a/packages/jsts/src/rules/S3782/unit.test.ts +++ b/packages/jsts/src/rules/S3782/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S3785/generated-meta.ts b/packages/jsts/src/rules/S3785/generated-meta.ts index b96b9b5e122..3ceec598124 100644 --- a/packages/jsts/src/rules/S3785/generated-meta.ts +++ b/packages/jsts/src/rules/S3785/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3785/index.ts b/packages/jsts/src/rules/S3785/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3785/index.ts +++ b/packages/jsts/src/rules/S3785/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3785/meta.ts b/packages/jsts/src/rules/S3785/meta.ts index bff23b02bd8..b2b09fea292 100644 --- a/packages/jsts/src/rules/S3785/meta.ts +++ b/packages/jsts/src/rules/S3785/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3785/rule.ts b/packages/jsts/src/rules/S3785/rule.ts index c4fefb91dcc..4800eacc33e 100644 --- a/packages/jsts/src/rules/S3785/rule.ts +++ b/packages/jsts/src/rules/S3785/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3785/javascript diff --git a/packages/jsts/src/rules/S3785/unit.test.ts b/packages/jsts/src/rules/S3785/unit.test.ts index 5544a86944b..ed0a8e5264c 100644 --- a/packages/jsts/src/rules/S3785/unit.test.ts +++ b/packages/jsts/src/rules/S3785/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S3786/generated-meta.ts b/packages/jsts/src/rules/S3786/generated-meta.ts index 87fa7441ac9..287a093824d 100644 --- a/packages/jsts/src/rules/S3786/generated-meta.ts +++ b/packages/jsts/src/rules/S3786/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3786/index.ts b/packages/jsts/src/rules/S3786/index.ts index b014708a78c..fcdcdd9355c 100644 --- a/packages/jsts/src/rules/S3786/index.ts +++ b/packages/jsts/src/rules/S3786/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-template-curly-in-string'); diff --git a/packages/jsts/src/rules/S3786/meta.ts b/packages/jsts/src/rules/S3786/meta.ts index 203f0de699a..47fb8325f4c 100644 --- a/packages/jsts/src/rules/S3786/meta.ts +++ b/packages/jsts/src/rules/S3786/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S3796/generated-meta.ts b/packages/jsts/src/rules/S3796/generated-meta.ts index 9103034a709..7ce40c2c72e 100644 --- a/packages/jsts/src/rules/S3796/generated-meta.ts +++ b/packages/jsts/src/rules/S3796/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3796/index.ts b/packages/jsts/src/rules/S3796/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3796/index.ts +++ b/packages/jsts/src/rules/S3796/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3796/meta.ts b/packages/jsts/src/rules/S3796/meta.ts index 63ba9a4425e..ff8f906bf93 100644 --- a/packages/jsts/src/rules/S3796/meta.ts +++ b/packages/jsts/src/rules/S3796/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3796/rule.ts b/packages/jsts/src/rules/S3796/rule.ts index 05952cf7dfc..e8a14b7f32b 100644 --- a/packages/jsts/src/rules/S3796/rule.ts +++ b/packages/jsts/src/rules/S3796/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3796/javascript diff --git a/packages/jsts/src/rules/S3796/unit.test.ts b/packages/jsts/src/rules/S3796/unit.test.ts index d9e7d94b0cf..f139765f4c5 100644 --- a/packages/jsts/src/rules/S3796/unit.test.ts +++ b/packages/jsts/src/rules/S3796/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3798/generated-meta.ts b/packages/jsts/src/rules/S3798/generated-meta.ts index f7997c6d62e..d81dd7335c7 100644 --- a/packages/jsts/src/rules/S3798/generated-meta.ts +++ b/packages/jsts/src/rules/S3798/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3798/index.ts b/packages/jsts/src/rules/S3798/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3798/index.ts +++ b/packages/jsts/src/rules/S3798/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3798/meta.ts b/packages/jsts/src/rules/S3798/meta.ts index 632963cb831..ee4a8dd1ecd 100644 --- a/packages/jsts/src/rules/S3798/meta.ts +++ b/packages/jsts/src/rules/S3798/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3798/rule.ts b/packages/jsts/src/rules/S3798/rule.ts index a334cdd45ea..db236750f43 100644 --- a/packages/jsts/src/rules/S3798/rule.ts +++ b/packages/jsts/src/rules/S3798/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3798/javascript import type { Rule } from 'eslint'; diff --git a/packages/jsts/src/rules/S3798/unit.test.ts b/packages/jsts/src/rules/S3798/unit.test.ts index e181572dd12..0eebbc082da 100644 --- a/packages/jsts/src/rules/S3798/unit.test.ts +++ b/packages/jsts/src/rules/S3798/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { BabelRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S3799/generated-meta.ts b/packages/jsts/src/rules/S3799/generated-meta.ts index 7243b74f61e..7ba2ee3a8ed 100644 --- a/packages/jsts/src/rules/S3799/generated-meta.ts +++ b/packages/jsts/src/rules/S3799/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3799/index.ts b/packages/jsts/src/rules/S3799/index.ts index 3aa7c9f687c..daaf41f493f 100644 --- a/packages/jsts/src/rules/S3799/index.ts +++ b/packages/jsts/src/rules/S3799/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-empty-pattern'); diff --git a/packages/jsts/src/rules/S3799/meta.ts b/packages/jsts/src/rules/S3799/meta.ts index 175873fb44c..789cf03d983 100644 --- a/packages/jsts/src/rules/S3799/meta.ts +++ b/packages/jsts/src/rules/S3799/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S3800/cb.test.ts b/packages/jsts/src/rules/S3800/cb.test.ts index 313532f1da2..07b1901047a 100644 --- a/packages/jsts/src/rules/S3800/cb.test.ts +++ b/packages/jsts/src/rules/S3800/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3800/generated-meta.ts b/packages/jsts/src/rules/S3800/generated-meta.ts index c624e604cef..0cbca15c4fe 100644 --- a/packages/jsts/src/rules/S3800/generated-meta.ts +++ b/packages/jsts/src/rules/S3800/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3800/index.ts b/packages/jsts/src/rules/S3800/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3800/index.ts +++ b/packages/jsts/src/rules/S3800/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3800/meta.ts b/packages/jsts/src/rules/S3800/meta.ts index cc99aea32d2..10bb3c9f510 100644 --- a/packages/jsts/src/rules/S3800/meta.ts +++ b/packages/jsts/src/rules/S3800/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3800/rule.ts b/packages/jsts/src/rules/S3800/rule.ts index 71f5071f2c5..a535db5738e 100644 --- a/packages/jsts/src/rules/S3800/rule.ts +++ b/packages/jsts/src/rules/S3800/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3800/javascript diff --git a/packages/jsts/src/rules/S3800/unit.test.ts b/packages/jsts/src/rules/S3800/unit.test.ts index 23d3ab8062c..c52b2b47860 100644 --- a/packages/jsts/src/rules/S3800/unit.test.ts +++ b/packages/jsts/src/rules/S3800/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S3801/generated-meta.ts b/packages/jsts/src/rules/S3801/generated-meta.ts index 6a508352d41..73aaf2374a1 100644 --- a/packages/jsts/src/rules/S3801/generated-meta.ts +++ b/packages/jsts/src/rules/S3801/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3801/index.ts b/packages/jsts/src/rules/S3801/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3801/index.ts +++ b/packages/jsts/src/rules/S3801/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3801/meta.ts b/packages/jsts/src/rules/S3801/meta.ts index eb8ab24f600..b2f1eddec34 100644 --- a/packages/jsts/src/rules/S3801/meta.ts +++ b/packages/jsts/src/rules/S3801/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3801/rule.ts b/packages/jsts/src/rules/S3801/rule.ts index aa5883afc4b..d31e072c312 100644 --- a/packages/jsts/src/rules/S3801/rule.ts +++ b/packages/jsts/src/rules/S3801/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3801/javascript diff --git a/packages/jsts/src/rules/S3801/unit.test.ts b/packages/jsts/src/rules/S3801/unit.test.ts index b0fcfb8bfef..eed4064fcbb 100644 --- a/packages/jsts/src/rules/S3801/unit.test.ts +++ b/packages/jsts/src/rules/S3801/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3812/generated-meta.ts b/packages/jsts/src/rules/S3812/generated-meta.ts index 87328845f2f..2834fd73ab2 100644 --- a/packages/jsts/src/rules/S3812/generated-meta.ts +++ b/packages/jsts/src/rules/S3812/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3812/index.ts b/packages/jsts/src/rules/S3812/index.ts index dfaed1d47a4..0faf9118ece 100644 --- a/packages/jsts/src/rules/S3812/index.ts +++ b/packages/jsts/src/rules/S3812/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-unsafe-negation'); diff --git a/packages/jsts/src/rules/S3812/meta.ts b/packages/jsts/src/rules/S3812/meta.ts index c9cba41630f..94e2018f9e7 100644 --- a/packages/jsts/src/rules/S3812/meta.ts +++ b/packages/jsts/src/rules/S3812/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S3827/cb.test.ts b/packages/jsts/src/rules/S3827/cb.test.ts index bc48144884e..d4206e48376 100644 --- a/packages/jsts/src/rules/S3827/cb.test.ts +++ b/packages/jsts/src/rules/S3827/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3827/generated-meta.ts b/packages/jsts/src/rules/S3827/generated-meta.ts index 5f1fafdbf9b..1349d493ccd 100644 --- a/packages/jsts/src/rules/S3827/generated-meta.ts +++ b/packages/jsts/src/rules/S3827/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3827/index.ts b/packages/jsts/src/rules/S3827/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3827/index.ts +++ b/packages/jsts/src/rules/S3827/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3827/meta.ts b/packages/jsts/src/rules/S3827/meta.ts index 45e7d7fb2b0..e818d069013 100644 --- a/packages/jsts/src/rules/S3827/meta.ts +++ b/packages/jsts/src/rules/S3827/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3827/rule.ts b/packages/jsts/src/rules/S3827/rule.ts index 4a3382096d6..d8047b4c701 100644 --- a/packages/jsts/src/rules/S3827/rule.ts +++ b/packages/jsts/src/rules/S3827/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3827/javascript import type { TSESTree } from '@typescript-eslint/utils'; diff --git a/packages/jsts/src/rules/S3827/unit.test.ts b/packages/jsts/src/rules/S3827/unit.test.ts index b74fca705c6..8f951f27665 100644 --- a/packages/jsts/src/rules/S3827/unit.test.ts +++ b/packages/jsts/src/rules/S3827/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3834/generated-meta.ts b/packages/jsts/src/rules/S3834/generated-meta.ts index 0ec1949ceeb..349dbedfe7c 100644 --- a/packages/jsts/src/rules/S3834/generated-meta.ts +++ b/packages/jsts/src/rules/S3834/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3834/index.ts b/packages/jsts/src/rules/S3834/index.ts index 94fe4a64d00..d944f82f5ff 100644 --- a/packages/jsts/src/rules/S3834/index.ts +++ b/packages/jsts/src/rules/S3834/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-new-native-nonconstructor'); diff --git a/packages/jsts/src/rules/S3834/meta.ts b/packages/jsts/src/rules/S3834/meta.ts index ad4c42911d4..080d5b46360 100644 --- a/packages/jsts/src/rules/S3834/meta.ts +++ b/packages/jsts/src/rules/S3834/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S3854/generated-meta.ts b/packages/jsts/src/rules/S3854/generated-meta.ts index b97fe2534f2..e1abd8fe152 100644 --- a/packages/jsts/src/rules/S3854/generated-meta.ts +++ b/packages/jsts/src/rules/S3854/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3854/index.ts b/packages/jsts/src/rules/S3854/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3854/index.ts +++ b/packages/jsts/src/rules/S3854/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3854/meta.ts b/packages/jsts/src/rules/S3854/meta.ts index 71064a2aded..effc971aeb4 100644 --- a/packages/jsts/src/rules/S3854/meta.ts +++ b/packages/jsts/src/rules/S3854/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3854/rule.ts b/packages/jsts/src/rules/S3854/rule.ts index e3b806d210c..3dc9e488f58 100644 --- a/packages/jsts/src/rules/S3854/rule.ts +++ b/packages/jsts/src/rules/S3854/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3854/javascript diff --git a/packages/jsts/src/rules/S3854/unit.test.ts b/packages/jsts/src/rules/S3854/unit.test.ts index 46b796d65ff..fe39f6075ba 100644 --- a/packages/jsts/src/rules/S3854/unit.test.ts +++ b/packages/jsts/src/rules/S3854/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S3863/generated-meta.ts b/packages/jsts/src/rules/S3863/generated-meta.ts index 0a3d968ae94..8e4793ff9f6 100644 --- a/packages/jsts/src/rules/S3863/generated-meta.ts +++ b/packages/jsts/src/rules/S3863/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3863/index.ts b/packages/jsts/src/rules/S3863/index.ts index bb09854753a..a865e91600a 100644 --- a/packages/jsts/src/rules/S3863/index.ts +++ b/packages/jsts/src/rules/S3863/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from 'eslint-plugin-import'; export const rule = rules['no-duplicates']; diff --git a/packages/jsts/src/rules/S3863/meta.ts b/packages/jsts/src/rules/S3863/meta.ts index 2a597c6b452..7db5afed204 100644 --- a/packages/jsts/src/rules/S3863/meta.ts +++ b/packages/jsts/src/rules/S3863/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S3923/generated-meta.ts b/packages/jsts/src/rules/S3923/generated-meta.ts index 435ae1a8642..d68e8efee84 100644 --- a/packages/jsts/src/rules/S3923/generated-meta.ts +++ b/packages/jsts/src/rules/S3923/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3923/index.ts b/packages/jsts/src/rules/S3923/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3923/index.ts +++ b/packages/jsts/src/rules/S3923/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3923/meta.ts b/packages/jsts/src/rules/S3923/meta.ts index 3ae1112c408..b3e563eed63 100644 --- a/packages/jsts/src/rules/S3923/meta.ts +++ b/packages/jsts/src/rules/S3923/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3923/rule.ts b/packages/jsts/src/rules/S3923/rule.ts index 194beb35c49..1fea3df54c7 100644 --- a/packages/jsts/src/rules/S3923/rule.ts +++ b/packages/jsts/src/rules/S3923/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3923 diff --git a/packages/jsts/src/rules/S3923/unit.test.ts b/packages/jsts/src/rules/S3923/unit.test.ts index ea5eb968198..7200a720650 100644 --- a/packages/jsts/src/rules/S3923/unit.test.ts +++ b/packages/jsts/src/rules/S3923/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S3972/generated-meta.ts b/packages/jsts/src/rules/S3972/generated-meta.ts index fda0976c756..1c60ff13210 100644 --- a/packages/jsts/src/rules/S3972/generated-meta.ts +++ b/packages/jsts/src/rules/S3972/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3972/index.ts b/packages/jsts/src/rules/S3972/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3972/index.ts +++ b/packages/jsts/src/rules/S3972/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3972/meta.ts b/packages/jsts/src/rules/S3972/meta.ts index e34f5fb2ecc..14c975fe149 100644 --- a/packages/jsts/src/rules/S3972/meta.ts +++ b/packages/jsts/src/rules/S3972/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3972/rule.ts b/packages/jsts/src/rules/S3972/rule.ts index f6b4c4a53fa..b0311b0d1b2 100644 --- a/packages/jsts/src/rules/S3972/rule.ts +++ b/packages/jsts/src/rules/S3972/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3972 diff --git a/packages/jsts/src/rules/S3972/unit.test.ts b/packages/jsts/src/rules/S3972/unit.test.ts index 17d26c19086..a7efcb5f367 100644 --- a/packages/jsts/src/rules/S3972/unit.test.ts +++ b/packages/jsts/src/rules/S3972/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S3973/generated-meta.ts b/packages/jsts/src/rules/S3973/generated-meta.ts index 933ec7bd48c..4f9b76afa12 100644 --- a/packages/jsts/src/rules/S3973/generated-meta.ts +++ b/packages/jsts/src/rules/S3973/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3973/index.ts b/packages/jsts/src/rules/S3973/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3973/index.ts +++ b/packages/jsts/src/rules/S3973/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3973/meta.ts b/packages/jsts/src/rules/S3973/meta.ts index df29f3f0268..b94820adaa4 100644 --- a/packages/jsts/src/rules/S3973/meta.ts +++ b/packages/jsts/src/rules/S3973/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3973/rule.ts b/packages/jsts/src/rules/S3973/rule.ts index 720039d34b5..ab9518b48e0 100644 --- a/packages/jsts/src/rules/S3973/rule.ts +++ b/packages/jsts/src/rules/S3973/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3973/javascript diff --git a/packages/jsts/src/rules/S3973/unit.test.ts b/packages/jsts/src/rules/S3973/unit.test.ts index 208fc045da3..b0ca6dd5ef1 100644 --- a/packages/jsts/src/rules/S3973/unit.test.ts +++ b/packages/jsts/src/rules/S3973/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S3981/generated-meta.ts b/packages/jsts/src/rules/S3981/generated-meta.ts index 4ba03c812f7..a9a7acb46b2 100644 --- a/packages/jsts/src/rules/S3981/generated-meta.ts +++ b/packages/jsts/src/rules/S3981/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3981/index.ts b/packages/jsts/src/rules/S3981/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3981/index.ts +++ b/packages/jsts/src/rules/S3981/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3981/meta.ts b/packages/jsts/src/rules/S3981/meta.ts index d3521275aee..0f9a9b3db0b 100644 --- a/packages/jsts/src/rules/S3981/meta.ts +++ b/packages/jsts/src/rules/S3981/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3981/rule.ts b/packages/jsts/src/rules/S3981/rule.ts index f0dc335f680..3eedfb764d8 100644 --- a/packages/jsts/src/rules/S3981/rule.ts +++ b/packages/jsts/src/rules/S3981/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3981 diff --git a/packages/jsts/src/rules/S3981/unit.test.ts b/packages/jsts/src/rules/S3981/unit.test.ts index 27326d03957..8c3106a980a 100644 --- a/packages/jsts/src/rules/S3981/unit.test.ts +++ b/packages/jsts/src/rules/S3981/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S3984/generated-meta.ts b/packages/jsts/src/rules/S3984/generated-meta.ts index a88643e6429..ef802930444 100644 --- a/packages/jsts/src/rules/S3984/generated-meta.ts +++ b/packages/jsts/src/rules/S3984/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S3984/index.ts b/packages/jsts/src/rules/S3984/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S3984/index.ts +++ b/packages/jsts/src/rules/S3984/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S3984/meta.ts b/packages/jsts/src/rules/S3984/meta.ts index e33392f77a1..65847087adc 100644 --- a/packages/jsts/src/rules/S3984/meta.ts +++ b/packages/jsts/src/rules/S3984/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S3984/rule.ts b/packages/jsts/src/rules/S3984/rule.ts index 2873f5f5d20..84d7e085523 100644 --- a/packages/jsts/src/rules/S3984/rule.ts +++ b/packages/jsts/src/rules/S3984/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S3984/javascript diff --git a/packages/jsts/src/rules/S3984/unit.test.ts b/packages/jsts/src/rules/S3984/unit.test.ts index 3c69dd2b1a7..8ea002ee1da 100644 --- a/packages/jsts/src/rules/S3984/unit.test.ts +++ b/packages/jsts/src/rules/S3984/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4023/decorator.ts b/packages/jsts/src/rules/S4023/decorator.ts index 139dc9d3302..01d98d50b1b 100644 --- a/packages/jsts/src/rules/S4023/decorator.ts +++ b/packages/jsts/src/rules/S4023/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4023/javascript diff --git a/packages/jsts/src/rules/S4023/generated-meta.ts b/packages/jsts/src/rules/S4023/generated-meta.ts index ae7b84c9692..d501959b1a2 100644 --- a/packages/jsts/src/rules/S4023/generated-meta.ts +++ b/packages/jsts/src/rules/S4023/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4023/index.ts b/packages/jsts/src/rules/S4023/index.ts index 62a98d4933c..8b4f884759f 100644 --- a/packages/jsts/src/rules/S4023/index.ts +++ b/packages/jsts/src/rules/S4023/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S4023/meta.ts b/packages/jsts/src/rules/S4023/meta.ts index d24d19bf81d..8caf958b4b6 100644 --- a/packages/jsts/src/rules/S4023/meta.ts +++ b/packages/jsts/src/rules/S4023/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S4023/unit.test.ts b/packages/jsts/src/rules/S4023/unit.test.ts index 581171234ad..680408592a2 100644 --- a/packages/jsts/src/rules/S4023/unit.test.ts +++ b/packages/jsts/src/rules/S4023/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S4030/generated-meta.ts b/packages/jsts/src/rules/S4030/generated-meta.ts index 7b04eadbfb0..1016632550d 100644 --- a/packages/jsts/src/rules/S4030/generated-meta.ts +++ b/packages/jsts/src/rules/S4030/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4030/index.ts b/packages/jsts/src/rules/S4030/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4030/index.ts +++ b/packages/jsts/src/rules/S4030/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4030/meta.ts b/packages/jsts/src/rules/S4030/meta.ts index aadfa503dc1..79e3c573e54 100644 --- a/packages/jsts/src/rules/S4030/meta.ts +++ b/packages/jsts/src/rules/S4030/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4030/rule.ts b/packages/jsts/src/rules/S4030/rule.ts index cb80ebee606..1cc422c81fa 100644 --- a/packages/jsts/src/rules/S4030/rule.ts +++ b/packages/jsts/src/rules/S4030/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4030 diff --git a/packages/jsts/src/rules/S4030/unit.test.ts b/packages/jsts/src/rules/S4030/unit.test.ts index da6ea749e7a..5a553a30c14 100644 --- a/packages/jsts/src/rules/S4030/unit.test.ts +++ b/packages/jsts/src/rules/S4030/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S4036/cb.test.ts b/packages/jsts/src/rules/S4036/cb.test.ts index 3e057a0e9f6..1d541757e2d 100644 --- a/packages/jsts/src/rules/S4036/cb.test.ts +++ b/packages/jsts/src/rules/S4036/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4036/generated-meta.ts b/packages/jsts/src/rules/S4036/generated-meta.ts index c546ec49a55..1d75435280b 100644 --- a/packages/jsts/src/rules/S4036/generated-meta.ts +++ b/packages/jsts/src/rules/S4036/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4036/index.ts b/packages/jsts/src/rules/S4036/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4036/index.ts +++ b/packages/jsts/src/rules/S4036/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4036/meta.ts b/packages/jsts/src/rules/S4036/meta.ts index ebc8203d700..e7249d9e06b 100644 --- a/packages/jsts/src/rules/S4036/meta.ts +++ b/packages/jsts/src/rules/S4036/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4036/rule.ts b/packages/jsts/src/rules/S4036/rule.ts index 2ef72f5d27b..5d7471eaaff 100644 --- a/packages/jsts/src/rules/S4036/rule.ts +++ b/packages/jsts/src/rules/S4036/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4036/javascript diff --git a/packages/jsts/src/rules/S4043/generated-meta.ts b/packages/jsts/src/rules/S4043/generated-meta.ts index 3d07a9e9e51..ddc92b0c3c9 100644 --- a/packages/jsts/src/rules/S4043/generated-meta.ts +++ b/packages/jsts/src/rules/S4043/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4043/index.ts b/packages/jsts/src/rules/S4043/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4043/index.ts +++ b/packages/jsts/src/rules/S4043/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4043/meta.ts b/packages/jsts/src/rules/S4043/meta.ts index 0afddf8733f..ddd74b8f3db 100644 --- a/packages/jsts/src/rules/S4043/meta.ts +++ b/packages/jsts/src/rules/S4043/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4043/rule.ts b/packages/jsts/src/rules/S4043/rule.ts index 1bf1d7d371c..fde1f390ba9 100644 --- a/packages/jsts/src/rules/S4043/rule.ts +++ b/packages/jsts/src/rules/S4043/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4043/javascript diff --git a/packages/jsts/src/rules/S4043/unit.test.ts b/packages/jsts/src/rules/S4043/unit.test.ts index 652cfeec0ec..c0de09591a7 100644 --- a/packages/jsts/src/rules/S4043/unit.test.ts +++ b/packages/jsts/src/rules/S4043/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S4084/cb.test.ts b/packages/jsts/src/rules/S4084/cb.test.ts index f17aa6db58a..6387d0f8972 100644 --- a/packages/jsts/src/rules/S4084/cb.test.ts +++ b/packages/jsts/src/rules/S4084/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4084/decorator.ts b/packages/jsts/src/rules/S4084/decorator.ts index 8c80727510e..a514e39468e 100644 --- a/packages/jsts/src/rules/S4084/decorator.ts +++ b/packages/jsts/src/rules/S4084/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4084/javascript diff --git a/packages/jsts/src/rules/S4084/generated-meta.ts b/packages/jsts/src/rules/S4084/generated-meta.ts index 72c4a94143b..5888111b061 100644 --- a/packages/jsts/src/rules/S4084/generated-meta.ts +++ b/packages/jsts/src/rules/S4084/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4084/index.ts b/packages/jsts/src/rules/S4084/index.ts index 2a8b6431f7f..e783cbe8ee4 100644 --- a/packages/jsts/src/rules/S4084/index.ts +++ b/packages/jsts/src/rules/S4084/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules } from '../external/a11y.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S4084/meta.ts b/packages/jsts/src/rules/S4084/meta.ts index f449c5c79fa..b8843b4064b 100644 --- a/packages/jsts/src/rules/S4084/meta.ts +++ b/packages/jsts/src/rules/S4084/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S4123/generated-meta.ts b/packages/jsts/src/rules/S4123/generated-meta.ts index 8ae89b5b670..a4c8a6ff4cc 100644 --- a/packages/jsts/src/rules/S4123/generated-meta.ts +++ b/packages/jsts/src/rules/S4123/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4123/index.ts b/packages/jsts/src/rules/S4123/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4123/index.ts +++ b/packages/jsts/src/rules/S4123/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4123/meta.ts b/packages/jsts/src/rules/S4123/meta.ts index 17b774bbe6f..6d940a1ad87 100644 --- a/packages/jsts/src/rules/S4123/meta.ts +++ b/packages/jsts/src/rules/S4123/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4123/rule.ts b/packages/jsts/src/rules/S4123/rule.ts index 1c3647ddffe..484e7f5db3b 100644 --- a/packages/jsts/src/rules/S4123/rule.ts +++ b/packages/jsts/src/rules/S4123/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4123/javascript diff --git a/packages/jsts/src/rules/S4123/unit.test.ts b/packages/jsts/src/rules/S4123/unit.test.ts index c731768f37c..c39aa70e361 100644 --- a/packages/jsts/src/rules/S4123/unit.test.ts +++ b/packages/jsts/src/rules/S4123/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S4124/generated-meta.ts b/packages/jsts/src/rules/S4124/generated-meta.ts index a85ef9e6f14..3f4917e20b9 100644 --- a/packages/jsts/src/rules/S4124/generated-meta.ts +++ b/packages/jsts/src/rules/S4124/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4124/index.ts b/packages/jsts/src/rules/S4124/index.ts index e102e3c88d7..aa1a20465bf 100644 --- a/packages/jsts/src/rules/S4124/index.ts +++ b/packages/jsts/src/rules/S4124/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-misused-new']; diff --git a/packages/jsts/src/rules/S4124/meta.ts b/packages/jsts/src/rules/S4124/meta.ts index 78329e00e5d..58306b08951 100644 --- a/packages/jsts/src/rules/S4124/meta.ts +++ b/packages/jsts/src/rules/S4124/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S4125/generated-meta.ts b/packages/jsts/src/rules/S4125/generated-meta.ts index 1d9193a0328..27a9eb8156d 100644 --- a/packages/jsts/src/rules/S4125/generated-meta.ts +++ b/packages/jsts/src/rules/S4125/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4125/index.ts b/packages/jsts/src/rules/S4125/index.ts index 47bd6ca79a7..eb5a06e9db9 100644 --- a/packages/jsts/src/rules/S4125/index.ts +++ b/packages/jsts/src/rules/S4125/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('valid-typeof'); diff --git a/packages/jsts/src/rules/S4125/meta.ts b/packages/jsts/src/rules/S4125/meta.ts index 8cc6101fbf8..c0708da853e 100644 --- a/packages/jsts/src/rules/S4125/meta.ts +++ b/packages/jsts/src/rules/S4125/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S4136/generated-meta.ts b/packages/jsts/src/rules/S4136/generated-meta.ts index 465db6bc5d0..3e4cae01e81 100644 --- a/packages/jsts/src/rules/S4136/generated-meta.ts +++ b/packages/jsts/src/rules/S4136/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4136/index.ts b/packages/jsts/src/rules/S4136/index.ts index 8a77bf0f1a2..53e85b33ea8 100644 --- a/packages/jsts/src/rules/S4136/index.ts +++ b/packages/jsts/src/rules/S4136/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['adjacent-overload-signatures']; diff --git a/packages/jsts/src/rules/S4136/meta.ts b/packages/jsts/src/rules/S4136/meta.ts index 646bd47db27..e6e7d840185 100644 --- a/packages/jsts/src/rules/S4136/meta.ts +++ b/packages/jsts/src/rules/S4136/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S4137/generated-meta.ts b/packages/jsts/src/rules/S4137/generated-meta.ts index 313886db211..3d1f36770ef 100644 --- a/packages/jsts/src/rules/S4137/generated-meta.ts +++ b/packages/jsts/src/rules/S4137/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4137/index.ts b/packages/jsts/src/rules/S4137/index.ts index 525bf22396e..23463976368 100644 --- a/packages/jsts/src/rules/S4137/index.ts +++ b/packages/jsts/src/rules/S4137/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['consistent-type-assertions']; diff --git a/packages/jsts/src/rules/S4137/meta.ts b/packages/jsts/src/rules/S4137/meta.ts index 664a245c239..1dfc808a863 100644 --- a/packages/jsts/src/rules/S4137/meta.ts +++ b/packages/jsts/src/rules/S4137/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S4138/decorator.ts b/packages/jsts/src/rules/S4138/decorator.ts index 4381a2856a1..717f30f7a67 100644 --- a/packages/jsts/src/rules/S4138/decorator.ts +++ b/packages/jsts/src/rules/S4138/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4138/javascript diff --git a/packages/jsts/src/rules/S4138/generated-meta.ts b/packages/jsts/src/rules/S4138/generated-meta.ts index 30ebc4b87f9..87fa246bb1a 100644 --- a/packages/jsts/src/rules/S4138/generated-meta.ts +++ b/packages/jsts/src/rules/S4138/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4138/index.ts b/packages/jsts/src/rules/S4138/index.ts index e4a56fb2030..f59068ec0c4 100644 --- a/packages/jsts/src/rules/S4138/index.ts +++ b/packages/jsts/src/rules/S4138/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S4138/meta.ts b/packages/jsts/src/rules/S4138/meta.ts index 5d2b28e0742..2a47af04174 100644 --- a/packages/jsts/src/rules/S4138/meta.ts +++ b/packages/jsts/src/rules/S4138/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S4138/unit.test.ts b/packages/jsts/src/rules/S4138/unit.test.ts index 01625aa0178..09796e96fe5 100644 --- a/packages/jsts/src/rules/S4138/unit.test.ts +++ b/packages/jsts/src/rules/S4138/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4139/generated-meta.ts b/packages/jsts/src/rules/S4139/generated-meta.ts index 22d46b4d242..dc34a78467d 100644 --- a/packages/jsts/src/rules/S4139/generated-meta.ts +++ b/packages/jsts/src/rules/S4139/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4139/index.ts b/packages/jsts/src/rules/S4139/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4139/index.ts +++ b/packages/jsts/src/rules/S4139/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4139/meta.ts b/packages/jsts/src/rules/S4139/meta.ts index 02a28474e2f..5a0d77547d4 100644 --- a/packages/jsts/src/rules/S4139/meta.ts +++ b/packages/jsts/src/rules/S4139/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4139/rule.ts b/packages/jsts/src/rules/S4139/rule.ts index 932ede0956e..a4ece94a88d 100644 --- a/packages/jsts/src/rules/S4139/rule.ts +++ b/packages/jsts/src/rules/S4139/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4139/javascript diff --git a/packages/jsts/src/rules/S4139/unit.test.ts b/packages/jsts/src/rules/S4139/unit.test.ts index 887ad71e99d..d015a8bbe29 100644 --- a/packages/jsts/src/rules/S4139/unit.test.ts +++ b/packages/jsts/src/rules/S4139/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S4140/generated-meta.ts b/packages/jsts/src/rules/S4140/generated-meta.ts index d78bd2e78fe..ba28892c731 100644 --- a/packages/jsts/src/rules/S4140/generated-meta.ts +++ b/packages/jsts/src/rules/S4140/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4140/index.ts b/packages/jsts/src/rules/S4140/index.ts index b8de6acca85..1aa3a5fdf47 100644 --- a/packages/jsts/src/rules/S4140/index.ts +++ b/packages/jsts/src/rules/S4140/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-sparse-arrays'); diff --git a/packages/jsts/src/rules/S4140/meta.ts b/packages/jsts/src/rules/S4140/meta.ts index 0378e086a97..31e62b2a51e 100644 --- a/packages/jsts/src/rules/S4140/meta.ts +++ b/packages/jsts/src/rules/S4140/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S4143/generated-meta.ts b/packages/jsts/src/rules/S4143/generated-meta.ts index ddd70d71937..770fe49f14c 100644 --- a/packages/jsts/src/rules/S4143/generated-meta.ts +++ b/packages/jsts/src/rules/S4143/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4143/index.ts b/packages/jsts/src/rules/S4143/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4143/index.ts +++ b/packages/jsts/src/rules/S4143/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4143/meta.ts b/packages/jsts/src/rules/S4143/meta.ts index 02ab90d2587..14d883f430c 100644 --- a/packages/jsts/src/rules/S4143/meta.ts +++ b/packages/jsts/src/rules/S4143/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4143/rule.ts b/packages/jsts/src/rules/S4143/rule.ts index 9ca8ecff545..9f3c2dc6e9d 100644 --- a/packages/jsts/src/rules/S4143/rule.ts +++ b/packages/jsts/src/rules/S4143/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4143 diff --git a/packages/jsts/src/rules/S4143/unit.test.ts b/packages/jsts/src/rules/S4143/unit.test.ts index ae2791fbc3f..7b4ceac02e3 100644 --- a/packages/jsts/src/rules/S4143/unit.test.ts +++ b/packages/jsts/src/rules/S4143/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S4144/generated-meta.ts b/packages/jsts/src/rules/S4144/generated-meta.ts index 3ea5f7f4fdd..52c67098e7a 100644 --- a/packages/jsts/src/rules/S4144/generated-meta.ts +++ b/packages/jsts/src/rules/S4144/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4144/index.ts b/packages/jsts/src/rules/S4144/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4144/index.ts +++ b/packages/jsts/src/rules/S4144/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4144/meta.ts b/packages/jsts/src/rules/S4144/meta.ts index 972255fd1e5..2983e3f8a75 100644 --- a/packages/jsts/src/rules/S4144/meta.ts +++ b/packages/jsts/src/rules/S4144/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4144/rule.ts b/packages/jsts/src/rules/S4144/rule.ts index a293447c017..d6b4f594b20 100644 --- a/packages/jsts/src/rules/S4144/rule.ts +++ b/packages/jsts/src/rules/S4144/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4144 diff --git a/packages/jsts/src/rules/S4144/unit.test.ts b/packages/jsts/src/rules/S4144/unit.test.ts index 014f0e5a35c..452d54b295c 100644 --- a/packages/jsts/src/rules/S4144/unit.test.ts +++ b/packages/jsts/src/rules/S4144/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4156/cb.test.ts b/packages/jsts/src/rules/S4156/cb.test.ts index 22a7d007a40..70ba23d265b 100644 --- a/packages/jsts/src/rules/S4156/cb.test.ts +++ b/packages/jsts/src/rules/S4156/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4156/decorator.ts b/packages/jsts/src/rules/S4156/decorator.ts index 234c0e54909..b6b36585480 100644 --- a/packages/jsts/src/rules/S4156/decorator.ts +++ b/packages/jsts/src/rules/S4156/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/S4156/generated-meta.ts b/packages/jsts/src/rules/S4156/generated-meta.ts index c9de3ed1843..250e3fb3d82 100644 --- a/packages/jsts/src/rules/S4156/generated-meta.ts +++ b/packages/jsts/src/rules/S4156/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4156/index.ts b/packages/jsts/src/rules/S4156/index.ts index 11702436d72..57fe1774a1c 100644 --- a/packages/jsts/src/rules/S4156/index.ts +++ b/packages/jsts/src/rules/S4156/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4156/javascript diff --git a/packages/jsts/src/rules/S4156/meta.ts b/packages/jsts/src/rules/S4156/meta.ts index 1f830e1bd6f..ef8182c66db 100644 --- a/packages/jsts/src/rules/S4156/meta.ts +++ b/packages/jsts/src/rules/S4156/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S4157/generated-meta.ts b/packages/jsts/src/rules/S4157/generated-meta.ts index d6da04627b0..ba87ccecfcf 100644 --- a/packages/jsts/src/rules/S4157/generated-meta.ts +++ b/packages/jsts/src/rules/S4157/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4157/index.ts b/packages/jsts/src/rules/S4157/index.ts index 5742149fe16..4214e39b731 100644 --- a/packages/jsts/src/rules/S4157/index.ts +++ b/packages/jsts/src/rules/S4157/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-unnecessary-type-arguments']; diff --git a/packages/jsts/src/rules/S4157/meta.ts b/packages/jsts/src/rules/S4157/meta.ts index 49a2c7e3fe2..263fc1a3a22 100644 --- a/packages/jsts/src/rules/S4157/meta.ts +++ b/packages/jsts/src/rules/S4157/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S4158/generated-meta.ts b/packages/jsts/src/rules/S4158/generated-meta.ts index ac3e1e6c96f..241adb83e06 100644 --- a/packages/jsts/src/rules/S4158/generated-meta.ts +++ b/packages/jsts/src/rules/S4158/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4158/index.ts b/packages/jsts/src/rules/S4158/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4158/index.ts +++ b/packages/jsts/src/rules/S4158/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4158/meta.ts b/packages/jsts/src/rules/S4158/meta.ts index 8b518bd14b8..35940764d45 100644 --- a/packages/jsts/src/rules/S4158/meta.ts +++ b/packages/jsts/src/rules/S4158/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4158/rule.ts b/packages/jsts/src/rules/S4158/rule.ts index ea9590338a5..8e7775daa94 100644 --- a/packages/jsts/src/rules/S4158/rule.ts +++ b/packages/jsts/src/rules/S4158/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4158 diff --git a/packages/jsts/src/rules/S4158/unit.test.ts b/packages/jsts/src/rules/S4158/unit.test.ts index 7104e742030..bab17ed1b72 100644 --- a/packages/jsts/src/rules/S4158/unit.test.ts +++ b/packages/jsts/src/rules/S4158/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S4165/generated-meta.ts b/packages/jsts/src/rules/S4165/generated-meta.ts index 12c3a50db3a..10c3953d0a4 100644 --- a/packages/jsts/src/rules/S4165/generated-meta.ts +++ b/packages/jsts/src/rules/S4165/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4165/index.ts b/packages/jsts/src/rules/S4165/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4165/index.ts +++ b/packages/jsts/src/rules/S4165/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4165/meta.ts b/packages/jsts/src/rules/S4165/meta.ts index fe829a2e5b8..981016dd475 100644 --- a/packages/jsts/src/rules/S4165/meta.ts +++ b/packages/jsts/src/rules/S4165/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4165/rule.ts b/packages/jsts/src/rules/S4165/rule.ts index 0ebb35e03d4..06102b2ce52 100644 --- a/packages/jsts/src/rules/S4165/rule.ts +++ b/packages/jsts/src/rules/S4165/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4165/javascript diff --git a/packages/jsts/src/rules/S4165/unit.test.ts b/packages/jsts/src/rules/S4165/unit.test.ts index d9c330c568c..d5afed9a2c1 100644 --- a/packages/jsts/src/rules/S4165/unit.test.ts +++ b/packages/jsts/src/rules/S4165/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4204/generated-meta.ts b/packages/jsts/src/rules/S4204/generated-meta.ts index 0d8738a2f6f..cc890363494 100644 --- a/packages/jsts/src/rules/S4204/generated-meta.ts +++ b/packages/jsts/src/rules/S4204/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4204/index.ts b/packages/jsts/src/rules/S4204/index.ts index 3e501d9cb55..f696b6aed28 100644 --- a/packages/jsts/src/rules/S4204/index.ts +++ b/packages/jsts/src/rules/S4204/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-explicit-any']; diff --git a/packages/jsts/src/rules/S4204/meta.ts b/packages/jsts/src/rules/S4204/meta.ts index edb0826b0ef..fbc7e440fda 100644 --- a/packages/jsts/src/rules/S4204/meta.ts +++ b/packages/jsts/src/rules/S4204/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S4275/generated-meta.ts b/packages/jsts/src/rules/S4275/generated-meta.ts index 3144cdcdbb6..b0afbc64db9 100644 --- a/packages/jsts/src/rules/S4275/generated-meta.ts +++ b/packages/jsts/src/rules/S4275/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4275/index.ts b/packages/jsts/src/rules/S4275/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4275/index.ts +++ b/packages/jsts/src/rules/S4275/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4275/meta.ts b/packages/jsts/src/rules/S4275/meta.ts index 8bb8640254f..7b7e34c9247 100644 --- a/packages/jsts/src/rules/S4275/meta.ts +++ b/packages/jsts/src/rules/S4275/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S4275/rule.ts b/packages/jsts/src/rules/S4275/rule.ts index 63b3cb2f4fc..f19a5781543 100644 --- a/packages/jsts/src/rules/S4275/rule.ts +++ b/packages/jsts/src/rules/S4275/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4275/javascript diff --git a/packages/jsts/src/rules/S4275/unit.test.ts b/packages/jsts/src/rules/S4275/unit.test.ts index c7728e80803..008c73fdab6 100644 --- a/packages/jsts/src/rules/S4275/unit.test.ts +++ b/packages/jsts/src/rules/S4275/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S4322/generated-meta.ts b/packages/jsts/src/rules/S4322/generated-meta.ts index 793e1807289..7506edf8765 100644 --- a/packages/jsts/src/rules/S4322/generated-meta.ts +++ b/packages/jsts/src/rules/S4322/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4322/index.ts b/packages/jsts/src/rules/S4322/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4322/index.ts +++ b/packages/jsts/src/rules/S4322/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4322/meta.ts b/packages/jsts/src/rules/S4322/meta.ts index 0ea99cbae5d..040669cd619 100644 --- a/packages/jsts/src/rules/S4322/meta.ts +++ b/packages/jsts/src/rules/S4322/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4322/rule.ts b/packages/jsts/src/rules/S4322/rule.ts index f4fe89e8ce3..3be1f6589f2 100644 --- a/packages/jsts/src/rules/S4322/rule.ts +++ b/packages/jsts/src/rules/S4322/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4322/javascript diff --git a/packages/jsts/src/rules/S4322/unit.test.ts b/packages/jsts/src/rules/S4322/unit.test.ts index 08976b8bdf3..c497cca8869 100644 --- a/packages/jsts/src/rules/S4322/unit.test.ts +++ b/packages/jsts/src/rules/S4322/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4323/generated-meta.ts b/packages/jsts/src/rules/S4323/generated-meta.ts index fad7bc2e85b..90487183f42 100644 --- a/packages/jsts/src/rules/S4323/generated-meta.ts +++ b/packages/jsts/src/rules/S4323/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4323/index.ts b/packages/jsts/src/rules/S4323/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4323/index.ts +++ b/packages/jsts/src/rules/S4323/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4323/meta.ts b/packages/jsts/src/rules/S4323/meta.ts index f8e2169e7a0..e66c91b86c2 100644 --- a/packages/jsts/src/rules/S4323/meta.ts +++ b/packages/jsts/src/rules/S4323/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4323/rule.ts b/packages/jsts/src/rules/S4323/rule.ts index fff91b8d0be..2a132fc6cc1 100644 --- a/packages/jsts/src/rules/S4323/rule.ts +++ b/packages/jsts/src/rules/S4323/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4323/javascript diff --git a/packages/jsts/src/rules/S4323/unit.test.ts b/packages/jsts/src/rules/S4323/unit.test.ts index 32ca53ad4b1..5113e4ec371 100644 --- a/packages/jsts/src/rules/S4323/unit.test.ts +++ b/packages/jsts/src/rules/S4323/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4324/generated-meta.ts b/packages/jsts/src/rules/S4324/generated-meta.ts index 662e12148ee..4acf2a71e6f 100644 --- a/packages/jsts/src/rules/S4324/generated-meta.ts +++ b/packages/jsts/src/rules/S4324/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4324/index.ts b/packages/jsts/src/rules/S4324/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4324/index.ts +++ b/packages/jsts/src/rules/S4324/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4324/meta.ts b/packages/jsts/src/rules/S4324/meta.ts index 1c573edf4d9..4c91fbaa2ea 100644 --- a/packages/jsts/src/rules/S4324/meta.ts +++ b/packages/jsts/src/rules/S4324/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4324/rule.ts b/packages/jsts/src/rules/S4324/rule.ts index 33b3e27775f..9f28824d3d7 100644 --- a/packages/jsts/src/rules/S4324/rule.ts +++ b/packages/jsts/src/rules/S4324/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4324/javascript diff --git a/packages/jsts/src/rules/S4324/unit.test.ts b/packages/jsts/src/rules/S4324/unit.test.ts index 6e7f41acc45..5e2a6f0b417 100644 --- a/packages/jsts/src/rules/S4324/unit.test.ts +++ b/packages/jsts/src/rules/S4324/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4325/generated-meta.ts b/packages/jsts/src/rules/S4325/generated-meta.ts index bc3710f94d1..5c369c10448 100644 --- a/packages/jsts/src/rules/S4325/generated-meta.ts +++ b/packages/jsts/src/rules/S4325/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4325/index.ts b/packages/jsts/src/rules/S4325/index.ts index 68310c6427b..798e0ecd17e 100644 --- a/packages/jsts/src/rules/S4325/index.ts +++ b/packages/jsts/src/rules/S4325/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-unnecessary-type-assertion']; diff --git a/packages/jsts/src/rules/S4325/meta.ts b/packages/jsts/src/rules/S4325/meta.ts index 71dd18de65e..188f26b3685 100644 --- a/packages/jsts/src/rules/S4325/meta.ts +++ b/packages/jsts/src/rules/S4325/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S4326/generated-meta.ts b/packages/jsts/src/rules/S4326/generated-meta.ts index 2c03e08eb90..9ce80dbcbbe 100644 --- a/packages/jsts/src/rules/S4326/generated-meta.ts +++ b/packages/jsts/src/rules/S4326/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4326/index.ts b/packages/jsts/src/rules/S4326/index.ts index 93b095b3025..1e18f342998 100644 --- a/packages/jsts/src/rules/S4326/index.ts +++ b/packages/jsts/src/rules/S4326/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-return-await'); diff --git a/packages/jsts/src/rules/S4326/meta.ts b/packages/jsts/src/rules/S4326/meta.ts index 1f32e742f6a..5c2d8e3dd0f 100644 --- a/packages/jsts/src/rules/S4326/meta.ts +++ b/packages/jsts/src/rules/S4326/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S4327/cb.test.ts b/packages/jsts/src/rules/S4327/cb.test.ts index 868ac217cf7..6a032921e0a 100644 --- a/packages/jsts/src/rules/S4327/cb.test.ts +++ b/packages/jsts/src/rules/S4327/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4327/decorator.ts b/packages/jsts/src/rules/S4327/decorator.ts index 6cec6e10725..ccc2c8928d4 100644 --- a/packages/jsts/src/rules/S4327/decorator.ts +++ b/packages/jsts/src/rules/S4327/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Rule, Scope } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/S4327/generated-meta.ts b/packages/jsts/src/rules/S4327/generated-meta.ts index cdca583f08a..f591edb43cf 100644 --- a/packages/jsts/src/rules/S4327/generated-meta.ts +++ b/packages/jsts/src/rules/S4327/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4327/index.ts b/packages/jsts/src/rules/S4327/index.ts index a419a96382a..92bdc49d494 100644 --- a/packages/jsts/src/rules/S4327/index.ts +++ b/packages/jsts/src/rules/S4327/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S4327/meta.ts b/packages/jsts/src/rules/S4327/meta.ts index 1021004d6e8..b1f2d3f8ae9 100644 --- a/packages/jsts/src/rules/S4327/meta.ts +++ b/packages/jsts/src/rules/S4327/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S4328/generated-meta.ts b/packages/jsts/src/rules/S4328/generated-meta.ts index f7ad69f9d89..9741425d9aa 100644 --- a/packages/jsts/src/rules/S4328/generated-meta.ts +++ b/packages/jsts/src/rules/S4328/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4328/index.ts b/packages/jsts/src/rules/S4328/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4328/index.ts +++ b/packages/jsts/src/rules/S4328/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4328/meta.ts b/packages/jsts/src/rules/S4328/meta.ts index adfbcc411ed..46eb7f8ed46 100644 --- a/packages/jsts/src/rules/S4328/meta.ts +++ b/packages/jsts/src/rules/S4328/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4328/rule.ts b/packages/jsts/src/rules/S4328/rule.ts index e57612ce805..cd7b3fca7ff 100644 --- a/packages/jsts/src/rules/S4328/rule.ts +++ b/packages/jsts/src/rules/S4328/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4328/javascript diff --git a/packages/jsts/src/rules/S4328/unit.test.ts b/packages/jsts/src/rules/S4328/unit.test.ts index 79cecbfe97b..42e237117f9 100644 --- a/packages/jsts/src/rules/S4328/unit.test.ts +++ b/packages/jsts/src/rules/S4328/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4335/generated-meta.ts b/packages/jsts/src/rules/S4335/generated-meta.ts index 471f0dce2aa..5adba9c4025 100644 --- a/packages/jsts/src/rules/S4335/generated-meta.ts +++ b/packages/jsts/src/rules/S4335/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4335/index.ts b/packages/jsts/src/rules/S4335/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4335/index.ts +++ b/packages/jsts/src/rules/S4335/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4335/meta.ts b/packages/jsts/src/rules/S4335/meta.ts index e9a2747c8d8..396190e1adf 100644 --- a/packages/jsts/src/rules/S4335/meta.ts +++ b/packages/jsts/src/rules/S4335/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4335/rule.ts b/packages/jsts/src/rules/S4335/rule.ts index 04b6bdc74bd..84b1d1047fc 100644 --- a/packages/jsts/src/rules/S4335/rule.ts +++ b/packages/jsts/src/rules/S4335/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4335/javascript diff --git a/packages/jsts/src/rules/S4335/unit.test.ts b/packages/jsts/src/rules/S4335/unit.test.ts index 01fbf145abe..08d5ceecba8 100644 --- a/packages/jsts/src/rules/S4335/unit.test.ts +++ b/packages/jsts/src/rules/S4335/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4423/cb.test.ts b/packages/jsts/src/rules/S4423/cb.test.ts index 67eab66a864..5480389d574 100644 --- a/packages/jsts/src/rules/S4423/cb.test.ts +++ b/packages/jsts/src/rules/S4423/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4423/generated-meta.ts b/packages/jsts/src/rules/S4423/generated-meta.ts index 8b7e6687b5c..cf367a9f020 100644 --- a/packages/jsts/src/rules/S4423/generated-meta.ts +++ b/packages/jsts/src/rules/S4423/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4423/index.ts b/packages/jsts/src/rules/S4423/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4423/index.ts +++ b/packages/jsts/src/rules/S4423/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4423/meta.ts b/packages/jsts/src/rules/S4423/meta.ts index a6295f51189..1440ee6f03d 100644 --- a/packages/jsts/src/rules/S4423/meta.ts +++ b/packages/jsts/src/rules/S4423/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4423/rule.aws.ts b/packages/jsts/src/rules/S4423/rule.aws.ts index aabfffdbe90..767a1ce1662 100644 --- a/packages/jsts/src/rules/S4423/rule.aws.ts +++ b/packages/jsts/src/rules/S4423/rule.aws.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4423/javascript diff --git a/packages/jsts/src/rules/S4423/rule.lib.ts b/packages/jsts/src/rules/S4423/rule.lib.ts index 53af7784bb9..4ffc3a74610 100644 --- a/packages/jsts/src/rules/S4423/rule.lib.ts +++ b/packages/jsts/src/rules/S4423/rule.lib.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4423/javascript diff --git a/packages/jsts/src/rules/S4423/rule.ts b/packages/jsts/src/rules/S4423/rule.ts index 8cd28663f36..66ac1d44c16 100644 --- a/packages/jsts/src/rules/S4423/rule.ts +++ b/packages/jsts/src/rules/S4423/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4423/javascript diff --git a/packages/jsts/src/rules/S4423/unit.test.ts b/packages/jsts/src/rules/S4423/unit.test.ts index fac0d833e8f..05d11ffc087 100644 --- a/packages/jsts/src/rules/S4423/unit.test.ts +++ b/packages/jsts/src/rules/S4423/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4426/generated-meta.ts b/packages/jsts/src/rules/S4426/generated-meta.ts index 6cbe1072251..020c0575f61 100644 --- a/packages/jsts/src/rules/S4426/generated-meta.ts +++ b/packages/jsts/src/rules/S4426/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4426/index.ts b/packages/jsts/src/rules/S4426/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4426/index.ts +++ b/packages/jsts/src/rules/S4426/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4426/meta.ts b/packages/jsts/src/rules/S4426/meta.ts index 65e0463d943..da88bf4d84c 100644 --- a/packages/jsts/src/rules/S4426/meta.ts +++ b/packages/jsts/src/rules/S4426/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4426/rule.ts b/packages/jsts/src/rules/S4426/rule.ts index 9b5c13e885e..e3fe0a51fb0 100644 --- a/packages/jsts/src/rules/S4426/rule.ts +++ b/packages/jsts/src/rules/S4426/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4426/javascript diff --git a/packages/jsts/src/rules/S4426/unit.test.ts b/packages/jsts/src/rules/S4426/unit.test.ts index fa57435cdef..3280876d688 100644 --- a/packages/jsts/src/rules/S4426/unit.test.ts +++ b/packages/jsts/src/rules/S4426/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4502/generated-meta.ts b/packages/jsts/src/rules/S4502/generated-meta.ts index c586afdb14c..f273cdac8e6 100644 --- a/packages/jsts/src/rules/S4502/generated-meta.ts +++ b/packages/jsts/src/rules/S4502/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4502/index.ts b/packages/jsts/src/rules/S4502/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4502/index.ts +++ b/packages/jsts/src/rules/S4502/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4502/meta.ts b/packages/jsts/src/rules/S4502/meta.ts index fddac50a531..e0175d75956 100644 --- a/packages/jsts/src/rules/S4502/meta.ts +++ b/packages/jsts/src/rules/S4502/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4502/rule.ts b/packages/jsts/src/rules/S4502/rule.ts index 68212be9bb3..84b0344adc7 100644 --- a/packages/jsts/src/rules/S4502/rule.ts +++ b/packages/jsts/src/rules/S4502/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4502/javascript diff --git a/packages/jsts/src/rules/S4502/unit.test.ts b/packages/jsts/src/rules/S4502/unit.test.ts index 82268bc732d..7b678c58670 100644 --- a/packages/jsts/src/rules/S4502/unit.test.ts +++ b/packages/jsts/src/rules/S4502/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4507/generated-meta.ts b/packages/jsts/src/rules/S4507/generated-meta.ts index ae8b8bef4f4..0b45c921473 100644 --- a/packages/jsts/src/rules/S4507/generated-meta.ts +++ b/packages/jsts/src/rules/S4507/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4507/index.ts b/packages/jsts/src/rules/S4507/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4507/index.ts +++ b/packages/jsts/src/rules/S4507/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4507/meta.ts b/packages/jsts/src/rules/S4507/meta.ts index 6ea3844f6ec..73d69f7dce5 100644 --- a/packages/jsts/src/rules/S4507/meta.ts +++ b/packages/jsts/src/rules/S4507/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4507/rule.ts b/packages/jsts/src/rules/S4507/rule.ts index 877a2a8c3fe..10cdc24d004 100644 --- a/packages/jsts/src/rules/S4507/rule.ts +++ b/packages/jsts/src/rules/S4507/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4507/javascript diff --git a/packages/jsts/src/rules/S4507/unit.test.ts b/packages/jsts/src/rules/S4507/unit.test.ts index 959809f7717..5d7e3182b7d 100644 --- a/packages/jsts/src/rules/S4507/unit.test.ts +++ b/packages/jsts/src/rules/S4507/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4524/generated-meta.ts b/packages/jsts/src/rules/S4524/generated-meta.ts index 95a33ff863c..5e0d7c7ca2d 100644 --- a/packages/jsts/src/rules/S4524/generated-meta.ts +++ b/packages/jsts/src/rules/S4524/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4524/index.ts b/packages/jsts/src/rules/S4524/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4524/index.ts +++ b/packages/jsts/src/rules/S4524/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4524/meta.ts b/packages/jsts/src/rules/S4524/meta.ts index 1b03209ecad..cc05c90a3de 100644 --- a/packages/jsts/src/rules/S4524/meta.ts +++ b/packages/jsts/src/rules/S4524/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4524/rule.ts b/packages/jsts/src/rules/S4524/rule.ts index 24c0ddf3f5a..32e0f586cc1 100644 --- a/packages/jsts/src/rules/S4524/rule.ts +++ b/packages/jsts/src/rules/S4524/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4524/javascript diff --git a/packages/jsts/src/rules/S4524/unit.test.ts b/packages/jsts/src/rules/S4524/unit.test.ts index afd0a357985..c210478d10d 100644 --- a/packages/jsts/src/rules/S4524/unit.test.ts +++ b/packages/jsts/src/rules/S4524/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4619/generated-meta.ts b/packages/jsts/src/rules/S4619/generated-meta.ts index 3fe2f53ca7e..80537d0c6d8 100644 --- a/packages/jsts/src/rules/S4619/generated-meta.ts +++ b/packages/jsts/src/rules/S4619/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4619/index.ts b/packages/jsts/src/rules/S4619/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4619/index.ts +++ b/packages/jsts/src/rules/S4619/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4619/meta.ts b/packages/jsts/src/rules/S4619/meta.ts index 33cc4ff5f5c..18d40e973bb 100644 --- a/packages/jsts/src/rules/S4619/meta.ts +++ b/packages/jsts/src/rules/S4619/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4619/rule.ts b/packages/jsts/src/rules/S4619/rule.ts index 5741d63447c..6fff68cb00c 100644 --- a/packages/jsts/src/rules/S4619/rule.ts +++ b/packages/jsts/src/rules/S4619/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4619/javascript diff --git a/packages/jsts/src/rules/S4619/unit.test.ts b/packages/jsts/src/rules/S4619/unit.test.ts index 49caa40f83b..33edbad24ea 100644 --- a/packages/jsts/src/rules/S4619/unit.test.ts +++ b/packages/jsts/src/rules/S4619/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4621/generated-meta.ts b/packages/jsts/src/rules/S4621/generated-meta.ts index a35b3877533..093b9e632e5 100644 --- a/packages/jsts/src/rules/S4621/generated-meta.ts +++ b/packages/jsts/src/rules/S4621/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4621/index.ts b/packages/jsts/src/rules/S4621/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4621/index.ts +++ b/packages/jsts/src/rules/S4621/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4621/meta.ts b/packages/jsts/src/rules/S4621/meta.ts index da6821851c8..2a72e6be465 100644 --- a/packages/jsts/src/rules/S4621/meta.ts +++ b/packages/jsts/src/rules/S4621/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4621/rule.ts b/packages/jsts/src/rules/S4621/rule.ts index 164a456830c..cc34f436e81 100644 --- a/packages/jsts/src/rules/S4621/rule.ts +++ b/packages/jsts/src/rules/S4621/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4621/javascript diff --git a/packages/jsts/src/rules/S4621/unit.test.ts b/packages/jsts/src/rules/S4621/unit.test.ts index 645ca6b6492..d2b661359ff 100644 --- a/packages/jsts/src/rules/S4621/unit.test.ts +++ b/packages/jsts/src/rules/S4621/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4622/generated-meta.ts b/packages/jsts/src/rules/S4622/generated-meta.ts index e689f743613..04fdd4f5d3f 100644 --- a/packages/jsts/src/rules/S4622/generated-meta.ts +++ b/packages/jsts/src/rules/S4622/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4622/index.ts b/packages/jsts/src/rules/S4622/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4622/index.ts +++ b/packages/jsts/src/rules/S4622/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4622/meta.ts b/packages/jsts/src/rules/S4622/meta.ts index c518ac3778c..38c5fcc731a 100644 --- a/packages/jsts/src/rules/S4622/meta.ts +++ b/packages/jsts/src/rules/S4622/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4622/rule.ts b/packages/jsts/src/rules/S4622/rule.ts index 5c72b104f30..046327f04d1 100644 --- a/packages/jsts/src/rules/S4622/rule.ts +++ b/packages/jsts/src/rules/S4622/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4622/javascript diff --git a/packages/jsts/src/rules/S4622/unit.test.ts b/packages/jsts/src/rules/S4622/unit.test.ts index a01f56b4d11..efc237b67ee 100644 --- a/packages/jsts/src/rules/S4622/unit.test.ts +++ b/packages/jsts/src/rules/S4622/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4623/generated-meta.ts b/packages/jsts/src/rules/S4623/generated-meta.ts index e812e1a339b..d0a3181ca6d 100644 --- a/packages/jsts/src/rules/S4623/generated-meta.ts +++ b/packages/jsts/src/rules/S4623/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4623/index.ts b/packages/jsts/src/rules/S4623/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4623/index.ts +++ b/packages/jsts/src/rules/S4623/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4623/meta.ts b/packages/jsts/src/rules/S4623/meta.ts index 410f680a8c1..2b62b9da6be 100644 --- a/packages/jsts/src/rules/S4623/meta.ts +++ b/packages/jsts/src/rules/S4623/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4623/rule.ts b/packages/jsts/src/rules/S4623/rule.ts index f472235adde..c26978cd4fe 100644 --- a/packages/jsts/src/rules/S4623/rule.ts +++ b/packages/jsts/src/rules/S4623/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4623/javascript diff --git a/packages/jsts/src/rules/S4623/unit.test.ts b/packages/jsts/src/rules/S4623/unit.test.ts index bfef8c53664..a5555618326 100644 --- a/packages/jsts/src/rules/S4623/unit.test.ts +++ b/packages/jsts/src/rules/S4623/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4624/generated-meta.ts b/packages/jsts/src/rules/S4624/generated-meta.ts index 0de47f976e2..c6ef3e4dc28 100644 --- a/packages/jsts/src/rules/S4624/generated-meta.ts +++ b/packages/jsts/src/rules/S4624/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4624/index.ts b/packages/jsts/src/rules/S4624/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4624/index.ts +++ b/packages/jsts/src/rules/S4624/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4624/meta.ts b/packages/jsts/src/rules/S4624/meta.ts index a35a9fd73cb..03fb4c28458 100644 --- a/packages/jsts/src/rules/S4624/meta.ts +++ b/packages/jsts/src/rules/S4624/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4624/rule.ts b/packages/jsts/src/rules/S4624/rule.ts index f2a46c2970a..35c73c86052 100644 --- a/packages/jsts/src/rules/S4624/rule.ts +++ b/packages/jsts/src/rules/S4624/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4624 diff --git a/packages/jsts/src/rules/S4624/unit.test.ts b/packages/jsts/src/rules/S4624/unit.test.ts index 2fc01b1349a..0ff162b0939 100644 --- a/packages/jsts/src/rules/S4624/unit.test.ts +++ b/packages/jsts/src/rules/S4624/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S4634/generated-meta.ts b/packages/jsts/src/rules/S4634/generated-meta.ts index 06eb0b2bf6b..daf48c10bc9 100644 --- a/packages/jsts/src/rules/S4634/generated-meta.ts +++ b/packages/jsts/src/rules/S4634/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4634/index.ts b/packages/jsts/src/rules/S4634/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4634/index.ts +++ b/packages/jsts/src/rules/S4634/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4634/meta.ts b/packages/jsts/src/rules/S4634/meta.ts index 957b08341e9..0f147f2e718 100644 --- a/packages/jsts/src/rules/S4634/meta.ts +++ b/packages/jsts/src/rules/S4634/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4634/rule.ts b/packages/jsts/src/rules/S4634/rule.ts index 1571288247b..660be9a51d6 100644 --- a/packages/jsts/src/rules/S4634/rule.ts +++ b/packages/jsts/src/rules/S4634/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4634/javascript diff --git a/packages/jsts/src/rules/S4634/unit.test.ts b/packages/jsts/src/rules/S4634/unit.test.ts index f6ca16f97ce..d0f24d1ec9c 100644 --- a/packages/jsts/src/rules/S4634/unit.test.ts +++ b/packages/jsts/src/rules/S4634/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4721/generated-meta.ts b/packages/jsts/src/rules/S4721/generated-meta.ts index 36a7950f142..c451d35c951 100644 --- a/packages/jsts/src/rules/S4721/generated-meta.ts +++ b/packages/jsts/src/rules/S4721/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4721/index.ts b/packages/jsts/src/rules/S4721/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4721/index.ts +++ b/packages/jsts/src/rules/S4721/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4721/meta.ts b/packages/jsts/src/rules/S4721/meta.ts index e99e00868ae..21af99a102a 100644 --- a/packages/jsts/src/rules/S4721/meta.ts +++ b/packages/jsts/src/rules/S4721/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4721/rule.ts b/packages/jsts/src/rules/S4721/rule.ts index 81a403aae16..a0f409bee51 100644 --- a/packages/jsts/src/rules/S4721/rule.ts +++ b/packages/jsts/src/rules/S4721/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4721/javascript diff --git a/packages/jsts/src/rules/S4721/unit.test.ts b/packages/jsts/src/rules/S4721/unit.test.ts index 195f7ebb897..3d2b5784fe6 100644 --- a/packages/jsts/src/rules/S4721/unit.test.ts +++ b/packages/jsts/src/rules/S4721/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4782/generated-meta.ts b/packages/jsts/src/rules/S4782/generated-meta.ts index 093d069c6dc..cd34f0156a0 100644 --- a/packages/jsts/src/rules/S4782/generated-meta.ts +++ b/packages/jsts/src/rules/S4782/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4782/index.ts b/packages/jsts/src/rules/S4782/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4782/index.ts +++ b/packages/jsts/src/rules/S4782/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4782/meta.ts b/packages/jsts/src/rules/S4782/meta.ts index 7e0cffdba2c..760a55fe60b 100644 --- a/packages/jsts/src/rules/S4782/meta.ts +++ b/packages/jsts/src/rules/S4782/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4782/rule.ts b/packages/jsts/src/rules/S4782/rule.ts index aebefa83e1b..c6998fa3168 100644 --- a/packages/jsts/src/rules/S4782/rule.ts +++ b/packages/jsts/src/rules/S4782/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4782/javascript diff --git a/packages/jsts/src/rules/S4782/unit.test.ts b/packages/jsts/src/rules/S4782/unit.test.ts index 6115188981a..f779f5e6ecf 100644 --- a/packages/jsts/src/rules/S4782/unit.test.ts +++ b/packages/jsts/src/rules/S4782/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4784/generated-meta.ts b/packages/jsts/src/rules/S4784/generated-meta.ts index cd53f4d6d69..25246e4a42a 100644 --- a/packages/jsts/src/rules/S4784/generated-meta.ts +++ b/packages/jsts/src/rules/S4784/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4784/index.ts b/packages/jsts/src/rules/S4784/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4784/index.ts +++ b/packages/jsts/src/rules/S4784/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4784/meta.ts b/packages/jsts/src/rules/S4784/meta.ts index 1a4afed233b..45ed18cdbc1 100644 --- a/packages/jsts/src/rules/S4784/meta.ts +++ b/packages/jsts/src/rules/S4784/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4784/rule.ts b/packages/jsts/src/rules/S4784/rule.ts index 40b010ce235..2304d7e4963 100644 --- a/packages/jsts/src/rules/S4784/rule.ts +++ b/packages/jsts/src/rules/S4784/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4784/javascript diff --git a/packages/jsts/src/rules/S4784/unit.test.ts b/packages/jsts/src/rules/S4784/unit.test.ts index 9a1d2596d99..c2e36095d98 100644 --- a/packages/jsts/src/rules/S4784/unit.test.ts +++ b/packages/jsts/src/rules/S4784/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4787/generated-meta.ts b/packages/jsts/src/rules/S4787/generated-meta.ts index 1d65cdced33..28d3258fa24 100644 --- a/packages/jsts/src/rules/S4787/generated-meta.ts +++ b/packages/jsts/src/rules/S4787/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4787/index.ts b/packages/jsts/src/rules/S4787/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4787/index.ts +++ b/packages/jsts/src/rules/S4787/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4787/meta.ts b/packages/jsts/src/rules/S4787/meta.ts index 463dcfcdce8..d5064954ff7 100644 --- a/packages/jsts/src/rules/S4787/meta.ts +++ b/packages/jsts/src/rules/S4787/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4787/rule.ts b/packages/jsts/src/rules/S4787/rule.ts index cdf2695eec9..2c43ae33c84 100644 --- a/packages/jsts/src/rules/S4787/rule.ts +++ b/packages/jsts/src/rules/S4787/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4787/javascript diff --git a/packages/jsts/src/rules/S4787/unit.test.ts b/packages/jsts/src/rules/S4787/unit.test.ts index 31e520611d1..8d735d7364f 100644 --- a/packages/jsts/src/rules/S4787/unit.test.ts +++ b/packages/jsts/src/rules/S4787/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4790/cb.test.ts b/packages/jsts/src/rules/S4790/cb.test.ts index 570d9be9f5f..65201f3c233 100644 --- a/packages/jsts/src/rules/S4790/cb.test.ts +++ b/packages/jsts/src/rules/S4790/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4790/generated-meta.ts b/packages/jsts/src/rules/S4790/generated-meta.ts index f06ce1f3e8b..80ea7303bd9 100644 --- a/packages/jsts/src/rules/S4790/generated-meta.ts +++ b/packages/jsts/src/rules/S4790/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4790/index.ts b/packages/jsts/src/rules/S4790/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4790/index.ts +++ b/packages/jsts/src/rules/S4790/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4790/meta.ts b/packages/jsts/src/rules/S4790/meta.ts index 14167859112..42027c1de5e 100644 --- a/packages/jsts/src/rules/S4790/meta.ts +++ b/packages/jsts/src/rules/S4790/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4790/rule.ts b/packages/jsts/src/rules/S4790/rule.ts index e3ccb5a0306..ed93582bda4 100644 --- a/packages/jsts/src/rules/S4790/rule.ts +++ b/packages/jsts/src/rules/S4790/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4790/javascript diff --git a/packages/jsts/src/rules/S4798/generated-meta.ts b/packages/jsts/src/rules/S4798/generated-meta.ts index 4ff11d8c1da..1c74291e158 100644 --- a/packages/jsts/src/rules/S4798/generated-meta.ts +++ b/packages/jsts/src/rules/S4798/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4798/index.ts b/packages/jsts/src/rules/S4798/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4798/index.ts +++ b/packages/jsts/src/rules/S4798/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4798/meta.ts b/packages/jsts/src/rules/S4798/meta.ts index 5ccbb8e0c84..98bdd5a952d 100644 --- a/packages/jsts/src/rules/S4798/meta.ts +++ b/packages/jsts/src/rules/S4798/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4798/rule.ts b/packages/jsts/src/rules/S4798/rule.ts index dfd1d0a024b..ba2f0e8a97e 100644 --- a/packages/jsts/src/rules/S4798/rule.ts +++ b/packages/jsts/src/rules/S4798/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4798/javascript diff --git a/packages/jsts/src/rules/S4798/unit.test.ts b/packages/jsts/src/rules/S4798/unit.test.ts index e147456e34d..04eb7712248 100644 --- a/packages/jsts/src/rules/S4798/unit.test.ts +++ b/packages/jsts/src/rules/S4798/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S4817/generated-meta.ts b/packages/jsts/src/rules/S4817/generated-meta.ts index 240e2593621..3515942d315 100644 --- a/packages/jsts/src/rules/S4817/generated-meta.ts +++ b/packages/jsts/src/rules/S4817/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4817/index.ts b/packages/jsts/src/rules/S4817/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4817/index.ts +++ b/packages/jsts/src/rules/S4817/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4817/meta.ts b/packages/jsts/src/rules/S4817/meta.ts index 3ae86e92cce..954c799bd73 100644 --- a/packages/jsts/src/rules/S4817/meta.ts +++ b/packages/jsts/src/rules/S4817/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4817/rule.ts b/packages/jsts/src/rules/S4817/rule.ts index 7805ed7a30e..211d72f9dab 100644 --- a/packages/jsts/src/rules/S4817/rule.ts +++ b/packages/jsts/src/rules/S4817/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4817/javascript diff --git a/packages/jsts/src/rules/S4817/unit.test.ts b/packages/jsts/src/rules/S4817/unit.test.ts index c52638d5a12..e14f275a25c 100644 --- a/packages/jsts/src/rules/S4817/unit.test.ts +++ b/packages/jsts/src/rules/S4817/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4818/generated-meta.ts b/packages/jsts/src/rules/S4818/generated-meta.ts index 189c7657d7b..16ed68a8971 100644 --- a/packages/jsts/src/rules/S4818/generated-meta.ts +++ b/packages/jsts/src/rules/S4818/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4818/index.ts b/packages/jsts/src/rules/S4818/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4818/index.ts +++ b/packages/jsts/src/rules/S4818/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4818/meta.ts b/packages/jsts/src/rules/S4818/meta.ts index cd251da402d..fec958ca4bb 100644 --- a/packages/jsts/src/rules/S4818/meta.ts +++ b/packages/jsts/src/rules/S4818/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4818/rule.ts b/packages/jsts/src/rules/S4818/rule.ts index 791d4518962..aa380ef339e 100644 --- a/packages/jsts/src/rules/S4818/rule.ts +++ b/packages/jsts/src/rules/S4818/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4818/javascript diff --git a/packages/jsts/src/rules/S4818/unit.test.ts b/packages/jsts/src/rules/S4818/unit.test.ts index f1c2e0533bd..5db86b7e479 100644 --- a/packages/jsts/src/rules/S4818/unit.test.ts +++ b/packages/jsts/src/rules/S4818/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4822/generated-meta.ts b/packages/jsts/src/rules/S4822/generated-meta.ts index 9da2662b166..84c449caa27 100644 --- a/packages/jsts/src/rules/S4822/generated-meta.ts +++ b/packages/jsts/src/rules/S4822/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4822/index.ts b/packages/jsts/src/rules/S4822/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4822/index.ts +++ b/packages/jsts/src/rules/S4822/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4822/meta.ts b/packages/jsts/src/rules/S4822/meta.ts index 01a54dc609c..7805288e3c8 100644 --- a/packages/jsts/src/rules/S4822/meta.ts +++ b/packages/jsts/src/rules/S4822/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4822/rule.ts b/packages/jsts/src/rules/S4822/rule.ts index bd781b8820e..e0e51a5fe83 100644 --- a/packages/jsts/src/rules/S4822/rule.ts +++ b/packages/jsts/src/rules/S4822/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4822/javascript diff --git a/packages/jsts/src/rules/S4822/unit.test.ts b/packages/jsts/src/rules/S4822/unit.test.ts index 90b107a697e..e9f041d23dd 100644 --- a/packages/jsts/src/rules/S4822/unit.test.ts +++ b/packages/jsts/src/rules/S4822/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4823/generated-meta.ts b/packages/jsts/src/rules/S4823/generated-meta.ts index c7036fdb708..4e741efae5e 100644 --- a/packages/jsts/src/rules/S4823/generated-meta.ts +++ b/packages/jsts/src/rules/S4823/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4823/index.ts b/packages/jsts/src/rules/S4823/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4823/index.ts +++ b/packages/jsts/src/rules/S4823/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4823/meta.ts b/packages/jsts/src/rules/S4823/meta.ts index 8a325142cd8..cb629acebe1 100644 --- a/packages/jsts/src/rules/S4823/meta.ts +++ b/packages/jsts/src/rules/S4823/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4823/rule.ts b/packages/jsts/src/rules/S4823/rule.ts index 5d6e01c0885..57ad5d8ce62 100644 --- a/packages/jsts/src/rules/S4823/rule.ts +++ b/packages/jsts/src/rules/S4823/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4823/javascript diff --git a/packages/jsts/src/rules/S4823/unit.test.ts b/packages/jsts/src/rules/S4823/unit.test.ts index 53f962a1404..2ca1e99d2df 100644 --- a/packages/jsts/src/rules/S4823/unit.test.ts +++ b/packages/jsts/src/rules/S4823/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4829/generated-meta.ts b/packages/jsts/src/rules/S4829/generated-meta.ts index 2d6524c796f..18299f3e793 100644 --- a/packages/jsts/src/rules/S4829/generated-meta.ts +++ b/packages/jsts/src/rules/S4829/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4829/index.ts b/packages/jsts/src/rules/S4829/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4829/index.ts +++ b/packages/jsts/src/rules/S4829/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4829/meta.ts b/packages/jsts/src/rules/S4829/meta.ts index b0a36f1ee6c..b2ef7d22d44 100644 --- a/packages/jsts/src/rules/S4829/meta.ts +++ b/packages/jsts/src/rules/S4829/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4829/rule.ts b/packages/jsts/src/rules/S4829/rule.ts index 8d348346ad8..f0ce7b65511 100644 --- a/packages/jsts/src/rules/S4829/rule.ts +++ b/packages/jsts/src/rules/S4829/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4829/javascript diff --git a/packages/jsts/src/rules/S4829/unit.test.ts b/packages/jsts/src/rules/S4829/unit.test.ts index d238b4bd440..07ec7b0409a 100644 --- a/packages/jsts/src/rules/S4829/unit.test.ts +++ b/packages/jsts/src/rules/S4829/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S4830/generated-meta.ts b/packages/jsts/src/rules/S4830/generated-meta.ts index 0391aaf2142..8bdcf2f7689 100644 --- a/packages/jsts/src/rules/S4830/generated-meta.ts +++ b/packages/jsts/src/rules/S4830/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S4830/index.ts b/packages/jsts/src/rules/S4830/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S4830/index.ts +++ b/packages/jsts/src/rules/S4830/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S4830/meta.ts b/packages/jsts/src/rules/S4830/meta.ts index 1cdbafe6a3b..6928d11ae07 100644 --- a/packages/jsts/src/rules/S4830/meta.ts +++ b/packages/jsts/src/rules/S4830/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S4830/rule.ts b/packages/jsts/src/rules/S4830/rule.ts index e995f70da3c..0669013bbb8 100644 --- a/packages/jsts/src/rules/S4830/rule.ts +++ b/packages/jsts/src/rules/S4830/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S4830/javascript diff --git a/packages/jsts/src/rules/S4830/unit.test.ts b/packages/jsts/src/rules/S4830/unit.test.ts index 7f9b9d78854..340624798b9 100644 --- a/packages/jsts/src/rules/S4830/unit.test.ts +++ b/packages/jsts/src/rules/S4830/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5042/generated-meta.ts b/packages/jsts/src/rules/S5042/generated-meta.ts index 16b0c85c62f..03e3bad46b2 100644 --- a/packages/jsts/src/rules/S5042/generated-meta.ts +++ b/packages/jsts/src/rules/S5042/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5042/index.ts b/packages/jsts/src/rules/S5042/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5042/index.ts +++ b/packages/jsts/src/rules/S5042/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5042/meta.ts b/packages/jsts/src/rules/S5042/meta.ts index 3f85228c3b1..cdc6adf235d 100644 --- a/packages/jsts/src/rules/S5042/meta.ts +++ b/packages/jsts/src/rules/S5042/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5042/rule.ts b/packages/jsts/src/rules/S5042/rule.ts index c93cf952156..21ad4ccd99e 100644 --- a/packages/jsts/src/rules/S5042/rule.ts +++ b/packages/jsts/src/rules/S5042/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5042/javascript diff --git a/packages/jsts/src/rules/S5042/unit.test.ts b/packages/jsts/src/rules/S5042/unit.test.ts index dde2459313c..be395fd4838 100644 --- a/packages/jsts/src/rules/S5042/unit.test.ts +++ b/packages/jsts/src/rules/S5042/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5122/cb.test.ts b/packages/jsts/src/rules/S5122/cb.test.ts index 594a1768ada..e8a578d8ee3 100644 --- a/packages/jsts/src/rules/S5122/cb.test.ts +++ b/packages/jsts/src/rules/S5122/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5122/generated-meta.ts b/packages/jsts/src/rules/S5122/generated-meta.ts index 5de669b7b59..8ec7e3c3ec8 100644 --- a/packages/jsts/src/rules/S5122/generated-meta.ts +++ b/packages/jsts/src/rules/S5122/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5122/index.ts b/packages/jsts/src/rules/S5122/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5122/index.ts +++ b/packages/jsts/src/rules/S5122/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5122/meta.ts b/packages/jsts/src/rules/S5122/meta.ts index 780f65d02a3..a6e16d73e83 100644 --- a/packages/jsts/src/rules/S5122/meta.ts +++ b/packages/jsts/src/rules/S5122/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5122/rule.ts b/packages/jsts/src/rules/S5122/rule.ts index c2e32697616..79e77b7cc02 100644 --- a/packages/jsts/src/rules/S5122/rule.ts +++ b/packages/jsts/src/rules/S5122/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5122/javascript diff --git a/packages/jsts/src/rules/S5148/cb.test.ts b/packages/jsts/src/rules/S5148/cb.test.ts index fc7d88d2360..364cd379022 100644 --- a/packages/jsts/src/rules/S5148/cb.test.ts +++ b/packages/jsts/src/rules/S5148/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5148/generated-meta.ts b/packages/jsts/src/rules/S5148/generated-meta.ts index 6167c7e5e00..27bc5a23ced 100644 --- a/packages/jsts/src/rules/S5148/generated-meta.ts +++ b/packages/jsts/src/rules/S5148/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5148/index.ts b/packages/jsts/src/rules/S5148/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5148/index.ts +++ b/packages/jsts/src/rules/S5148/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5148/meta.ts b/packages/jsts/src/rules/S5148/meta.ts index a1eef0326ba..ed898732b1d 100644 --- a/packages/jsts/src/rules/S5148/meta.ts +++ b/packages/jsts/src/rules/S5148/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5148/rule.ts b/packages/jsts/src/rules/S5148/rule.ts index ccd83a11064..81f69dd1e7a 100644 --- a/packages/jsts/src/rules/S5148/rule.ts +++ b/packages/jsts/src/rules/S5148/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5148/javascript diff --git a/packages/jsts/src/rules/S5247/cb.test.ts b/packages/jsts/src/rules/S5247/cb.test.ts index be8ca210530..f0c88220f3d 100644 --- a/packages/jsts/src/rules/S5247/cb.test.ts +++ b/packages/jsts/src/rules/S5247/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5247/generated-meta.ts b/packages/jsts/src/rules/S5247/generated-meta.ts index 6b85e4c7e79..a758be2aa8c 100644 --- a/packages/jsts/src/rules/S5247/generated-meta.ts +++ b/packages/jsts/src/rules/S5247/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5247/index.ts b/packages/jsts/src/rules/S5247/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5247/index.ts +++ b/packages/jsts/src/rules/S5247/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5247/meta.ts b/packages/jsts/src/rules/S5247/meta.ts index 7edc4ca1f74..21281535a85 100644 --- a/packages/jsts/src/rules/S5247/meta.ts +++ b/packages/jsts/src/rules/S5247/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5247/rule.ts b/packages/jsts/src/rules/S5247/rule.ts index f4a7440f8f2..4c854e299f1 100644 --- a/packages/jsts/src/rules/S5247/rule.ts +++ b/packages/jsts/src/rules/S5247/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5247/javascript diff --git a/packages/jsts/src/rules/S5254/cb.test.ts b/packages/jsts/src/rules/S5254/cb.test.ts index c9a00efcf2c..5cb279073c2 100644 --- a/packages/jsts/src/rules/S5254/cb.test.ts +++ b/packages/jsts/src/rules/S5254/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5254/generated-meta.ts b/packages/jsts/src/rules/S5254/generated-meta.ts index 8be9e8d9d4b..2e5b6af1775 100644 --- a/packages/jsts/src/rules/S5254/generated-meta.ts +++ b/packages/jsts/src/rules/S5254/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5254/index.ts b/packages/jsts/src/rules/S5254/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5254/index.ts +++ b/packages/jsts/src/rules/S5254/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5254/meta.ts b/packages/jsts/src/rules/S5254/meta.ts index 8d499d8dc14..847f3c83931 100644 --- a/packages/jsts/src/rules/S5254/meta.ts +++ b/packages/jsts/src/rules/S5254/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S5254/rule.ts b/packages/jsts/src/rules/S5254/rule.ts index fbece8640eb..6126613ef51 100644 --- a/packages/jsts/src/rules/S5254/rule.ts +++ b/packages/jsts/src/rules/S5254/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5254/javascript diff --git a/packages/jsts/src/rules/S5256/cb.test.ts b/packages/jsts/src/rules/S5256/cb.test.ts index fffbee94fd0..52ac5fcc94d 100644 --- a/packages/jsts/src/rules/S5256/cb.test.ts +++ b/packages/jsts/src/rules/S5256/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5256/generated-meta.ts b/packages/jsts/src/rules/S5256/generated-meta.ts index 0ad326aee06..1afdd7e3cce 100644 --- a/packages/jsts/src/rules/S5256/generated-meta.ts +++ b/packages/jsts/src/rules/S5256/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5256/index.ts b/packages/jsts/src/rules/S5256/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5256/index.ts +++ b/packages/jsts/src/rules/S5256/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5256/meta.ts b/packages/jsts/src/rules/S5256/meta.ts index a7ae2d4db6d..ec9f0584fb2 100644 --- a/packages/jsts/src/rules/S5256/meta.ts +++ b/packages/jsts/src/rules/S5256/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5256/rule.ts b/packages/jsts/src/rules/S5256/rule.ts index 22432737a41..9e3ba7eb1fa 100644 --- a/packages/jsts/src/rules/S5256/rule.ts +++ b/packages/jsts/src/rules/S5256/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5256/javascript diff --git a/packages/jsts/src/rules/S5257/cb.test.ts b/packages/jsts/src/rules/S5257/cb.test.ts index b168589d55f..993ae005fd1 100644 --- a/packages/jsts/src/rules/S5257/cb.test.ts +++ b/packages/jsts/src/rules/S5257/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5257/generated-meta.ts b/packages/jsts/src/rules/S5257/generated-meta.ts index 0e6bf9bcb79..1032f9c1008 100644 --- a/packages/jsts/src/rules/S5257/generated-meta.ts +++ b/packages/jsts/src/rules/S5257/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5257/index.ts b/packages/jsts/src/rules/S5257/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5257/index.ts +++ b/packages/jsts/src/rules/S5257/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5257/meta.ts b/packages/jsts/src/rules/S5257/meta.ts index 6d4ce70cb97..19bcc245dad 100644 --- a/packages/jsts/src/rules/S5257/meta.ts +++ b/packages/jsts/src/rules/S5257/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5257/rule.ts b/packages/jsts/src/rules/S5257/rule.ts index 4e470cd0dff..c45ea2412ee 100644 --- a/packages/jsts/src/rules/S5257/rule.ts +++ b/packages/jsts/src/rules/S5257/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5257/javascript diff --git a/packages/jsts/src/rules/S5260/cb.test.ts b/packages/jsts/src/rules/S5260/cb.test.ts index 0be77aa9e4e..67d10095913 100644 --- a/packages/jsts/src/rules/S5260/cb.test.ts +++ b/packages/jsts/src/rules/S5260/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5260/generated-meta.ts b/packages/jsts/src/rules/S5260/generated-meta.ts index 7ed8e018fbd..60b1a8c94c7 100644 --- a/packages/jsts/src/rules/S5260/generated-meta.ts +++ b/packages/jsts/src/rules/S5260/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5260/index.ts b/packages/jsts/src/rules/S5260/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5260/index.ts +++ b/packages/jsts/src/rules/S5260/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5260/meta.ts b/packages/jsts/src/rules/S5260/meta.ts index 1ae43f191d1..4d13615e976 100644 --- a/packages/jsts/src/rules/S5260/meta.ts +++ b/packages/jsts/src/rules/S5260/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5260/rule.ts b/packages/jsts/src/rules/S5260/rule.ts index 773b55f7df8..1ecace2ede6 100644 --- a/packages/jsts/src/rules/S5260/rule.ts +++ b/packages/jsts/src/rules/S5260/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5260/javascript diff --git a/packages/jsts/src/rules/S5264/cb.test.ts b/packages/jsts/src/rules/S5264/cb.test.ts index c92293f9868..bb2d744a2c7 100644 --- a/packages/jsts/src/rules/S5264/cb.test.ts +++ b/packages/jsts/src/rules/S5264/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5264/generated-meta.ts b/packages/jsts/src/rules/S5264/generated-meta.ts index bc800ea91d2..6e67b2d060f 100644 --- a/packages/jsts/src/rules/S5264/generated-meta.ts +++ b/packages/jsts/src/rules/S5264/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5264/index.ts b/packages/jsts/src/rules/S5264/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5264/index.ts +++ b/packages/jsts/src/rules/S5264/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5264/meta.ts b/packages/jsts/src/rules/S5264/meta.ts index 8fb14f8c7d2..b597d0e64bb 100644 --- a/packages/jsts/src/rules/S5264/meta.ts +++ b/packages/jsts/src/rules/S5264/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5264/rule.ts b/packages/jsts/src/rules/S5264/rule.ts index 251beb4a6ff..73e81bbbb80 100644 --- a/packages/jsts/src/rules/S5264/rule.ts +++ b/packages/jsts/src/rules/S5264/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5264/javascript diff --git a/packages/jsts/src/rules/S5332/cb.test.ts b/packages/jsts/src/rules/S5332/cb.test.ts index 1d1811c46fe..3e093c84352 100644 --- a/packages/jsts/src/rules/S5332/cb.test.ts +++ b/packages/jsts/src/rules/S5332/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5332/generated-meta.ts b/packages/jsts/src/rules/S5332/generated-meta.ts index 9618eeafed8..f8f74eda448 100644 --- a/packages/jsts/src/rules/S5332/generated-meta.ts +++ b/packages/jsts/src/rules/S5332/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5332/index.ts b/packages/jsts/src/rules/S5332/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5332/index.ts +++ b/packages/jsts/src/rules/S5332/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5332/meta.ts b/packages/jsts/src/rules/S5332/meta.ts index 2bb0ae6cea6..aee3e40d8ab 100644 --- a/packages/jsts/src/rules/S5332/meta.ts +++ b/packages/jsts/src/rules/S5332/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5332/rule.aws.ts b/packages/jsts/src/rules/S5332/rule.aws.ts index 1f156e9438e..518bb27dab7 100644 --- a/packages/jsts/src/rules/S5332/rule.aws.ts +++ b/packages/jsts/src/rules/S5332/rule.aws.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5332/javascript diff --git a/packages/jsts/src/rules/S5332/rule.lib.ts b/packages/jsts/src/rules/S5332/rule.lib.ts index 9e503385e87..eab04d4d0e9 100644 --- a/packages/jsts/src/rules/S5332/rule.lib.ts +++ b/packages/jsts/src/rules/S5332/rule.lib.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5332/javascript diff --git a/packages/jsts/src/rules/S5332/rule.ts b/packages/jsts/src/rules/S5332/rule.ts index 864b2ee611f..331be8201a6 100644 --- a/packages/jsts/src/rules/S5332/rule.ts +++ b/packages/jsts/src/rules/S5332/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5332/javascript diff --git a/packages/jsts/src/rules/S5332/unit.test.ts b/packages/jsts/src/rules/S5332/unit.test.ts index 86b5ca115a9..7ed7c077998 100644 --- a/packages/jsts/src/rules/S5332/unit.test.ts +++ b/packages/jsts/src/rules/S5332/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5443/generated-meta.ts b/packages/jsts/src/rules/S5443/generated-meta.ts index 6f240d5c73a..6c1e483b169 100644 --- a/packages/jsts/src/rules/S5443/generated-meta.ts +++ b/packages/jsts/src/rules/S5443/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5443/index.ts b/packages/jsts/src/rules/S5443/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5443/index.ts +++ b/packages/jsts/src/rules/S5443/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5443/meta.ts b/packages/jsts/src/rules/S5443/meta.ts index 7b3334e6ceb..c7717f066f8 100644 --- a/packages/jsts/src/rules/S5443/meta.ts +++ b/packages/jsts/src/rules/S5443/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5443/rule.ts b/packages/jsts/src/rules/S5443/rule.ts index 97f91a4ec9c..f6ccea83e7b 100644 --- a/packages/jsts/src/rules/S5443/rule.ts +++ b/packages/jsts/src/rules/S5443/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5443/javascript diff --git a/packages/jsts/src/rules/S5443/unit.test.ts b/packages/jsts/src/rules/S5443/unit.test.ts index a097483f609..085533a1104 100644 --- a/packages/jsts/src/rules/S5443/unit.test.ts +++ b/packages/jsts/src/rules/S5443/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5527/generated-meta.ts b/packages/jsts/src/rules/S5527/generated-meta.ts index 417c9e2e7c6..06da9bcdd36 100644 --- a/packages/jsts/src/rules/S5527/generated-meta.ts +++ b/packages/jsts/src/rules/S5527/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5527/index.ts b/packages/jsts/src/rules/S5527/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5527/index.ts +++ b/packages/jsts/src/rules/S5527/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5527/meta.ts b/packages/jsts/src/rules/S5527/meta.ts index 3c150f21e65..f75d9106205 100644 --- a/packages/jsts/src/rules/S5527/meta.ts +++ b/packages/jsts/src/rules/S5527/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5527/rule.ts b/packages/jsts/src/rules/S5527/rule.ts index 6947bc7b224..576819c2ffb 100644 --- a/packages/jsts/src/rules/S5527/rule.ts +++ b/packages/jsts/src/rules/S5527/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5667/javascript diff --git a/packages/jsts/src/rules/S5527/unit.test.ts b/packages/jsts/src/rules/S5527/unit.test.ts index 9bb5eae97be..a33f31d541d 100644 --- a/packages/jsts/src/rules/S5527/unit.test.ts +++ b/packages/jsts/src/rules/S5527/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5542/generated-meta.ts b/packages/jsts/src/rules/S5542/generated-meta.ts index fd053367ae0..b77d3893e50 100644 --- a/packages/jsts/src/rules/S5542/generated-meta.ts +++ b/packages/jsts/src/rules/S5542/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5542/index.ts b/packages/jsts/src/rules/S5542/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5542/index.ts +++ b/packages/jsts/src/rules/S5542/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5542/meta.ts b/packages/jsts/src/rules/S5542/meta.ts index 421209824e4..96f495026ec 100644 --- a/packages/jsts/src/rules/S5542/meta.ts +++ b/packages/jsts/src/rules/S5542/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5542/rule.ts b/packages/jsts/src/rules/S5542/rule.ts index d16481d3cd6..00eb3d628b0 100644 --- a/packages/jsts/src/rules/S5542/rule.ts +++ b/packages/jsts/src/rules/S5542/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5542/javascript diff --git a/packages/jsts/src/rules/S5542/unit.test.ts b/packages/jsts/src/rules/S5542/unit.test.ts index 8e802f7700d..370582ead37 100644 --- a/packages/jsts/src/rules/S5542/unit.test.ts +++ b/packages/jsts/src/rules/S5542/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S5547/generated-meta.ts b/packages/jsts/src/rules/S5547/generated-meta.ts index 345935343cd..d979361de9a 100644 --- a/packages/jsts/src/rules/S5547/generated-meta.ts +++ b/packages/jsts/src/rules/S5547/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5547/index.ts b/packages/jsts/src/rules/S5547/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5547/index.ts +++ b/packages/jsts/src/rules/S5547/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5547/meta.ts b/packages/jsts/src/rules/S5547/meta.ts index 9f3b6213c76..e1979e1a8d4 100644 --- a/packages/jsts/src/rules/S5547/meta.ts +++ b/packages/jsts/src/rules/S5547/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5547/rule.ts b/packages/jsts/src/rules/S5547/rule.ts index a0719e024a0..d355e07afc0 100644 --- a/packages/jsts/src/rules/S5547/rule.ts +++ b/packages/jsts/src/rules/S5547/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5547/javascript diff --git a/packages/jsts/src/rules/S5547/unit.test.ts b/packages/jsts/src/rules/S5547/unit.test.ts index 72403304c36..1d2ab63dddc 100644 --- a/packages/jsts/src/rules/S5547/unit.test.ts +++ b/packages/jsts/src/rules/S5547/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5604/generated-meta.ts b/packages/jsts/src/rules/S5604/generated-meta.ts index 82eb719e99f..204f5539ecd 100644 --- a/packages/jsts/src/rules/S5604/generated-meta.ts +++ b/packages/jsts/src/rules/S5604/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5604/index.ts b/packages/jsts/src/rules/S5604/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5604/index.ts +++ b/packages/jsts/src/rules/S5604/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5604/meta.ts b/packages/jsts/src/rules/S5604/meta.ts index e9e1bdb89fd..02728cec991 100644 --- a/packages/jsts/src/rules/S5604/meta.ts +++ b/packages/jsts/src/rules/S5604/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5604/rule.ts b/packages/jsts/src/rules/S5604/rule.ts index e449809fe9d..c45cd0624fe 100644 --- a/packages/jsts/src/rules/S5604/rule.ts +++ b/packages/jsts/src/rules/S5604/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5604/javascript diff --git a/packages/jsts/src/rules/S5604/unit.test.ts b/packages/jsts/src/rules/S5604/unit.test.ts index 5aa9c1e9a98..c9d958ed38c 100644 --- a/packages/jsts/src/rules/S5604/unit.test.ts +++ b/packages/jsts/src/rules/S5604/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5659/generated-meta.ts b/packages/jsts/src/rules/S5659/generated-meta.ts index 676024be846..3d222cff816 100644 --- a/packages/jsts/src/rules/S5659/generated-meta.ts +++ b/packages/jsts/src/rules/S5659/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5659/index.ts b/packages/jsts/src/rules/S5659/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5659/index.ts +++ b/packages/jsts/src/rules/S5659/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5659/meta.ts b/packages/jsts/src/rules/S5659/meta.ts index 5e481623477..ceefcee5c56 100644 --- a/packages/jsts/src/rules/S5659/meta.ts +++ b/packages/jsts/src/rules/S5659/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5659/rule.ts b/packages/jsts/src/rules/S5659/rule.ts index bfc182a5bd7..19e696b8e78 100644 --- a/packages/jsts/src/rules/S5659/rule.ts +++ b/packages/jsts/src/rules/S5659/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5659/javascript diff --git a/packages/jsts/src/rules/S5659/unit.test.ts b/packages/jsts/src/rules/S5659/unit.test.ts index 3e077ceeb79..cd9580576b4 100644 --- a/packages/jsts/src/rules/S5659/unit.test.ts +++ b/packages/jsts/src/rules/S5659/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S5689/generated-meta.ts b/packages/jsts/src/rules/S5689/generated-meta.ts index 0eaf07c0fce..907d3f57911 100644 --- a/packages/jsts/src/rules/S5689/generated-meta.ts +++ b/packages/jsts/src/rules/S5689/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5689/index.ts b/packages/jsts/src/rules/S5689/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5689/index.ts +++ b/packages/jsts/src/rules/S5689/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5689/meta.ts b/packages/jsts/src/rules/S5689/meta.ts index 011ffd7302b..8e474fe3ec1 100644 --- a/packages/jsts/src/rules/S5689/meta.ts +++ b/packages/jsts/src/rules/S5689/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5689/rule.ts b/packages/jsts/src/rules/S5689/rule.ts index 2eddf6ee2d5..94c1504e99e 100644 --- a/packages/jsts/src/rules/S5689/rule.ts +++ b/packages/jsts/src/rules/S5689/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5689/javascript diff --git a/packages/jsts/src/rules/S5689/unit.test.ts b/packages/jsts/src/rules/S5689/unit.test.ts index 463d4981915..b3a5d68abe7 100644 --- a/packages/jsts/src/rules/S5689/unit.test.ts +++ b/packages/jsts/src/rules/S5689/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5691/generated-meta.ts b/packages/jsts/src/rules/S5691/generated-meta.ts index 63f2225f2ea..1e93a104738 100644 --- a/packages/jsts/src/rules/S5691/generated-meta.ts +++ b/packages/jsts/src/rules/S5691/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5691/index.ts b/packages/jsts/src/rules/S5691/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5691/index.ts +++ b/packages/jsts/src/rules/S5691/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5691/meta.ts b/packages/jsts/src/rules/S5691/meta.ts index 91a7eec2e32..12f9f7a0946 100644 --- a/packages/jsts/src/rules/S5691/meta.ts +++ b/packages/jsts/src/rules/S5691/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5691/rule.ts b/packages/jsts/src/rules/S5691/rule.ts index 86a2a100b1e..4e4121ffc75 100644 --- a/packages/jsts/src/rules/S5691/rule.ts +++ b/packages/jsts/src/rules/S5691/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5691/javascript diff --git a/packages/jsts/src/rules/S5691/unit.test.ts b/packages/jsts/src/rules/S5691/unit.test.ts index b0b161a6bd5..72363c4f051 100644 --- a/packages/jsts/src/rules/S5691/unit.test.ts +++ b/packages/jsts/src/rules/S5691/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5693/generated-meta.ts b/packages/jsts/src/rules/S5693/generated-meta.ts index f013313b8ee..0867c3c4d7c 100644 --- a/packages/jsts/src/rules/S5693/generated-meta.ts +++ b/packages/jsts/src/rules/S5693/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5693/index.ts b/packages/jsts/src/rules/S5693/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5693/index.ts +++ b/packages/jsts/src/rules/S5693/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5693/meta.ts b/packages/jsts/src/rules/S5693/meta.ts index 16c3f18c52d..71466440359 100644 --- a/packages/jsts/src/rules/S5693/meta.ts +++ b/packages/jsts/src/rules/S5693/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5693/rule.ts b/packages/jsts/src/rules/S5693/rule.ts index fe296992c56..0e78019962b 100644 --- a/packages/jsts/src/rules/S5693/rule.ts +++ b/packages/jsts/src/rules/S5693/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5693/javascript diff --git a/packages/jsts/src/rules/S5693/unit.test.ts b/packages/jsts/src/rules/S5693/unit.test.ts index f8c625d8090..b4824e697d0 100644 --- a/packages/jsts/src/rules/S5693/unit.test.ts +++ b/packages/jsts/src/rules/S5693/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5725/generated-meta.ts b/packages/jsts/src/rules/S5725/generated-meta.ts index b48463098db..5a65a923a93 100644 --- a/packages/jsts/src/rules/S5725/generated-meta.ts +++ b/packages/jsts/src/rules/S5725/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5725/index.ts b/packages/jsts/src/rules/S5725/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5725/index.ts +++ b/packages/jsts/src/rules/S5725/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5725/meta.ts b/packages/jsts/src/rules/S5725/meta.ts index 10c596d3155..b708faeab43 100644 --- a/packages/jsts/src/rules/S5725/meta.ts +++ b/packages/jsts/src/rules/S5725/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5725/rule.ts b/packages/jsts/src/rules/S5725/rule.ts index 86218568bd0..eb1fc10dd2a 100644 --- a/packages/jsts/src/rules/S5725/rule.ts +++ b/packages/jsts/src/rules/S5725/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5725/javascript diff --git a/packages/jsts/src/rules/S5725/unit.test.ts b/packages/jsts/src/rules/S5725/unit.test.ts index 81720f18827..be82bb0f3bc 100644 --- a/packages/jsts/src/rules/S5725/unit.test.ts +++ b/packages/jsts/src/rules/S5725/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S5728/generated-meta.ts b/packages/jsts/src/rules/S5728/generated-meta.ts index f3ae2be67d2..efd66ba2ab6 100644 --- a/packages/jsts/src/rules/S5728/generated-meta.ts +++ b/packages/jsts/src/rules/S5728/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5728/index.ts b/packages/jsts/src/rules/S5728/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5728/index.ts +++ b/packages/jsts/src/rules/S5728/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5728/meta.ts b/packages/jsts/src/rules/S5728/meta.ts index bae55ea0d17..fbcc9e917d0 100644 --- a/packages/jsts/src/rules/S5728/meta.ts +++ b/packages/jsts/src/rules/S5728/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5728/rule.ts b/packages/jsts/src/rules/S5728/rule.ts index a4d8ad5edf9..4e88d3f914d 100644 --- a/packages/jsts/src/rules/S5728/rule.ts +++ b/packages/jsts/src/rules/S5728/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5728/javascript diff --git a/packages/jsts/src/rules/S5728/unit.test.ts b/packages/jsts/src/rules/S5728/unit.test.ts index e2d4289deb5..500c9601175 100644 --- a/packages/jsts/src/rules/S5728/unit.test.ts +++ b/packages/jsts/src/rules/S5728/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S5730/generated-meta.ts b/packages/jsts/src/rules/S5730/generated-meta.ts index 2dcd8022ac8..56974619bed 100644 --- a/packages/jsts/src/rules/S5730/generated-meta.ts +++ b/packages/jsts/src/rules/S5730/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5730/index.ts b/packages/jsts/src/rules/S5730/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5730/index.ts +++ b/packages/jsts/src/rules/S5730/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5730/meta.ts b/packages/jsts/src/rules/S5730/meta.ts index 136dd1e99db..c1874b4f20e 100644 --- a/packages/jsts/src/rules/S5730/meta.ts +++ b/packages/jsts/src/rules/S5730/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5730/rule.ts b/packages/jsts/src/rules/S5730/rule.ts index 6c644f32826..fd95607658a 100644 --- a/packages/jsts/src/rules/S5730/rule.ts +++ b/packages/jsts/src/rules/S5730/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5730/javascript diff --git a/packages/jsts/src/rules/S5730/unit.test.ts b/packages/jsts/src/rules/S5730/unit.test.ts index 55154d08670..6cf7eddd06d 100644 --- a/packages/jsts/src/rules/S5730/unit.test.ts +++ b/packages/jsts/src/rules/S5730/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S5732/generated-meta.ts b/packages/jsts/src/rules/S5732/generated-meta.ts index d9690b5385f..755804ace0f 100644 --- a/packages/jsts/src/rules/S5732/generated-meta.ts +++ b/packages/jsts/src/rules/S5732/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5732/index.ts b/packages/jsts/src/rules/S5732/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5732/index.ts +++ b/packages/jsts/src/rules/S5732/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5732/meta.ts b/packages/jsts/src/rules/S5732/meta.ts index 94c88ea3b7c..1781e536a83 100644 --- a/packages/jsts/src/rules/S5732/meta.ts +++ b/packages/jsts/src/rules/S5732/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5732/rule.ts b/packages/jsts/src/rules/S5732/rule.ts index 0d0167ae778..5fc256032b5 100644 --- a/packages/jsts/src/rules/S5732/rule.ts +++ b/packages/jsts/src/rules/S5732/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5732/javascript diff --git a/packages/jsts/src/rules/S5732/unit.test.ts b/packages/jsts/src/rules/S5732/unit.test.ts index 0f024dc67a6..3117d5345b2 100644 --- a/packages/jsts/src/rules/S5732/unit.test.ts +++ b/packages/jsts/src/rules/S5732/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S5734/generated-meta.ts b/packages/jsts/src/rules/S5734/generated-meta.ts index de2056a8db0..17d4a38a8b0 100644 --- a/packages/jsts/src/rules/S5734/generated-meta.ts +++ b/packages/jsts/src/rules/S5734/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5734/index.ts b/packages/jsts/src/rules/S5734/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5734/index.ts +++ b/packages/jsts/src/rules/S5734/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5734/meta.ts b/packages/jsts/src/rules/S5734/meta.ts index 79bb1df4f2b..9f2e5607035 100644 --- a/packages/jsts/src/rules/S5734/meta.ts +++ b/packages/jsts/src/rules/S5734/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5734/rule.ts b/packages/jsts/src/rules/S5734/rule.ts index 72c8d437a48..53881e160a9 100644 --- a/packages/jsts/src/rules/S5734/rule.ts +++ b/packages/jsts/src/rules/S5734/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5734/javascript diff --git a/packages/jsts/src/rules/S5734/unit.test.ts b/packages/jsts/src/rules/S5734/unit.test.ts index 22f8b60956c..07dc2d63313 100644 --- a/packages/jsts/src/rules/S5734/unit.test.ts +++ b/packages/jsts/src/rules/S5734/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S5736/generated-meta.ts b/packages/jsts/src/rules/S5736/generated-meta.ts index ded7e68432a..c31b946a256 100644 --- a/packages/jsts/src/rules/S5736/generated-meta.ts +++ b/packages/jsts/src/rules/S5736/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5736/index.ts b/packages/jsts/src/rules/S5736/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5736/index.ts +++ b/packages/jsts/src/rules/S5736/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5736/meta.ts b/packages/jsts/src/rules/S5736/meta.ts index a6da1c1ccac..4fcfc9fb676 100644 --- a/packages/jsts/src/rules/S5736/meta.ts +++ b/packages/jsts/src/rules/S5736/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5736/rule.ts b/packages/jsts/src/rules/S5736/rule.ts index 27822b00ed8..0f3000b0942 100644 --- a/packages/jsts/src/rules/S5736/rule.ts +++ b/packages/jsts/src/rules/S5736/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5736/javascript diff --git a/packages/jsts/src/rules/S5736/unit.test.ts b/packages/jsts/src/rules/S5736/unit.test.ts index 3ef6a98263b..cc8c9f0465b 100644 --- a/packages/jsts/src/rules/S5736/unit.test.ts +++ b/packages/jsts/src/rules/S5736/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S5739/generated-meta.ts b/packages/jsts/src/rules/S5739/generated-meta.ts index bb36c409b14..978104b8448 100644 --- a/packages/jsts/src/rules/S5739/generated-meta.ts +++ b/packages/jsts/src/rules/S5739/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5739/index.ts b/packages/jsts/src/rules/S5739/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5739/index.ts +++ b/packages/jsts/src/rules/S5739/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5739/meta.ts b/packages/jsts/src/rules/S5739/meta.ts index 56a15dc409e..ac76c6bb586 100644 --- a/packages/jsts/src/rules/S5739/meta.ts +++ b/packages/jsts/src/rules/S5739/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5739/rule.ts b/packages/jsts/src/rules/S5739/rule.ts index d537df0bdb4..3c61d3f8a5d 100644 --- a/packages/jsts/src/rules/S5739/rule.ts +++ b/packages/jsts/src/rules/S5739/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5734/javascript diff --git a/packages/jsts/src/rules/S5739/unit.test.ts b/packages/jsts/src/rules/S5739/unit.test.ts index dd6031efb8e..2c4ba92a734 100644 --- a/packages/jsts/src/rules/S5739/unit.test.ts +++ b/packages/jsts/src/rules/S5739/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S5742/generated-meta.ts b/packages/jsts/src/rules/S5742/generated-meta.ts index e5cee9e3495..ebc3920d346 100644 --- a/packages/jsts/src/rules/S5742/generated-meta.ts +++ b/packages/jsts/src/rules/S5742/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5742/index.ts b/packages/jsts/src/rules/S5742/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5742/index.ts +++ b/packages/jsts/src/rules/S5742/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5742/meta.ts b/packages/jsts/src/rules/S5742/meta.ts index 2eca981e34a..d10c5b9e429 100644 --- a/packages/jsts/src/rules/S5742/meta.ts +++ b/packages/jsts/src/rules/S5742/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5742/rule.ts b/packages/jsts/src/rules/S5742/rule.ts index e21fa12df59..4c8efc650ae 100644 --- a/packages/jsts/src/rules/S5742/rule.ts +++ b/packages/jsts/src/rules/S5742/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5742/javascript diff --git a/packages/jsts/src/rules/S5742/unit.test.ts b/packages/jsts/src/rules/S5742/unit.test.ts index 206021484c1..818f2a7cf18 100644 --- a/packages/jsts/src/rules/S5742/unit.test.ts +++ b/packages/jsts/src/rules/S5742/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S5743/generated-meta.ts b/packages/jsts/src/rules/S5743/generated-meta.ts index 712349a80aa..77d543c7525 100644 --- a/packages/jsts/src/rules/S5743/generated-meta.ts +++ b/packages/jsts/src/rules/S5743/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5743/index.ts b/packages/jsts/src/rules/S5743/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5743/index.ts +++ b/packages/jsts/src/rules/S5743/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5743/meta.ts b/packages/jsts/src/rules/S5743/meta.ts index 3737af9e911..22a45b71aa0 100644 --- a/packages/jsts/src/rules/S5743/meta.ts +++ b/packages/jsts/src/rules/S5743/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5743/rule.ts b/packages/jsts/src/rules/S5743/rule.ts index 4cdee246fe9..f662bcb51c7 100644 --- a/packages/jsts/src/rules/S5743/rule.ts +++ b/packages/jsts/src/rules/S5743/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5743/javascript diff --git a/packages/jsts/src/rules/S5743/unit.test.ts b/packages/jsts/src/rules/S5743/unit.test.ts index 55d37882d16..f68e380a4ff 100644 --- a/packages/jsts/src/rules/S5743/unit.test.ts +++ b/packages/jsts/src/rules/S5743/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S5757/generated-meta.ts b/packages/jsts/src/rules/S5757/generated-meta.ts index 819e050f6c4..9549b89e0d4 100644 --- a/packages/jsts/src/rules/S5757/generated-meta.ts +++ b/packages/jsts/src/rules/S5757/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5757/index.ts b/packages/jsts/src/rules/S5757/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5757/index.ts +++ b/packages/jsts/src/rules/S5757/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5757/meta.ts b/packages/jsts/src/rules/S5757/meta.ts index 03c0c402843..0017ab1b9b9 100644 --- a/packages/jsts/src/rules/S5757/meta.ts +++ b/packages/jsts/src/rules/S5757/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5757/rule.ts b/packages/jsts/src/rules/S5757/rule.ts index 4be1e750174..9d43739940d 100644 --- a/packages/jsts/src/rules/S5757/rule.ts +++ b/packages/jsts/src/rules/S5757/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5757/javascript diff --git a/packages/jsts/src/rules/S5757/unit.test.ts b/packages/jsts/src/rules/S5757/unit.test.ts index f4311ab52aa..f45774d9cc8 100644 --- a/packages/jsts/src/rules/S5757/unit.test.ts +++ b/packages/jsts/src/rules/S5757/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5759/generated-meta.ts b/packages/jsts/src/rules/S5759/generated-meta.ts index 8d380972347..14431b77d9e 100644 --- a/packages/jsts/src/rules/S5759/generated-meta.ts +++ b/packages/jsts/src/rules/S5759/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5759/index.ts b/packages/jsts/src/rules/S5759/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5759/index.ts +++ b/packages/jsts/src/rules/S5759/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5759/meta.ts b/packages/jsts/src/rules/S5759/meta.ts index 22f06252a76..4b0336b9098 100644 --- a/packages/jsts/src/rules/S5759/meta.ts +++ b/packages/jsts/src/rules/S5759/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5759/rule.ts b/packages/jsts/src/rules/S5759/rule.ts index cc45a7da60e..26429080660 100644 --- a/packages/jsts/src/rules/S5759/rule.ts +++ b/packages/jsts/src/rules/S5759/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5759/javascript diff --git a/packages/jsts/src/rules/S5759/unit.test.ts b/packages/jsts/src/rules/S5759/unit.test.ts index 09eecb81520..93db97599d8 100644 --- a/packages/jsts/src/rules/S5759/unit.test.ts +++ b/packages/jsts/src/rules/S5759/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5842/generated-meta.ts b/packages/jsts/src/rules/S5842/generated-meta.ts index f0ba7504263..d4963559b34 100644 --- a/packages/jsts/src/rules/S5842/generated-meta.ts +++ b/packages/jsts/src/rules/S5842/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5842/index.ts b/packages/jsts/src/rules/S5842/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5842/index.ts +++ b/packages/jsts/src/rules/S5842/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5842/meta.ts b/packages/jsts/src/rules/S5842/meta.ts index 94a1ee24af7..529613adcbf 100644 --- a/packages/jsts/src/rules/S5842/meta.ts +++ b/packages/jsts/src/rules/S5842/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5842/rule.ts b/packages/jsts/src/rules/S5842/rule.ts index eb381e89230..efd8b431a3f 100644 --- a/packages/jsts/src/rules/S5842/rule.ts +++ b/packages/jsts/src/rules/S5842/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5842/javascript diff --git a/packages/jsts/src/rules/S5842/unit.test.ts b/packages/jsts/src/rules/S5842/unit.test.ts index 065cf1fb1cd..54c23a656c7 100644 --- a/packages/jsts/src/rules/S5842/unit.test.ts +++ b/packages/jsts/src/rules/S5842/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5843/generated-meta.ts b/packages/jsts/src/rules/S5843/generated-meta.ts index 0c634061def..15197ab20a1 100644 --- a/packages/jsts/src/rules/S5843/generated-meta.ts +++ b/packages/jsts/src/rules/S5843/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5843/index.ts b/packages/jsts/src/rules/S5843/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5843/index.ts +++ b/packages/jsts/src/rules/S5843/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5843/meta.ts b/packages/jsts/src/rules/S5843/meta.ts index 04bdf97eede..e70358f868c 100644 --- a/packages/jsts/src/rules/S5843/meta.ts +++ b/packages/jsts/src/rules/S5843/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5843/rule.ts b/packages/jsts/src/rules/S5843/rule.ts index 871e7b40747..a7f24aceed3 100644 --- a/packages/jsts/src/rules/S5843/rule.ts +++ b/packages/jsts/src/rules/S5843/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5843/javascript diff --git a/packages/jsts/src/rules/S5843/unit.test.ts b/packages/jsts/src/rules/S5843/unit.test.ts index 92ae616d8db..7f1429f8801 100644 --- a/packages/jsts/src/rules/S5843/unit.test.ts +++ b/packages/jsts/src/rules/S5843/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S5850/cb.test.ts b/packages/jsts/src/rules/S5850/cb.test.ts index 381222fa6ce..bb01287f778 100644 --- a/packages/jsts/src/rules/S5850/cb.test.ts +++ b/packages/jsts/src/rules/S5850/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5850/generated-meta.ts b/packages/jsts/src/rules/S5850/generated-meta.ts index 333155ce35a..1342f57fa3b 100644 --- a/packages/jsts/src/rules/S5850/generated-meta.ts +++ b/packages/jsts/src/rules/S5850/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5850/index.ts b/packages/jsts/src/rules/S5850/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5850/index.ts +++ b/packages/jsts/src/rules/S5850/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5850/meta.ts b/packages/jsts/src/rules/S5850/meta.ts index 009a603ec58..a3ada24140b 100644 --- a/packages/jsts/src/rules/S5850/meta.ts +++ b/packages/jsts/src/rules/S5850/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5850/rule.ts b/packages/jsts/src/rules/S5850/rule.ts index c363601e533..1d3c69d9a48 100644 --- a/packages/jsts/src/rules/S5850/rule.ts +++ b/packages/jsts/src/rules/S5850/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5850/javascript diff --git a/packages/jsts/src/rules/S5850/unit.test.ts b/packages/jsts/src/rules/S5850/unit.test.ts index 9ea29ff932c..95eeb719216 100644 --- a/packages/jsts/src/rules/S5850/unit.test.ts +++ b/packages/jsts/src/rules/S5850/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5852/generated-meta.ts b/packages/jsts/src/rules/S5852/generated-meta.ts index 1cb7ec9bbf3..3860796743b 100644 --- a/packages/jsts/src/rules/S5852/generated-meta.ts +++ b/packages/jsts/src/rules/S5852/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5852/index.ts b/packages/jsts/src/rules/S5852/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5852/index.ts +++ b/packages/jsts/src/rules/S5852/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5852/meta.ts b/packages/jsts/src/rules/S5852/meta.ts index 407f193683a..cf89f7e8945 100644 --- a/packages/jsts/src/rules/S5852/meta.ts +++ b/packages/jsts/src/rules/S5852/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5852/rule.ts b/packages/jsts/src/rules/S5852/rule.ts index e35c7c74c37..0ebc7c55758 100644 --- a/packages/jsts/src/rules/S5852/rule.ts +++ b/packages/jsts/src/rules/S5852/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5852/javascript diff --git a/packages/jsts/src/rules/S5852/unit.test.ts b/packages/jsts/src/rules/S5852/unit.test.ts index 5c58da7df27..ba2655eb50a 100644 --- a/packages/jsts/src/rules/S5852/unit.test.ts +++ b/packages/jsts/src/rules/S5852/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5856/generated-meta.ts b/packages/jsts/src/rules/S5856/generated-meta.ts index cf0446d6736..da5b2d347ab 100644 --- a/packages/jsts/src/rules/S5856/generated-meta.ts +++ b/packages/jsts/src/rules/S5856/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5856/index.ts b/packages/jsts/src/rules/S5856/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5856/index.ts +++ b/packages/jsts/src/rules/S5856/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5856/meta.ts b/packages/jsts/src/rules/S5856/meta.ts index 6af4ab9639b..13f1a1f945e 100644 --- a/packages/jsts/src/rules/S5856/meta.ts +++ b/packages/jsts/src/rules/S5856/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5856/rule.ts b/packages/jsts/src/rules/S5856/rule.ts index 9f1e45e1053..68c623a5668 100644 --- a/packages/jsts/src/rules/S5856/rule.ts +++ b/packages/jsts/src/rules/S5856/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5856/javascript diff --git a/packages/jsts/src/rules/S5856/unit.test.ts b/packages/jsts/src/rules/S5856/unit.test.ts index 9c62e52c6e6..d971d105e6c 100644 --- a/packages/jsts/src/rules/S5856/unit.test.ts +++ b/packages/jsts/src/rules/S5856/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5860/generated-meta.ts b/packages/jsts/src/rules/S5860/generated-meta.ts index 19b9ee82a1b..43c3bd17932 100644 --- a/packages/jsts/src/rules/S5860/generated-meta.ts +++ b/packages/jsts/src/rules/S5860/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5860/index.ts b/packages/jsts/src/rules/S5860/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5860/index.ts +++ b/packages/jsts/src/rules/S5860/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5860/meta.ts b/packages/jsts/src/rules/S5860/meta.ts index 00257dd025f..43b11afb2bd 100644 --- a/packages/jsts/src/rules/S5860/meta.ts +++ b/packages/jsts/src/rules/S5860/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5860/rule.ts b/packages/jsts/src/rules/S5860/rule.ts index ea6fa4f4c55..1cabd403692 100644 --- a/packages/jsts/src/rules/S5860/rule.ts +++ b/packages/jsts/src/rules/S5860/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5860/javascript diff --git a/packages/jsts/src/rules/S5860/unit.test.ts b/packages/jsts/src/rules/S5860/unit.test.ts index 85e5aba793d..3b1f542b03c 100644 --- a/packages/jsts/src/rules/S5860/unit.test.ts +++ b/packages/jsts/src/rules/S5860/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S5863/cb.test.ts b/packages/jsts/src/rules/S5863/cb.test.ts index 68815aa45f3..4c1cd1f1173 100644 --- a/packages/jsts/src/rules/S5863/cb.test.ts +++ b/packages/jsts/src/rules/S5863/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5863/generated-meta.ts b/packages/jsts/src/rules/S5863/generated-meta.ts index 9b6b98d55d4..a1e67462065 100644 --- a/packages/jsts/src/rules/S5863/generated-meta.ts +++ b/packages/jsts/src/rules/S5863/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5863/index.ts b/packages/jsts/src/rules/S5863/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5863/index.ts +++ b/packages/jsts/src/rules/S5863/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5863/meta.ts b/packages/jsts/src/rules/S5863/meta.ts index 7180b9e85a5..39b30eb5043 100644 --- a/packages/jsts/src/rules/S5863/meta.ts +++ b/packages/jsts/src/rules/S5863/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5863/rule.ts b/packages/jsts/src/rules/S5863/rule.ts index ec60e112666..c9cf27ec23b 100644 --- a/packages/jsts/src/rules/S5863/rule.ts +++ b/packages/jsts/src/rules/S5863/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5863/javascript diff --git a/packages/jsts/src/rules/S5863/unit.test.ts b/packages/jsts/src/rules/S5863/unit.test.ts index 4d07d1a76c9..3af4de5b214 100644 --- a/packages/jsts/src/rules/S5863/unit.test.ts +++ b/packages/jsts/src/rules/S5863/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5867/generated-meta.ts b/packages/jsts/src/rules/S5867/generated-meta.ts index c0cf523d485..536b836f2db 100644 --- a/packages/jsts/src/rules/S5867/generated-meta.ts +++ b/packages/jsts/src/rules/S5867/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5867/index.ts b/packages/jsts/src/rules/S5867/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5867/index.ts +++ b/packages/jsts/src/rules/S5867/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5867/meta.ts b/packages/jsts/src/rules/S5867/meta.ts index 6513b13c0fc..6786329f55d 100644 --- a/packages/jsts/src/rules/S5867/meta.ts +++ b/packages/jsts/src/rules/S5867/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5867/rule.ts b/packages/jsts/src/rules/S5867/rule.ts index 3e6adbc9786..ad0e21e7040 100644 --- a/packages/jsts/src/rules/S5867/rule.ts +++ b/packages/jsts/src/rules/S5867/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5867/javascript diff --git a/packages/jsts/src/rules/S5867/unit.test.ts b/packages/jsts/src/rules/S5867/unit.test.ts index 1f83fd1a8c6..2cf0b943f19 100644 --- a/packages/jsts/src/rules/S5867/unit.test.ts +++ b/packages/jsts/src/rules/S5867/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5868/generated-meta.ts b/packages/jsts/src/rules/S5868/generated-meta.ts index c9be1852fe6..0657aaba200 100644 --- a/packages/jsts/src/rules/S5868/generated-meta.ts +++ b/packages/jsts/src/rules/S5868/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5868/index.ts b/packages/jsts/src/rules/S5868/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5868/index.ts +++ b/packages/jsts/src/rules/S5868/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5868/meta.ts b/packages/jsts/src/rules/S5868/meta.ts index 87600bd2b88..34c5536e01f 100644 --- a/packages/jsts/src/rules/S5868/meta.ts +++ b/packages/jsts/src/rules/S5868/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5868/rule.ts b/packages/jsts/src/rules/S5868/rule.ts index 6b0ab71e467..857b1da38fb 100644 --- a/packages/jsts/src/rules/S5868/rule.ts +++ b/packages/jsts/src/rules/S5868/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5868/javascript diff --git a/packages/jsts/src/rules/S5868/unit.test.ts b/packages/jsts/src/rules/S5868/unit.test.ts index 6f402913dd2..9f5cee8e514 100644 --- a/packages/jsts/src/rules/S5868/unit.test.ts +++ b/packages/jsts/src/rules/S5868/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5869/generated-meta.ts b/packages/jsts/src/rules/S5869/generated-meta.ts index 44ff1f3709d..2e54cf71745 100644 --- a/packages/jsts/src/rules/S5869/generated-meta.ts +++ b/packages/jsts/src/rules/S5869/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5869/index.ts b/packages/jsts/src/rules/S5869/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5869/index.ts +++ b/packages/jsts/src/rules/S5869/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5869/meta.ts b/packages/jsts/src/rules/S5869/meta.ts index a6f2a9e2fc3..0fc5ee8343f 100644 --- a/packages/jsts/src/rules/S5869/meta.ts +++ b/packages/jsts/src/rules/S5869/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5869/rule.ts b/packages/jsts/src/rules/S5869/rule.ts index 5476edb0f84..71eb650f54c 100644 --- a/packages/jsts/src/rules/S5869/rule.ts +++ b/packages/jsts/src/rules/S5869/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5869/javascript diff --git a/packages/jsts/src/rules/S5869/unit.test.ts b/packages/jsts/src/rules/S5869/unit.test.ts index 613f0222db7..d16062245a4 100644 --- a/packages/jsts/src/rules/S5869/unit.test.ts +++ b/packages/jsts/src/rules/S5869/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5876/generated-meta.ts b/packages/jsts/src/rules/S5876/generated-meta.ts index 9252a6084ea..9c790982b0d 100644 --- a/packages/jsts/src/rules/S5876/generated-meta.ts +++ b/packages/jsts/src/rules/S5876/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5876/index.ts b/packages/jsts/src/rules/S5876/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5876/index.ts +++ b/packages/jsts/src/rules/S5876/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5876/meta.ts b/packages/jsts/src/rules/S5876/meta.ts index 8daa74af74c..15700c2c887 100644 --- a/packages/jsts/src/rules/S5876/meta.ts +++ b/packages/jsts/src/rules/S5876/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5876/rule.ts b/packages/jsts/src/rules/S5876/rule.ts index 629a67feed6..4231fc7b6e3 100644 --- a/packages/jsts/src/rules/S5876/rule.ts +++ b/packages/jsts/src/rules/S5876/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5876/javascript diff --git a/packages/jsts/src/rules/S5876/unit.test.ts b/packages/jsts/src/rules/S5876/unit.test.ts index bf1bce430d7..ae14855b5e0 100644 --- a/packages/jsts/src/rules/S5876/unit.test.ts +++ b/packages/jsts/src/rules/S5876/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5958/cb.test.ts b/packages/jsts/src/rules/S5958/cb.test.ts index dca6e83d98b..9ee4d2b405b 100644 --- a/packages/jsts/src/rules/S5958/cb.test.ts +++ b/packages/jsts/src/rules/S5958/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S5958/generated-meta.ts b/packages/jsts/src/rules/S5958/generated-meta.ts index 511d61594e1..9810e833691 100644 --- a/packages/jsts/src/rules/S5958/generated-meta.ts +++ b/packages/jsts/src/rules/S5958/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5958/index.ts b/packages/jsts/src/rules/S5958/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5958/index.ts +++ b/packages/jsts/src/rules/S5958/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5958/meta.ts b/packages/jsts/src/rules/S5958/meta.ts index 6a12555f9df..4d4729f7f89 100644 --- a/packages/jsts/src/rules/S5958/meta.ts +++ b/packages/jsts/src/rules/S5958/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5958/rule.ts b/packages/jsts/src/rules/S5958/rule.ts index 530d76f0d41..923288ff35c 100644 --- a/packages/jsts/src/rules/S5958/rule.ts +++ b/packages/jsts/src/rules/S5958/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5958/javascript diff --git a/packages/jsts/src/rules/S5973/generated-meta.ts b/packages/jsts/src/rules/S5973/generated-meta.ts index 9a3c4fdc296..d5de03e678c 100644 --- a/packages/jsts/src/rules/S5973/generated-meta.ts +++ b/packages/jsts/src/rules/S5973/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S5973/index.ts b/packages/jsts/src/rules/S5973/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S5973/index.ts +++ b/packages/jsts/src/rules/S5973/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S5973/meta.ts b/packages/jsts/src/rules/S5973/meta.ts index 761d59dbc1e..5e9bd15061a 100644 --- a/packages/jsts/src/rules/S5973/meta.ts +++ b/packages/jsts/src/rules/S5973/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S5973/rule.ts b/packages/jsts/src/rules/S5973/rule.ts index 377e3dee737..36bc557015a 100644 --- a/packages/jsts/src/rules/S5973/rule.ts +++ b/packages/jsts/src/rules/S5973/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S5973/javascript diff --git a/packages/jsts/src/rules/S5973/with-jest/cb.test.ts b/packages/jsts/src/rules/S5973/with-jest/cb.test.ts index 6fc81ec82c1..1ab88643549 100644 --- a/packages/jsts/src/rules/S5973/with-jest/cb.test.ts +++ b/packages/jsts/src/rules/S5973/with-jest/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { basename } from 'path'; import { check } from '../../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S5973/without-jest/cb.test.ts b/packages/jsts/src/rules/S5973/without-jest/cb.test.ts index 6fc81ec82c1..1ab88643549 100644 --- a/packages/jsts/src/rules/S5973/without-jest/cb.test.ts +++ b/packages/jsts/src/rules/S5973/without-jest/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { basename } from 'path'; import { check } from '../../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S6019/generated-meta.ts b/packages/jsts/src/rules/S6019/generated-meta.ts index 5a2bb9cced3..9d7d0cd40b5 100644 --- a/packages/jsts/src/rules/S6019/generated-meta.ts +++ b/packages/jsts/src/rules/S6019/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6019/index.ts b/packages/jsts/src/rules/S6019/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6019/index.ts +++ b/packages/jsts/src/rules/S6019/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6019/meta.ts b/packages/jsts/src/rules/S6019/meta.ts index 339dae8c79d..6aad3dfff31 100644 --- a/packages/jsts/src/rules/S6019/meta.ts +++ b/packages/jsts/src/rules/S6019/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6019/rule.ts b/packages/jsts/src/rules/S6019/rule.ts index c596bb2783d..c4fe902c1a4 100644 --- a/packages/jsts/src/rules/S6019/rule.ts +++ b/packages/jsts/src/rules/S6019/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6019/javascript diff --git a/packages/jsts/src/rules/S6019/unit.test.ts b/packages/jsts/src/rules/S6019/unit.test.ts index d70c582a62d..a4f3dca13ed 100644 --- a/packages/jsts/src/rules/S6019/unit.test.ts +++ b/packages/jsts/src/rules/S6019/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6035/generated-meta.ts b/packages/jsts/src/rules/S6035/generated-meta.ts index e5b5a345ddc..d2a5b0dbe2d 100644 --- a/packages/jsts/src/rules/S6035/generated-meta.ts +++ b/packages/jsts/src/rules/S6035/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6035/index.ts b/packages/jsts/src/rules/S6035/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6035/index.ts +++ b/packages/jsts/src/rules/S6035/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6035/meta.ts b/packages/jsts/src/rules/S6035/meta.ts index 0165035aebb..40828c07807 100644 --- a/packages/jsts/src/rules/S6035/meta.ts +++ b/packages/jsts/src/rules/S6035/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6035/rule.ts b/packages/jsts/src/rules/S6035/rule.ts index fe2468324ec..1b3b601609e 100644 --- a/packages/jsts/src/rules/S6035/rule.ts +++ b/packages/jsts/src/rules/S6035/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6035/javascript diff --git a/packages/jsts/src/rules/S6035/unit.test.ts b/packages/jsts/src/rules/S6035/unit.test.ts index 8a80f8e3ef3..6aeba530dd8 100644 --- a/packages/jsts/src/rules/S6035/unit.test.ts +++ b/packages/jsts/src/rules/S6035/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6079/cb.test.ts b/packages/jsts/src/rules/S6079/cb.test.ts index a85ed47566f..6c4b0b45b8c 100644 --- a/packages/jsts/src/rules/S6079/cb.test.ts +++ b/packages/jsts/src/rules/S6079/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6079/generated-meta.ts b/packages/jsts/src/rules/S6079/generated-meta.ts index 7d093b5277c..9e0df716d88 100644 --- a/packages/jsts/src/rules/S6079/generated-meta.ts +++ b/packages/jsts/src/rules/S6079/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6079/index.ts b/packages/jsts/src/rules/S6079/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6079/index.ts +++ b/packages/jsts/src/rules/S6079/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6079/meta.ts b/packages/jsts/src/rules/S6079/meta.ts index be7037c4abd..c3556a9c513 100644 --- a/packages/jsts/src/rules/S6079/meta.ts +++ b/packages/jsts/src/rules/S6079/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6079/rule.ts b/packages/jsts/src/rules/S6079/rule.ts index c92a12f7b5c..bdf042e74c8 100644 --- a/packages/jsts/src/rules/S6079/rule.ts +++ b/packages/jsts/src/rules/S6079/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6079/javascript diff --git a/packages/jsts/src/rules/S6080/cb.test.ts b/packages/jsts/src/rules/S6080/cb.test.ts index 2b758f692aa..4f9a7bfd733 100644 --- a/packages/jsts/src/rules/S6080/cb.test.ts +++ b/packages/jsts/src/rules/S6080/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6080/generated-meta.ts b/packages/jsts/src/rules/S6080/generated-meta.ts index 97ed2fec149..a458b490d25 100644 --- a/packages/jsts/src/rules/S6080/generated-meta.ts +++ b/packages/jsts/src/rules/S6080/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6080/index.ts b/packages/jsts/src/rules/S6080/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6080/index.ts +++ b/packages/jsts/src/rules/S6080/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6080/meta.ts b/packages/jsts/src/rules/S6080/meta.ts index 20e7541522c..7167249c3a2 100644 --- a/packages/jsts/src/rules/S6080/meta.ts +++ b/packages/jsts/src/rules/S6080/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6080/rule.ts b/packages/jsts/src/rules/S6080/rule.ts index 3e817e99c62..01e3ce31971 100644 --- a/packages/jsts/src/rules/S6080/rule.ts +++ b/packages/jsts/src/rules/S6080/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6080/javascript diff --git a/packages/jsts/src/rules/S6092/cb.test.ts b/packages/jsts/src/rules/S6092/cb.test.ts index 06c5de79597..2fcf3958c43 100644 --- a/packages/jsts/src/rules/S6092/cb.test.ts +++ b/packages/jsts/src/rules/S6092/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6092/generated-meta.ts b/packages/jsts/src/rules/S6092/generated-meta.ts index 531ace982ba..d718773a932 100644 --- a/packages/jsts/src/rules/S6092/generated-meta.ts +++ b/packages/jsts/src/rules/S6092/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6092/index.ts b/packages/jsts/src/rules/S6092/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6092/index.ts +++ b/packages/jsts/src/rules/S6092/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6092/meta.ts b/packages/jsts/src/rules/S6092/meta.ts index 3e7095e526f..abe3f01e291 100644 --- a/packages/jsts/src/rules/S6092/meta.ts +++ b/packages/jsts/src/rules/S6092/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6092/rule.ts b/packages/jsts/src/rules/S6092/rule.ts index ab476b31294..f51375f0a8d 100644 --- a/packages/jsts/src/rules/S6092/rule.ts +++ b/packages/jsts/src/rules/S6092/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6092/javascript diff --git a/packages/jsts/src/rules/S6092/unit.test.ts b/packages/jsts/src/rules/S6092/unit.test.ts index 03338a27174..a5e30439edf 100644 --- a/packages/jsts/src/rules/S6092/unit.test.ts +++ b/packages/jsts/src/rules/S6092/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6245/cb.test.ts b/packages/jsts/src/rules/S6245/cb.test.ts index 372c5fb0310..f71c781e468 100644 --- a/packages/jsts/src/rules/S6245/cb.test.ts +++ b/packages/jsts/src/rules/S6245/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6245/generated-meta.ts b/packages/jsts/src/rules/S6245/generated-meta.ts index 170b514bdc7..1103ee0dd67 100644 --- a/packages/jsts/src/rules/S6245/generated-meta.ts +++ b/packages/jsts/src/rules/S6245/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6245/index.ts b/packages/jsts/src/rules/S6245/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6245/index.ts +++ b/packages/jsts/src/rules/S6245/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6245/meta.ts b/packages/jsts/src/rules/S6245/meta.ts index 0fa24224aff..710c0063101 100644 --- a/packages/jsts/src/rules/S6245/meta.ts +++ b/packages/jsts/src/rules/S6245/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6245/rule.ts b/packages/jsts/src/rules/S6245/rule.ts index a3c27d9d4ff..3d68498de2f 100644 --- a/packages/jsts/src/rules/S6245/rule.ts +++ b/packages/jsts/src/rules/S6245/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6245/javascript diff --git a/packages/jsts/src/rules/S6249/cb.test.ts b/packages/jsts/src/rules/S6249/cb.test.ts index e79b094688c..e531a50a32f 100644 --- a/packages/jsts/src/rules/S6249/cb.test.ts +++ b/packages/jsts/src/rules/S6249/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6249/generated-meta.ts b/packages/jsts/src/rules/S6249/generated-meta.ts index c3b7b5277df..f17d45d28dd 100644 --- a/packages/jsts/src/rules/S6249/generated-meta.ts +++ b/packages/jsts/src/rules/S6249/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6249/index.ts b/packages/jsts/src/rules/S6249/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6249/index.ts +++ b/packages/jsts/src/rules/S6249/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6249/meta.ts b/packages/jsts/src/rules/S6249/meta.ts index 93618bab9c5..e157dcfbc53 100644 --- a/packages/jsts/src/rules/S6249/meta.ts +++ b/packages/jsts/src/rules/S6249/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6249/rule.ts b/packages/jsts/src/rules/S6249/rule.ts index 3d84cba8b84..69dd192d421 100644 --- a/packages/jsts/src/rules/S6249/rule.ts +++ b/packages/jsts/src/rules/S6249/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6249/javascript diff --git a/packages/jsts/src/rules/S6252/cb.test.ts b/packages/jsts/src/rules/S6252/cb.test.ts index 5935ae122fd..d1d11bdda8c 100644 --- a/packages/jsts/src/rules/S6252/cb.test.ts +++ b/packages/jsts/src/rules/S6252/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6252/generated-meta.ts b/packages/jsts/src/rules/S6252/generated-meta.ts index 74944b92e74..688a711dd98 100644 --- a/packages/jsts/src/rules/S6252/generated-meta.ts +++ b/packages/jsts/src/rules/S6252/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6252/index.ts b/packages/jsts/src/rules/S6252/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6252/index.ts +++ b/packages/jsts/src/rules/S6252/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6252/meta.ts b/packages/jsts/src/rules/S6252/meta.ts index c5511711870..2728fcb195e 100644 --- a/packages/jsts/src/rules/S6252/meta.ts +++ b/packages/jsts/src/rules/S6252/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6252/rule.ts b/packages/jsts/src/rules/S6252/rule.ts index 7a208132eb3..b7a6cf114cb 100644 --- a/packages/jsts/src/rules/S6252/rule.ts +++ b/packages/jsts/src/rules/S6252/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6252/javascript diff --git a/packages/jsts/src/rules/S6265/cb.test.ts b/packages/jsts/src/rules/S6265/cb.test.ts index 1db520289e2..a5446aea760 100644 --- a/packages/jsts/src/rules/S6265/cb.test.ts +++ b/packages/jsts/src/rules/S6265/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6265/generated-meta.ts b/packages/jsts/src/rules/S6265/generated-meta.ts index d0267142ce9..1a1076b53a4 100644 --- a/packages/jsts/src/rules/S6265/generated-meta.ts +++ b/packages/jsts/src/rules/S6265/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6265/index.ts b/packages/jsts/src/rules/S6265/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6265/index.ts +++ b/packages/jsts/src/rules/S6265/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6265/meta.ts b/packages/jsts/src/rules/S6265/meta.ts index 7a70d4a0fc4..ccf1087944c 100644 --- a/packages/jsts/src/rules/S6265/meta.ts +++ b/packages/jsts/src/rules/S6265/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6265/rule.ts b/packages/jsts/src/rules/S6265/rule.ts index 494df3c23db..766959e5bc4 100644 --- a/packages/jsts/src/rules/S6265/rule.ts +++ b/packages/jsts/src/rules/S6265/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6265/javascript diff --git a/packages/jsts/src/rules/S6268/generated-meta.ts b/packages/jsts/src/rules/S6268/generated-meta.ts index 44dec916c05..c8a313f0029 100644 --- a/packages/jsts/src/rules/S6268/generated-meta.ts +++ b/packages/jsts/src/rules/S6268/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6268/index.ts b/packages/jsts/src/rules/S6268/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6268/index.ts +++ b/packages/jsts/src/rules/S6268/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6268/meta.ts b/packages/jsts/src/rules/S6268/meta.ts index 327d7673838..cbfec35799d 100644 --- a/packages/jsts/src/rules/S6268/meta.ts +++ b/packages/jsts/src/rules/S6268/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6268/rule.ts b/packages/jsts/src/rules/S6268/rule.ts index 207c598409c..04539b844fc 100644 --- a/packages/jsts/src/rules/S6268/rule.ts +++ b/packages/jsts/src/rules/S6268/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6268/javascript diff --git a/packages/jsts/src/rules/S6268/unit.test.ts b/packages/jsts/src/rules/S6268/unit.test.ts index ffb847c4583..7cff6a631cb 100644 --- a/packages/jsts/src/rules/S6268/unit.test.ts +++ b/packages/jsts/src/rules/S6268/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6270/cb.test.ts b/packages/jsts/src/rules/S6270/cb.test.ts index f56d126a265..6d1bfc9c916 100644 --- a/packages/jsts/src/rules/S6270/cb.test.ts +++ b/packages/jsts/src/rules/S6270/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6270/generated-meta.ts b/packages/jsts/src/rules/S6270/generated-meta.ts index 91cc45745ae..0f74d58ed1a 100644 --- a/packages/jsts/src/rules/S6270/generated-meta.ts +++ b/packages/jsts/src/rules/S6270/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6270/index.ts b/packages/jsts/src/rules/S6270/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6270/index.ts +++ b/packages/jsts/src/rules/S6270/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6270/meta.ts b/packages/jsts/src/rules/S6270/meta.ts index 89b39077f6b..62a9aaadf2c 100644 --- a/packages/jsts/src/rules/S6270/meta.ts +++ b/packages/jsts/src/rules/S6270/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6270/rule.ts b/packages/jsts/src/rules/S6270/rule.ts index 4c58c98fbfd..4335999ac77 100644 --- a/packages/jsts/src/rules/S6270/rule.ts +++ b/packages/jsts/src/rules/S6270/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6270/javascript diff --git a/packages/jsts/src/rules/S6275/cb.test.ts b/packages/jsts/src/rules/S6275/cb.test.ts index d735e196b83..e8860300010 100644 --- a/packages/jsts/src/rules/S6275/cb.test.ts +++ b/packages/jsts/src/rules/S6275/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6275/generated-meta.ts b/packages/jsts/src/rules/S6275/generated-meta.ts index bde57359c6e..7fe1ee11a91 100644 --- a/packages/jsts/src/rules/S6275/generated-meta.ts +++ b/packages/jsts/src/rules/S6275/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6275/index.ts b/packages/jsts/src/rules/S6275/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6275/index.ts +++ b/packages/jsts/src/rules/S6275/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6275/meta.ts b/packages/jsts/src/rules/S6275/meta.ts index 8081057613e..45410c3804b 100644 --- a/packages/jsts/src/rules/S6275/meta.ts +++ b/packages/jsts/src/rules/S6275/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6275/rule.ts b/packages/jsts/src/rules/S6275/rule.ts index 301c58cd87e..ef9be58d136 100644 --- a/packages/jsts/src/rules/S6275/rule.ts +++ b/packages/jsts/src/rules/S6275/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6275/javascript diff --git a/packages/jsts/src/rules/S6281/cb.test.ts b/packages/jsts/src/rules/S6281/cb.test.ts index 709713b1562..00dfe29e985 100644 --- a/packages/jsts/src/rules/S6281/cb.test.ts +++ b/packages/jsts/src/rules/S6281/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6281/generated-meta.ts b/packages/jsts/src/rules/S6281/generated-meta.ts index 71d0a4e36f4..56b13a0a32f 100644 --- a/packages/jsts/src/rules/S6281/generated-meta.ts +++ b/packages/jsts/src/rules/S6281/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6281/index.ts b/packages/jsts/src/rules/S6281/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6281/index.ts +++ b/packages/jsts/src/rules/S6281/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6281/meta.ts b/packages/jsts/src/rules/S6281/meta.ts index 106101ffaa1..f0be77e85d3 100644 --- a/packages/jsts/src/rules/S6281/meta.ts +++ b/packages/jsts/src/rules/S6281/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6281/rule.ts b/packages/jsts/src/rules/S6281/rule.ts index 276d1ff7151..ebad3041441 100644 --- a/packages/jsts/src/rules/S6281/rule.ts +++ b/packages/jsts/src/rules/S6281/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6281/javascript diff --git a/packages/jsts/src/rules/S6299/generated-meta.ts b/packages/jsts/src/rules/S6299/generated-meta.ts index 390069916f8..a8e7c60d503 100644 --- a/packages/jsts/src/rules/S6299/generated-meta.ts +++ b/packages/jsts/src/rules/S6299/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6299/index.ts b/packages/jsts/src/rules/S6299/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6299/index.ts +++ b/packages/jsts/src/rules/S6299/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6299/meta.ts b/packages/jsts/src/rules/S6299/meta.ts index 094ff8ef5dd..93ab8ec93c4 100644 --- a/packages/jsts/src/rules/S6299/meta.ts +++ b/packages/jsts/src/rules/S6299/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6299/rule.ts b/packages/jsts/src/rules/S6299/rule.ts index b8662e87fd5..f659afd61bf 100644 --- a/packages/jsts/src/rules/S6299/rule.ts +++ b/packages/jsts/src/rules/S6299/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6299/javascript diff --git a/packages/jsts/src/rules/S6299/unit.test.ts b/packages/jsts/src/rules/S6299/unit.test.ts index d9f0baba0a9..522bf59d352 100644 --- a/packages/jsts/src/rules/S6299/unit.test.ts +++ b/packages/jsts/src/rules/S6299/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S6302/cb.test.ts b/packages/jsts/src/rules/S6302/cb.test.ts index 3e45f1edc87..a3e01d3ef16 100644 --- a/packages/jsts/src/rules/S6302/cb.test.ts +++ b/packages/jsts/src/rules/S6302/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6302/generated-meta.ts b/packages/jsts/src/rules/S6302/generated-meta.ts index 040835bb6f9..9a889477071 100644 --- a/packages/jsts/src/rules/S6302/generated-meta.ts +++ b/packages/jsts/src/rules/S6302/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6302/index.ts b/packages/jsts/src/rules/S6302/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6302/index.ts +++ b/packages/jsts/src/rules/S6302/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6302/meta.ts b/packages/jsts/src/rules/S6302/meta.ts index 87117ab127e..49579fc4254 100644 --- a/packages/jsts/src/rules/S6302/meta.ts +++ b/packages/jsts/src/rules/S6302/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6302/rule.ts b/packages/jsts/src/rules/S6302/rule.ts index 6f45730bdc4..c702ce7cbd3 100644 --- a/packages/jsts/src/rules/S6302/rule.ts +++ b/packages/jsts/src/rules/S6302/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6302/javascript diff --git a/packages/jsts/src/rules/S6303/cb.test.ts b/packages/jsts/src/rules/S6303/cb.test.ts index ea6f48ec216..b4c04050961 100644 --- a/packages/jsts/src/rules/S6303/cb.test.ts +++ b/packages/jsts/src/rules/S6303/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6303/generated-meta.ts b/packages/jsts/src/rules/S6303/generated-meta.ts index a2b5686bea1..00eddcfbd6d 100644 --- a/packages/jsts/src/rules/S6303/generated-meta.ts +++ b/packages/jsts/src/rules/S6303/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6303/index.ts b/packages/jsts/src/rules/S6303/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6303/index.ts +++ b/packages/jsts/src/rules/S6303/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6303/meta.ts b/packages/jsts/src/rules/S6303/meta.ts index 5c4e3db163e..0d240db3bce 100644 --- a/packages/jsts/src/rules/S6303/meta.ts +++ b/packages/jsts/src/rules/S6303/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6303/rule.ts b/packages/jsts/src/rules/S6303/rule.ts index d47419f3d95..3585ded0150 100644 --- a/packages/jsts/src/rules/S6303/rule.ts +++ b/packages/jsts/src/rules/S6303/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6303/javascript diff --git a/packages/jsts/src/rules/S6304/cb.test.ts b/packages/jsts/src/rules/S6304/cb.test.ts index 008da70de50..b70540ff040 100644 --- a/packages/jsts/src/rules/S6304/cb.test.ts +++ b/packages/jsts/src/rules/S6304/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6304/generated-meta.ts b/packages/jsts/src/rules/S6304/generated-meta.ts index 9e283b02591..b966c028afc 100644 --- a/packages/jsts/src/rules/S6304/generated-meta.ts +++ b/packages/jsts/src/rules/S6304/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6304/index.ts b/packages/jsts/src/rules/S6304/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6304/index.ts +++ b/packages/jsts/src/rules/S6304/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6304/meta.ts b/packages/jsts/src/rules/S6304/meta.ts index f0ac806e89c..219d3c27c8f 100644 --- a/packages/jsts/src/rules/S6304/meta.ts +++ b/packages/jsts/src/rules/S6304/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6304/rule.ts b/packages/jsts/src/rules/S6304/rule.ts index 9eee1ccb527..d23b0d065ef 100644 --- a/packages/jsts/src/rules/S6304/rule.ts +++ b/packages/jsts/src/rules/S6304/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6304/javascript diff --git a/packages/jsts/src/rules/S6308/cb.test.ts b/packages/jsts/src/rules/S6308/cb.test.ts index b61263cf297..b2f98942fe1 100644 --- a/packages/jsts/src/rules/S6308/cb.test.ts +++ b/packages/jsts/src/rules/S6308/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6308/generated-meta.ts b/packages/jsts/src/rules/S6308/generated-meta.ts index c7027b34309..5e7f4a2fbbf 100644 --- a/packages/jsts/src/rules/S6308/generated-meta.ts +++ b/packages/jsts/src/rules/S6308/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6308/index.ts b/packages/jsts/src/rules/S6308/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6308/index.ts +++ b/packages/jsts/src/rules/S6308/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6308/meta.ts b/packages/jsts/src/rules/S6308/meta.ts index cb0aa0e2671..ed9ea81d40e 100644 --- a/packages/jsts/src/rules/S6308/meta.ts +++ b/packages/jsts/src/rules/S6308/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6308/rule.ts b/packages/jsts/src/rules/S6308/rule.ts index d6df55e1cb0..e260f2893db 100644 --- a/packages/jsts/src/rules/S6308/rule.ts +++ b/packages/jsts/src/rules/S6308/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6308/javascript diff --git a/packages/jsts/src/rules/S6317/cb.test.ts b/packages/jsts/src/rules/S6317/cb.test.ts index b0416051a3a..14af8eca173 100644 --- a/packages/jsts/src/rules/S6317/cb.test.ts +++ b/packages/jsts/src/rules/S6317/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6317/generated-meta.ts b/packages/jsts/src/rules/S6317/generated-meta.ts index 240a0b60ea6..31fd74449c8 100644 --- a/packages/jsts/src/rules/S6317/generated-meta.ts +++ b/packages/jsts/src/rules/S6317/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6317/index.ts b/packages/jsts/src/rules/S6317/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6317/index.ts +++ b/packages/jsts/src/rules/S6317/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6317/meta.ts b/packages/jsts/src/rules/S6317/meta.ts index 2f7d73d2854..533cb83100f 100644 --- a/packages/jsts/src/rules/S6317/meta.ts +++ b/packages/jsts/src/rules/S6317/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6317/rule.ts b/packages/jsts/src/rules/S6317/rule.ts index c56e1f04944..536371bf903 100644 --- a/packages/jsts/src/rules/S6317/rule.ts +++ b/packages/jsts/src/rules/S6317/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6317/javascript diff --git a/packages/jsts/src/rules/S6319/cb.test.ts b/packages/jsts/src/rules/S6319/cb.test.ts index 0e01ee6e673..9c51c79f5ed 100644 --- a/packages/jsts/src/rules/S6319/cb.test.ts +++ b/packages/jsts/src/rules/S6319/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6319/generated-meta.ts b/packages/jsts/src/rules/S6319/generated-meta.ts index 0d411d7f4bf..13997b6978a 100644 --- a/packages/jsts/src/rules/S6319/generated-meta.ts +++ b/packages/jsts/src/rules/S6319/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6319/index.ts b/packages/jsts/src/rules/S6319/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6319/index.ts +++ b/packages/jsts/src/rules/S6319/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6319/meta.ts b/packages/jsts/src/rules/S6319/meta.ts index 9f4628fe44a..ba475dfac31 100644 --- a/packages/jsts/src/rules/S6319/meta.ts +++ b/packages/jsts/src/rules/S6319/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6319/rule.ts b/packages/jsts/src/rules/S6319/rule.ts index 98aef2ae7a7..e9fbe7ee185 100644 --- a/packages/jsts/src/rules/S6319/rule.ts +++ b/packages/jsts/src/rules/S6319/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6319/javascript diff --git a/packages/jsts/src/rules/S6321/cb.test.ts b/packages/jsts/src/rules/S6321/cb.test.ts index f69da21ec46..d409754054c 100644 --- a/packages/jsts/src/rules/S6321/cb.test.ts +++ b/packages/jsts/src/rules/S6321/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6321/generated-meta.ts b/packages/jsts/src/rules/S6321/generated-meta.ts index 2e0db2ef827..0915b13662f 100644 --- a/packages/jsts/src/rules/S6321/generated-meta.ts +++ b/packages/jsts/src/rules/S6321/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6321/index.ts b/packages/jsts/src/rules/S6321/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6321/index.ts +++ b/packages/jsts/src/rules/S6321/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6321/meta.ts b/packages/jsts/src/rules/S6321/meta.ts index f92c822fc8a..32bf96ab986 100644 --- a/packages/jsts/src/rules/S6321/meta.ts +++ b/packages/jsts/src/rules/S6321/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6321/rule.ts b/packages/jsts/src/rules/S6321/rule.ts index 3d6cdd862d1..6041b86018e 100644 --- a/packages/jsts/src/rules/S6321/rule.ts +++ b/packages/jsts/src/rules/S6321/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6321/javascript diff --git a/packages/jsts/src/rules/S6323/generated-meta.ts b/packages/jsts/src/rules/S6323/generated-meta.ts index 7652b66158b..8edb83bd6e3 100644 --- a/packages/jsts/src/rules/S6323/generated-meta.ts +++ b/packages/jsts/src/rules/S6323/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6323/index.ts b/packages/jsts/src/rules/S6323/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6323/index.ts +++ b/packages/jsts/src/rules/S6323/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6323/meta.ts b/packages/jsts/src/rules/S6323/meta.ts index 0ab3ddb5c16..2e646bbe608 100644 --- a/packages/jsts/src/rules/S6323/meta.ts +++ b/packages/jsts/src/rules/S6323/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6323/rule.ts b/packages/jsts/src/rules/S6323/rule.ts index ea18ce871f7..511825e3990 100644 --- a/packages/jsts/src/rules/S6323/rule.ts +++ b/packages/jsts/src/rules/S6323/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6323/javascript diff --git a/packages/jsts/src/rules/S6323/unit.test.ts b/packages/jsts/src/rules/S6323/unit.test.ts index 43bade1db3a..021c76428d8 100644 --- a/packages/jsts/src/rules/S6323/unit.test.ts +++ b/packages/jsts/src/rules/S6323/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6324/generated-meta.ts b/packages/jsts/src/rules/S6324/generated-meta.ts index 44ad3063915..fb93374c872 100644 --- a/packages/jsts/src/rules/S6324/generated-meta.ts +++ b/packages/jsts/src/rules/S6324/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6324/index.ts b/packages/jsts/src/rules/S6324/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6324/index.ts +++ b/packages/jsts/src/rules/S6324/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6324/meta.ts b/packages/jsts/src/rules/S6324/meta.ts index 1a76059528e..9908ade9ba5 100644 --- a/packages/jsts/src/rules/S6324/meta.ts +++ b/packages/jsts/src/rules/S6324/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6324/rule.ts b/packages/jsts/src/rules/S6324/rule.ts index 2a31f244b01..3a631e1c6df 100644 --- a/packages/jsts/src/rules/S6324/rule.ts +++ b/packages/jsts/src/rules/S6324/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6324/javascript diff --git a/packages/jsts/src/rules/S6324/unit.test.ts b/packages/jsts/src/rules/S6324/unit.test.ts index af4389df311..4a5e1fc77e0 100644 --- a/packages/jsts/src/rules/S6324/unit.test.ts +++ b/packages/jsts/src/rules/S6324/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6325/generated-meta.ts b/packages/jsts/src/rules/S6325/generated-meta.ts index f0a2ac746ff..b1381e8dde6 100644 --- a/packages/jsts/src/rules/S6325/generated-meta.ts +++ b/packages/jsts/src/rules/S6325/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6325/index.ts b/packages/jsts/src/rules/S6325/index.ts index 4fbcb0ee7fb..7114bbf3d93 100644 --- a/packages/jsts/src/rules/S6325/index.ts +++ b/packages/jsts/src/rules/S6325/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('prefer-regex-literals'); diff --git a/packages/jsts/src/rules/S6325/meta.ts b/packages/jsts/src/rules/S6325/meta.ts index fa6bb561cd6..1446054b6b0 100644 --- a/packages/jsts/src/rules/S6325/meta.ts +++ b/packages/jsts/src/rules/S6325/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6326/generated-meta.ts b/packages/jsts/src/rules/S6326/generated-meta.ts index 5a71875a942..a125071c19c 100644 --- a/packages/jsts/src/rules/S6326/generated-meta.ts +++ b/packages/jsts/src/rules/S6326/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6326/index.ts b/packages/jsts/src/rules/S6326/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6326/index.ts +++ b/packages/jsts/src/rules/S6326/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6326/meta.ts b/packages/jsts/src/rules/S6326/meta.ts index e1c7205dc3f..f69d4aaa722 100644 --- a/packages/jsts/src/rules/S6326/meta.ts +++ b/packages/jsts/src/rules/S6326/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6326/rule.ts b/packages/jsts/src/rules/S6326/rule.ts index 803dfa27fa5..a0d7488cca5 100644 --- a/packages/jsts/src/rules/S6326/rule.ts +++ b/packages/jsts/src/rules/S6326/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6326/javascript diff --git a/packages/jsts/src/rules/S6326/unit.test.ts b/packages/jsts/src/rules/S6326/unit.test.ts index 1df9b2fd10e..8208b99bf2d 100644 --- a/packages/jsts/src/rules/S6326/unit.test.ts +++ b/packages/jsts/src/rules/S6326/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6327/cb.test.ts b/packages/jsts/src/rules/S6327/cb.test.ts index a064566c67d..0115bc86ea4 100644 --- a/packages/jsts/src/rules/S6327/cb.test.ts +++ b/packages/jsts/src/rules/S6327/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6327/generated-meta.ts b/packages/jsts/src/rules/S6327/generated-meta.ts index 35174cbced3..410c5a10682 100644 --- a/packages/jsts/src/rules/S6327/generated-meta.ts +++ b/packages/jsts/src/rules/S6327/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6327/index.ts b/packages/jsts/src/rules/S6327/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6327/index.ts +++ b/packages/jsts/src/rules/S6327/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6327/meta.ts b/packages/jsts/src/rules/S6327/meta.ts index 97fa8770b86..213c723effc 100644 --- a/packages/jsts/src/rules/S6327/meta.ts +++ b/packages/jsts/src/rules/S6327/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6327/rule.ts b/packages/jsts/src/rules/S6327/rule.ts index a0af1776d74..11d3921ef1a 100644 --- a/packages/jsts/src/rules/S6327/rule.ts +++ b/packages/jsts/src/rules/S6327/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6327/javascript diff --git a/packages/jsts/src/rules/S6328/generated-meta.ts b/packages/jsts/src/rules/S6328/generated-meta.ts index 64424968cae..63836335712 100644 --- a/packages/jsts/src/rules/S6328/generated-meta.ts +++ b/packages/jsts/src/rules/S6328/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6328/index.ts b/packages/jsts/src/rules/S6328/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6328/index.ts +++ b/packages/jsts/src/rules/S6328/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6328/meta.ts b/packages/jsts/src/rules/S6328/meta.ts index 883226fef33..fed3f6e6d37 100644 --- a/packages/jsts/src/rules/S6328/meta.ts +++ b/packages/jsts/src/rules/S6328/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6328/rule.ts b/packages/jsts/src/rules/S6328/rule.ts index 73977c9aa5c..2a15e041daa 100644 --- a/packages/jsts/src/rules/S6328/rule.ts +++ b/packages/jsts/src/rules/S6328/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6328/javascript diff --git a/packages/jsts/src/rules/S6328/unit.test.ts b/packages/jsts/src/rules/S6328/unit.test.ts index 2d8255fe343..f99db51629d 100644 --- a/packages/jsts/src/rules/S6328/unit.test.ts +++ b/packages/jsts/src/rules/S6328/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S6329/cb.test.ts b/packages/jsts/src/rules/S6329/cb.test.ts index 877d4a07bda..9da3853797b 100644 --- a/packages/jsts/src/rules/S6329/cb.test.ts +++ b/packages/jsts/src/rules/S6329/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6329/generated-meta.ts b/packages/jsts/src/rules/S6329/generated-meta.ts index effc363e43f..bde50dd246b 100644 --- a/packages/jsts/src/rules/S6329/generated-meta.ts +++ b/packages/jsts/src/rules/S6329/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6329/index.ts b/packages/jsts/src/rules/S6329/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6329/index.ts +++ b/packages/jsts/src/rules/S6329/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6329/meta.ts b/packages/jsts/src/rules/S6329/meta.ts index 783053f8e2d..8914f494141 100644 --- a/packages/jsts/src/rules/S6329/meta.ts +++ b/packages/jsts/src/rules/S6329/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6329/rule.ts b/packages/jsts/src/rules/S6329/rule.ts index 8bc522fb198..43a074229fb 100644 --- a/packages/jsts/src/rules/S6329/rule.ts +++ b/packages/jsts/src/rules/S6329/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6329/javascript diff --git a/packages/jsts/src/rules/S6330/cb.test.ts b/packages/jsts/src/rules/S6330/cb.test.ts index 4547855ad5e..3726c0c5983 100644 --- a/packages/jsts/src/rules/S6330/cb.test.ts +++ b/packages/jsts/src/rules/S6330/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6330/generated-meta.ts b/packages/jsts/src/rules/S6330/generated-meta.ts index f17bf29eda2..de30956c576 100644 --- a/packages/jsts/src/rules/S6330/generated-meta.ts +++ b/packages/jsts/src/rules/S6330/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6330/index.ts b/packages/jsts/src/rules/S6330/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6330/index.ts +++ b/packages/jsts/src/rules/S6330/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6330/meta.ts b/packages/jsts/src/rules/S6330/meta.ts index 56db2b82e76..6dbe03276ea 100644 --- a/packages/jsts/src/rules/S6330/meta.ts +++ b/packages/jsts/src/rules/S6330/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6330/rule.ts b/packages/jsts/src/rules/S6330/rule.ts index 1615c226cc8..2c8475e535e 100644 --- a/packages/jsts/src/rules/S6330/rule.ts +++ b/packages/jsts/src/rules/S6330/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6308/javascript diff --git a/packages/jsts/src/rules/S6331/generated-meta.ts b/packages/jsts/src/rules/S6331/generated-meta.ts index ce1977ba617..1ad87e23720 100644 --- a/packages/jsts/src/rules/S6331/generated-meta.ts +++ b/packages/jsts/src/rules/S6331/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6331/index.ts b/packages/jsts/src/rules/S6331/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6331/index.ts +++ b/packages/jsts/src/rules/S6331/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6331/meta.ts b/packages/jsts/src/rules/S6331/meta.ts index 34c24d7d01b..5ef778e63ec 100644 --- a/packages/jsts/src/rules/S6331/meta.ts +++ b/packages/jsts/src/rules/S6331/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6331/rule.ts b/packages/jsts/src/rules/S6331/rule.ts index 6293e39fc4c..b7df8cf3060 100644 --- a/packages/jsts/src/rules/S6331/rule.ts +++ b/packages/jsts/src/rules/S6331/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6331/javascript diff --git a/packages/jsts/src/rules/S6331/unit.test.ts b/packages/jsts/src/rules/S6331/unit.test.ts index 061eed8dc24..cc46372c11c 100644 --- a/packages/jsts/src/rules/S6331/unit.test.ts +++ b/packages/jsts/src/rules/S6331/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6332/cb.test.ts b/packages/jsts/src/rules/S6332/cb.test.ts index 1bb64c793ee..41487c00182 100644 --- a/packages/jsts/src/rules/S6332/cb.test.ts +++ b/packages/jsts/src/rules/S6332/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6332/generated-meta.ts b/packages/jsts/src/rules/S6332/generated-meta.ts index fde4386d7ee..b8864eaa2c7 100644 --- a/packages/jsts/src/rules/S6332/generated-meta.ts +++ b/packages/jsts/src/rules/S6332/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6332/index.ts b/packages/jsts/src/rules/S6332/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6332/index.ts +++ b/packages/jsts/src/rules/S6332/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6332/meta.ts b/packages/jsts/src/rules/S6332/meta.ts index 91c7fe0931c..e0515bad9ef 100644 --- a/packages/jsts/src/rules/S6332/meta.ts +++ b/packages/jsts/src/rules/S6332/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6332/rule.ts b/packages/jsts/src/rules/S6332/rule.ts index 5e316b5a7fb..77ad299727c 100644 --- a/packages/jsts/src/rules/S6332/rule.ts +++ b/packages/jsts/src/rules/S6332/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6332/javascript diff --git a/packages/jsts/src/rules/S6333/cb.test.ts b/packages/jsts/src/rules/S6333/cb.test.ts index c89b92fd8c2..31698626200 100644 --- a/packages/jsts/src/rules/S6333/cb.test.ts +++ b/packages/jsts/src/rules/S6333/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6333/generated-meta.ts b/packages/jsts/src/rules/S6333/generated-meta.ts index 70c2b82f292..da2b94532fc 100644 --- a/packages/jsts/src/rules/S6333/generated-meta.ts +++ b/packages/jsts/src/rules/S6333/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6333/index.ts b/packages/jsts/src/rules/S6333/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6333/index.ts +++ b/packages/jsts/src/rules/S6333/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6333/meta.ts b/packages/jsts/src/rules/S6333/meta.ts index 716aca7d1d4..a4b1d2d849b 100644 --- a/packages/jsts/src/rules/S6333/meta.ts +++ b/packages/jsts/src/rules/S6333/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6333/rule.ts b/packages/jsts/src/rules/S6333/rule.ts index 86261a355fd..23ef52b4a21 100644 --- a/packages/jsts/src/rules/S6333/rule.ts +++ b/packages/jsts/src/rules/S6333/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6333/javascript diff --git a/packages/jsts/src/rules/S6351/generated-meta.ts b/packages/jsts/src/rules/S6351/generated-meta.ts index 34fe50a9019..6dcdce5994d 100644 --- a/packages/jsts/src/rules/S6351/generated-meta.ts +++ b/packages/jsts/src/rules/S6351/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6351/index.ts b/packages/jsts/src/rules/S6351/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6351/index.ts +++ b/packages/jsts/src/rules/S6351/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6351/meta.ts b/packages/jsts/src/rules/S6351/meta.ts index b898cb4cf87..1797ae4cbc3 100644 --- a/packages/jsts/src/rules/S6351/meta.ts +++ b/packages/jsts/src/rules/S6351/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6351/rule.ts b/packages/jsts/src/rules/S6351/rule.ts index 9a4e95efde2..5162b4f405d 100644 --- a/packages/jsts/src/rules/S6351/rule.ts +++ b/packages/jsts/src/rules/S6351/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6351/javascript diff --git a/packages/jsts/src/rules/S6351/unit.test.ts b/packages/jsts/src/rules/S6351/unit.test.ts index 8db66db55c0..a80452f0285 100644 --- a/packages/jsts/src/rules/S6351/unit.test.ts +++ b/packages/jsts/src/rules/S6351/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S6353/generated-meta.ts b/packages/jsts/src/rules/S6353/generated-meta.ts index 001f505de31..4b6def7f611 100644 --- a/packages/jsts/src/rules/S6353/generated-meta.ts +++ b/packages/jsts/src/rules/S6353/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6353/index.ts b/packages/jsts/src/rules/S6353/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6353/index.ts +++ b/packages/jsts/src/rules/S6353/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6353/meta.ts b/packages/jsts/src/rules/S6353/meta.ts index 386b5e0be9d..0f3f42a7cd4 100644 --- a/packages/jsts/src/rules/S6353/meta.ts +++ b/packages/jsts/src/rules/S6353/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6353/rule.ts b/packages/jsts/src/rules/S6353/rule.ts index d4609951e74..208a660dea6 100644 --- a/packages/jsts/src/rules/S6353/rule.ts +++ b/packages/jsts/src/rules/S6353/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6353/javascript diff --git a/packages/jsts/src/rules/S6353/unit.test.ts b/packages/jsts/src/rules/S6353/unit.test.ts index bc6ef213168..ccf59e7dbc4 100644 --- a/packages/jsts/src/rules/S6353/unit.test.ts +++ b/packages/jsts/src/rules/S6353/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6397/cb.test.ts b/packages/jsts/src/rules/S6397/cb.test.ts index 99688fbf720..91c7de6d392 100644 --- a/packages/jsts/src/rules/S6397/cb.test.ts +++ b/packages/jsts/src/rules/S6397/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6397/generated-meta.ts b/packages/jsts/src/rules/S6397/generated-meta.ts index c139fb7acf2..eb67e896bb0 100644 --- a/packages/jsts/src/rules/S6397/generated-meta.ts +++ b/packages/jsts/src/rules/S6397/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6397/index.ts b/packages/jsts/src/rules/S6397/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6397/index.ts +++ b/packages/jsts/src/rules/S6397/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6397/meta.ts b/packages/jsts/src/rules/S6397/meta.ts index 43ee6b6ef77..8ccedda9983 100644 --- a/packages/jsts/src/rules/S6397/meta.ts +++ b/packages/jsts/src/rules/S6397/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6397/rule.ts b/packages/jsts/src/rules/S6397/rule.ts index 4786fefb110..486544b4fbe 100644 --- a/packages/jsts/src/rules/S6397/rule.ts +++ b/packages/jsts/src/rules/S6397/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6397/javascript diff --git a/packages/jsts/src/rules/S6426/cb.test.ts b/packages/jsts/src/rules/S6426/cb.test.ts index c57860acc78..28172891d42 100644 --- a/packages/jsts/src/rules/S6426/cb.test.ts +++ b/packages/jsts/src/rules/S6426/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6426/generated-meta.ts b/packages/jsts/src/rules/S6426/generated-meta.ts index a09f1b712b9..b720a82c736 100644 --- a/packages/jsts/src/rules/S6426/generated-meta.ts +++ b/packages/jsts/src/rules/S6426/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6426/index.ts b/packages/jsts/src/rules/S6426/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6426/index.ts +++ b/packages/jsts/src/rules/S6426/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6426/meta.ts b/packages/jsts/src/rules/S6426/meta.ts index 1f836b1ed0d..b56eb2a29c2 100644 --- a/packages/jsts/src/rules/S6426/meta.ts +++ b/packages/jsts/src/rules/S6426/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6426/rule.ts b/packages/jsts/src/rules/S6426/rule.ts index 49182c1de23..a6b8d592b9d 100644 --- a/packages/jsts/src/rules/S6426/rule.ts +++ b/packages/jsts/src/rules/S6426/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6426/javascript diff --git a/packages/jsts/src/rules/S6435/generated-meta.ts b/packages/jsts/src/rules/S6435/generated-meta.ts index f95af72bacb..cc06f4c5798 100644 --- a/packages/jsts/src/rules/S6435/generated-meta.ts +++ b/packages/jsts/src/rules/S6435/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6435/index.ts b/packages/jsts/src/rules/S6435/index.ts index 5151b88519d..93820f4c5ed 100644 --- a/packages/jsts/src/rules/S6435/index.ts +++ b/packages/jsts/src/rules/S6435/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['require-render-return']; diff --git a/packages/jsts/src/rules/S6435/meta.ts b/packages/jsts/src/rules/S6435/meta.ts index 640871ef106..ab9b1c5d11e 100644 --- a/packages/jsts/src/rules/S6435/meta.ts +++ b/packages/jsts/src/rules/S6435/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6438/generated-meta.ts b/packages/jsts/src/rules/S6438/generated-meta.ts index fe168e8b3c3..3e1e763b04d 100644 --- a/packages/jsts/src/rules/S6438/generated-meta.ts +++ b/packages/jsts/src/rules/S6438/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6438/index.ts b/packages/jsts/src/rules/S6438/index.ts index c7ecf9ee97a..6b6f33c11d2 100644 --- a/packages/jsts/src/rules/S6438/index.ts +++ b/packages/jsts/src/rules/S6438/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['jsx-no-comment-textnodes']; diff --git a/packages/jsts/src/rules/S6438/meta.ts b/packages/jsts/src/rules/S6438/meta.ts index f7a6630a9f6..32e01232be8 100644 --- a/packages/jsts/src/rules/S6438/meta.ts +++ b/packages/jsts/src/rules/S6438/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6439/cb.test.ts b/packages/jsts/src/rules/S6439/cb.test.ts index c40f0361095..86d58864798 100644 --- a/packages/jsts/src/rules/S6439/cb.test.ts +++ b/packages/jsts/src/rules/S6439/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6439/generated-meta.ts b/packages/jsts/src/rules/S6439/generated-meta.ts index 8527b3bf1f5..a88056e9d2b 100644 --- a/packages/jsts/src/rules/S6439/generated-meta.ts +++ b/packages/jsts/src/rules/S6439/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6439/index.ts b/packages/jsts/src/rules/S6439/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6439/index.ts +++ b/packages/jsts/src/rules/S6439/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6439/meta.ts b/packages/jsts/src/rules/S6439/meta.ts index cef370d87bf..a2985c90400 100644 --- a/packages/jsts/src/rules/S6439/meta.ts +++ b/packages/jsts/src/rules/S6439/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6439/rule.ts b/packages/jsts/src/rules/S6439/rule.ts index 461e84bacb8..262b6e3f030 100644 --- a/packages/jsts/src/rules/S6439/rule.ts +++ b/packages/jsts/src/rules/S6439/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6439/javascript diff --git a/packages/jsts/src/rules/S6439/unit.test.ts b/packages/jsts/src/rules/S6439/unit.test.ts index 9f4cc7f5796..6ce911fc5ae 100644 --- a/packages/jsts/src/rules/S6439/unit.test.ts +++ b/packages/jsts/src/rules/S6439/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6440/cb.test.ts b/packages/jsts/src/rules/S6440/cb.test.ts index ca6240d6429..49cfa3b8571 100644 --- a/packages/jsts/src/rules/S6440/cb.test.ts +++ b/packages/jsts/src/rules/S6440/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6440/generated-meta.ts b/packages/jsts/src/rules/S6440/generated-meta.ts index 53c02db4e8d..241e5925144 100644 --- a/packages/jsts/src/rules/S6440/generated-meta.ts +++ b/packages/jsts/src/rules/S6440/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6440/index.ts b/packages/jsts/src/rules/S6440/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6440/index.ts +++ b/packages/jsts/src/rules/S6440/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6440/meta.ts b/packages/jsts/src/rules/S6440/meta.ts index 73d644aa7b9..220a96fb216 100644 --- a/packages/jsts/src/rules/S6440/meta.ts +++ b/packages/jsts/src/rules/S6440/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6440/rule.ts b/packages/jsts/src/rules/S6440/rule.ts index 5b078250558..6ecfb23c17b 100644 --- a/packages/jsts/src/rules/S6440/rule.ts +++ b/packages/jsts/src/rules/S6440/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6441/javascript diff --git a/packages/jsts/src/rules/S6441/cb.test.ts b/packages/jsts/src/rules/S6441/cb.test.ts index 951285d0ce0..4f1bf9de21f 100644 --- a/packages/jsts/src/rules/S6441/cb.test.ts +++ b/packages/jsts/src/rules/S6441/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6441/generated-meta.ts b/packages/jsts/src/rules/S6441/generated-meta.ts index ae35f5c6984..f558285cc2a 100644 --- a/packages/jsts/src/rules/S6441/generated-meta.ts +++ b/packages/jsts/src/rules/S6441/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6441/index.ts b/packages/jsts/src/rules/S6441/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6441/index.ts +++ b/packages/jsts/src/rules/S6441/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6441/meta.ts b/packages/jsts/src/rules/S6441/meta.ts index 64a6f5d18f4..16f90506bab 100644 --- a/packages/jsts/src/rules/S6441/meta.ts +++ b/packages/jsts/src/rules/S6441/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6441/rule.ts b/packages/jsts/src/rules/S6441/rule.ts index f3e369c26d6..526a74de2d1 100644 --- a/packages/jsts/src/rules/S6441/rule.ts +++ b/packages/jsts/src/rules/S6441/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6441/javascript diff --git a/packages/jsts/src/rules/S6442/cb.test.ts b/packages/jsts/src/rules/S6442/cb.test.ts index c60ba3f31d9..c5c7d0c6efe 100644 --- a/packages/jsts/src/rules/S6442/cb.test.ts +++ b/packages/jsts/src/rules/S6442/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6442/generated-meta.ts b/packages/jsts/src/rules/S6442/generated-meta.ts index 739a9a32165..7e6b55f614f 100644 --- a/packages/jsts/src/rules/S6442/generated-meta.ts +++ b/packages/jsts/src/rules/S6442/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6442/index.ts b/packages/jsts/src/rules/S6442/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6442/index.ts +++ b/packages/jsts/src/rules/S6442/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6442/meta.ts b/packages/jsts/src/rules/S6442/meta.ts index d61dc3b1c87..6f1dc9f8129 100644 --- a/packages/jsts/src/rules/S6442/meta.ts +++ b/packages/jsts/src/rules/S6442/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6442/rule.ts b/packages/jsts/src/rules/S6442/rule.ts index a46b3cd4cbb..a9d73fcf1d0 100644 --- a/packages/jsts/src/rules/S6442/rule.ts +++ b/packages/jsts/src/rules/S6442/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6442/javascript diff --git a/packages/jsts/src/rules/S6443/cb.test.ts b/packages/jsts/src/rules/S6443/cb.test.ts index e8c3fa0615c..5f58a789db7 100644 --- a/packages/jsts/src/rules/S6443/cb.test.ts +++ b/packages/jsts/src/rules/S6443/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6443/generated-meta.ts b/packages/jsts/src/rules/S6443/generated-meta.ts index 07b14bfc273..b9f1fb559c3 100644 --- a/packages/jsts/src/rules/S6443/generated-meta.ts +++ b/packages/jsts/src/rules/S6443/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6443/index.ts b/packages/jsts/src/rules/S6443/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6443/index.ts +++ b/packages/jsts/src/rules/S6443/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6443/meta.ts b/packages/jsts/src/rules/S6443/meta.ts index 5ebabdc4a6d..ccd2d85a0ac 100644 --- a/packages/jsts/src/rules/S6443/meta.ts +++ b/packages/jsts/src/rules/S6443/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6443/rule.ts b/packages/jsts/src/rules/S6443/rule.ts index 68d9f9765c3..b9f0bb57d63 100644 --- a/packages/jsts/src/rules/S6443/rule.ts +++ b/packages/jsts/src/rules/S6443/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6443/javascript diff --git a/packages/jsts/src/rules/S6477/decorator.ts b/packages/jsts/src/rules/S6477/decorator.ts index f4ed00c0255..d19485c1779 100644 --- a/packages/jsts/src/rules/S6477/decorator.ts +++ b/packages/jsts/src/rules/S6477/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { TSESTree } from '@typescript-eslint/utils'; import type { Rule } from 'eslint'; diff --git a/packages/jsts/src/rules/S6477/generated-meta.ts b/packages/jsts/src/rules/S6477/generated-meta.ts index 046aca7784f..5d2951028ff 100644 --- a/packages/jsts/src/rules/S6477/generated-meta.ts +++ b/packages/jsts/src/rules/S6477/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6477/index.ts b/packages/jsts/src/rules/S6477/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6477/index.ts +++ b/packages/jsts/src/rules/S6477/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6477/meta.ts b/packages/jsts/src/rules/S6477/meta.ts index 7bea6c6bbeb..a0a732853f2 100644 --- a/packages/jsts/src/rules/S6477/meta.ts +++ b/packages/jsts/src/rules/S6477/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6477/non-react-project/unit.test.ts b/packages/jsts/src/rules/S6477/non-react-project/unit.test.ts index 8bf83e062e5..fef98c6d261 100644 --- a/packages/jsts/src/rules/S6477/non-react-project/unit.test.ts +++ b/packages/jsts/src/rules/S6477/non-react-project/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../../tests/tools/testers/rule-tester.js'; import { rule } from '../index.js'; diff --git a/packages/jsts/src/rules/S6477/react-project/cb.test.ts b/packages/jsts/src/rules/S6477/react-project/cb.test.ts index bc05213a01f..c096b2a1f6a 100644 --- a/packages/jsts/src/rules/S6477/react-project/cb.test.ts +++ b/packages/jsts/src/rules/S6477/react-project/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../../tests/tools/index.js'; import { rule } from '../index.js'; diff --git a/packages/jsts/src/rules/S6477/rule.ts b/packages/jsts/src/rules/S6477/rule.ts index 319fe6d22c1..3d03b2679a4 100644 --- a/packages/jsts/src/rules/S6477/rule.ts +++ b/packages/jsts/src/rules/S6477/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6477/javascript diff --git a/packages/jsts/src/rules/S6478/cb.test.ts b/packages/jsts/src/rules/S6478/cb.test.ts index 4a853438669..923edafe26f 100644 --- a/packages/jsts/src/rules/S6478/cb.test.ts +++ b/packages/jsts/src/rules/S6478/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6478/decorator.ts b/packages/jsts/src/rules/S6478/decorator.ts index b1ad5934d27..429edbf6bb1 100644 --- a/packages/jsts/src/rules/S6478/decorator.ts +++ b/packages/jsts/src/rules/S6478/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6478/javascript diff --git a/packages/jsts/src/rules/S6478/generated-meta.ts b/packages/jsts/src/rules/S6478/generated-meta.ts index d997efe09ed..5898e06b6f4 100644 --- a/packages/jsts/src/rules/S6478/generated-meta.ts +++ b/packages/jsts/src/rules/S6478/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6478/index.ts b/packages/jsts/src/rules/S6478/index.ts index d4903bb5b5f..c485dcd2cd6 100644 --- a/packages/jsts/src/rules/S6478/index.ts +++ b/packages/jsts/src/rules/S6478/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules } from '../external/react.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6478/meta.ts b/packages/jsts/src/rules/S6478/meta.ts index 303db735a43..9219915196e 100644 --- a/packages/jsts/src/rules/S6478/meta.ts +++ b/packages/jsts/src/rules/S6478/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6479/generated-meta.ts b/packages/jsts/src/rules/S6479/generated-meta.ts index 486304abe83..98dc39d8de7 100644 --- a/packages/jsts/src/rules/S6479/generated-meta.ts +++ b/packages/jsts/src/rules/S6479/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6479/index.ts b/packages/jsts/src/rules/S6479/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6479/index.ts +++ b/packages/jsts/src/rules/S6479/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6479/meta.ts b/packages/jsts/src/rules/S6479/meta.ts index 278c4e5560f..e3f6737b84d 100644 --- a/packages/jsts/src/rules/S6479/meta.ts +++ b/packages/jsts/src/rules/S6479/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6479/rule.ts b/packages/jsts/src/rules/S6479/rule.ts index 591679244a4..ecc480fb1bd 100644 --- a/packages/jsts/src/rules/S6479/rule.ts +++ b/packages/jsts/src/rules/S6479/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6479/javascript diff --git a/packages/jsts/src/rules/S6479/unit.test.ts b/packages/jsts/src/rules/S6479/unit.test.ts index 882bdaa247d..20058429a0d 100644 --- a/packages/jsts/src/rules/S6479/unit.test.ts +++ b/packages/jsts/src/rules/S6479/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; import { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6480/generated-meta.ts b/packages/jsts/src/rules/S6480/generated-meta.ts index 85c5aad475d..1f21fd1c13f 100644 --- a/packages/jsts/src/rules/S6480/generated-meta.ts +++ b/packages/jsts/src/rules/S6480/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6480/index.ts b/packages/jsts/src/rules/S6480/index.ts index 80eedb5323f..1db1c3cdb09 100644 --- a/packages/jsts/src/rules/S6480/index.ts +++ b/packages/jsts/src/rules/S6480/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['jsx-no-bind']; diff --git a/packages/jsts/src/rules/S6480/meta.ts b/packages/jsts/src/rules/S6480/meta.ts index 82a43326386..edb4e2b7747 100644 --- a/packages/jsts/src/rules/S6480/meta.ts +++ b/packages/jsts/src/rules/S6480/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6481/cb.test.ts b/packages/jsts/src/rules/S6481/cb.test.ts index 29fd8ad3018..b7ee13e0197 100644 --- a/packages/jsts/src/rules/S6481/cb.test.ts +++ b/packages/jsts/src/rules/S6481/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6481/decorator.ts b/packages/jsts/src/rules/S6481/decorator.ts index 2b37b2b2ad7..d08b8b70a6f 100644 --- a/packages/jsts/src/rules/S6481/decorator.ts +++ b/packages/jsts/src/rules/S6481/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6481/javascript diff --git a/packages/jsts/src/rules/S6481/generated-meta.ts b/packages/jsts/src/rules/S6481/generated-meta.ts index c1293fc4ada..b86966ca866 100644 --- a/packages/jsts/src/rules/S6481/generated-meta.ts +++ b/packages/jsts/src/rules/S6481/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6481/index.ts b/packages/jsts/src/rules/S6481/index.ts index d441dc31b16..4791c9cc512 100644 --- a/packages/jsts/src/rules/S6481/index.ts +++ b/packages/jsts/src/rules/S6481/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules } from '../external/react.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6481/meta.ts b/packages/jsts/src/rules/S6481/meta.ts index 5590276e576..007f235c15c 100644 --- a/packages/jsts/src/rules/S6481/meta.ts +++ b/packages/jsts/src/rules/S6481/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6486/cb.test.ts b/packages/jsts/src/rules/S6486/cb.test.ts index c43868ca2fc..32aefb89898 100644 --- a/packages/jsts/src/rules/S6486/cb.test.ts +++ b/packages/jsts/src/rules/S6486/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6486/generated-meta.ts b/packages/jsts/src/rules/S6486/generated-meta.ts index 7bd1fd56b6e..7a4639ae931 100644 --- a/packages/jsts/src/rules/S6486/generated-meta.ts +++ b/packages/jsts/src/rules/S6486/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6486/index.ts b/packages/jsts/src/rules/S6486/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6486/index.ts +++ b/packages/jsts/src/rules/S6486/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6486/meta.ts b/packages/jsts/src/rules/S6486/meta.ts index 692463ef513..ad7569b9c97 100644 --- a/packages/jsts/src/rules/S6486/meta.ts +++ b/packages/jsts/src/rules/S6486/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6486/rule.ts b/packages/jsts/src/rules/S6486/rule.ts index 77429262187..7f9361d52e4 100644 --- a/packages/jsts/src/rules/S6486/rule.ts +++ b/packages/jsts/src/rules/S6486/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6486/javascript diff --git a/packages/jsts/src/rules/S6509/generated-meta.ts b/packages/jsts/src/rules/S6509/generated-meta.ts index 26ea2fbdcde..3c72e049476 100644 --- a/packages/jsts/src/rules/S6509/generated-meta.ts +++ b/packages/jsts/src/rules/S6509/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6509/index.ts b/packages/jsts/src/rules/S6509/index.ts index 195f766c8bf..4efdbf5dadd 100644 --- a/packages/jsts/src/rules/S6509/index.ts +++ b/packages/jsts/src/rules/S6509/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-extra-boolean-cast'); diff --git a/packages/jsts/src/rules/S6509/meta.ts b/packages/jsts/src/rules/S6509/meta.ts index b421d637073..23bb88f5733 100644 --- a/packages/jsts/src/rules/S6509/meta.ts +++ b/packages/jsts/src/rules/S6509/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6522/generated-meta.ts b/packages/jsts/src/rules/S6522/generated-meta.ts index 2b70b10d9cb..4add0f27aba 100644 --- a/packages/jsts/src/rules/S6522/generated-meta.ts +++ b/packages/jsts/src/rules/S6522/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6522/index.ts b/packages/jsts/src/rules/S6522/index.ts index d82e9fb4795..acd56d381bf 100644 --- a/packages/jsts/src/rules/S6522/index.ts +++ b/packages/jsts/src/rules/S6522/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-import-assign'); diff --git a/packages/jsts/src/rules/S6522/meta.ts b/packages/jsts/src/rules/S6522/meta.ts index 5cf2f2a420c..c7e24e5def0 100644 --- a/packages/jsts/src/rules/S6522/meta.ts +++ b/packages/jsts/src/rules/S6522/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6523/generated-meta.ts b/packages/jsts/src/rules/S6523/generated-meta.ts index 985c8ab7585..9e43711db04 100644 --- a/packages/jsts/src/rules/S6523/generated-meta.ts +++ b/packages/jsts/src/rules/S6523/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6523/index.ts b/packages/jsts/src/rules/S6523/index.ts index 41ccd2ec603..50e6f9efa59 100644 --- a/packages/jsts/src/rules/S6523/index.ts +++ b/packages/jsts/src/rules/S6523/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-unsafe-optional-chaining'); diff --git a/packages/jsts/src/rules/S6523/meta.ts b/packages/jsts/src/rules/S6523/meta.ts index 37dd75a2fae..f318415b6f0 100644 --- a/packages/jsts/src/rules/S6523/meta.ts +++ b/packages/jsts/src/rules/S6523/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6534/generated-meta.ts b/packages/jsts/src/rules/S6534/generated-meta.ts index 00723791d95..cda8ba7a94e 100644 --- a/packages/jsts/src/rules/S6534/generated-meta.ts +++ b/packages/jsts/src/rules/S6534/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6534/index.ts b/packages/jsts/src/rules/S6534/index.ts index b6c14a2466c..45157755d8e 100644 --- a/packages/jsts/src/rules/S6534/index.ts +++ b/packages/jsts/src/rules/S6534/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-loss-of-precision'); diff --git a/packages/jsts/src/rules/S6534/meta.ts b/packages/jsts/src/rules/S6534/meta.ts index b997c6358bd..efb367fa9d2 100644 --- a/packages/jsts/src/rules/S6534/meta.ts +++ b/packages/jsts/src/rules/S6534/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6535/cb.test.ts b/packages/jsts/src/rules/S6535/cb.test.ts index 5861d442813..4f528f111d3 100644 --- a/packages/jsts/src/rules/S6535/cb.test.ts +++ b/packages/jsts/src/rules/S6535/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6535/generated-meta.ts b/packages/jsts/src/rules/S6535/generated-meta.ts index 3107b9d560a..9689576ee8c 100644 --- a/packages/jsts/src/rules/S6535/generated-meta.ts +++ b/packages/jsts/src/rules/S6535/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6535/index.ts b/packages/jsts/src/rules/S6535/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6535/index.ts +++ b/packages/jsts/src/rules/S6535/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6535/meta.ts b/packages/jsts/src/rules/S6535/meta.ts index fabf6cfc828..240c6e42bb0 100644 --- a/packages/jsts/src/rules/S6535/meta.ts +++ b/packages/jsts/src/rules/S6535/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6535/rule.ts b/packages/jsts/src/rules/S6535/rule.ts index c94a6f97895..3ccc344a740 100644 --- a/packages/jsts/src/rules/S6535/rule.ts +++ b/packages/jsts/src/rules/S6535/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6535/javascript diff --git a/packages/jsts/src/rules/S6544/cb.test.ts b/packages/jsts/src/rules/S6544/cb.test.ts index ef138fff98f..a29b8904ee4 100644 --- a/packages/jsts/src/rules/S6544/cb.test.ts +++ b/packages/jsts/src/rules/S6544/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6544/generated-meta.ts b/packages/jsts/src/rules/S6544/generated-meta.ts index 9b83b00d164..506e64cc737 100644 --- a/packages/jsts/src/rules/S6544/generated-meta.ts +++ b/packages/jsts/src/rules/S6544/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6544/index.ts b/packages/jsts/src/rules/S6544/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6544/index.ts +++ b/packages/jsts/src/rules/S6544/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6544/meta.ts b/packages/jsts/src/rules/S6544/meta.ts index 85ac4109fe7..4a9f44fe5c0 100644 --- a/packages/jsts/src/rules/S6544/meta.ts +++ b/packages/jsts/src/rules/S6544/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6544/rule.ts b/packages/jsts/src/rules/S6544/rule.ts index 5c130a70691..c017ed51b97 100644 --- a/packages/jsts/src/rules/S6544/rule.ts +++ b/packages/jsts/src/rules/S6544/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6544/javascript diff --git a/packages/jsts/src/rules/S6550/generated-meta.ts b/packages/jsts/src/rules/S6550/generated-meta.ts index da57bfb0d0e..f06ed2cb288 100644 --- a/packages/jsts/src/rules/S6550/generated-meta.ts +++ b/packages/jsts/src/rules/S6550/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6550/index.ts b/packages/jsts/src/rules/S6550/index.ts index beb1a4a5f6c..c88639fb403 100644 --- a/packages/jsts/src/rules/S6550/index.ts +++ b/packages/jsts/src/rules/S6550/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['prefer-literal-enum-member']; diff --git a/packages/jsts/src/rules/S6550/meta.ts b/packages/jsts/src/rules/S6550/meta.ts index 6f987eaaef0..47eb71f0e5f 100644 --- a/packages/jsts/src/rules/S6550/meta.ts +++ b/packages/jsts/src/rules/S6550/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6551/cb.test.ts b/packages/jsts/src/rules/S6551/cb.test.ts index bbd54be4c99..22c2afd73f3 100644 --- a/packages/jsts/src/rules/S6551/cb.test.ts +++ b/packages/jsts/src/rules/S6551/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6551/decorator.ts b/packages/jsts/src/rules/S6551/decorator.ts index d958f0caf15..ed95eef1a00 100644 --- a/packages/jsts/src/rules/S6551/decorator.ts +++ b/packages/jsts/src/rules/S6551/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6551/javascript diff --git a/packages/jsts/src/rules/S6551/generated-meta.ts b/packages/jsts/src/rules/S6551/generated-meta.ts index c0249b86ef5..ce007ecfc10 100644 --- a/packages/jsts/src/rules/S6551/generated-meta.ts +++ b/packages/jsts/src/rules/S6551/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6551/index.ts b/packages/jsts/src/rules/S6551/index.ts index ac8cad6421c..3a65d08efa2 100644 --- a/packages/jsts/src/rules/S6551/index.ts +++ b/packages/jsts/src/rules/S6551/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6551/meta.ts b/packages/jsts/src/rules/S6551/meta.ts index e640eae8d27..068ba79429c 100644 --- a/packages/jsts/src/rules/S6551/meta.ts +++ b/packages/jsts/src/rules/S6551/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6557/decorator.ts b/packages/jsts/src/rules/S6557/decorator.ts index d9fa56110ae..f6ddce4987d 100644 --- a/packages/jsts/src/rules/S6557/decorator.ts +++ b/packages/jsts/src/rules/S6557/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6557/javascript diff --git a/packages/jsts/src/rules/S6557/generated-meta.ts b/packages/jsts/src/rules/S6557/generated-meta.ts index aaaeddc7e6d..23d60306fbc 100644 --- a/packages/jsts/src/rules/S6557/generated-meta.ts +++ b/packages/jsts/src/rules/S6557/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6557/index.ts b/packages/jsts/src/rules/S6557/index.ts index a46f60fa545..22217a29843 100644 --- a/packages/jsts/src/rules/S6557/index.ts +++ b/packages/jsts/src/rules/S6557/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6557/meta.ts b/packages/jsts/src/rules/S6557/meta.ts index 245e475ee55..9df4d1f18a4 100644 --- a/packages/jsts/src/rules/S6557/meta.ts +++ b/packages/jsts/src/rules/S6557/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6557/unit.test.ts b/packages/jsts/src/rules/S6557/unit.test.ts index bc05cd01f8f..ff71d9cd184 100644 --- a/packages/jsts/src/rules/S6557/unit.test.ts +++ b/packages/jsts/src/rules/S6557/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S6564/cb.test.ts b/packages/jsts/src/rules/S6564/cb.test.ts index ef1f3f108a3..6e838c422c6 100644 --- a/packages/jsts/src/rules/S6564/cb.test.ts +++ b/packages/jsts/src/rules/S6564/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6564/generated-meta.ts b/packages/jsts/src/rules/S6564/generated-meta.ts index b8f08dec50d..3bf6184e7db 100644 --- a/packages/jsts/src/rules/S6564/generated-meta.ts +++ b/packages/jsts/src/rules/S6564/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6564/index.ts b/packages/jsts/src/rules/S6564/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6564/index.ts +++ b/packages/jsts/src/rules/S6564/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6564/meta.ts b/packages/jsts/src/rules/S6564/meta.ts index f4c001eb5cf..ed6fc729751 100644 --- a/packages/jsts/src/rules/S6564/meta.ts +++ b/packages/jsts/src/rules/S6564/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6564/rule.ts b/packages/jsts/src/rules/S6564/rule.ts index 959eacbb572..7b290468556 100644 --- a/packages/jsts/src/rules/S6564/rule.ts +++ b/packages/jsts/src/rules/S6564/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6564/javascript diff --git a/packages/jsts/src/rules/S6565/generated-meta.ts b/packages/jsts/src/rules/S6565/generated-meta.ts index de4b0f615a0..16907bae732 100644 --- a/packages/jsts/src/rules/S6565/generated-meta.ts +++ b/packages/jsts/src/rules/S6565/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6565/index.ts b/packages/jsts/src/rules/S6565/index.ts index 89e1f71056f..439334e5e18 100644 --- a/packages/jsts/src/rules/S6565/index.ts +++ b/packages/jsts/src/rules/S6565/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['prefer-return-this-type']; diff --git a/packages/jsts/src/rules/S6565/meta.ts b/packages/jsts/src/rules/S6565/meta.ts index 53f81d2c773..7655907620a 100644 --- a/packages/jsts/src/rules/S6565/meta.ts +++ b/packages/jsts/src/rules/S6565/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6568/generated-meta.ts b/packages/jsts/src/rules/S6568/generated-meta.ts index b937f35f362..67efa2ec723 100644 --- a/packages/jsts/src/rules/S6568/generated-meta.ts +++ b/packages/jsts/src/rules/S6568/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6568/index.ts b/packages/jsts/src/rules/S6568/index.ts index 9d3c6342b28..e16680510a6 100644 --- a/packages/jsts/src/rules/S6568/index.ts +++ b/packages/jsts/src/rules/S6568/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-confusing-non-null-assertion']; diff --git a/packages/jsts/src/rules/S6568/meta.ts b/packages/jsts/src/rules/S6568/meta.ts index e5e8bf8e846..49b03b38f3e 100644 --- a/packages/jsts/src/rules/S6568/meta.ts +++ b/packages/jsts/src/rules/S6568/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6569/generated-meta.ts b/packages/jsts/src/rules/S6569/generated-meta.ts index 4a0f23b6353..8be65e550e5 100644 --- a/packages/jsts/src/rules/S6569/generated-meta.ts +++ b/packages/jsts/src/rules/S6569/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6569/index.ts b/packages/jsts/src/rules/S6569/index.ts index 7117c118ddf..63d61d0b1c7 100644 --- a/packages/jsts/src/rules/S6569/index.ts +++ b/packages/jsts/src/rules/S6569/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-unnecessary-type-constraint']; diff --git a/packages/jsts/src/rules/S6569/meta.ts b/packages/jsts/src/rules/S6569/meta.ts index 26d71bd309b..652cfb768ac 100644 --- a/packages/jsts/src/rules/S6569/meta.ts +++ b/packages/jsts/src/rules/S6569/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6571/cb.test.ts b/packages/jsts/src/rules/S6571/cb.test.ts index c18f9e0520d..e40d71cb42a 100644 --- a/packages/jsts/src/rules/S6571/cb.test.ts +++ b/packages/jsts/src/rules/S6571/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6571/decorator.ts b/packages/jsts/src/rules/S6571/decorator.ts index 9bfd628a227..d9e75998db7 100644 --- a/packages/jsts/src/rules/S6571/decorator.ts +++ b/packages/jsts/src/rules/S6571/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6571/javascript diff --git a/packages/jsts/src/rules/S6571/generated-meta.ts b/packages/jsts/src/rules/S6571/generated-meta.ts index 4c2062414ab..d1ee333fde3 100644 --- a/packages/jsts/src/rules/S6571/generated-meta.ts +++ b/packages/jsts/src/rules/S6571/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6571/index.ts b/packages/jsts/src/rules/S6571/index.ts index ed9930b2d10..fce182c9cc6 100644 --- a/packages/jsts/src/rules/S6571/index.ts +++ b/packages/jsts/src/rules/S6571/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6571/meta.ts b/packages/jsts/src/rules/S6571/meta.ts index 334fa2c27e1..492a90b3ead 100644 --- a/packages/jsts/src/rules/S6571/meta.ts +++ b/packages/jsts/src/rules/S6571/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6572/cb.test.ts b/packages/jsts/src/rules/S6572/cb.test.ts index 8d80f878c33..ca08755f5f8 100644 --- a/packages/jsts/src/rules/S6572/cb.test.ts +++ b/packages/jsts/src/rules/S6572/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6572/generated-meta.ts b/packages/jsts/src/rules/S6572/generated-meta.ts index e33d2214899..5f80f846b36 100644 --- a/packages/jsts/src/rules/S6572/generated-meta.ts +++ b/packages/jsts/src/rules/S6572/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6572/index.ts b/packages/jsts/src/rules/S6572/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6572/index.ts +++ b/packages/jsts/src/rules/S6572/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6572/meta.ts b/packages/jsts/src/rules/S6572/meta.ts index 8d1aa1bad65..3d6646e60c7 100644 --- a/packages/jsts/src/rules/S6572/meta.ts +++ b/packages/jsts/src/rules/S6572/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6572/rule.ts b/packages/jsts/src/rules/S6572/rule.ts index 68a38ea24a1..e0f61d72887 100644 --- a/packages/jsts/src/rules/S6572/rule.ts +++ b/packages/jsts/src/rules/S6572/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6572/javascript diff --git a/packages/jsts/src/rules/S6578/generated-meta.ts b/packages/jsts/src/rules/S6578/generated-meta.ts index 6e1d9205dca..508c840b30e 100644 --- a/packages/jsts/src/rules/S6578/generated-meta.ts +++ b/packages/jsts/src/rules/S6578/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6578/index.ts b/packages/jsts/src/rules/S6578/index.ts index 5da9de08a78..596410bbe2f 100644 --- a/packages/jsts/src/rules/S6578/index.ts +++ b/packages/jsts/src/rules/S6578/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-duplicate-enum-values']; diff --git a/packages/jsts/src/rules/S6578/meta.ts b/packages/jsts/src/rules/S6578/meta.ts index 113346229d0..76ac6bfefac 100644 --- a/packages/jsts/src/rules/S6578/meta.ts +++ b/packages/jsts/src/rules/S6578/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6582/cb.test.ts b/packages/jsts/src/rules/S6582/cb.test.ts index 129a2275cce..e9c7ebb782a 100644 --- a/packages/jsts/src/rules/S6582/cb.test.ts +++ b/packages/jsts/src/rules/S6582/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6582/generated-meta.ts b/packages/jsts/src/rules/S6582/generated-meta.ts index 2b5d4db0bd5..fff5b7afa36 100644 --- a/packages/jsts/src/rules/S6582/generated-meta.ts +++ b/packages/jsts/src/rules/S6582/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6582/index.ts b/packages/jsts/src/rules/S6582/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6582/index.ts +++ b/packages/jsts/src/rules/S6582/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6582/meta.ts b/packages/jsts/src/rules/S6582/meta.ts index eb15358ba81..0b86793c8f9 100644 --- a/packages/jsts/src/rules/S6582/meta.ts +++ b/packages/jsts/src/rules/S6582/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6582/rule.ts b/packages/jsts/src/rules/S6582/rule.ts index 340d1d5900a..2fbf6b8dcb7 100644 --- a/packages/jsts/src/rules/S6582/rule.ts +++ b/packages/jsts/src/rules/S6582/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6582/javascript diff --git a/packages/jsts/src/rules/S6582/unit.test.ts b/packages/jsts/src/rules/S6582/unit.test.ts index 152a3e01686..4dabeaef49b 100644 --- a/packages/jsts/src/rules/S6582/unit.test.ts +++ b/packages/jsts/src/rules/S6582/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6583/generated-meta.ts b/packages/jsts/src/rules/S6583/generated-meta.ts index 2d2f91c1044..bb216b5380e 100644 --- a/packages/jsts/src/rules/S6583/generated-meta.ts +++ b/packages/jsts/src/rules/S6583/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6583/index.ts b/packages/jsts/src/rules/S6583/index.ts index 2e1c5b2f7bb..6b12f36fc93 100644 --- a/packages/jsts/src/rules/S6583/index.ts +++ b/packages/jsts/src/rules/S6583/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['no-mixed-enums']; diff --git a/packages/jsts/src/rules/S6583/meta.ts b/packages/jsts/src/rules/S6583/meta.ts index c05ff7a61ff..92278ef0dff 100644 --- a/packages/jsts/src/rules/S6583/meta.ts +++ b/packages/jsts/src/rules/S6583/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6590/generated-meta.ts b/packages/jsts/src/rules/S6590/generated-meta.ts index 9712c02f744..87d7e0eb961 100644 --- a/packages/jsts/src/rules/S6590/generated-meta.ts +++ b/packages/jsts/src/rules/S6590/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6590/index.ts b/packages/jsts/src/rules/S6590/index.ts index a42cafc7304..295464aade7 100644 --- a/packages/jsts/src/rules/S6590/index.ts +++ b/packages/jsts/src/rules/S6590/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['prefer-as-const']; diff --git a/packages/jsts/src/rules/S6590/meta.ts b/packages/jsts/src/rules/S6590/meta.ts index a6c8b3bc769..b1aa06f47bd 100644 --- a/packages/jsts/src/rules/S6590/meta.ts +++ b/packages/jsts/src/rules/S6590/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6594/cb.test.ts b/packages/jsts/src/rules/S6594/cb.test.ts index 530c5ccb47f..c7642ea47b9 100644 --- a/packages/jsts/src/rules/S6594/cb.test.ts +++ b/packages/jsts/src/rules/S6594/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6594/generated-meta.ts b/packages/jsts/src/rules/S6594/generated-meta.ts index f3ae1a32581..30932365f0a 100644 --- a/packages/jsts/src/rules/S6594/generated-meta.ts +++ b/packages/jsts/src/rules/S6594/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6594/index.ts b/packages/jsts/src/rules/S6594/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6594/index.ts +++ b/packages/jsts/src/rules/S6594/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6594/meta.ts b/packages/jsts/src/rules/S6594/meta.ts index 10aafbce30f..d6c98cc89d0 100644 --- a/packages/jsts/src/rules/S6594/meta.ts +++ b/packages/jsts/src/rules/S6594/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6594/rule.ts b/packages/jsts/src/rules/S6594/rule.ts index 9601f9b2894..a0d15060b36 100644 --- a/packages/jsts/src/rules/S6594/rule.ts +++ b/packages/jsts/src/rules/S6594/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6594/javascript diff --git a/packages/jsts/src/rules/S6598/decorator.ts b/packages/jsts/src/rules/S6598/decorator.ts index 8cd5d3e80c5..b6f848b4f74 100644 --- a/packages/jsts/src/rules/S6598/decorator.ts +++ b/packages/jsts/src/rules/S6598/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6598/javascript diff --git a/packages/jsts/src/rules/S6598/generated-meta.ts b/packages/jsts/src/rules/S6598/generated-meta.ts index fee2b13222f..517d207ae39 100644 --- a/packages/jsts/src/rules/S6598/generated-meta.ts +++ b/packages/jsts/src/rules/S6598/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6598/index.ts b/packages/jsts/src/rules/S6598/index.ts index efe502f9f49..52b22dd1d9b 100644 --- a/packages/jsts/src/rules/S6598/index.ts +++ b/packages/jsts/src/rules/S6598/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6598/meta.ts b/packages/jsts/src/rules/S6598/meta.ts index 0fe8a6732e9..bd416fcbfe3 100644 --- a/packages/jsts/src/rules/S6598/meta.ts +++ b/packages/jsts/src/rules/S6598/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6598/unit.test.ts b/packages/jsts/src/rules/S6598/unit.test.ts index fc36ebe7aba..8b9c4809b2c 100644 --- a/packages/jsts/src/rules/S6598/unit.test.ts +++ b/packages/jsts/src/rules/S6598/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S6606/generated-meta.ts b/packages/jsts/src/rules/S6606/generated-meta.ts index 1db3f857fc9..126a7a7b5cc 100644 --- a/packages/jsts/src/rules/S6606/generated-meta.ts +++ b/packages/jsts/src/rules/S6606/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6606/index.ts b/packages/jsts/src/rules/S6606/index.ts index 0004e21e864..ca26dc9a4c8 100644 --- a/packages/jsts/src/rules/S6606/index.ts +++ b/packages/jsts/src/rules/S6606/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './rule.js'; diff --git a/packages/jsts/src/rules/S6606/meta.ts b/packages/jsts/src/rules/S6606/meta.ts index 19dfa77a4a0..2be1a657bb9 100644 --- a/packages/jsts/src/rules/S6606/meta.ts +++ b/packages/jsts/src/rules/S6606/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6606/rule.ts b/packages/jsts/src/rules/S6606/rule.ts index 3e115d8b794..f9475f34575 100644 --- a/packages/jsts/src/rules/S6606/rule.ts +++ b/packages/jsts/src/rules/S6606/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { type Rule } from 'eslint'; diff --git a/packages/jsts/src/rules/S6606/unit.test.ts b/packages/jsts/src/rules/S6606/unit.test.ts index 411c6ab2256..9309f3c89cd 100644 --- a/packages/jsts/src/rules/S6606/unit.test.ts +++ b/packages/jsts/src/rules/S6606/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/src/rules/S6627/cb.test.ts b/packages/jsts/src/rules/S6627/cb.test.ts index 632bd3b2308..c2c0023a420 100644 --- a/packages/jsts/src/rules/S6627/cb.test.ts +++ b/packages/jsts/src/rules/S6627/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6627/generated-meta.ts b/packages/jsts/src/rules/S6627/generated-meta.ts index 2801b1a9d6c..580b017a6c8 100644 --- a/packages/jsts/src/rules/S6627/generated-meta.ts +++ b/packages/jsts/src/rules/S6627/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6627/index.ts b/packages/jsts/src/rules/S6627/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6627/index.ts +++ b/packages/jsts/src/rules/S6627/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6627/meta.ts b/packages/jsts/src/rules/S6627/meta.ts index a14687c042c..490f15541ba 100644 --- a/packages/jsts/src/rules/S6627/meta.ts +++ b/packages/jsts/src/rules/S6627/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6627/rule.ts b/packages/jsts/src/rules/S6627/rule.ts index 0fcd6ab7865..8706e5450cc 100644 --- a/packages/jsts/src/rules/S6627/rule.ts +++ b/packages/jsts/src/rules/S6627/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6627/javascript diff --git a/packages/jsts/src/rules/S6635/generated-meta.ts b/packages/jsts/src/rules/S6635/generated-meta.ts index dfbaddc57f2..9dc5f0e2c0e 100644 --- a/packages/jsts/src/rules/S6635/generated-meta.ts +++ b/packages/jsts/src/rules/S6635/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6635/index.ts b/packages/jsts/src/rules/S6635/index.ts index aca53b7794a..c450862104c 100644 --- a/packages/jsts/src/rules/S6635/index.ts +++ b/packages/jsts/src/rules/S6635/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-constructor-return'); diff --git a/packages/jsts/src/rules/S6635/meta.ts b/packages/jsts/src/rules/S6635/meta.ts index 9d03011f141..3892c4654a9 100644 --- a/packages/jsts/src/rules/S6635/meta.ts +++ b/packages/jsts/src/rules/S6635/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6637/generated-meta.ts b/packages/jsts/src/rules/S6637/generated-meta.ts index 97eacc82b11..2f2c5d70eb5 100644 --- a/packages/jsts/src/rules/S6637/generated-meta.ts +++ b/packages/jsts/src/rules/S6637/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6637/index.ts b/packages/jsts/src/rules/S6637/index.ts index bbe4d070963..530110311c0 100644 --- a/packages/jsts/src/rules/S6637/index.ts +++ b/packages/jsts/src/rules/S6637/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-extra-bind'); diff --git a/packages/jsts/src/rules/S6637/meta.ts b/packages/jsts/src/rules/S6637/meta.ts index c8231adcb77..0ad9f8aede2 100644 --- a/packages/jsts/src/rules/S6637/meta.ts +++ b/packages/jsts/src/rules/S6637/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6638/generated-meta.ts b/packages/jsts/src/rules/S6638/generated-meta.ts index 0f0a972ad68..bcd2b7c181f 100644 --- a/packages/jsts/src/rules/S6638/generated-meta.ts +++ b/packages/jsts/src/rules/S6638/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6638/index.ts b/packages/jsts/src/rules/S6638/index.ts index 8e551bfc5f2..c3a56ded73b 100644 --- a/packages/jsts/src/rules/S6638/index.ts +++ b/packages/jsts/src/rules/S6638/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-constant-binary-expression'); diff --git a/packages/jsts/src/rules/S6638/meta.ts b/packages/jsts/src/rules/S6638/meta.ts index 028ea4fe8e1..d5b52697cd5 100644 --- a/packages/jsts/src/rules/S6638/meta.ts +++ b/packages/jsts/src/rules/S6638/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6643/cb.test.ts b/packages/jsts/src/rules/S6643/cb.test.ts index c89f91193c0..bfd30e601f1 100644 --- a/packages/jsts/src/rules/S6643/cb.test.ts +++ b/packages/jsts/src/rules/S6643/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6643/decorator.ts b/packages/jsts/src/rules/S6643/decorator.ts index dd31ece76c9..0d3d3648e00 100644 --- a/packages/jsts/src/rules/S6643/decorator.ts +++ b/packages/jsts/src/rules/S6643/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6643/javascript diff --git a/packages/jsts/src/rules/S6643/generated-meta.ts b/packages/jsts/src/rules/S6643/generated-meta.ts index 0058097808c..97ef2aa4dbf 100644 --- a/packages/jsts/src/rules/S6643/generated-meta.ts +++ b/packages/jsts/src/rules/S6643/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6643/index.ts b/packages/jsts/src/rules/S6643/index.ts index 8023f47b23c..beed5485630 100644 --- a/packages/jsts/src/rules/S6643/index.ts +++ b/packages/jsts/src/rules/S6643/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6643/meta.ts b/packages/jsts/src/rules/S6643/meta.ts index 9b3b392b733..76bacd5d077 100644 --- a/packages/jsts/src/rules/S6643/meta.ts +++ b/packages/jsts/src/rules/S6643/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6644/generated-meta.ts b/packages/jsts/src/rules/S6644/generated-meta.ts index 89c219ef0d6..750d569acbf 100644 --- a/packages/jsts/src/rules/S6644/generated-meta.ts +++ b/packages/jsts/src/rules/S6644/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6644/index.ts b/packages/jsts/src/rules/S6644/index.ts index ecf69a17dd1..780069dbaaf 100644 --- a/packages/jsts/src/rules/S6644/index.ts +++ b/packages/jsts/src/rules/S6644/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-unneeded-ternary'); diff --git a/packages/jsts/src/rules/S6644/meta.ts b/packages/jsts/src/rules/S6644/meta.ts index 00cf2bec75a..e3cf732af5b 100644 --- a/packages/jsts/src/rules/S6644/meta.ts +++ b/packages/jsts/src/rules/S6644/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6645/generated-meta.ts b/packages/jsts/src/rules/S6645/generated-meta.ts index 7837fcd74da..345a8de4a1c 100644 --- a/packages/jsts/src/rules/S6645/generated-meta.ts +++ b/packages/jsts/src/rules/S6645/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6645/index.ts b/packages/jsts/src/rules/S6645/index.ts index 61c86265544..9bbdeef8602 100644 --- a/packages/jsts/src/rules/S6645/index.ts +++ b/packages/jsts/src/rules/S6645/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-undef-init'); diff --git a/packages/jsts/src/rules/S6645/meta.ts b/packages/jsts/src/rules/S6645/meta.ts index 9d448fb688e..e397518ee1d 100644 --- a/packages/jsts/src/rules/S6645/meta.ts +++ b/packages/jsts/src/rules/S6645/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6647/cb.test.ts b/packages/jsts/src/rules/S6647/cb.test.ts index 12fee375e6f..3ff0dcf907d 100644 --- a/packages/jsts/src/rules/S6647/cb.test.ts +++ b/packages/jsts/src/rules/S6647/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6647/decorator.ts b/packages/jsts/src/rules/S6647/decorator.ts index e9e8194d44f..bf2d6fe7a1a 100644 --- a/packages/jsts/src/rules/S6647/decorator.ts +++ b/packages/jsts/src/rules/S6647/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6647/javascript diff --git a/packages/jsts/src/rules/S6647/generated-meta.ts b/packages/jsts/src/rules/S6647/generated-meta.ts index 38ee7e2a263..a123778fb6c 100644 --- a/packages/jsts/src/rules/S6647/generated-meta.ts +++ b/packages/jsts/src/rules/S6647/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6647/index.ts b/packages/jsts/src/rules/S6647/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6647/index.ts +++ b/packages/jsts/src/rules/S6647/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6647/meta.ts b/packages/jsts/src/rules/S6647/meta.ts index 0d71cc758db..ff48fe8ac29 100644 --- a/packages/jsts/src/rules/S6647/meta.ts +++ b/packages/jsts/src/rules/S6647/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6647/rule.ts b/packages/jsts/src/rules/S6647/rule.ts index 5d986e6bacb..fed60dbef56 100644 --- a/packages/jsts/src/rules/S6647/rule.ts +++ b/packages/jsts/src/rules/S6647/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { TSESTree } from '@typescript-eslint/utils'; import type { Rule } from 'eslint'; diff --git a/packages/jsts/src/rules/S6647/unit.test.ts b/packages/jsts/src/rules/S6647/unit.test.ts index 38d6f26f044..69eaf7889c9 100644 --- a/packages/jsts/src/rules/S6647/unit.test.ts +++ b/packages/jsts/src/rules/S6647/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { BabelRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S6650/generated-meta.ts b/packages/jsts/src/rules/S6650/generated-meta.ts index ffde3814e70..c34fec1c315 100644 --- a/packages/jsts/src/rules/S6650/generated-meta.ts +++ b/packages/jsts/src/rules/S6650/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6650/index.ts b/packages/jsts/src/rules/S6650/index.ts index 24379a64142..d9871fbc51a 100644 --- a/packages/jsts/src/rules/S6650/index.ts +++ b/packages/jsts/src/rules/S6650/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-useless-rename'); diff --git a/packages/jsts/src/rules/S6650/meta.ts b/packages/jsts/src/rules/S6650/meta.ts index 2997ec71920..c546f526583 100644 --- a/packages/jsts/src/rules/S6650/meta.ts +++ b/packages/jsts/src/rules/S6650/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6653/generated-meta.ts b/packages/jsts/src/rules/S6653/generated-meta.ts index 98f5cf19c66..1c66cdf60c3 100644 --- a/packages/jsts/src/rules/S6653/generated-meta.ts +++ b/packages/jsts/src/rules/S6653/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6653/index.ts b/packages/jsts/src/rules/S6653/index.ts index 3107c69da07..1898fb4e5cd 100644 --- a/packages/jsts/src/rules/S6653/index.ts +++ b/packages/jsts/src/rules/S6653/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('prefer-object-has-own'); diff --git a/packages/jsts/src/rules/S6653/meta.ts b/packages/jsts/src/rules/S6653/meta.ts index 11be76f6761..3a1f05446c3 100644 --- a/packages/jsts/src/rules/S6653/meta.ts +++ b/packages/jsts/src/rules/S6653/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6654/generated-meta.ts b/packages/jsts/src/rules/S6654/generated-meta.ts index ce3e2e7ad3a..1a12292e887 100644 --- a/packages/jsts/src/rules/S6654/generated-meta.ts +++ b/packages/jsts/src/rules/S6654/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6654/index.ts b/packages/jsts/src/rules/S6654/index.ts index 8de6a9a9ca4..de1ce8b388f 100644 --- a/packages/jsts/src/rules/S6654/index.ts +++ b/packages/jsts/src/rules/S6654/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-proto'); diff --git a/packages/jsts/src/rules/S6654/meta.ts b/packages/jsts/src/rules/S6654/meta.ts index 7b6f03cfe87..f90e493155d 100644 --- a/packages/jsts/src/rules/S6654/meta.ts +++ b/packages/jsts/src/rules/S6654/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6657/generated-meta.ts b/packages/jsts/src/rules/S6657/generated-meta.ts index 76c93db2352..6da94099b49 100644 --- a/packages/jsts/src/rules/S6657/generated-meta.ts +++ b/packages/jsts/src/rules/S6657/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6657/index.ts b/packages/jsts/src/rules/S6657/index.ts index 6b8f50cd14e..df4640adc28 100644 --- a/packages/jsts/src/rules/S6657/index.ts +++ b/packages/jsts/src/rules/S6657/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-octal-escape'); diff --git a/packages/jsts/src/rules/S6657/meta.ts b/packages/jsts/src/rules/S6657/meta.ts index bb978afa371..052002a87b2 100644 --- a/packages/jsts/src/rules/S6657/meta.ts +++ b/packages/jsts/src/rules/S6657/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6660/decorator.ts b/packages/jsts/src/rules/S6660/decorator.ts index 5a4025c2b2d..32f10dfd3b4 100644 --- a/packages/jsts/src/rules/S6660/decorator.ts +++ b/packages/jsts/src/rules/S6660/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6660/javascript diff --git a/packages/jsts/src/rules/S6660/generated-meta.ts b/packages/jsts/src/rules/S6660/generated-meta.ts index 1e2269239d6..e5b55dad935 100644 --- a/packages/jsts/src/rules/S6660/generated-meta.ts +++ b/packages/jsts/src/rules/S6660/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6660/index.ts b/packages/jsts/src/rules/S6660/index.ts index 8f820edcc88..e05e5a9af9c 100644 --- a/packages/jsts/src/rules/S6660/index.ts +++ b/packages/jsts/src/rules/S6660/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6660/meta.ts b/packages/jsts/src/rules/S6660/meta.ts index 269a860b0d3..85cadc3ce19 100644 --- a/packages/jsts/src/rules/S6660/meta.ts +++ b/packages/jsts/src/rules/S6660/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6660/unit.test.ts b/packages/jsts/src/rules/S6660/unit.test.ts index 6a704616bcc..6a27a35de7f 100644 --- a/packages/jsts/src/rules/S6660/unit.test.ts +++ b/packages/jsts/src/rules/S6660/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6661/decorator.ts b/packages/jsts/src/rules/S6661/decorator.ts index 54b7fce9f05..3d580d0a70e 100644 --- a/packages/jsts/src/rules/S6661/decorator.ts +++ b/packages/jsts/src/rules/S6661/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6661/javascript diff --git a/packages/jsts/src/rules/S6661/generated-meta.ts b/packages/jsts/src/rules/S6661/generated-meta.ts index aef8d5096dc..353b2c035a1 100644 --- a/packages/jsts/src/rules/S6661/generated-meta.ts +++ b/packages/jsts/src/rules/S6661/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6661/index.ts b/packages/jsts/src/rules/S6661/index.ts index 2bc0e096c09..88f6bbcb323 100644 --- a/packages/jsts/src/rules/S6661/index.ts +++ b/packages/jsts/src/rules/S6661/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { getESLintCoreRule } from '../external/core.js'; diff --git a/packages/jsts/src/rules/S6661/meta.ts b/packages/jsts/src/rules/S6661/meta.ts index 9bdf3afd38a..a128debbeeb 100644 --- a/packages/jsts/src/rules/S6661/meta.ts +++ b/packages/jsts/src/rules/S6661/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6661/unit.test.ts b/packages/jsts/src/rules/S6661/unit.test.ts index b923500ec60..c0c9946ea40 100644 --- a/packages/jsts/src/rules/S6661/unit.test.ts +++ b/packages/jsts/src/rules/S6661/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6666/decorator.ts b/packages/jsts/src/rules/S6666/decorator.ts index a445112aae0..4d40e2c97e8 100644 --- a/packages/jsts/src/rules/S6666/decorator.ts +++ b/packages/jsts/src/rules/S6666/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6666/javascript diff --git a/packages/jsts/src/rules/S6666/generated-meta.ts b/packages/jsts/src/rules/S6666/generated-meta.ts index 4b7954fa9e5..5b8d6125a14 100644 --- a/packages/jsts/src/rules/S6666/generated-meta.ts +++ b/packages/jsts/src/rules/S6666/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6666/index.ts b/packages/jsts/src/rules/S6666/index.ts index 977f3b89bc8..b0249c6d5d5 100644 --- a/packages/jsts/src/rules/S6666/index.ts +++ b/packages/jsts/src/rules/S6666/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6666/meta.ts b/packages/jsts/src/rules/S6666/meta.ts index a29a0292fe5..bc1a9a6f17a 100644 --- a/packages/jsts/src/rules/S6666/meta.ts +++ b/packages/jsts/src/rules/S6666/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6666/unit.test.ts b/packages/jsts/src/rules/S6666/unit.test.ts index dc8c5a2423a..d78a965fafb 100644 --- a/packages/jsts/src/rules/S6666/unit.test.ts +++ b/packages/jsts/src/rules/S6666/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6671/generated-meta.ts b/packages/jsts/src/rules/S6671/generated-meta.ts index 7cb181560dc..1bd6fb6b907 100644 --- a/packages/jsts/src/rules/S6671/generated-meta.ts +++ b/packages/jsts/src/rules/S6671/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6671/index.ts b/packages/jsts/src/rules/S6671/index.ts index ba7e12bb43c..0aac7a2c991 100644 --- a/packages/jsts/src/rules/S6671/index.ts +++ b/packages/jsts/src/rules/S6671/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/typescript-eslint/index.js'; export const rule = rules['prefer-promise-reject-errors']; diff --git a/packages/jsts/src/rules/S6671/meta.ts b/packages/jsts/src/rules/S6671/meta.ts index 2bfd51e6868..c4f51db504a 100644 --- a/packages/jsts/src/rules/S6671/meta.ts +++ b/packages/jsts/src/rules/S6671/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6676/decorator.ts b/packages/jsts/src/rules/S6676/decorator.ts index b1671b6c0cc..ceb70849214 100644 --- a/packages/jsts/src/rules/S6676/decorator.ts +++ b/packages/jsts/src/rules/S6676/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6676/javascript diff --git a/packages/jsts/src/rules/S6676/generated-meta.ts b/packages/jsts/src/rules/S6676/generated-meta.ts index 8799cbd04ea..a112cd5bc6d 100644 --- a/packages/jsts/src/rules/S6676/generated-meta.ts +++ b/packages/jsts/src/rules/S6676/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6676/index.ts b/packages/jsts/src/rules/S6676/index.ts index 2b5f887ade3..4f252b4e829 100644 --- a/packages/jsts/src/rules/S6676/index.ts +++ b/packages/jsts/src/rules/S6676/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6676/meta.ts b/packages/jsts/src/rules/S6676/meta.ts index db92b521aff..6ad157ecaeb 100644 --- a/packages/jsts/src/rules/S6676/meta.ts +++ b/packages/jsts/src/rules/S6676/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6676/unit.test.ts b/packages/jsts/src/rules/S6676/unit.test.ts index 3795d9a84e1..e2ab29b47a1 100644 --- a/packages/jsts/src/rules/S6676/unit.test.ts +++ b/packages/jsts/src/rules/S6676/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6679/decorator.ts b/packages/jsts/src/rules/S6679/decorator.ts index d2cf8861232..6fb499a5e7f 100644 --- a/packages/jsts/src/rules/S6679/decorator.ts +++ b/packages/jsts/src/rules/S6679/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6679/javascript diff --git a/packages/jsts/src/rules/S6679/generated-meta.ts b/packages/jsts/src/rules/S6679/generated-meta.ts index 56910d6d636..cc65a238324 100644 --- a/packages/jsts/src/rules/S6679/generated-meta.ts +++ b/packages/jsts/src/rules/S6679/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6679/index.ts b/packages/jsts/src/rules/S6679/index.ts index 1dda311fa61..23e51201e20 100644 --- a/packages/jsts/src/rules/S6679/index.ts +++ b/packages/jsts/src/rules/S6679/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getESLintCoreRule } from '../external/core.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6679/meta.ts b/packages/jsts/src/rules/S6679/meta.ts index a3e92078884..b12f6a6ac3f 100644 --- a/packages/jsts/src/rules/S6679/meta.ts +++ b/packages/jsts/src/rules/S6679/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6679/unit.test.ts b/packages/jsts/src/rules/S6679/unit.test.ts index bdfd297a0e9..b3718be140e 100644 --- a/packages/jsts/src/rules/S6679/unit.test.ts +++ b/packages/jsts/src/rules/S6679/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6746/generated-meta.ts b/packages/jsts/src/rules/S6746/generated-meta.ts index f1bab21bd5f..cc6d5d33eb4 100644 --- a/packages/jsts/src/rules/S6746/generated-meta.ts +++ b/packages/jsts/src/rules/S6746/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6746/index.ts b/packages/jsts/src/rules/S6746/index.ts index 1c503b8d234..a8613cd754e 100644 --- a/packages/jsts/src/rules/S6746/index.ts +++ b/packages/jsts/src/rules/S6746/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['no-direct-mutation-state']; diff --git a/packages/jsts/src/rules/S6746/meta.ts b/packages/jsts/src/rules/S6746/meta.ts index 54779dc3c77..a49fe8aef7b 100644 --- a/packages/jsts/src/rules/S6746/meta.ts +++ b/packages/jsts/src/rules/S6746/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6747/decorator.ts b/packages/jsts/src/rules/S6747/decorator.ts index 46b04d6f8b5..b539c173f8d 100644 --- a/packages/jsts/src/rules/S6747/decorator.ts +++ b/packages/jsts/src/rules/S6747/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6747/javascript diff --git a/packages/jsts/src/rules/S6747/generated-meta.ts b/packages/jsts/src/rules/S6747/generated-meta.ts index abdbbf3acb6..17d3a585272 100644 --- a/packages/jsts/src/rules/S6747/generated-meta.ts +++ b/packages/jsts/src/rules/S6747/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6747/index.ts b/packages/jsts/src/rules/S6747/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6747/index.ts +++ b/packages/jsts/src/rules/S6747/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6747/meta.ts b/packages/jsts/src/rules/S6747/meta.ts index b8f635a2390..42a4debe2d4 100644 --- a/packages/jsts/src/rules/S6747/meta.ts +++ b/packages/jsts/src/rules/S6747/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6747/non-react-project/unit.test.ts b/packages/jsts/src/rules/S6747/non-react-project/unit.test.ts index e4844f0f26b..03415d358eb 100644 --- a/packages/jsts/src/rules/S6747/non-react-project/unit.test.ts +++ b/packages/jsts/src/rules/S6747/non-react-project/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../../tests/tools/testers/rule-tester.js'; import { rule } from '../rule.js'; diff --git a/packages/jsts/src/rules/S6747/react-project/cb.test.ts b/packages/jsts/src/rules/S6747/react-project/cb.test.ts index f141b771996..9f85ad477a0 100644 --- a/packages/jsts/src/rules/S6747/react-project/cb.test.ts +++ b/packages/jsts/src/rules/S6747/react-project/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../../tests/tools/index.js'; import { rule } from '../index.js'; diff --git a/packages/jsts/src/rules/S6747/rule.ts b/packages/jsts/src/rules/S6747/rule.ts index cb5e3e94a4d..92c20d16f13 100644 --- a/packages/jsts/src/rules/S6747/rule.ts +++ b/packages/jsts/src/rules/S6747/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6747/javascript diff --git a/packages/jsts/src/rules/S6748/generated-meta.ts b/packages/jsts/src/rules/S6748/generated-meta.ts index fa99e856b44..fbb9d94c973 100644 --- a/packages/jsts/src/rules/S6748/generated-meta.ts +++ b/packages/jsts/src/rules/S6748/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6748/index.ts b/packages/jsts/src/rules/S6748/index.ts index af88821ac76..d5b2a1a8488 100644 --- a/packages/jsts/src/rules/S6748/index.ts +++ b/packages/jsts/src/rules/S6748/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['no-children-prop']; diff --git a/packages/jsts/src/rules/S6748/meta.ts b/packages/jsts/src/rules/S6748/meta.ts index abe5ce57f8f..1b97b139c63 100644 --- a/packages/jsts/src/rules/S6748/meta.ts +++ b/packages/jsts/src/rules/S6748/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6749/decorator.ts b/packages/jsts/src/rules/S6749/decorator.ts index fa72dd88ebd..3b141f84c1f 100644 --- a/packages/jsts/src/rules/S6749/decorator.ts +++ b/packages/jsts/src/rules/S6749/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6749/javascript diff --git a/packages/jsts/src/rules/S6749/generated-meta.ts b/packages/jsts/src/rules/S6749/generated-meta.ts index a1f51bfaef7..0e20f64c61c 100644 --- a/packages/jsts/src/rules/S6749/generated-meta.ts +++ b/packages/jsts/src/rules/S6749/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6749/index.ts b/packages/jsts/src/rules/S6749/index.ts index bd5feea46cb..0582a956e67 100644 --- a/packages/jsts/src/rules/S6749/index.ts +++ b/packages/jsts/src/rules/S6749/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules } from '../external/react.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6749/meta.ts b/packages/jsts/src/rules/S6749/meta.ts index 53e8b691996..6dc0f0a7088 100644 --- a/packages/jsts/src/rules/S6749/meta.ts +++ b/packages/jsts/src/rules/S6749/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6749/unit.test.ts b/packages/jsts/src/rules/S6749/unit.test.ts index 9bdd9f14070..27feb435b11 100644 --- a/packages/jsts/src/rules/S6749/unit.test.ts +++ b/packages/jsts/src/rules/S6749/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6750/generated-meta.ts b/packages/jsts/src/rules/S6750/generated-meta.ts index 2f0ec4ad457..cf559db4f70 100644 --- a/packages/jsts/src/rules/S6750/generated-meta.ts +++ b/packages/jsts/src/rules/S6750/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6750/index.ts b/packages/jsts/src/rules/S6750/index.ts index 52c7f7eb0bb..c41eb40dbf4 100644 --- a/packages/jsts/src/rules/S6750/index.ts +++ b/packages/jsts/src/rules/S6750/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['no-render-return-value']; diff --git a/packages/jsts/src/rules/S6750/meta.ts b/packages/jsts/src/rules/S6750/meta.ts index 5a328f88ba7..dd49d0454ba 100644 --- a/packages/jsts/src/rules/S6750/meta.ts +++ b/packages/jsts/src/rules/S6750/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6754/decorator.ts b/packages/jsts/src/rules/S6754/decorator.ts index 25c898574c8..170866c19ac 100644 --- a/packages/jsts/src/rules/S6754/decorator.ts +++ b/packages/jsts/src/rules/S6754/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6754/javascript diff --git a/packages/jsts/src/rules/S6754/generated-meta.ts b/packages/jsts/src/rules/S6754/generated-meta.ts index 0f449da9693..6bcf1b19b22 100644 --- a/packages/jsts/src/rules/S6754/generated-meta.ts +++ b/packages/jsts/src/rules/S6754/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6754/index.ts b/packages/jsts/src/rules/S6754/index.ts index 7cb1a023b24..dfdb758b9bf 100644 --- a/packages/jsts/src/rules/S6754/index.ts +++ b/packages/jsts/src/rules/S6754/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules } from '../external/react.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6754/meta.ts b/packages/jsts/src/rules/S6754/meta.ts index 15903428b42..332430b8cfd 100644 --- a/packages/jsts/src/rules/S6754/meta.ts +++ b/packages/jsts/src/rules/S6754/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6754/unit.test.ts b/packages/jsts/src/rules/S6754/unit.test.ts index 9e8d59c67e7..aa99d4eff9b 100644 --- a/packages/jsts/src/rules/S6754/unit.test.ts +++ b/packages/jsts/src/rules/S6754/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6756/generated-meta.ts b/packages/jsts/src/rules/S6756/generated-meta.ts index 449982808ff..214b9467f2e 100644 --- a/packages/jsts/src/rules/S6756/generated-meta.ts +++ b/packages/jsts/src/rules/S6756/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6756/index.ts b/packages/jsts/src/rules/S6756/index.ts index a3094c2371e..8f503cf8b64 100644 --- a/packages/jsts/src/rules/S6756/index.ts +++ b/packages/jsts/src/rules/S6756/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['no-access-state-in-setstate']; diff --git a/packages/jsts/src/rules/S6756/meta.ts b/packages/jsts/src/rules/S6756/meta.ts index 4e2c1d22a6e..309bea4e1a3 100644 --- a/packages/jsts/src/rules/S6756/meta.ts +++ b/packages/jsts/src/rules/S6756/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6757/generated-meta.ts b/packages/jsts/src/rules/S6757/generated-meta.ts index a8ea00b3214..83ee8799f02 100644 --- a/packages/jsts/src/rules/S6757/generated-meta.ts +++ b/packages/jsts/src/rules/S6757/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6757/index.ts b/packages/jsts/src/rules/S6757/index.ts index 946142cacf1..2511aea6cef 100644 --- a/packages/jsts/src/rules/S6757/index.ts +++ b/packages/jsts/src/rules/S6757/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['no-this-in-sfc']; diff --git a/packages/jsts/src/rules/S6757/meta.ts b/packages/jsts/src/rules/S6757/meta.ts index 5e2be56c94b..6e47c8a0680 100644 --- a/packages/jsts/src/rules/S6757/meta.ts +++ b/packages/jsts/src/rules/S6757/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6759/cb.test.ts b/packages/jsts/src/rules/S6759/cb.test.ts index 313532f1da2..07b1901047a 100644 --- a/packages/jsts/src/rules/S6759/cb.test.ts +++ b/packages/jsts/src/rules/S6759/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6759/generated-meta.ts b/packages/jsts/src/rules/S6759/generated-meta.ts index be17b9a8310..cf711a1d815 100644 --- a/packages/jsts/src/rules/S6759/generated-meta.ts +++ b/packages/jsts/src/rules/S6759/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6759/index.ts b/packages/jsts/src/rules/S6759/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6759/index.ts +++ b/packages/jsts/src/rules/S6759/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6759/meta.ts b/packages/jsts/src/rules/S6759/meta.ts index ed5b53d1568..ea624522dce 100644 --- a/packages/jsts/src/rules/S6759/meta.ts +++ b/packages/jsts/src/rules/S6759/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6759/rule.ts b/packages/jsts/src/rules/S6759/rule.ts index 1da7bebf3db..37b8015d364 100644 --- a/packages/jsts/src/rules/S6759/rule.ts +++ b/packages/jsts/src/rules/S6759/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6759/javascript diff --git a/packages/jsts/src/rules/S6761/generated-meta.ts b/packages/jsts/src/rules/S6761/generated-meta.ts index a87abfe4377..eda8e689bba 100644 --- a/packages/jsts/src/rules/S6761/generated-meta.ts +++ b/packages/jsts/src/rules/S6761/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6761/index.ts b/packages/jsts/src/rules/S6761/index.ts index cc9e311c4c7..1c639b17e5b 100644 --- a/packages/jsts/src/rules/S6761/index.ts +++ b/packages/jsts/src/rules/S6761/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['no-danger-with-children']; diff --git a/packages/jsts/src/rules/S6761/meta.ts b/packages/jsts/src/rules/S6761/meta.ts index bef1109fb70..be82ef9e2be 100644 --- a/packages/jsts/src/rules/S6761/meta.ts +++ b/packages/jsts/src/rules/S6761/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6763/generated-meta.ts b/packages/jsts/src/rules/S6763/generated-meta.ts index d93bfde5ed4..36391777adb 100644 --- a/packages/jsts/src/rules/S6763/generated-meta.ts +++ b/packages/jsts/src/rules/S6763/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6763/index.ts b/packages/jsts/src/rules/S6763/index.ts index dcfd67867cd..f1390b257f3 100644 --- a/packages/jsts/src/rules/S6763/index.ts +++ b/packages/jsts/src/rules/S6763/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['no-redundant-should-component-update']; diff --git a/packages/jsts/src/rules/S6763/meta.ts b/packages/jsts/src/rules/S6763/meta.ts index 513bd9e90ee..19b376bb6e6 100644 --- a/packages/jsts/src/rules/S6763/meta.ts +++ b/packages/jsts/src/rules/S6763/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6766/generated-meta.ts b/packages/jsts/src/rules/S6766/generated-meta.ts index df889c63734..748ce5a00fb 100644 --- a/packages/jsts/src/rules/S6766/generated-meta.ts +++ b/packages/jsts/src/rules/S6766/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6766/index.ts b/packages/jsts/src/rules/S6766/index.ts index 1852fb7b0c1..a2a59b904b8 100644 --- a/packages/jsts/src/rules/S6766/index.ts +++ b/packages/jsts/src/rules/S6766/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['no-unescaped-entities']; diff --git a/packages/jsts/src/rules/S6766/meta.ts b/packages/jsts/src/rules/S6766/meta.ts index c33525463b6..93c0ab0732d 100644 --- a/packages/jsts/src/rules/S6766/meta.ts +++ b/packages/jsts/src/rules/S6766/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6767/generated-meta.ts b/packages/jsts/src/rules/S6767/generated-meta.ts index 7b630e0ceaa..f7854b74192 100644 --- a/packages/jsts/src/rules/S6767/generated-meta.ts +++ b/packages/jsts/src/rules/S6767/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6767/index.ts b/packages/jsts/src/rules/S6767/index.ts index 118f5b2c898..d4de52b95df 100644 --- a/packages/jsts/src/rules/S6767/index.ts +++ b/packages/jsts/src/rules/S6767/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['no-unused-prop-types']; diff --git a/packages/jsts/src/rules/S6767/meta.ts b/packages/jsts/src/rules/S6767/meta.ts index 5ae83ee695e..00c74ac26ad 100644 --- a/packages/jsts/src/rules/S6767/meta.ts +++ b/packages/jsts/src/rules/S6767/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6770/generated-meta.ts b/packages/jsts/src/rules/S6770/generated-meta.ts index aa3042da305..ece9d3a9728 100644 --- a/packages/jsts/src/rules/S6770/generated-meta.ts +++ b/packages/jsts/src/rules/S6770/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6770/index.ts b/packages/jsts/src/rules/S6770/index.ts index c991ee9dd28..f7e1d477392 100644 --- a/packages/jsts/src/rules/S6770/index.ts +++ b/packages/jsts/src/rules/S6770/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['jsx-pascal-case']; diff --git a/packages/jsts/src/rules/S6770/meta.ts b/packages/jsts/src/rules/S6770/meta.ts index dd6c16277d8..441b172ba99 100644 --- a/packages/jsts/src/rules/S6770/meta.ts +++ b/packages/jsts/src/rules/S6770/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6772/generated-meta.ts b/packages/jsts/src/rules/S6772/generated-meta.ts index a693b9d8b3b..9775551533a 100644 --- a/packages/jsts/src/rules/S6772/generated-meta.ts +++ b/packages/jsts/src/rules/S6772/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6772/index.ts b/packages/jsts/src/rules/S6772/index.ts index 01f0b99a0ff..41e66e76178 100644 --- a/packages/jsts/src/rules/S6772/index.ts +++ b/packages/jsts/src/rules/S6772/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['jsx-child-element-spacing']; diff --git a/packages/jsts/src/rules/S6772/meta.ts b/packages/jsts/src/rules/S6772/meta.ts index 9ddbf211671..ad06cde358d 100644 --- a/packages/jsts/src/rules/S6772/meta.ts +++ b/packages/jsts/src/rules/S6772/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6774/generated-meta.ts b/packages/jsts/src/rules/S6774/generated-meta.ts index f53407e0e97..e01ab81b9e0 100644 --- a/packages/jsts/src/rules/S6774/generated-meta.ts +++ b/packages/jsts/src/rules/S6774/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6774/index.ts b/packages/jsts/src/rules/S6774/index.ts index 543ef48374e..a882e656f47 100644 --- a/packages/jsts/src/rules/S6774/index.ts +++ b/packages/jsts/src/rules/S6774/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['prop-types']; diff --git a/packages/jsts/src/rules/S6774/meta.ts b/packages/jsts/src/rules/S6774/meta.ts index 7dd2f484638..3ca3141d1ec 100644 --- a/packages/jsts/src/rules/S6774/meta.ts +++ b/packages/jsts/src/rules/S6774/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6775/generated-meta.ts b/packages/jsts/src/rules/S6775/generated-meta.ts index e609ba94d7f..21383680307 100644 --- a/packages/jsts/src/rules/S6775/generated-meta.ts +++ b/packages/jsts/src/rules/S6775/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6775/index.ts b/packages/jsts/src/rules/S6775/index.ts index fd7e067840b..9b119f64e75 100644 --- a/packages/jsts/src/rules/S6775/index.ts +++ b/packages/jsts/src/rules/S6775/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['default-props-match-prop-types']; diff --git a/packages/jsts/src/rules/S6775/meta.ts b/packages/jsts/src/rules/S6775/meta.ts index 043508fb778..281f8c5c535 100644 --- a/packages/jsts/src/rules/S6775/meta.ts +++ b/packages/jsts/src/rules/S6775/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6788/decorator.ts b/packages/jsts/src/rules/S6788/decorator.ts index 2cd316ac73e..f2077cd8941 100644 --- a/packages/jsts/src/rules/S6788/decorator.ts +++ b/packages/jsts/src/rules/S6788/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6788/javascript diff --git a/packages/jsts/src/rules/S6788/generated-meta.ts b/packages/jsts/src/rules/S6788/generated-meta.ts index 7d2fe82fd89..ff009e85192 100644 --- a/packages/jsts/src/rules/S6788/generated-meta.ts +++ b/packages/jsts/src/rules/S6788/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6788/index.ts b/packages/jsts/src/rules/S6788/index.ts index db20042d83d..b35ea5ec1f3 100644 --- a/packages/jsts/src/rules/S6788/index.ts +++ b/packages/jsts/src/rules/S6788/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules } from '../external/react.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6788/meta.ts b/packages/jsts/src/rules/S6788/meta.ts index 4be119007ff..2cbbbcd7264 100644 --- a/packages/jsts/src/rules/S6788/meta.ts +++ b/packages/jsts/src/rules/S6788/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6788/unit.test.ts b/packages/jsts/src/rules/S6788/unit.test.ts index 3f6d5cb197a..fc5080267c4 100644 --- a/packages/jsts/src/rules/S6788/unit.test.ts +++ b/packages/jsts/src/rules/S6788/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S6789/generated-meta.ts b/packages/jsts/src/rules/S6789/generated-meta.ts index 3f895735fae..49a3c301c4b 100644 --- a/packages/jsts/src/rules/S6789/generated-meta.ts +++ b/packages/jsts/src/rules/S6789/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6789/index.ts b/packages/jsts/src/rules/S6789/index.ts index f704cbe7fdc..8f8e6d9210a 100644 --- a/packages/jsts/src/rules/S6789/index.ts +++ b/packages/jsts/src/rules/S6789/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['no-is-mounted']; diff --git a/packages/jsts/src/rules/S6789/meta.ts b/packages/jsts/src/rules/S6789/meta.ts index 26d2937d6de..f7b8911aece 100644 --- a/packages/jsts/src/rules/S6789/meta.ts +++ b/packages/jsts/src/rules/S6789/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6790/generated-meta.ts b/packages/jsts/src/rules/S6790/generated-meta.ts index 7891f5d73b0..a2bf0e73ae7 100644 --- a/packages/jsts/src/rules/S6790/generated-meta.ts +++ b/packages/jsts/src/rules/S6790/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6790/index.ts b/packages/jsts/src/rules/S6790/index.ts index 469225dac91..b75e1abf2cd 100644 --- a/packages/jsts/src/rules/S6790/index.ts +++ b/packages/jsts/src/rules/S6790/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/react.js'; export const rule = rules['no-string-refs']; diff --git a/packages/jsts/src/rules/S6790/meta.ts b/packages/jsts/src/rules/S6790/meta.ts index 4235b6c45c5..ea69eb9179f 100644 --- a/packages/jsts/src/rules/S6790/meta.ts +++ b/packages/jsts/src/rules/S6790/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6791/decorator.ts b/packages/jsts/src/rules/S6791/decorator.ts index a1116423c9f..5a18841fca9 100644 --- a/packages/jsts/src/rules/S6791/decorator.ts +++ b/packages/jsts/src/rules/S6791/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6791/javascript diff --git a/packages/jsts/src/rules/S6791/generated-meta.ts b/packages/jsts/src/rules/S6791/generated-meta.ts index 5578816dffd..c67f11ec0c4 100644 --- a/packages/jsts/src/rules/S6791/generated-meta.ts +++ b/packages/jsts/src/rules/S6791/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6791/index.ts b/packages/jsts/src/rules/S6791/index.ts index 46651b12f25..a1b4eee7347 100644 --- a/packages/jsts/src/rules/S6791/index.ts +++ b/packages/jsts/src/rules/S6791/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules } from '../external/react.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6791/meta.ts b/packages/jsts/src/rules/S6791/meta.ts index 59ed94d9b7e..6bff936f350 100644 --- a/packages/jsts/src/rules/S6791/meta.ts +++ b/packages/jsts/src/rules/S6791/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6791/unit.test.ts b/packages/jsts/src/rules/S6791/unit.test.ts index ed4d49822fe..b42466ff3d2 100644 --- a/packages/jsts/src/rules/S6791/unit.test.ts +++ b/packages/jsts/src/rules/S6791/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { TypeScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S6793/generated-meta.ts b/packages/jsts/src/rules/S6793/generated-meta.ts index cdded67d1dc..97b441ab9b5 100644 --- a/packages/jsts/src/rules/S6793/generated-meta.ts +++ b/packages/jsts/src/rules/S6793/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6793/index.ts b/packages/jsts/src/rules/S6793/index.ts index deec9a32503..a5ddfdeb6e3 100644 --- a/packages/jsts/src/rules/S6793/index.ts +++ b/packages/jsts/src/rules/S6793/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['aria-proptypes']; diff --git a/packages/jsts/src/rules/S6793/meta.ts b/packages/jsts/src/rules/S6793/meta.ts index 8ff2124fb15..c9d72474f04 100644 --- a/packages/jsts/src/rules/S6793/meta.ts +++ b/packages/jsts/src/rules/S6793/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6807/generated-meta.ts b/packages/jsts/src/rules/S6807/generated-meta.ts index f42cd221c4e..476bfa9b078 100644 --- a/packages/jsts/src/rules/S6807/generated-meta.ts +++ b/packages/jsts/src/rules/S6807/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6807/index.ts b/packages/jsts/src/rules/S6807/index.ts index c0ee96ff7e7..9501ccbe2c3 100644 --- a/packages/jsts/src/rules/S6807/index.ts +++ b/packages/jsts/src/rules/S6807/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['role-has-required-aria-props']; diff --git a/packages/jsts/src/rules/S6807/meta.ts b/packages/jsts/src/rules/S6807/meta.ts index 4187d34120a..5aa1f673305 100644 --- a/packages/jsts/src/rules/S6807/meta.ts +++ b/packages/jsts/src/rules/S6807/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6811/generated-meta.ts b/packages/jsts/src/rules/S6811/generated-meta.ts index a9cad86b88e..3cb33127bf7 100644 --- a/packages/jsts/src/rules/S6811/generated-meta.ts +++ b/packages/jsts/src/rules/S6811/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6811/index.ts b/packages/jsts/src/rules/S6811/index.ts index f411ecfb21a..2c93f4b1d48 100644 --- a/packages/jsts/src/rules/S6811/index.ts +++ b/packages/jsts/src/rules/S6811/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['role-supports-aria-props']; diff --git a/packages/jsts/src/rules/S6811/meta.ts b/packages/jsts/src/rules/S6811/meta.ts index f46bcd745d3..7b30d30d06c 100644 --- a/packages/jsts/src/rules/S6811/meta.ts +++ b/packages/jsts/src/rules/S6811/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6819/generated-meta.ts b/packages/jsts/src/rules/S6819/generated-meta.ts index e9c40837e9f..05be3a9c4df 100644 --- a/packages/jsts/src/rules/S6819/generated-meta.ts +++ b/packages/jsts/src/rules/S6819/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6819/index.ts b/packages/jsts/src/rules/S6819/index.ts index 6cb9ff6e6ee..7928a2f034b 100644 --- a/packages/jsts/src/rules/S6819/index.ts +++ b/packages/jsts/src/rules/S6819/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['prefer-tag-over-role']; diff --git a/packages/jsts/src/rules/S6819/meta.ts b/packages/jsts/src/rules/S6819/meta.ts index ec9c5f60e05..12da2126b26 100644 --- a/packages/jsts/src/rules/S6819/meta.ts +++ b/packages/jsts/src/rules/S6819/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6821/generated-meta.ts b/packages/jsts/src/rules/S6821/generated-meta.ts index 0119c3cd659..3a32efd4500 100644 --- a/packages/jsts/src/rules/S6821/generated-meta.ts +++ b/packages/jsts/src/rules/S6821/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6821/index.ts b/packages/jsts/src/rules/S6821/index.ts index ca352eaed62..1c42c768c6f 100644 --- a/packages/jsts/src/rules/S6821/index.ts +++ b/packages/jsts/src/rules/S6821/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['aria-role']; diff --git a/packages/jsts/src/rules/S6821/meta.ts b/packages/jsts/src/rules/S6821/meta.ts index 0bb9062c7f0..8301f0ea2dc 100644 --- a/packages/jsts/src/rules/S6821/meta.ts +++ b/packages/jsts/src/rules/S6821/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6822/generated-meta.ts b/packages/jsts/src/rules/S6822/generated-meta.ts index 59ed6e2fdb0..6aedb799b17 100644 --- a/packages/jsts/src/rules/S6822/generated-meta.ts +++ b/packages/jsts/src/rules/S6822/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6822/index.ts b/packages/jsts/src/rules/S6822/index.ts index 63250cd6d87..15d35f0a61b 100644 --- a/packages/jsts/src/rules/S6822/index.ts +++ b/packages/jsts/src/rules/S6822/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['no-redundant-roles']; diff --git a/packages/jsts/src/rules/S6822/meta.ts b/packages/jsts/src/rules/S6822/meta.ts index 8f808d78e17..d2107128273 100644 --- a/packages/jsts/src/rules/S6822/meta.ts +++ b/packages/jsts/src/rules/S6822/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6823/generated-meta.ts b/packages/jsts/src/rules/S6823/generated-meta.ts index 73759e7ba69..cfdb4621d80 100644 --- a/packages/jsts/src/rules/S6823/generated-meta.ts +++ b/packages/jsts/src/rules/S6823/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6823/index.ts b/packages/jsts/src/rules/S6823/index.ts index 7a657c5e4fa..5b5ab1264ac 100644 --- a/packages/jsts/src/rules/S6823/index.ts +++ b/packages/jsts/src/rules/S6823/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['aria-activedescendant-has-tabindex']; diff --git a/packages/jsts/src/rules/S6823/meta.ts b/packages/jsts/src/rules/S6823/meta.ts index 39b45cc3da6..842a1aad912 100644 --- a/packages/jsts/src/rules/S6823/meta.ts +++ b/packages/jsts/src/rules/S6823/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6824/generated-meta.ts b/packages/jsts/src/rules/S6824/generated-meta.ts index 08a91440b87..3fd7a37b630 100644 --- a/packages/jsts/src/rules/S6824/generated-meta.ts +++ b/packages/jsts/src/rules/S6824/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6824/index.ts b/packages/jsts/src/rules/S6824/index.ts index 0268738893d..c2f7cc95ca6 100644 --- a/packages/jsts/src/rules/S6824/index.ts +++ b/packages/jsts/src/rules/S6824/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['aria-unsupported-elements']; diff --git a/packages/jsts/src/rules/S6824/meta.ts b/packages/jsts/src/rules/S6824/meta.ts index 1684f62ab3b..a276f44b326 100644 --- a/packages/jsts/src/rules/S6824/meta.ts +++ b/packages/jsts/src/rules/S6824/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6825/generated-meta.ts b/packages/jsts/src/rules/S6825/generated-meta.ts index 9bb9cda3b31..032cd0b0aa6 100644 --- a/packages/jsts/src/rules/S6825/generated-meta.ts +++ b/packages/jsts/src/rules/S6825/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6825/index.ts b/packages/jsts/src/rules/S6825/index.ts index dc5d0f56312..3a206f63228 100644 --- a/packages/jsts/src/rules/S6825/index.ts +++ b/packages/jsts/src/rules/S6825/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['no-aria-hidden-on-focusable']; diff --git a/packages/jsts/src/rules/S6825/meta.ts b/packages/jsts/src/rules/S6825/meta.ts index 13618a8c9fe..73892c9cadc 100644 --- a/packages/jsts/src/rules/S6825/meta.ts +++ b/packages/jsts/src/rules/S6825/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6827/cb.test.ts b/packages/jsts/src/rules/S6827/cb.test.ts index a7ba3974ce1..6e72a9ca450 100644 --- a/packages/jsts/src/rules/S6827/cb.test.ts +++ b/packages/jsts/src/rules/S6827/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6827/decorator.ts b/packages/jsts/src/rules/S6827/decorator.ts index e158ec5b57a..990054957a2 100644 --- a/packages/jsts/src/rules/S6827/decorator.ts +++ b/packages/jsts/src/rules/S6827/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { generateMeta, interceptReport } from '../helpers/index.js'; diff --git a/packages/jsts/src/rules/S6827/generated-meta.ts b/packages/jsts/src/rules/S6827/generated-meta.ts index 3e54a0b6138..c61fb01c542 100644 --- a/packages/jsts/src/rules/S6827/generated-meta.ts +++ b/packages/jsts/src/rules/S6827/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6827/index.ts b/packages/jsts/src/rules/S6827/index.ts index 5058b87dfa3..0cf053c47b8 100644 --- a/packages/jsts/src/rules/S6827/index.ts +++ b/packages/jsts/src/rules/S6827/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6727/javascript diff --git a/packages/jsts/src/rules/S6827/meta.ts b/packages/jsts/src/rules/S6827/meta.ts index 07300a146da..70ee491faf9 100644 --- a/packages/jsts/src/rules/S6827/meta.ts +++ b/packages/jsts/src/rules/S6827/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6836/generated-meta.ts b/packages/jsts/src/rules/S6836/generated-meta.ts index ac9299566b7..72701c63c5a 100644 --- a/packages/jsts/src/rules/S6836/generated-meta.ts +++ b/packages/jsts/src/rules/S6836/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6836/index.ts b/packages/jsts/src/rules/S6836/index.ts index 6221eed2358..b96e01158a3 100644 --- a/packages/jsts/src/rules/S6836/index.ts +++ b/packages/jsts/src/rules/S6836/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-case-declarations'); diff --git a/packages/jsts/src/rules/S6836/meta.ts b/packages/jsts/src/rules/S6836/meta.ts index d31c786b2d9..9a0b2615c82 100644 --- a/packages/jsts/src/rules/S6836/meta.ts +++ b/packages/jsts/src/rules/S6836/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6840/generated-meta.ts b/packages/jsts/src/rules/S6840/generated-meta.ts index 3a61ee20b2d..5ff3f2194a6 100644 --- a/packages/jsts/src/rules/S6840/generated-meta.ts +++ b/packages/jsts/src/rules/S6840/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6840/index.ts b/packages/jsts/src/rules/S6840/index.ts index fe5974e1543..1295d99924a 100644 --- a/packages/jsts/src/rules/S6840/index.ts +++ b/packages/jsts/src/rules/S6840/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['autocomplete-valid']; diff --git a/packages/jsts/src/rules/S6840/meta.ts b/packages/jsts/src/rules/S6840/meta.ts index 478c6ea095d..e94c13b0b4a 100644 --- a/packages/jsts/src/rules/S6840/meta.ts +++ b/packages/jsts/src/rules/S6840/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6841/generated-meta.ts b/packages/jsts/src/rules/S6841/generated-meta.ts index 58bf3083f81..05b9acf03fa 100644 --- a/packages/jsts/src/rules/S6841/generated-meta.ts +++ b/packages/jsts/src/rules/S6841/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6841/index.ts b/packages/jsts/src/rules/S6841/index.ts index 4ba981fb368..0662bbd4805 100644 --- a/packages/jsts/src/rules/S6841/index.ts +++ b/packages/jsts/src/rules/S6841/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['tabindex-no-positive']; diff --git a/packages/jsts/src/rules/S6841/meta.ts b/packages/jsts/src/rules/S6841/meta.ts index 105194fdc97..8a6ccdbdb0d 100644 --- a/packages/jsts/src/rules/S6841/meta.ts +++ b/packages/jsts/src/rules/S6841/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6842/generated-meta.ts b/packages/jsts/src/rules/S6842/generated-meta.ts index d323b87e7da..3df04ed424d 100644 --- a/packages/jsts/src/rules/S6842/generated-meta.ts +++ b/packages/jsts/src/rules/S6842/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6842/index.ts b/packages/jsts/src/rules/S6842/index.ts index fd065854500..05a1dc38325 100644 --- a/packages/jsts/src/rules/S6842/index.ts +++ b/packages/jsts/src/rules/S6842/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['no-noninteractive-element-to-interactive-role']; diff --git a/packages/jsts/src/rules/S6842/meta.ts b/packages/jsts/src/rules/S6842/meta.ts index 6cd852b50ba..74c018dae96 100644 --- a/packages/jsts/src/rules/S6842/meta.ts +++ b/packages/jsts/src/rules/S6842/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6843/generated-meta.ts b/packages/jsts/src/rules/S6843/generated-meta.ts index 03b106d7fc3..a2757406615 100644 --- a/packages/jsts/src/rules/S6843/generated-meta.ts +++ b/packages/jsts/src/rules/S6843/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6843/index.ts b/packages/jsts/src/rules/S6843/index.ts index acb5bd8c5a4..9d4ff02f2e3 100644 --- a/packages/jsts/src/rules/S6843/index.ts +++ b/packages/jsts/src/rules/S6843/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['no-interactive-element-to-noninteractive-role']; diff --git a/packages/jsts/src/rules/S6843/meta.ts b/packages/jsts/src/rules/S6843/meta.ts index b9f6a4d9f0a..f528a5677f4 100644 --- a/packages/jsts/src/rules/S6843/meta.ts +++ b/packages/jsts/src/rules/S6843/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6844/cb.test.ts b/packages/jsts/src/rules/S6844/cb.test.ts index 50da21d5d1c..f83d1777076 100644 --- a/packages/jsts/src/rules/S6844/cb.test.ts +++ b/packages/jsts/src/rules/S6844/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6844/generated-meta.ts b/packages/jsts/src/rules/S6844/generated-meta.ts index a115f95b3e3..62608ffdaa0 100644 --- a/packages/jsts/src/rules/S6844/generated-meta.ts +++ b/packages/jsts/src/rules/S6844/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6844/index.ts b/packages/jsts/src/rules/S6844/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6844/index.ts +++ b/packages/jsts/src/rules/S6844/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6844/meta.ts b/packages/jsts/src/rules/S6844/meta.ts index 3e5891508a5..a3148f46217 100644 --- a/packages/jsts/src/rules/S6844/meta.ts +++ b/packages/jsts/src/rules/S6844/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6844/rule.ts b/packages/jsts/src/rules/S6844/rule.ts index 9e333567f25..52f58172b8d 100644 --- a/packages/jsts/src/rules/S6844/rule.ts +++ b/packages/jsts/src/rules/S6844/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6844/javascript diff --git a/packages/jsts/src/rules/S6845/generated-meta.ts b/packages/jsts/src/rules/S6845/generated-meta.ts index 0c9a0d3237c..fa56c0ad242 100644 --- a/packages/jsts/src/rules/S6845/generated-meta.ts +++ b/packages/jsts/src/rules/S6845/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6845/index.ts b/packages/jsts/src/rules/S6845/index.ts index ffd9befb505..ee2a76cf79a 100644 --- a/packages/jsts/src/rules/S6845/index.ts +++ b/packages/jsts/src/rules/S6845/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['no-noninteractive-tabindex']; diff --git a/packages/jsts/src/rules/S6845/meta.ts b/packages/jsts/src/rules/S6845/meta.ts index 90655420c2f..b8301104d02 100644 --- a/packages/jsts/src/rules/S6845/meta.ts +++ b/packages/jsts/src/rules/S6845/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6846/generated-meta.ts b/packages/jsts/src/rules/S6846/generated-meta.ts index 0e253e6b5ac..da599c1b0e5 100644 --- a/packages/jsts/src/rules/S6846/generated-meta.ts +++ b/packages/jsts/src/rules/S6846/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6846/index.ts b/packages/jsts/src/rules/S6846/index.ts index f51844ec418..ea0c1435b61 100644 --- a/packages/jsts/src/rules/S6846/index.ts +++ b/packages/jsts/src/rules/S6846/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['no-access-key']; diff --git a/packages/jsts/src/rules/S6846/meta.ts b/packages/jsts/src/rules/S6846/meta.ts index b8273c0cfa4..8696fde3357 100644 --- a/packages/jsts/src/rules/S6846/meta.ts +++ b/packages/jsts/src/rules/S6846/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6847/generated-meta.ts b/packages/jsts/src/rules/S6847/generated-meta.ts index 0b9554c32fc..7ae140cc746 100644 --- a/packages/jsts/src/rules/S6847/generated-meta.ts +++ b/packages/jsts/src/rules/S6847/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6847/index.ts b/packages/jsts/src/rules/S6847/index.ts index 26760d082ea..665729586c1 100644 --- a/packages/jsts/src/rules/S6847/index.ts +++ b/packages/jsts/src/rules/S6847/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['no-noninteractive-element-interactions']; diff --git a/packages/jsts/src/rules/S6847/meta.ts b/packages/jsts/src/rules/S6847/meta.ts index f92ee9ccde4..f37b886de31 100644 --- a/packages/jsts/src/rules/S6847/meta.ts +++ b/packages/jsts/src/rules/S6847/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6848/generated-meta.ts b/packages/jsts/src/rules/S6848/generated-meta.ts index 0e6d48569ff..39321da3277 100644 --- a/packages/jsts/src/rules/S6848/generated-meta.ts +++ b/packages/jsts/src/rules/S6848/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6848/index.ts b/packages/jsts/src/rules/S6848/index.ts index a7653d6ff4f..546ac594824 100644 --- a/packages/jsts/src/rules/S6848/index.ts +++ b/packages/jsts/src/rules/S6848/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['no-static-element-interactions']; diff --git a/packages/jsts/src/rules/S6848/meta.ts b/packages/jsts/src/rules/S6848/meta.ts index 13c87218291..1629d3bea61 100644 --- a/packages/jsts/src/rules/S6848/meta.ts +++ b/packages/jsts/src/rules/S6848/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6850/generated-meta.ts b/packages/jsts/src/rules/S6850/generated-meta.ts index d8a37eb4b31..a5bf5dbff76 100644 --- a/packages/jsts/src/rules/S6850/generated-meta.ts +++ b/packages/jsts/src/rules/S6850/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6850/index.ts b/packages/jsts/src/rules/S6850/index.ts index d39d864f500..0e170f88cf1 100644 --- a/packages/jsts/src/rules/S6850/index.ts +++ b/packages/jsts/src/rules/S6850/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['heading-has-content']; diff --git a/packages/jsts/src/rules/S6850/meta.ts b/packages/jsts/src/rules/S6850/meta.ts index 0659f15e14e..a447160ba8d 100644 --- a/packages/jsts/src/rules/S6850/meta.ts +++ b/packages/jsts/src/rules/S6850/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6851/generated-meta.ts b/packages/jsts/src/rules/S6851/generated-meta.ts index fc6d08aa9eb..1ba36937632 100644 --- a/packages/jsts/src/rules/S6851/generated-meta.ts +++ b/packages/jsts/src/rules/S6851/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6851/index.ts b/packages/jsts/src/rules/S6851/index.ts index 82bee3ad9ad..13e685c3c66 100644 --- a/packages/jsts/src/rules/S6851/index.ts +++ b/packages/jsts/src/rules/S6851/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['img-redundant-alt']; diff --git a/packages/jsts/src/rules/S6851/meta.ts b/packages/jsts/src/rules/S6851/meta.ts index b52eb038bc1..4a6b9654f1c 100644 --- a/packages/jsts/src/rules/S6851/meta.ts +++ b/packages/jsts/src/rules/S6851/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6852/generated-meta.ts b/packages/jsts/src/rules/S6852/generated-meta.ts index 077cee108b1..a8331920f8c 100644 --- a/packages/jsts/src/rules/S6852/generated-meta.ts +++ b/packages/jsts/src/rules/S6852/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6852/index.ts b/packages/jsts/src/rules/S6852/index.ts index a50bc1cede4..974928e76c3 100644 --- a/packages/jsts/src/rules/S6852/index.ts +++ b/packages/jsts/src/rules/S6852/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from '../external/a11y.js'; export const rule = rules['interactive-supports-focus']; diff --git a/packages/jsts/src/rules/S6852/meta.ts b/packages/jsts/src/rules/S6852/meta.ts index d855d5ef0da..fdf5b385a0b 100644 --- a/packages/jsts/src/rules/S6852/meta.ts +++ b/packages/jsts/src/rules/S6852/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6853/cb.test.ts b/packages/jsts/src/rules/S6853/cb.test.ts index 39ba7d46696..3a1d4ac4231 100644 --- a/packages/jsts/src/rules/S6853/cb.test.ts +++ b/packages/jsts/src/rules/S6853/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6853/decorator.ts b/packages/jsts/src/rules/S6853/decorator.ts index 70a58276758..89369222018 100644 --- a/packages/jsts/src/rules/S6853/decorator.ts +++ b/packages/jsts/src/rules/S6853/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6853/javascript import type { Rule } from 'eslint'; diff --git a/packages/jsts/src/rules/S6853/generated-meta.ts b/packages/jsts/src/rules/S6853/generated-meta.ts index e4a81eb226b..ddc5e1cfe7c 100644 --- a/packages/jsts/src/rules/S6853/generated-meta.ts +++ b/packages/jsts/src/rules/S6853/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6853/index.ts b/packages/jsts/src/rules/S6853/index.ts index 1c60126c99c..424dd0a7014 100644 --- a/packages/jsts/src/rules/S6853/index.ts +++ b/packages/jsts/src/rules/S6853/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules } from '../external/a11y.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S6853/meta.ts b/packages/jsts/src/rules/S6853/meta.ts index 99e5839126a..dc9e07318b9 100644 --- a/packages/jsts/src/rules/S6853/meta.ts +++ b/packages/jsts/src/rules/S6853/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6859/generated-meta.ts b/packages/jsts/src/rules/S6859/generated-meta.ts index 5c56ae36a95..73e44a2d7a1 100644 --- a/packages/jsts/src/rules/S6859/generated-meta.ts +++ b/packages/jsts/src/rules/S6859/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6859/index.ts b/packages/jsts/src/rules/S6859/index.ts index f27db6c0aa8..4a25af2f62d 100644 --- a/packages/jsts/src/rules/S6859/index.ts +++ b/packages/jsts/src/rules/S6859/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from 'eslint-plugin-import'; export const rule = rules['no-absolute-path']; diff --git a/packages/jsts/src/rules/S6859/meta.ts b/packages/jsts/src/rules/S6859/meta.ts index b1a7cc0250a..3e481ca1a7d 100644 --- a/packages/jsts/src/rules/S6859/meta.ts +++ b/packages/jsts/src/rules/S6859/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6861/generated-meta.ts b/packages/jsts/src/rules/S6861/generated-meta.ts index d4c03f475ad..ddbebd483ea 100644 --- a/packages/jsts/src/rules/S6861/generated-meta.ts +++ b/packages/jsts/src/rules/S6861/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6861/index.ts b/packages/jsts/src/rules/S6861/index.ts index 8be07e5c8c5..629d6bf6764 100644 --- a/packages/jsts/src/rules/S6861/index.ts +++ b/packages/jsts/src/rules/S6861/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules } from 'eslint-plugin-import'; export const rule = rules['no-mutable-exports']; diff --git a/packages/jsts/src/rules/S6861/meta.ts b/packages/jsts/src/rules/S6861/meta.ts index 479ccd3e4d4..1479e41fb59 100644 --- a/packages/jsts/src/rules/S6861/meta.ts +++ b/packages/jsts/src/rules/S6861/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S6957/cb.test.ts b/packages/jsts/src/rules/S6957/cb.test.ts index 2e44a2fa8f3..d37503c6832 100644 --- a/packages/jsts/src/rules/S6957/cb.test.ts +++ b/packages/jsts/src/rules/S6957/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6957/generated-meta.ts b/packages/jsts/src/rules/S6957/generated-meta.ts index 8a0d10ae3c7..94b5159366f 100644 --- a/packages/jsts/src/rules/S6957/generated-meta.ts +++ b/packages/jsts/src/rules/S6957/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6957/index.ts b/packages/jsts/src/rules/S6957/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6957/index.ts +++ b/packages/jsts/src/rules/S6957/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6957/meta.ts b/packages/jsts/src/rules/S6957/meta.ts index 6bb7aa02fd2..1e732f8773d 100644 --- a/packages/jsts/src/rules/S6957/meta.ts +++ b/packages/jsts/src/rules/S6957/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S6957/rule.ts b/packages/jsts/src/rules/S6957/rule.ts index 46ca0dcfe99..e0c6e32ced0 100644 --- a/packages/jsts/src/rules/S6957/rule.ts +++ b/packages/jsts/src/rules/S6957/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6957/javascript diff --git a/packages/jsts/src/rules/S6957/unit.test.ts b/packages/jsts/src/rules/S6957/unit.test.ts index a01d3258e6f..f12013cb879 100644 --- a/packages/jsts/src/rules/S6957/unit.test.ts +++ b/packages/jsts/src/rules/S6957/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6958/generated-meta.ts b/packages/jsts/src/rules/S6958/generated-meta.ts index 7b25c3e15ff..3c1b67dcffe 100644 --- a/packages/jsts/src/rules/S6958/generated-meta.ts +++ b/packages/jsts/src/rules/S6958/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6958/index.ts b/packages/jsts/src/rules/S6958/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6958/index.ts +++ b/packages/jsts/src/rules/S6958/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6958/meta.ts b/packages/jsts/src/rules/S6958/meta.ts index 229fac8eff0..6097627ed8f 100644 --- a/packages/jsts/src/rules/S6958/meta.ts +++ b/packages/jsts/src/rules/S6958/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6958/rule.ts b/packages/jsts/src/rules/S6958/rule.ts index b8f03c55746..e75114dc7a4 100644 --- a/packages/jsts/src/rules/S6958/rule.ts +++ b/packages/jsts/src/rules/S6958/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { type Rule } from 'eslint'; import { type Node } from 'estree'; diff --git a/packages/jsts/src/rules/S6958/unit.test.ts b/packages/jsts/src/rules/S6958/unit.test.ts index fba8c7a71b8..d67c033718a 100644 --- a/packages/jsts/src/rules/S6958/unit.test.ts +++ b/packages/jsts/src/rules/S6958/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/S6959/cb.test.ts b/packages/jsts/src/rules/S6959/cb.test.ts index a4d8e5e3e19..c8b5291e0fe 100644 --- a/packages/jsts/src/rules/S6959/cb.test.ts +++ b/packages/jsts/src/rules/S6959/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S6959/generated-meta.ts b/packages/jsts/src/rules/S6959/generated-meta.ts index a9140c53b83..3e64762d2c2 100644 --- a/packages/jsts/src/rules/S6959/generated-meta.ts +++ b/packages/jsts/src/rules/S6959/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S6959/index.ts b/packages/jsts/src/rules/S6959/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S6959/index.ts +++ b/packages/jsts/src/rules/S6959/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S6959/meta.ts b/packages/jsts/src/rules/S6959/meta.ts index 68894ac9b51..2b094bc8389 100644 --- a/packages/jsts/src/rules/S6959/meta.ts +++ b/packages/jsts/src/rules/S6959/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S6959/rule.ts b/packages/jsts/src/rules/S6959/rule.ts index 4581eea4570..a1c19d8b512 100644 --- a/packages/jsts/src/rules/S6959/rule.ts +++ b/packages/jsts/src/rules/S6959/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S6959/javascript diff --git a/packages/jsts/src/rules/S6959/unit.test.ts b/packages/jsts/src/rules/S6959/unit.test.ts index 681f55cddc2..0c191fd0fd9 100644 --- a/packages/jsts/src/rules/S6959/unit.test.ts +++ b/packages/jsts/src/rules/S6959/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S7059/cb.test.ts b/packages/jsts/src/rules/S7059/cb.test.ts index 82eed5d1155..5c7e36c91e1 100644 --- a/packages/jsts/src/rules/S7059/cb.test.ts +++ b/packages/jsts/src/rules/S7059/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S7059/generated-meta.ts b/packages/jsts/src/rules/S7059/generated-meta.ts index 5258e9b603d..3dcbe0845d1 100644 --- a/packages/jsts/src/rules/S7059/generated-meta.ts +++ b/packages/jsts/src/rules/S7059/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S7059/index.ts b/packages/jsts/src/rules/S7059/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S7059/index.ts +++ b/packages/jsts/src/rules/S7059/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S7059/meta.ts b/packages/jsts/src/rules/S7059/meta.ts index 66da76750d8..4b5be871218 100644 --- a/packages/jsts/src/rules/S7059/meta.ts +++ b/packages/jsts/src/rules/S7059/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S7059/rule.ts b/packages/jsts/src/rules/S7059/rule.ts index 8a422b5bd42..635c10ecb15 100644 --- a/packages/jsts/src/rules/S7059/rule.ts +++ b/packages/jsts/src/rules/S7059/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S7059/javascript diff --git a/packages/jsts/src/rules/S7060/cb.test.ts b/packages/jsts/src/rules/S7060/cb.test.ts index 54b0bb17db3..1aeb8055708 100644 --- a/packages/jsts/src/rules/S7060/cb.test.ts +++ b/packages/jsts/src/rules/S7060/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { check } from '../../../tests/tools/index.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S7060/decorator.ts b/packages/jsts/src/rules/S7060/decorator.ts index deaa2ccfca7..1c7302b1465 100644 --- a/packages/jsts/src/rules/S7060/decorator.ts +++ b/packages/jsts/src/rules/S7060/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S7060/javascript diff --git a/packages/jsts/src/rules/S7060/generated-meta.ts b/packages/jsts/src/rules/S7060/generated-meta.ts index 5732e80f83e..dd3b2a3c9b9 100644 --- a/packages/jsts/src/rules/S7060/generated-meta.ts +++ b/packages/jsts/src/rules/S7060/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S7060/index.ts b/packages/jsts/src/rules/S7060/index.ts index 7fa72138539..73ce37c53a5 100644 --- a/packages/jsts/src/rules/S7060/index.ts +++ b/packages/jsts/src/rules/S7060/index.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { rules as importRules } from 'eslint-plugin-import'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S7060/meta.ts b/packages/jsts/src/rules/S7060/meta.ts index 482a76c1aa1..8eb4c4c6a58 100644 --- a/packages/jsts/src/rules/S7060/meta.ts +++ b/packages/jsts/src/rules/S7060/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S878/generated-meta.ts b/packages/jsts/src/rules/S878/generated-meta.ts index 96216c8e876..0c707a1211e 100644 --- a/packages/jsts/src/rules/S878/generated-meta.ts +++ b/packages/jsts/src/rules/S878/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S878/index.ts b/packages/jsts/src/rules/S878/index.ts index 2c94a5438ce..85d4296b8e0 100644 --- a/packages/jsts/src/rules/S878/index.ts +++ b/packages/jsts/src/rules/S878/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-sequences'); diff --git a/packages/jsts/src/rules/S878/meta.ts b/packages/jsts/src/rules/S878/meta.ts index 52a33c13dba..ed89e00b08f 100644 --- a/packages/jsts/src/rules/S878/meta.ts +++ b/packages/jsts/src/rules/S878/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S881/generated-meta.ts b/packages/jsts/src/rules/S881/generated-meta.ts index ce225315281..2318620ec18 100644 --- a/packages/jsts/src/rules/S881/generated-meta.ts +++ b/packages/jsts/src/rules/S881/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S881/index.ts b/packages/jsts/src/rules/S881/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S881/index.ts +++ b/packages/jsts/src/rules/S881/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S881/meta.ts b/packages/jsts/src/rules/S881/meta.ts index cc79c25ccd1..91c090f6e6e 100644 --- a/packages/jsts/src/rules/S881/meta.ts +++ b/packages/jsts/src/rules/S881/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S881/rule.ts b/packages/jsts/src/rules/S881/rule.ts index d9e4b4be327..5c3727a6724 100644 --- a/packages/jsts/src/rules/S881/rule.ts +++ b/packages/jsts/src/rules/S881/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S881/javascript diff --git a/packages/jsts/src/rules/S881/unit.test.ts b/packages/jsts/src/rules/S881/unit.test.ts index c40c3620fad..38d82b768b2 100644 --- a/packages/jsts/src/rules/S881/unit.test.ts +++ b/packages/jsts/src/rules/S881/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S888/cb.test.ts b/packages/jsts/src/rules/S888/cb.test.ts index 92488393f8f..73350efb2af 100644 --- a/packages/jsts/src/rules/S888/cb.test.ts +++ b/packages/jsts/src/rules/S888/cb.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './index.js'; import path from 'path'; diff --git a/packages/jsts/src/rules/S888/generated-meta.ts b/packages/jsts/src/rules/S888/generated-meta.ts index 971f4da0298..67447bd0b75 100644 --- a/packages/jsts/src/rules/S888/generated-meta.ts +++ b/packages/jsts/src/rules/S888/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S888/index.ts b/packages/jsts/src/rules/S888/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S888/index.ts +++ b/packages/jsts/src/rules/S888/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S888/meta.ts b/packages/jsts/src/rules/S888/meta.ts index 1e5d3a5096b..ec2b236cae0 100644 --- a/packages/jsts/src/rules/S888/meta.ts +++ b/packages/jsts/src/rules/S888/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S888/rule.ts b/packages/jsts/src/rules/S888/rule.ts index 4472a581801..ee742f61d7e 100644 --- a/packages/jsts/src/rules/S888/rule.ts +++ b/packages/jsts/src/rules/S888/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S888/javascript diff --git a/packages/jsts/src/rules/S905/decorator.ts b/packages/jsts/src/rules/S905/decorator.ts index 5a5f1599b46..7066ae7f091 100644 --- a/packages/jsts/src/rules/S905/decorator.ts +++ b/packages/jsts/src/rules/S905/decorator.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/S905/generated-meta.ts b/packages/jsts/src/rules/S905/generated-meta.ts index 4cb20ef21f7..faf57c1dbd2 100644 --- a/packages/jsts/src/rules/S905/generated-meta.ts +++ b/packages/jsts/src/rules/S905/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S905/index.ts b/packages/jsts/src/rules/S905/index.ts index 179c9921d66..c875275107b 100644 --- a/packages/jsts/src/rules/S905/index.ts +++ b/packages/jsts/src/rules/S905/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; import { decorate } from './decorator.js'; diff --git a/packages/jsts/src/rules/S905/meta.ts b/packages/jsts/src/rules/S905/meta.ts index 22ea9b2a3f4..18cf07fbc35 100644 --- a/packages/jsts/src/rules/S905/meta.ts +++ b/packages/jsts/src/rules/S905/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'decorated'; diff --git a/packages/jsts/src/rules/S905/unit.test.ts b/packages/jsts/src/rules/S905/unit.test.ts index 29313236ff1..f8591460f19 100644 --- a/packages/jsts/src/rules/S905/unit.test.ts +++ b/packages/jsts/src/rules/S905/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; import { rule } from './index.js'; diff --git a/packages/jsts/src/rules/S909/generated-meta.ts b/packages/jsts/src/rules/S909/generated-meta.ts index 16616fb48e3..d25d54328cb 100644 --- a/packages/jsts/src/rules/S909/generated-meta.ts +++ b/packages/jsts/src/rules/S909/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S909/index.ts b/packages/jsts/src/rules/S909/index.ts index 42a62b0714a..4fc9611eeb8 100644 --- a/packages/jsts/src/rules/S909/index.ts +++ b/packages/jsts/src/rules/S909/index.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { getESLintCoreRule } from '../external/core.js'; export const rule = getESLintCoreRule('no-continue'); diff --git a/packages/jsts/src/rules/S909/meta.ts b/packages/jsts/src/rules/S909/meta.ts index 042edf12252..e3e1ae5f681 100644 --- a/packages/jsts/src/rules/S909/meta.ts +++ b/packages/jsts/src/rules/S909/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'external'; diff --git a/packages/jsts/src/rules/S930/generated-meta.ts b/packages/jsts/src/rules/S930/generated-meta.ts index c8a4db3c47a..d8dfd542879 100644 --- a/packages/jsts/src/rules/S930/generated-meta.ts +++ b/packages/jsts/src/rules/S930/generated-meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" diff --git a/packages/jsts/src/rules/S930/index.ts b/packages/jsts/src/rules/S930/index.ts index a75ec89afbf..af51ac13713 100644 --- a/packages/jsts/src/rules/S930/index.ts +++ b/packages/jsts/src/rules/S930/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { rule } from './rule.js'; diff --git a/packages/jsts/src/rules/S930/meta.ts b/packages/jsts/src/rules/S930/meta.ts index 1dda13b3fdd..bb7e5c41588 100644 --- a/packages/jsts/src/rules/S930/meta.ts +++ b/packages/jsts/src/rules/S930/meta.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './generated-meta.js'; export const implementation = 'original'; diff --git a/packages/jsts/src/rules/S930/rule.ts b/packages/jsts/src/rules/S930/rule.ts index 1f7eb13f0d8..34638a5feb9 100644 --- a/packages/jsts/src/rules/S930/rule.ts +++ b/packages/jsts/src/rules/S930/rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // https://sonarsource.github.io/rspec/#/rspec/S930 diff --git a/packages/jsts/src/rules/S930/unit.test.ts b/packages/jsts/src/rules/S930/unit.test.ts index 7b7fff4748e..76d79aa4115 100644 --- a/packages/jsts/src/rules/S930/unit.test.ts +++ b/packages/jsts/src/rules/S930/unit.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './rule.js'; import { JavaScriptRuleTester } from '../../../tests/tools/index.js'; diff --git a/packages/jsts/src/rules/external/a11y.ts b/packages/jsts/src/rules/external/a11y.ts index f980075fd93..bb7cae3dfb4 100644 --- a/packages/jsts/src/rules/external/a11y.ts +++ b/packages/jsts/src/rules/external/a11y.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import jsxA11yPlugin from 'eslint-plugin-jsx-a11y'; export const { rules } = jsxA11yPlugin; diff --git a/packages/jsts/src/rules/external/core.ts b/packages/jsts/src/rules/external/core.ts index 6fd495f7fae..c94d3cf36ba 100644 --- a/packages/jsts/src/rules/external/core.ts +++ b/packages/jsts/src/rules/external/core.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { builtinRules } from 'eslint/use-at-your-own-risk'; diff --git a/packages/jsts/src/rules/external/react.ts b/packages/jsts/src/rules/external/react.ts index 1419c61814b..870bb342ec9 100644 --- a/packages/jsts/src/rules/external/react.ts +++ b/packages/jsts/src/rules/external/react.ts @@ -4,19 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import pkg from 'eslint-plugin-react'; export const { rules } = pkg; diff --git a/packages/jsts/src/rules/external/typescript-eslint/index.ts b/packages/jsts/src/rules/external/typescript-eslint/index.ts index ab58c312ff2..f1a1d5a4e4b 100644 --- a/packages/jsts/src/rules/external/typescript-eslint/index.ts +++ b/packages/jsts/src/rules/external/typescript-eslint/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import pkg from '@typescript-eslint/eslint-plugin'; diff --git a/packages/jsts/src/rules/external/typescript-eslint/sanitize.ts b/packages/jsts/src/rules/external/typescript-eslint/sanitize.ts index dae7c18c6a6..38c542c5f54 100644 --- a/packages/jsts/src/rules/external/typescript-eslint/sanitize.ts +++ b/packages/jsts/src/rules/external/typescript-eslint/sanitize.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { isRequiredParserServices } from '../../helpers/index.js'; diff --git a/packages/jsts/src/rules/helpers/accessibility.ts b/packages/jsts/src/rules/helpers/accessibility.ts index 68bc3004015..db108fb8725 100644 --- a/packages/jsts/src/rules/helpers/accessibility.ts +++ b/packages/jsts/src/rules/helpers/accessibility.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import pkg from 'jsx-ast-utils'; const { getProp, getLiteralPropValue, elementType } = pkg; import type { TSESTree } from '@typescript-eslint/utils'; diff --git a/packages/jsts/src/rules/helpers/ancestor.ts b/packages/jsts/src/rules/helpers/ancestor.ts index ec6b444a4b3..2e3ec5b6d91 100644 --- a/packages/jsts/src/rules/helpers/ancestor.ts +++ b/packages/jsts/src/rules/helpers/ancestor.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { TSESTree } from '@typescript-eslint/utils'; import { Rule, SourceCode } from 'eslint'; diff --git a/packages/jsts/src/rules/helpers/ast.ts b/packages/jsts/src/rules/helpers/ast.ts index ad2713ba80b..7fd0c935c60 100644 --- a/packages/jsts/src/rules/helpers/ast.ts +++ b/packages/jsts/src/rules/helpers/ast.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { TSESTree } from '@typescript-eslint/utils'; import { Rule, Scope } from 'eslint'; diff --git a/packages/jsts/src/rules/helpers/aws/cdk.ts b/packages/jsts/src/rules/helpers/aws/cdk.ts index 2d2855b5d7b..9986d884c67 100644 --- a/packages/jsts/src/rules/helpers/aws/cdk.ts +++ b/packages/jsts/src/rules/helpers/aws/cdk.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/aws/iam.ts b/packages/jsts/src/rules/helpers/aws/iam.ts index 9d29f792897..6ed0aca3e72 100644 --- a/packages/jsts/src/rules/helpers/aws/iam.ts +++ b/packages/jsts/src/rules/helpers/aws/iam.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { CallExpression, NewExpression, Node } from 'estree'; import type { Rule } from 'eslint'; diff --git a/packages/jsts/src/rules/helpers/aws/index.ts b/packages/jsts/src/rules/helpers/aws/index.ts index 3ec6dc266c5..07134c62fd7 100644 --- a/packages/jsts/src/rules/helpers/aws/index.ts +++ b/packages/jsts/src/rules/helpers/aws/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './cdk.js'; export * from './iam.js'; diff --git a/packages/jsts/src/rules/helpers/aws/s3.ts b/packages/jsts/src/rules/helpers/aws/s3.ts index 0eeb565769a..d04663bdbbf 100644 --- a/packages/jsts/src/rules/helpers/aws/s3.ts +++ b/packages/jsts/src/rules/helpers/aws/s3.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/chai.ts b/packages/jsts/src/rules/helpers/chai.ts index 3eb38ccaabb..c5b7d59851f 100644 --- a/packages/jsts/src/rules/helpers/chai.ts +++ b/packages/jsts/src/rules/helpers/chai.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/collection.ts b/packages/jsts/src/rules/helpers/collection.ts index 362ad444605..0c6814b82e9 100644 --- a/packages/jsts/src/rules/helpers/collection.ts +++ b/packages/jsts/src/rules/helpers/collection.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export const collectionConstructor = ['Array', 'Map', 'Set', 'WeakSet', 'WeakMap']; diff --git a/packages/jsts/src/rules/helpers/conditions.ts b/packages/jsts/src/rules/helpers/conditions.ts index 3c1745f6509..48cf0246ae8 100644 --- a/packages/jsts/src/rules/helpers/conditions.ts +++ b/packages/jsts/src/rules/helpers/conditions.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/cookie-flag-check.ts b/packages/jsts/src/rules/helpers/cookie-flag-check.ts index 65f9f456958..5dbbd6a6846 100644 --- a/packages/jsts/src/rules/helpers/cookie-flag-check.ts +++ b/packages/jsts/src/rules/helpers/cookie-flag-check.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/decorators/index.ts b/packages/jsts/src/rules/helpers/decorators/index.ts index 85420c66772..1b63bdee58d 100644 --- a/packages/jsts/src/rules/helpers/decorators/index.ts +++ b/packages/jsts/src/rules/helpers/decorators/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './interceptor.js'; export * from './merger.js'; diff --git a/packages/jsts/src/rules/helpers/decorators/interceptor.ts b/packages/jsts/src/rules/helpers/decorators/interceptor.ts index d23e4523b6b..7bb697274ed 100644 --- a/packages/jsts/src/rules/helpers/decorators/interceptor.ts +++ b/packages/jsts/src/rules/helpers/decorators/interceptor.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/decorators/merger.ts b/packages/jsts/src/rules/helpers/decorators/merger.ts index 03b8fe211fa..6bc82f76710 100644 --- a/packages/jsts/src/rules/helpers/decorators/merger.ts +++ b/packages/jsts/src/rules/helpers/decorators/merger.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; diff --git a/packages/jsts/src/rules/helpers/equivalence.ts b/packages/jsts/src/rules/helpers/equivalence.ts index 8e32f50cedc..4b31722d7e4 100644 --- a/packages/jsts/src/rules/helpers/equivalence.ts +++ b/packages/jsts/src/rules/helpers/equivalence.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { type Node } from './ast.js'; import { AST, SourceCode } from 'eslint'; diff --git a/packages/jsts/src/rules/helpers/express.ts b/packages/jsts/src/rules/helpers/express.ts index d456049d2ea..50803492eee 100644 --- a/packages/jsts/src/rules/helpers/express.ts +++ b/packages/jsts/src/rules/helpers/express.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/files.ts b/packages/jsts/src/rules/helpers/files.ts index eb832c80a36..12b18acfb51 100644 --- a/packages/jsts/src/rules/helpers/files.ts +++ b/packages/jsts/src/rules/helpers/files.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import fs from 'fs'; import path from 'path'; diff --git a/packages/jsts/src/rules/helpers/find-files.ts b/packages/jsts/src/rules/helpers/find-files.ts index c5ec3d8201e..d1e0b98a5b7 100644 --- a/packages/jsts/src/rules/helpers/find-files.ts +++ b/packages/jsts/src/rules/helpers/find-files.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import fs from 'fs'; import path from 'path'; diff --git a/packages/jsts/src/rules/helpers/find-up.ts b/packages/jsts/src/rules/helpers/find-up.ts index 31266d121f8..857d99efc28 100644 --- a/packages/jsts/src/rules/helpers/find-up.ts +++ b/packages/jsts/src/rules/helpers/find-up.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import * as Path from 'node:path/posix'; import type { vol } from 'memfs'; diff --git a/packages/jsts/src/rules/helpers/generate-meta.ts b/packages/jsts/src/rules/helpers/generate-meta.ts index da616e62add..6410d77e832 100644 --- a/packages/jsts/src/rules/helpers/generate-meta.ts +++ b/packages/jsts/src/rules/helpers/generate-meta.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import type { Rule } from 'eslint'; import { SONAR_RUNTIME } from './index.js'; diff --git a/packages/jsts/src/rules/helpers/globals.ts b/packages/jsts/src/rules/helpers/globals.ts index 30779c32790..a81d0477825 100644 --- a/packages/jsts/src/rules/helpers/globals.ts +++ b/packages/jsts/src/rules/helpers/globals.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // copied from javascript-frontend/src/main/resources/org/sonar/javascript/tree/symbols/globals.json , // which should be deleted once the frontend migration is over diff --git a/packages/jsts/src/rules/helpers/index.ts b/packages/jsts/src/rules/helpers/index.ts index f4141863071..c10a94c4dc0 100644 --- a/packages/jsts/src/rules/helpers/index.ts +++ b/packages/jsts/src/rules/helpers/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './accessibility.js'; export * from './ancestor.js'; diff --git a/packages/jsts/src/rules/helpers/isHtmlElement.ts b/packages/jsts/src/rules/helpers/isHtmlElement.ts index 71ff7f9216c..2592b4b5491 100644 --- a/packages/jsts/src/rules/helpers/isHtmlElement.ts +++ b/packages/jsts/src/rules/helpers/isHtmlElement.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import type { TSESTree } from '@typescript-eslint/utils'; const HTML_TAG_NAMES = new Set([ diff --git a/packages/jsts/src/rules/helpers/jsx.ts b/packages/jsts/src/rules/helpers/jsx.ts index 16322303cea..a29bb64a109 100644 --- a/packages/jsts/src/rules/helpers/jsx.ts +++ b/packages/jsts/src/rules/helpers/jsx.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { TSESTree } from '@typescript-eslint/utils'; diff --git a/packages/jsts/src/rules/helpers/location.ts b/packages/jsts/src/rules/helpers/location.ts index 8e686cf04a8..2917afc1eb3 100644 --- a/packages/jsts/src/rules/helpers/location.ts +++ b/packages/jsts/src/rules/helpers/location.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; import type { AST, Rule } from 'eslint'; diff --git a/packages/jsts/src/rules/helpers/lva.ts b/packages/jsts/src/rules/helpers/lva.ts index 6114eadba15..1369c35ce1e 100644 --- a/packages/jsts/src/rules/helpers/lva.ts +++ b/packages/jsts/src/rules/helpers/lva.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule, Scope } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/mocha.ts b/packages/jsts/src/rules/helpers/mocha.ts index aa80b8da7fd..616e1e15314 100644 --- a/packages/jsts/src/rules/helpers/mocha.ts +++ b/packages/jsts/src/rules/helpers/mocha.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; import { FUNCTION_NODES, isIdentifier } from './index.js'; diff --git a/packages/jsts/src/rules/helpers/module.ts b/packages/jsts/src/rules/helpers/module.ts index 3dfa71d0b32..77c5f8d0a9c 100644 --- a/packages/jsts/src/rules/helpers/module.ts +++ b/packages/jsts/src/rules/helpers/module.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule, Scope } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/package-json.ts b/packages/jsts/src/rules/helpers/package-json.ts index 8116b72feeb..5b731d3c2d7 100644 --- a/packages/jsts/src/rules/helpers/package-json.ts +++ b/packages/jsts/src/rules/helpers/package-json.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import Path from 'path/posix'; import { type PackageJson } from 'type-fest'; diff --git a/packages/jsts/src/rules/helpers/parser-services.ts b/packages/jsts/src/rules/helpers/parser-services.ts index 834d5151a0e..2ac785c72d0 100644 --- a/packages/jsts/src/rules/helpers/parser-services.ts +++ b/packages/jsts/src/rules/helpers/parser-services.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { ParserServices, ParserServicesWithTypeInformation } from '@typescript-eslint/utils'; diff --git a/packages/jsts/src/rules/helpers/quickfix.ts b/packages/jsts/src/rules/helpers/quickfix.ts index 6abdb800f90..2e4485f0600 100644 --- a/packages/jsts/src/rules/helpers/quickfix.ts +++ b/packages/jsts/src/rules/helpers/quickfix.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; import type { Rule } from 'eslint'; diff --git a/packages/jsts/src/rules/helpers/reaching-definitions.ts b/packages/jsts/src/rules/helpers/reaching-definitions.ts index 7026f132208..28a26142e6e 100644 --- a/packages/jsts/src/rules/helpers/reaching-definitions.ts +++ b/packages/jsts/src/rules/helpers/reaching-definitions.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule, Scope } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/recognizers/CodeRecognizer.ts b/packages/jsts/src/rules/helpers/recognizers/CodeRecognizer.ts index 4b5abcff0e8..b2d024a8d40 100644 --- a/packages/jsts/src/rules/helpers/recognizers/CodeRecognizer.ts +++ b/packages/jsts/src/rules/helpers/recognizers/CodeRecognizer.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import LanguageFootprint from './LanguageFootprint.js'; diff --git a/packages/jsts/src/rules/helpers/recognizers/Detector.ts b/packages/jsts/src/rules/helpers/recognizers/Detector.ts index d483e6acd89..0a6de201561 100644 --- a/packages/jsts/src/rules/helpers/recognizers/Detector.ts +++ b/packages/jsts/src/rules/helpers/recognizers/Detector.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export default abstract class Detector { probability: number; diff --git a/packages/jsts/src/rules/helpers/recognizers/JavaScriptFootPrint.ts b/packages/jsts/src/rules/helpers/recognizers/JavaScriptFootPrint.ts index 2a0f832ea02..8517884d9d3 100644 --- a/packages/jsts/src/rules/helpers/recognizers/JavaScriptFootPrint.ts +++ b/packages/jsts/src/rules/helpers/recognizers/JavaScriptFootPrint.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import Detector from './Detector.js'; import CamelCaseDetector from './detectors/CamelCaseDetector.js'; diff --git a/packages/jsts/src/rules/helpers/recognizers/LanguageFootprint.ts b/packages/jsts/src/rules/helpers/recognizers/LanguageFootprint.ts index d72c1791de4..2dc49241454 100644 --- a/packages/jsts/src/rules/helpers/recognizers/LanguageFootprint.ts +++ b/packages/jsts/src/rules/helpers/recognizers/LanguageFootprint.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import Detector from './Detector.js'; diff --git a/packages/jsts/src/rules/helpers/recognizers/detectors/CamelCaseDetector.ts b/packages/jsts/src/rules/helpers/recognizers/detectors/CamelCaseDetector.ts index 58113003074..f292617b3c6 100644 --- a/packages/jsts/src/rules/helpers/recognizers/detectors/CamelCaseDetector.ts +++ b/packages/jsts/src/rules/helpers/recognizers/detectors/CamelCaseDetector.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import Detector from '../Detector.js'; diff --git a/packages/jsts/src/rules/helpers/recognizers/detectors/ContainsDetector.ts b/packages/jsts/src/rules/helpers/recognizers/detectors/ContainsDetector.ts index 99946abbdc7..736833adf6e 100644 --- a/packages/jsts/src/rules/helpers/recognizers/detectors/ContainsDetector.ts +++ b/packages/jsts/src/rules/helpers/recognizers/detectors/ContainsDetector.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import Detector from '../Detector.js'; diff --git a/packages/jsts/src/rules/helpers/recognizers/detectors/EndWithDetector.ts b/packages/jsts/src/rules/helpers/recognizers/detectors/EndWithDetector.ts index 2379c966d90..9a7f0fc58f2 100644 --- a/packages/jsts/src/rules/helpers/recognizers/detectors/EndWithDetector.ts +++ b/packages/jsts/src/rules/helpers/recognizers/detectors/EndWithDetector.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import Detector from '../Detector.js'; diff --git a/packages/jsts/src/rules/helpers/recognizers/detectors/KeywordsDetector.ts b/packages/jsts/src/rules/helpers/recognizers/detectors/KeywordsDetector.ts index 80292ad908d..e495ebba3de 100644 --- a/packages/jsts/src/rules/helpers/recognizers/detectors/KeywordsDetector.ts +++ b/packages/jsts/src/rules/helpers/recognizers/detectors/KeywordsDetector.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import Detector from '../Detector.js'; diff --git a/packages/jsts/src/rules/helpers/recognizers/index.ts b/packages/jsts/src/rules/helpers/recognizers/index.ts index 510deb3f578..3a9010845d9 100644 --- a/packages/jsts/src/rules/helpers/recognizers/index.ts +++ b/packages/jsts/src/rules/helpers/recognizers/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ // Inspired from sonar-java and sonar-analyzer-commons // - https://github.com/SonarSource/sonar-java/blob/e3b4ce381eb994235ab811d253953e400d12aab2/java-checks/src/main/java/org/sonar/java/checks/JavaFootprint.java#L31 diff --git a/packages/jsts/src/rules/helpers/regex/alternation.ts b/packages/jsts/src/rules/helpers/regex/alternation.ts index 1d69a971fad..06ba25d27ab 100644 --- a/packages/jsts/src/rules/helpers/regex/alternation.ts +++ b/packages/jsts/src/rules/helpers/regex/alternation.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { CapturingGroup, Group, LookaroundAssertion, Pattern } from '@eslint-community/regexpp/ast'; diff --git a/packages/jsts/src/rules/helpers/regex/ast.ts b/packages/jsts/src/rules/helpers/regex/ast.ts index 09a03b035f8..fcb2aa64a72 100644 --- a/packages/jsts/src/rules/helpers/regex/ast.ts +++ b/packages/jsts/src/rules/helpers/regex/ast.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; import { isIdentifier, isString, RequiredParserServices } from '../index.js'; diff --git a/packages/jsts/src/rules/helpers/regex/extract.ts b/packages/jsts/src/rules/helpers/regex/extract.ts index 4d2483a0b6d..ff58d836415 100644 --- a/packages/jsts/src/rules/helpers/regex/extract.ts +++ b/packages/jsts/src/rules/helpers/regex/extract.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; import * as regexpp from '@eslint-community/regexpp'; diff --git a/packages/jsts/src/rules/helpers/regex/flags.ts b/packages/jsts/src/rules/helpers/regex/flags.ts index c2780b63031..6ac4125a9f3 100644 --- a/packages/jsts/src/rules/helpers/regex/flags.ts +++ b/packages/jsts/src/rules/helpers/regex/flags.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; import type { Rule } from 'eslint'; diff --git a/packages/jsts/src/rules/helpers/regex/group.ts b/packages/jsts/src/rules/helpers/regex/group.ts index bd91dd50c20..0eaf404b922 100644 --- a/packages/jsts/src/rules/helpers/regex/group.ts +++ b/packages/jsts/src/rules/helpers/regex/group.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; import { isStringLiteral } from '../index.js'; diff --git a/packages/jsts/src/rules/helpers/regex/location.ts b/packages/jsts/src/rules/helpers/regex/location.ts index c5273ede6ca..e14b0df275e 100644 --- a/packages/jsts/src/rules/helpers/regex/location.ts +++ b/packages/jsts/src/rules/helpers/regex/location.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { AST, Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/regex/range.ts b/packages/jsts/src/rules/helpers/regex/range.ts index 49129e7a3d2..84bec3210e8 100644 --- a/packages/jsts/src/rules/helpers/regex/range.ts +++ b/packages/jsts/src/rules/helpers/regex/range.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { AST } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/regex/rule-template.ts b/packages/jsts/src/rules/helpers/regex/rule-template.ts index 3c7f0a7dd90..204b9a6de4a 100644 --- a/packages/jsts/src/rules/helpers/regex/rule-template.ts +++ b/packages/jsts/src/rules/helpers/regex/rule-template.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/regex/simplified-regex-character-class.ts b/packages/jsts/src/rules/helpers/regex/simplified-regex-character-class.ts index de11e357be0..3ad10067973 100644 --- a/packages/jsts/src/rules/helpers/regex/simplified-regex-character-class.ts +++ b/packages/jsts/src/rules/helpers/regex/simplified-regex-character-class.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Character, diff --git a/packages/jsts/src/rules/helpers/regex/tokenizer.ts b/packages/jsts/src/rules/helpers/regex/tokenizer.ts index 14db5d8eb1d..e8955118979 100644 --- a/packages/jsts/src/rules/helpers/regex/tokenizer.ts +++ b/packages/jsts/src/rules/helpers/regex/tokenizer.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export interface StringLiteralToken { value: string; diff --git a/packages/jsts/src/rules/helpers/result.ts b/packages/jsts/src/rules/helpers/result.ts index f02b1bd153d..2fb4ee99edd 100644 --- a/packages/jsts/src/rules/helpers/result.ts +++ b/packages/jsts/src/rules/helpers/result.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Node } from 'estree'; import { diff --git a/packages/jsts/src/rules/helpers/rule-detect-react.ts b/packages/jsts/src/rules/helpers/rule-detect-react.ts index 4933d4004a3..e4d08da10fe 100644 --- a/packages/jsts/src/rules/helpers/rule-detect-react.ts +++ b/packages/jsts/src/rules/helpers/rule-detect-react.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { Node } from 'estree'; diff --git a/packages/jsts/src/rules/helpers/sinon.ts b/packages/jsts/src/rules/helpers/sinon.ts index 1013284c646..488740ba65d 100644 --- a/packages/jsts/src/rules/helpers/sinon.ts +++ b/packages/jsts/src/rules/helpers/sinon.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/supertest.ts b/packages/jsts/src/rules/helpers/supertest.ts index e63e6bfceec..ae23395a3f3 100644 --- a/packages/jsts/src/rules/helpers/supertest.ts +++ b/packages/jsts/src/rules/helpers/supertest.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { getFullyQualifiedName, getImportDeclarations, getRequireCalls } from './index.js'; diff --git a/packages/jsts/src/rules/helpers/table.ts b/packages/jsts/src/rules/helpers/table.ts index 51174d4b35a..8ba2c2f4cb4 100644 --- a/packages/jsts/src/rules/helpers/table.ts +++ b/packages/jsts/src/rules/helpers/table.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import type { TSESTree } from '@typescript-eslint/utils'; import pkg from 'jsx-ast-utils'; const { getLiteralPropValue, getProp } = pkg; diff --git a/packages/jsts/src/rules/helpers/type.ts b/packages/jsts/src/rules/helpers/type.ts index cd34f3bb4df..83efe693295 100644 --- a/packages/jsts/src/rules/helpers/type.ts +++ b/packages/jsts/src/rules/helpers/type.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; import ts from 'typescript'; diff --git a/packages/jsts/src/rules/helpers/validate-version.ts b/packages/jsts/src/rules/helpers/validate-version.ts index a57612249d9..1875c6b9e0d 100644 --- a/packages/jsts/src/rules/helpers/validate-version.ts +++ b/packages/jsts/src/rules/helpers/validate-version.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import * as semver from 'semver'; import { getManifests } from './package-json.js'; diff --git a/packages/jsts/src/rules/helpers/vitest.ts b/packages/jsts/src/rules/helpers/vitest.ts index 703b70f6541..64f961ef43f 100644 --- a/packages/jsts/src/rules/helpers/vitest.ts +++ b/packages/jsts/src/rules/helpers/vitest.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/helpers/vue.ts b/packages/jsts/src/rules/helpers/vue.ts index ba26d4dd281..9a2b217550e 100644 --- a/packages/jsts/src/rules/helpers/vue.ts +++ b/packages/jsts/src/rules/helpers/vue.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import estree from 'estree'; diff --git a/packages/jsts/src/rules/index.ts b/packages/jsts/src/rules/index.ts index de778e674df..41dda77639b 100644 --- a/packages/jsts/src/rules/index.ts +++ b/packages/jsts/src/rules/index.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - export * as rules from './rules.js'; export * from './helpers/index.js'; diff --git a/packages/jsts/src/rules/plugin.ts b/packages/jsts/src/rules/plugin.ts index c95090a4c0e..f6cae2b9cdc 100644 --- a/packages/jsts/src/rules/plugin.ts +++ b/packages/jsts/src/rules/plugin.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - /** * This is the entry point of the ESLint Plugin. * Said differently, this is the public API of the ESLint Plugin. diff --git a/packages/jsts/tests/analysis/analyzer.test.ts b/packages/jsts/tests/analysis/analyzer.test.ts index 7ac8a2015d7..b61b5cb71b3 100644 --- a/packages/jsts/tests/analysis/analyzer.test.ts +++ b/packages/jsts/tests/analysis/analyzer.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path/posix'; import { jsTsInput, parseJavaScriptSourceFile } from '../tools/index.js'; diff --git a/packages/jsts/tests/analysis/projectAnalyzer.test.ts b/packages/jsts/tests/analysis/projectAnalyzer.test.ts index 3b2cfa54fbf..bafcd07b7b4 100644 --- a/packages/jsts/tests/analysis/projectAnalyzer.test.ts +++ b/packages/jsts/tests/analysis/projectAnalyzer.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { searchFiles, File, toUnixPath } from '../../src/rules/helpers/index.js'; diff --git a/packages/jsts/tests/builders/build.test.ts b/packages/jsts/tests/builders/build.test.ts index 02862728b86..1b381bb3e04 100644 --- a/packages/jsts/tests/builders/build.test.ts +++ b/packages/jsts/tests/builders/build.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { AST } from 'vue-eslint-parser'; diff --git a/packages/jsts/tests/linter/bundle-loader.test.ts b/packages/jsts/tests/linter/bundle-loader.test.ts index 3dfea28f461..d6bfc8b6392 100755 --- a/packages/jsts/tests/linter/bundle-loader.test.ts +++ b/packages/jsts/tests/linter/bundle-loader.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Linter } from 'eslint'; import { loadBundles, loadCustomRules } from '../../src/linter/bundle-loader.js'; diff --git a/packages/jsts/tests/linter/config/linter-config.test.ts b/packages/jsts/tests/linter/config/linter-config.test.ts index 0317101387b..a10d15fcedc 100644 --- a/packages/jsts/tests/linter/config/linter-config.test.ts +++ b/packages/jsts/tests/linter/config/linter-config.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { describe, beforeEach, it } from 'node:test'; diff --git a/packages/jsts/tests/linter/config/rule-config.test.ts b/packages/jsts/tests/linter/config/rule-config.test.ts index 9b0f80419dc..945dd9e930e 100644 --- a/packages/jsts/tests/linter/config/rule-config.test.ts +++ b/packages/jsts/tests/linter/config/rule-config.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { describe, it } from 'node:test'; diff --git a/packages/jsts/tests/linter/index.test.ts b/packages/jsts/tests/linter/index.test.ts index 6e9fe8b3f3f..71cd0dc1de6 100644 --- a/packages/jsts/tests/linter/index.test.ts +++ b/packages/jsts/tests/linter/index.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { parseJavaScriptSourceFile } from '../tools/index.js'; diff --git a/packages/jsts/tests/linter/issues/decode.test.ts b/packages/jsts/tests/linter/issues/decode.test.ts index 0363573330b..3471453af40 100644 --- a/packages/jsts/tests/linter/issues/decode.test.ts +++ b/packages/jsts/tests/linter/issues/decode.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { decodeSonarRuntime } from '../../../src/linter/issues/decode.js'; import { describe, it } from 'node:test'; diff --git a/packages/jsts/tests/linter/issues/extract.test.ts b/packages/jsts/tests/linter/issues/extract.test.ts index 1f08fcdfa60..63a62abd302 100644 --- a/packages/jsts/tests/linter/issues/extract.test.ts +++ b/packages/jsts/tests/linter/issues/extract.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule as cognitiveComplexityRule } from '../../../src/linter/custom-rules/cognitive-complexity.js'; import { rule as symbolHighlightingRule } from '../../../src/linter/custom-rules/symbol-highlighting.js'; diff --git a/packages/jsts/tests/linter/issues/message.test.ts b/packages/jsts/tests/linter/issues/message.test.ts index a2463bae2da..674290be7cb 100644 --- a/packages/jsts/tests/linter/issues/message.test.ts +++ b/packages/jsts/tests/linter/issues/message.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Linter, SourceCode } from 'eslint'; import { convertMessage } from '../../../src/linter/issues/message.js'; diff --git a/packages/jsts/tests/linter/issues/transform.test.ts b/packages/jsts/tests/linter/issues/transform.test.ts index be633186ddf..cb00e21dc6a 100644 --- a/packages/jsts/tests/linter/issues/transform.test.ts +++ b/packages/jsts/tests/linter/issues/transform.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Linter } from 'eslint'; import path from 'path'; diff --git a/packages/jsts/tests/linter/parameters/helpers/schema.test.ts b/packages/jsts/tests/linter/parameters/helpers/schema.test.ts index c6dcc086e23..9c1fb6029aa 100644 --- a/packages/jsts/tests/linter/parameters/helpers/schema.test.ts +++ b/packages/jsts/tests/linter/parameters/helpers/schema.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { getRuleSchema } from '../../../../src/linter/parameters/helpers/index.js'; diff --git a/packages/jsts/tests/linter/parameters/sonar-context.test.ts b/packages/jsts/tests/linter/parameters/sonar-context.test.ts index 34318c8bc00..f91b28504f1 100644 --- a/packages/jsts/tests/linter/parameters/sonar-context.test.ts +++ b/packages/jsts/tests/linter/parameters/sonar-context.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { hasSonarContextOption, diff --git a/packages/jsts/tests/linter/parameters/sonar-runtime.test.ts b/packages/jsts/tests/linter/parameters/sonar-runtime.test.ts index e5397b02c92..b8bc8b6aa0a 100644 --- a/packages/jsts/tests/linter/parameters/sonar-runtime.test.ts +++ b/packages/jsts/tests/linter/parameters/sonar-runtime.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { describe, it } from 'node:test'; import { expect } from 'expect'; diff --git a/packages/jsts/tests/linter/quickfixes/messages.test.ts b/packages/jsts/tests/linter/quickfixes/messages.test.ts index bc3903cae4a..a6712cb8ca7 100644 --- a/packages/jsts/tests/linter/quickfixes/messages.test.ts +++ b/packages/jsts/tests/linter/quickfixes/messages.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getQuickFixMessage } from '../../../src/linter/quickfixes/messages.js'; import { describe, it } from 'node:test'; diff --git a/packages/jsts/tests/linter/quickfixes/transform.test.ts b/packages/jsts/tests/linter/quickfixes/transform.test.ts index 670e3d21f2d..ae134d0c728 100644 --- a/packages/jsts/tests/linter/quickfixes/transform.test.ts +++ b/packages/jsts/tests/linter/quickfixes/transform.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Linter } from 'eslint'; import path from 'path'; diff --git a/packages/jsts/tests/linter/visitors/cpd.test.ts b/packages/jsts/tests/linter/visitors/cpd.test.ts index 3d84e79c181..1a50de7c687 100644 --- a/packages/jsts/tests/linter/visitors/cpd.test.ts +++ b/packages/jsts/tests/linter/visitors/cpd.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { CpdToken, getCpdTokens } from '../../../src/linter/visitors/cpd.js'; import path from 'path'; diff --git a/packages/jsts/tests/linter/visitors/metrics/classes.test.ts b/packages/jsts/tests/linter/visitors/metrics/classes.test.ts index 473520e65b3..a13d7811c47 100644 --- a/packages/jsts/tests/linter/visitors/metrics/classes.test.ts +++ b/packages/jsts/tests/linter/visitors/metrics/classes.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { countClasses } from '../../../../src/linter/visitors/metrics/classes.js'; import path from 'path'; diff --git a/packages/jsts/tests/linter/visitors/metrics/comments.test.ts b/packages/jsts/tests/linter/visitors/metrics/comments.test.ts index 4d15574afa6..b923e89d7ae 100644 --- a/packages/jsts/tests/linter/visitors/metrics/comments.test.ts +++ b/packages/jsts/tests/linter/visitors/metrics/comments.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { findCommentLines } from '../../../../src/linter/visitors/metrics/comments.js'; import path from 'path'; diff --git a/packages/jsts/tests/linter/visitors/metrics/compute.test.ts b/packages/jsts/tests/linter/visitors/metrics/compute.test.ts index f87e5cb5651..39c2705412c 100644 --- a/packages/jsts/tests/linter/visitors/metrics/compute.test.ts +++ b/packages/jsts/tests/linter/visitors/metrics/compute.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { computeMetrics } from '../../../../src/linter/visitors/metrics/index.js'; diff --git a/packages/jsts/tests/linter/visitors/metrics/cyclomatic-complexity.test.ts b/packages/jsts/tests/linter/visitors/metrics/cyclomatic-complexity.test.ts index 41e637e4485..f6a637ca2e4 100644 --- a/packages/jsts/tests/linter/visitors/metrics/cyclomatic-complexity.test.ts +++ b/packages/jsts/tests/linter/visitors/metrics/cyclomatic-complexity.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { computeCyclomaticComplexity } from '../../../../src/linter/visitors/metrics/cyclomatic-complexity.js'; import path from 'path'; diff --git a/packages/jsts/tests/linter/visitors/metrics/executable-lines.test.ts b/packages/jsts/tests/linter/visitors/metrics/executable-lines.test.ts index 6eec3db3b0b..e1fbdd1ba1e 100644 --- a/packages/jsts/tests/linter/visitors/metrics/executable-lines.test.ts +++ b/packages/jsts/tests/linter/visitors/metrics/executable-lines.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { findExecutableLines } from '../../../../src/linter/visitors/metrics/executable-lines.js'; import path from 'path'; diff --git a/packages/jsts/tests/linter/visitors/metrics/functions.test.ts b/packages/jsts/tests/linter/visitors/metrics/functions.test.ts index 215cbdeb221..b763e1f8860 100644 --- a/packages/jsts/tests/linter/visitors/metrics/functions.test.ts +++ b/packages/jsts/tests/linter/visitors/metrics/functions.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { countFunctions } from '../../../../src/linter/visitors/metrics/functions.js'; import path from 'path'; diff --git a/packages/jsts/tests/linter/visitors/metrics/helpers/counter.test.ts b/packages/jsts/tests/linter/visitors/metrics/helpers/counter.test.ts index e7fe11958a6..0c711e2506e 100644 --- a/packages/jsts/tests/linter/visitors/metrics/helpers/counter.test.ts +++ b/packages/jsts/tests/linter/visitors/metrics/helpers/counter.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { visitAndCountIf } from '../../../../../src/linter/visitors/metrics/helpers/index.js'; import path from 'path'; diff --git a/packages/jsts/tests/linter/visitors/metrics/helpers/lines.test.ts b/packages/jsts/tests/linter/visitors/metrics/helpers/lines.test.ts index ab0d6f40bae..13385f19d22 100644 --- a/packages/jsts/tests/linter/visitors/metrics/helpers/lines.test.ts +++ b/packages/jsts/tests/linter/visitors/metrics/helpers/lines.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { addLines } from '../../../../../src/linter/visitors/metrics/helpers/index.js'; import { describe, it } from 'node:test'; diff --git a/packages/jsts/tests/linter/visitors/metrics/helpers/location.test.ts b/packages/jsts/tests/linter/visitors/metrics/helpers/location.test.ts index 07126069790..ada78e7285b 100644 --- a/packages/jsts/tests/linter/visitors/metrics/helpers/location.test.ts +++ b/packages/jsts/tests/linter/visitors/metrics/helpers/location.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; import { convertLocation } from '../../../../../src/linter/visitors/metrics/helpers/index.js'; diff --git a/packages/jsts/tests/linter/visitors/metrics/helpers/tokens.test.ts b/packages/jsts/tests/linter/visitors/metrics/helpers/tokens.test.ts index b28252a1af7..92c8369853b 100644 --- a/packages/jsts/tests/linter/visitors/metrics/helpers/tokens.test.ts +++ b/packages/jsts/tests/linter/visitors/metrics/helpers/tokens.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { extractTokensAndComments } from '../../../../../src/linter/visitors/metrics/helpers/index.js'; import { AST } from 'vue-eslint-parser'; diff --git a/packages/jsts/tests/linter/visitors/metrics/ncloc.test.ts b/packages/jsts/tests/linter/visitors/metrics/ncloc.test.ts index 75682fb28ac..05379403fe1 100644 --- a/packages/jsts/tests/linter/visitors/metrics/ncloc.test.ts +++ b/packages/jsts/tests/linter/visitors/metrics/ncloc.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { findNcloc } from '../../../../src/linter/visitors/metrics/ncloc.js'; import path from 'path'; diff --git a/packages/jsts/tests/linter/visitors/metrics/nosonar.test.ts b/packages/jsts/tests/linter/visitors/metrics/nosonar.test.ts index 400b53bf65c..f5346ef9501 100644 --- a/packages/jsts/tests/linter/visitors/metrics/nosonar.test.ts +++ b/packages/jsts/tests/linter/visitors/metrics/nosonar.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { parseJavaScriptSourceFile } from '../../../tools/index.js'; diff --git a/packages/jsts/tests/linter/visitors/metrics/statements.test.ts b/packages/jsts/tests/linter/visitors/metrics/statements.test.ts index e81ba74df2e..fd247d2d52a 100644 --- a/packages/jsts/tests/linter/visitors/metrics/statements.test.ts +++ b/packages/jsts/tests/linter/visitors/metrics/statements.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { countStatements } from '../../../../src/linter/visitors/metrics/statements.js'; import path from 'path'; diff --git a/packages/jsts/tests/linter/visitors/symbol-highlighting.test.ts b/packages/jsts/tests/linter/visitors/symbol-highlighting.test.ts index 19b680153ee..746f841a2bf 100644 --- a/packages/jsts/tests/linter/visitors/symbol-highlighting.test.ts +++ b/packages/jsts/tests/linter/visitors/symbol-highlighting.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Linter } from 'eslint'; import { Location } from '../../../src/linter/visitors/metrics/helpers/index.js'; diff --git a/packages/jsts/tests/linter/visitors/syntax-highlighting.test.ts b/packages/jsts/tests/linter/visitors/syntax-highlighting.test.ts index 0a40b46602a..07c7ad233ab 100644 --- a/packages/jsts/tests/linter/visitors/syntax-highlighting.test.ts +++ b/packages/jsts/tests/linter/visitors/syntax-highlighting.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { getSyntaxHighlighting, diff --git a/packages/jsts/tests/linter/visitors/visitor.test.ts b/packages/jsts/tests/linter/visitors/visitor.test.ts index 32339bac9d0..e75a2361a3a 100644 --- a/packages/jsts/tests/linter/visitors/visitor.test.ts +++ b/packages/jsts/tests/linter/visitors/visitor.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { visit } from '../../../src/linter/visitors/visitor.js'; import path from 'path'; diff --git a/packages/jsts/tests/linter/wrapper.test.ts b/packages/jsts/tests/linter/wrapper.test.ts index 71f5f6a3c71..494a89ff21a 100644 --- a/packages/jsts/tests/linter/wrapper.test.ts +++ b/packages/jsts/tests/linter/wrapper.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import fs from 'fs'; import path from 'path'; diff --git a/packages/jsts/tests/parsers/ast.test.ts b/packages/jsts/tests/parsers/ast.test.ts index 47348f333dd..35543337e87 100644 --- a/packages/jsts/tests/parsers/ast.test.ts +++ b/packages/jsts/tests/parsers/ast.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; diff --git a/packages/jsts/tests/parsers/eslint.test.ts b/packages/jsts/tests/parsers/eslint.test.ts index 37bdeb12064..ec60781bfc2 100644 --- a/packages/jsts/tests/parsers/eslint.test.ts +++ b/packages/jsts/tests/parsers/eslint.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { describe, test } from 'node:test'; diff --git a/packages/jsts/tests/parsers/options.test.ts b/packages/jsts/tests/parsers/options.test.ts index 9c86be7edec..69f7264647e 100644 --- a/packages/jsts/tests/parsers/options.test.ts +++ b/packages/jsts/tests/parsers/options.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { describe, it } from 'node:test'; diff --git a/packages/jsts/tests/parsers/parse.test.ts b/packages/jsts/tests/parsers/parse.test.ts index 105622a3912..898e9f453af 100644 --- a/packages/jsts/tests/parsers/parse.test.ts +++ b/packages/jsts/tests/parsers/parse.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { parsers } from '../../src/parsers/eslint.js'; import { parseForESLint } from '../../src/parsers/parse.js'; diff --git a/packages/jsts/tests/program/program.test.ts b/packages/jsts/tests/program/program.test.ts index 6bf95891759..80cfa5ab6ca 100644 --- a/packages/jsts/tests/program/program.test.ts +++ b/packages/jsts/tests/program/program.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import ts, { ModuleKind, ScriptTarget } from 'typescript'; diff --git a/packages/jsts/tests/program/tsconfigs.test.ts b/packages/jsts/tests/program/tsconfigs.test.ts index 30b6937fb36..85a079bbb5f 100644 --- a/packages/jsts/tests/program/tsconfigs.test.ts +++ b/packages/jsts/tests/program/tsconfigs.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { describe, before, it } from 'node:test'; diff --git a/packages/jsts/tests/project-metadata/index.test.ts b/packages/jsts/tests/project-metadata/index.test.ts index cc961963140..f85edf48e77 100644 --- a/packages/jsts/tests/project-metadata/index.test.ts +++ b/packages/jsts/tests/project-metadata/index.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { getManifests, isSupported, toUnixPath } from '../../src/rules/helpers/index.js'; diff --git a/packages/jsts/tests/rules/helpers/ast.test.ts b/packages/jsts/tests/rules/helpers/ast.test.ts index ab8baeae7a9..ea1bcc8c972 100644 --- a/packages/jsts/tests/rules/helpers/ast.test.ts +++ b/packages/jsts/tests/rules/helpers/ast.test.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import path from 'path'; import { Linter, Rule } from 'eslint'; diff --git a/packages/jsts/tests/rules/helpers/aws/cdk.test.ts b/packages/jsts/tests/rules/helpers/aws/cdk.test.ts index ebabca31113..bfee20145ea 100644 --- a/packages/jsts/tests/rules/helpers/aws/cdk.test.ts +++ b/packages/jsts/tests/rules/helpers/aws/cdk.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { AwsCdkTemplate } from '../../../../src/rules/index.js'; import { TypeScriptRuleTester } from '../../../tools/index.js'; diff --git a/packages/jsts/tests/rules/helpers/aws/s3.test.ts b/packages/jsts/tests/rules/helpers/aws/s3.test.ts index f267cd10ca9..3e70d62c681 100644 --- a/packages/jsts/tests/rules/helpers/aws/s3.test.ts +++ b/packages/jsts/tests/rules/helpers/aws/s3.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../../../../tests/tools/testers/rule-tester.js'; import { S3BucketTemplate } from '../../../../src/rules/index.js'; diff --git a/packages/jsts/tests/rules/helpers/decorators/interceptor.test.ts b/packages/jsts/tests/rules/helpers/decorators/interceptor.test.ts index 9a2223ad71e..aa7d25403c2 100644 --- a/packages/jsts/tests/rules/helpers/decorators/interceptor.test.ts +++ b/packages/jsts/tests/rules/helpers/decorators/interceptor.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Rule } from 'eslint'; import { NodeRuleTester } from '../../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/tests/rules/helpers/express.test.ts b/packages/jsts/tests/rules/helpers/express.test.ts index 76943137dde..c8d6a8b69e0 100644 --- a/packages/jsts/tests/rules/helpers/express.test.ts +++ b/packages/jsts/tests/rules/helpers/express.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Rule } from 'eslint'; import { NodeRuleTester } from '../../../tests/tools/testers/rule-tester.js'; diff --git a/packages/jsts/tests/rules/helpers/find-up.test.ts b/packages/jsts/tests/rules/helpers/find-up.test.ts index 9b44390ac09..f2fb71141f5 100644 --- a/packages/jsts/tests/rules/helpers/find-up.test.ts +++ b/packages/jsts/tests/rules/helpers/find-up.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Volume } from 'memfs'; import { equal } from 'node:assert'; diff --git a/packages/jsts/tests/rules/helpers/mocha.test.ts b/packages/jsts/tests/rules/helpers/mocha.test.ts index a1b196b4446..bd1f49cdcd0 100644 --- a/packages/jsts/tests/rules/helpers/mocha.test.ts +++ b/packages/jsts/tests/rules/helpers/mocha.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import esprima from 'esprima'; import estree from 'estree'; diff --git a/packages/jsts/tests/rules/helpers/regex/range.test.ts b/packages/jsts/tests/rules/helpers/regex/range.test.ts index 57ca24209ac..333149f23cc 100644 --- a/packages/jsts/tests/rules/helpers/regex/range.test.ts +++ b/packages/jsts/tests/rules/helpers/regex/range.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import esprima from 'esprima'; import estree from 'estree'; diff --git a/packages/jsts/tests/rules/helpers/regex/rule-template.test.ts b/packages/jsts/tests/rules/helpers/regex/rule-template.test.ts index b291be48b3c..9aa602b9fe6 100644 --- a/packages/jsts/tests/rules/helpers/regex/rule-template.test.ts +++ b/packages/jsts/tests/rules/helpers/regex/rule-template.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import type { Rule } from 'eslint'; import { AST } from '@eslint-community/regexpp'; diff --git a/packages/jsts/tests/rules/helpers/regex/tokenizer.test.ts b/packages/jsts/tests/rules/helpers/regex/tokenizer.test.ts index 0d17a5c5bdf..41141d010e5 100644 --- a/packages/jsts/tests/rules/helpers/regex/tokenizer.test.ts +++ b/packages/jsts/tests/rules/helpers/regex/tokenizer.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { describe, it } from 'node:test'; import { expect } from 'expect'; diff --git a/packages/jsts/tests/rules/index.test.ts b/packages/jsts/tests/rules/index.test.ts index aaf61a53de0..e861ff8256b 100644 --- a/packages/jsts/tests/rules/index.test.ts +++ b/packages/jsts/tests/rules/index.test.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import { configs, meta } from '../../src/rules/plugin.js'; import fs from 'fs'; import path from 'path'; diff --git a/packages/jsts/tests/rules/typescript-eslint/sanitize.test.ts b/packages/jsts/tests/rules/typescript-eslint/sanitize.test.ts index 8f8ad6e2f5c..2966a3774a4 100644 --- a/packages/jsts/tests/rules/typescript-eslint/sanitize.test.ts +++ b/packages/jsts/tests/rules/typescript-eslint/sanitize.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import pkg from '@typescript-eslint/eslint-plugin'; import { Linter } from 'eslint'; diff --git a/packages/jsts/tests/tools/helpers/index.ts b/packages/jsts/tests/tools/helpers/index.ts index 38a0bc681e4..34a9f73f86e 100644 --- a/packages/jsts/tests/tools/helpers/index.ts +++ b/packages/jsts/tests/tools/helpers/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './parsing.js'; export * from './input.js'; diff --git a/packages/jsts/tests/tools/helpers/input.ts b/packages/jsts/tests/tools/helpers/input.ts index 2d4c21a9619..96d65deff32 100644 --- a/packages/jsts/tests/tools/helpers/input.ts +++ b/packages/jsts/tests/tools/helpers/input.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { FileType, readFile } from '../../../../shared/src/helpers/files.js'; import { EmbeddedAnalysisInput } from '../../../src/embedded/analysis/analysis.js'; diff --git a/packages/jsts/tests/tools/helpers/parsing.ts b/packages/jsts/tests/tools/helpers/parsing.ts index e6beb8b5d8d..30a7488983d 100644 --- a/packages/jsts/tests/tools/helpers/parsing.ts +++ b/packages/jsts/tests/tools/helpers/parsing.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { FileType, readFile } from '../../../../shared/src/helpers/files.js'; import { buildSourceCode } from '../../../src/builders/build.js'; diff --git a/packages/jsts/tests/tools/index.ts b/packages/jsts/tests/tools/index.ts index a6fd079ac03..e34b06182cb 100644 --- a/packages/jsts/tests/tools/index.ts +++ b/packages/jsts/tests/tools/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './helpers/index.js'; export * from './testers/index.js'; diff --git a/packages/jsts/tests/tools/sonar-runtime/rule/no-missing-sonar-runtime.test.ts b/packages/jsts/tests/tools/sonar-runtime/rule/no-missing-sonar-runtime.test.ts index 0de95969ecd..cbc59e12d7a 100644 --- a/packages/jsts/tests/tools/sonar-runtime/rule/no-missing-sonar-runtime.test.ts +++ b/packages/jsts/tests/tools/sonar-runtime/rule/no-missing-sonar-runtime.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { rule } from './no-missing-sonar-runtime.js'; import { NodeRuleTester } from '../../testers/rule-tester.js'; diff --git a/packages/jsts/tests/tools/sonar-runtime/rule/no-missing-sonar-runtime.ts b/packages/jsts/tests/tools/sonar-runtime/rule/no-missing-sonar-runtime.ts index b8d4b414208..18f185ca8b8 100644 --- a/packages/jsts/tests/tools/sonar-runtime/rule/no-missing-sonar-runtime.ts +++ b/packages/jsts/tests/tools/sonar-runtime/rule/no-missing-sonar-runtime.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; import type { Rule } from 'eslint'; diff --git a/packages/jsts/tests/tools/sonar-runtime/sonar-runtime.test.ts b/packages/jsts/tests/tools/sonar-runtime/sonar-runtime.test.ts index 1fb9e6addaf..a43650efb7e 100644 --- a/packages/jsts/tests/tools/sonar-runtime/sonar-runtime.test.ts +++ b/packages/jsts/tests/tools/sonar-runtime/sonar-runtime.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Linter } from 'eslint'; import { diff --git a/packages/jsts/tests/tools/testers/babel/index.ts b/packages/jsts/tests/tools/testers/babel/index.ts index 9bbd96a28f6..8d9e055ed72 100644 --- a/packages/jsts/tests/tools/testers/babel/index.ts +++ b/packages/jsts/tests/tools/testers/babel/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './tester.js'; diff --git a/packages/jsts/tests/tools/testers/babel/tester.ts b/packages/jsts/tests/tools/testers/babel/tester.ts index cc38dd60c5b..b27304dae68 100644 --- a/packages/jsts/tests/tools/testers/babel/tester.ts +++ b/packages/jsts/tests/tools/testers/babel/tester.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { NodeRuleTester } from '../rule-tester.js'; import { fileURLToPath } from 'node:url'; diff --git a/packages/jsts/tests/tools/testers/comment-based/checker.ts b/packages/jsts/tests/tools/testers/comment-based/checker.ts index 347544ab68e..efcd14d1d51 100644 --- a/packages/jsts/tests/tools/testers/comment-based/checker.ts +++ b/packages/jsts/tests/tools/testers/comment-based/checker.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import fs from 'fs'; import path from 'path'; diff --git a/packages/jsts/tests/tools/testers/comment-based/framework.test.ts b/packages/jsts/tests/tools/testers/comment-based/framework.test.ts index 32018cdc0e1..22e946ff837 100644 --- a/packages/jsts/tests/tools/testers/comment-based/framework.test.ts +++ b/packages/jsts/tests/tools/testers/comment-based/framework.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { extractExpectations } from './framework.js'; diff --git a/packages/jsts/tests/tools/testers/comment-based/framework.ts b/packages/jsts/tests/tools/testers/comment-based/framework.ts index 1e36dd3d299..01106122bde 100644 --- a/packages/jsts/tests/tools/testers/comment-based/framework.ts +++ b/packages/jsts/tests/tools/testers/comment-based/framework.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * Comment-based Testing Framework diff --git a/packages/jsts/tests/tools/testers/comment-based/helpers/comments.ts b/packages/jsts/tests/tools/testers/comment-based/helpers/comments.ts index 8a0f145bb4d..a7ec87c4ef7 100644 --- a/packages/jsts/tests/tools/testers/comment-based/helpers/comments.ts +++ b/packages/jsts/tests/tools/testers/comment-based/helpers/comments.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { buildSourceCode } from '../../../../../src/builders/build.js'; import estree from 'estree'; diff --git a/packages/jsts/tests/tools/testers/comment-based/helpers/file.ts b/packages/jsts/tests/tools/testers/comment-based/helpers/file.ts index 62149ae9b8d..fec806f29ef 100644 --- a/packages/jsts/tests/tools/testers/comment-based/helpers/file.ts +++ b/packages/jsts/tests/tools/testers/comment-based/helpers/file.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { extractComments } from './comments.js'; import { diff --git a/packages/jsts/tests/tools/testers/comment-based/helpers/index.ts b/packages/jsts/tests/tools/testers/comment-based/helpers/index.ts index 8d3feed820b..96d505d7978 100644 --- a/packages/jsts/tests/tools/testers/comment-based/helpers/index.ts +++ b/packages/jsts/tests/tools/testers/comment-based/helpers/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './comments.js'; export * from './file.js'; diff --git a/packages/jsts/tests/tools/testers/comment-based/helpers/issues.ts b/packages/jsts/tests/tools/testers/comment-based/helpers/issues.ts index 4b7f0175a0a..61688bcb820 100644 --- a/packages/jsts/tests/tools/testers/comment-based/helpers/issues.ts +++ b/packages/jsts/tests/tools/testers/comment-based/helpers/issues.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { extractEffectiveLine, LINE_ADJUSTMENT, PrimaryLocation } from './locations.js'; import { QuickFix, QUICKFIX_ID, QUICKFIX_SEPARATOR } from './quickfixes.js'; diff --git a/packages/jsts/tests/tools/testers/comment-based/helpers/locations.ts b/packages/jsts/tests/tools/testers/comment-based/helpers/locations.ts index 7c48c430948..b410d692c3d 100644 --- a/packages/jsts/tests/tools/testers/comment-based/helpers/locations.ts +++ b/packages/jsts/tests/tools/testers/comment-based/helpers/locations.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Range } from './ranges.js'; import { FileIssues } from './file.js'; diff --git a/packages/jsts/tests/tools/testers/comment-based/helpers/quickfixes.ts b/packages/jsts/tests/tools/testers/comment-based/helpers/quickfixes.ts index 2d41ed62dee..351caddf90c 100644 --- a/packages/jsts/tests/tools/testers/comment-based/helpers/quickfixes.ts +++ b/packages/jsts/tests/tools/testers/comment-based/helpers/quickfixes.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { LineIssues } from './issues.js'; import { Comment } from './comments.js'; diff --git a/packages/jsts/tests/tools/testers/comment-based/helpers/ranges.ts b/packages/jsts/tests/tools/testers/comment-based/helpers/ranges.ts index b207f770533..e41dd15280d 100644 --- a/packages/jsts/tests/tools/testers/comment-based/helpers/ranges.ts +++ b/packages/jsts/tests/tools/testers/comment-based/helpers/ranges.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export class Range { constructor( diff --git a/packages/jsts/tests/tools/testers/comment-based/index.ts b/packages/jsts/tests/tools/testers/comment-based/index.ts index ad6fa03d2d9..c3b9c531fba 100644 --- a/packages/jsts/tests/tools/testers/comment-based/index.ts +++ b/packages/jsts/tests/tools/testers/comment-based/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export { check } from './checker.js'; diff --git a/packages/jsts/tests/tools/testers/comment-based/parser.ts b/packages/jsts/tests/tools/testers/comment-based/parser.ts index 5f5db1c76b2..461228bffc9 100644 --- a/packages/jsts/tests/tools/testers/comment-based/parser.ts +++ b/packages/jsts/tests/tools/testers/comment-based/parser.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { fileURLToPath } from 'node:url'; diff --git a/packages/jsts/tests/tools/testers/index.ts b/packages/jsts/tests/tools/testers/index.ts index 82401517870..951916d82e2 100644 --- a/packages/jsts/tests/tools/testers/index.ts +++ b/packages/jsts/tests/tools/testers/index.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './babel/index.js'; export * from './comment-based/index.js'; diff --git a/packages/jsts/tests/tools/testers/javascript/index.ts b/packages/jsts/tests/tools/testers/javascript/index.ts index 9bbd96a28f6..8d9e055ed72 100644 --- a/packages/jsts/tests/tools/testers/javascript/index.ts +++ b/packages/jsts/tests/tools/testers/javascript/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './tester.js'; diff --git a/packages/jsts/tests/tools/testers/javascript/tester.ts b/packages/jsts/tests/tools/testers/javascript/tester.ts index a2a9a10d12e..9a503e3e50e 100644 --- a/packages/jsts/tests/tools/testers/javascript/tester.ts +++ b/packages/jsts/tests/tools/testers/javascript/tester.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Rule } from 'eslint'; import { NodeRuleTester } from '../rule-tester.js'; diff --git a/packages/jsts/tests/tools/testers/rule-tester.ts b/packages/jsts/tests/tools/testers/rule-tester.ts index e828b906711..5902399ac7f 100644 --- a/packages/jsts/tests/tools/testers/rule-tester.ts +++ b/packages/jsts/tests/tools/testers/rule-tester.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { RuleTester } from 'eslint'; import { describe, it } from 'node:test'; diff --git a/packages/jsts/tests/tools/testers/typescript/index.ts b/packages/jsts/tests/tools/testers/typescript/index.ts index 9bbd96a28f6..8d9e055ed72 100644 --- a/packages/jsts/tests/tools/testers/typescript/index.ts +++ b/packages/jsts/tests/tools/testers/typescript/index.ts @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ export * from './tester.js'; diff --git a/packages/jsts/tests/tools/testers/typescript/tester.ts b/packages/jsts/tests/tools/testers/typescript/tester.ts index cf44d6db762..90383d640f6 100644 --- a/packages/jsts/tests/tools/testers/typescript/tester.ts +++ b/packages/jsts/tests/tools/testers/typescript/tester.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { Rule } from 'eslint'; import { NodeRuleTester } from '../rule-tester.js'; diff --git a/packages/ruling/tests/filter/JavaScriptExclusionsFilter.ts b/packages/ruling/tests/filter/JavaScriptExclusionsFilter.ts index 8f73f93350c..0e8f5e57288 100644 --- a/packages/ruling/tests/filter/JavaScriptExclusionsFilter.ts +++ b/packages/ruling/tests/filter/JavaScriptExclusionsFilter.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { bundleAssessor } from './bundleAssessor.js'; import { minificationAssessor } from './minificationAssessor.js'; diff --git a/packages/ruling/tests/filter/bundleAssessor.ts b/packages/ruling/tests/filter/bundleAssessor.ts index 7540dc83327..dda88a0e1a9 100644 --- a/packages/ruling/tests/filter/bundleAssessor.ts +++ b/packages/ruling/tests/filter/bundleAssessor.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ const READ_CHARACTERS_LIMIT = 2048; const COMMENT_OPERATOR_FUNCTION = buildBundleRegex(); diff --git a/packages/ruling/tests/filter/filter.test.ts b/packages/ruling/tests/filter/filter.test.ts index 875ce20992e..c477c9f296b 100644 --- a/packages/ruling/tests/filter/filter.test.ts +++ b/packages/ruling/tests/filter/filter.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { bundleAssessor } from './bundleAssessor.js'; import { describe, it } from 'node:test'; diff --git a/packages/ruling/tests/filter/minificationAssessor.ts b/packages/ruling/tests/filter/minificationAssessor.ts index 6370e00c166..f469c4c8f26 100644 --- a/packages/ruling/tests/filter/minificationAssessor.ts +++ b/packages/ruling/tests/filter/minificationAssessor.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ const DEFAULT_AVERAGE_LINE_LENGTH_THRESHOLD = 200; diff --git a/packages/ruling/tests/filter/sizeAssessor.ts b/packages/ruling/tests/filter/sizeAssessor.ts index 0ec51b7ad82..cc09c17ba1c 100644 --- a/packages/ruling/tests/filter/sizeAssessor.ts +++ b/packages/ruling/tests/filter/sizeAssessor.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ const DEFAULT_MAX_FILE_SIZE_KB = 4000; diff --git a/packages/ruling/tests/projects/Ghost.ruling.test.ts b/packages/ruling/tests/projects/Ghost.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/Ghost.ruling.test.ts +++ b/packages/ruling/tests/projects/Ghost.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/Joust.ruling.test.ts b/packages/ruling/tests/projects/Joust.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/Joust.ruling.test.ts +++ b/packages/ruling/tests/projects/Joust.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/TypeScript.ruling.test.ts b/packages/ruling/tests/projects/TypeScript.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/TypeScript.ruling.test.ts +++ b/packages/ruling/tests/projects/TypeScript.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/ace.ruling.test.ts b/packages/ruling/tests/projects/ace.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/ace.ruling.test.ts +++ b/packages/ruling/tests/projects/ace.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/ag-grid.ruling.test.ts b/packages/ruling/tests/projects/ag-grid.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/ag-grid.ruling.test.ts +++ b/packages/ruling/tests/projects/ag-grid.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/amplify.ruling.test.ts b/packages/ruling/tests/projects/amplify.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/amplify.ruling.test.ts +++ b/packages/ruling/tests/projects/amplify.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/angular.js.ruling.test.ts b/packages/ruling/tests/projects/angular.js.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/angular.js.ruling.test.ts +++ b/packages/ruling/tests/projects/angular.js.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/ant-design.ruling.test.ts b/packages/ruling/tests/projects/ant-design.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/ant-design.ruling.test.ts +++ b/packages/ruling/tests/projects/ant-design.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/backbone.ruling.test.ts b/packages/ruling/tests/projects/backbone.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/backbone.ruling.test.ts +++ b/packages/ruling/tests/projects/backbone.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/console.ruling.test.ts b/packages/ruling/tests/projects/console.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/console.ruling.test.ts +++ b/packages/ruling/tests/projects/console.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/courselit.ruling.test.ts b/packages/ruling/tests/projects/courselit.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/courselit.ruling.test.ts +++ b/packages/ruling/tests/projects/courselit.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/desktop.ruling.test.ts b/packages/ruling/tests/projects/desktop.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/desktop.ruling.test.ts +++ b/packages/ruling/tests/projects/desktop.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/ecmascript6-today.ruling.test.ts b/packages/ruling/tests/projects/ecmascript6-today.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/ecmascript6-today.ruling.test.ts +++ b/packages/ruling/tests/projects/ecmascript6-today.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/eigen.ruling.test.ts b/packages/ruling/tests/projects/eigen.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/eigen.ruling.test.ts +++ b/packages/ruling/tests/projects/eigen.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/es5-shim.ruling.test.ts b/packages/ruling/tests/projects/es5-shim.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/es5-shim.ruling.test.ts +++ b/packages/ruling/tests/projects/es5-shim.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/expressionist.js.ruling.test.ts b/packages/ruling/tests/projects/expressionist.js.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/expressionist.js.ruling.test.ts +++ b/packages/ruling/tests/projects/expressionist.js.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/file-for-rules.ruling.test.ts b/packages/ruling/tests/projects/file-for-rules.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/file-for-rules.ruling.test.ts +++ b/packages/ruling/tests/projects/file-for-rules.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/fireact.ruling.test.ts b/packages/ruling/tests/projects/fireact.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/fireact.ruling.test.ts +++ b/packages/ruling/tests/projects/fireact.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/fireface.ruling.test.ts b/packages/ruling/tests/projects/fireface.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/fireface.ruling.test.ts +++ b/packages/ruling/tests/projects/fireface.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/http.ruling.test.ts b/packages/ruling/tests/projects/http.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/http.ruling.test.ts +++ b/packages/ruling/tests/projects/http.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/ionic2-auth.ruling.test.ts b/packages/ruling/tests/projects/ionic2-auth.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/ionic2-auth.ruling.test.ts +++ b/packages/ruling/tests/projects/ionic2-auth.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/it-tools.ruling.test.ts b/packages/ruling/tests/projects/it-tools.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/it-tools.ruling.test.ts +++ b/packages/ruling/tests/projects/it-tools.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/jStorage.ruling.test.ts b/packages/ruling/tests/projects/jStorage.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/jStorage.ruling.test.ts +++ b/packages/ruling/tests/projects/jStorage.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/jira-clone.ruling.test.ts b/packages/ruling/tests/projects/jira-clone.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/jira-clone.ruling.test.ts +++ b/packages/ruling/tests/projects/jira-clone.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/jquery.ruling.test.ts b/packages/ruling/tests/projects/jquery.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/jquery.ruling.test.ts +++ b/packages/ruling/tests/projects/jquery.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/jshint.ruling.test.ts b/packages/ruling/tests/projects/jshint.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/jshint.ruling.test.ts +++ b/packages/ruling/tests/projects/jshint.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/knockout.ruling.test.ts b/packages/ruling/tests/projects/knockout.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/knockout.ruling.test.ts +++ b/packages/ruling/tests/projects/knockout.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/moose.ruling.test.ts b/packages/ruling/tests/projects/moose.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/moose.ruling.test.ts +++ b/packages/ruling/tests/projects/moose.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/mootools-core.ruling.test.ts b/packages/ruling/tests/projects/mootools-core.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/mootools-core.ruling.test.ts +++ b/packages/ruling/tests/projects/mootools-core.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/ocanvas.ruling.test.ts b/packages/ruling/tests/projects/ocanvas.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/ocanvas.ruling.test.ts +++ b/packages/ruling/tests/projects/ocanvas.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/p5.js.ruling.test.ts b/packages/ruling/tests/projects/p5.js.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/p5.js.ruling.test.ts +++ b/packages/ruling/tests/projects/p5.js.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/paper.js.ruling.test.ts b/packages/ruling/tests/projects/paper.js.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/paper.js.ruling.test.ts +++ b/packages/ruling/tests/projects/paper.js.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/postgraphql.ruling.test.ts b/packages/ruling/tests/projects/postgraphql.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/postgraphql.ruling.test.ts +++ b/packages/ruling/tests/projects/postgraphql.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/prettier-vscode.ruling.test.ts b/packages/ruling/tests/projects/prettier-vscode.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/prettier-vscode.ruling.test.ts +++ b/packages/ruling/tests/projects/prettier-vscode.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/prototype.ruling.test.ts b/packages/ruling/tests/projects/prototype.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/prototype.ruling.test.ts +++ b/packages/ruling/tests/projects/prototype.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/qunit.ruling.test.ts b/packages/ruling/tests/projects/qunit.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/qunit.ruling.test.ts +++ b/packages/ruling/tests/projects/qunit.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/react-cloud-music.ruling.test.ts b/packages/ruling/tests/projects/react-cloud-music.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/react-cloud-music.ruling.test.ts +++ b/packages/ruling/tests/projects/react-cloud-music.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/reddit-mobile.ruling.test.ts b/packages/ruling/tests/projects/reddit-mobile.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/reddit-mobile.ruling.test.ts +++ b/packages/ruling/tests/projects/reddit-mobile.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/redux.ruling.test.ts b/packages/ruling/tests/projects/redux.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/redux.ruling.test.ts +++ b/packages/ruling/tests/projects/redux.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/router.ruling.test.ts b/packages/ruling/tests/projects/router.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/router.ruling.test.ts +++ b/packages/ruling/tests/projects/router.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/rxjs.ruling.test.ts b/packages/ruling/tests/projects/rxjs.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/rxjs.ruling.test.ts +++ b/packages/ruling/tests/projects/rxjs.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/searchkit.ruling.test.ts b/packages/ruling/tests/projects/searchkit.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/searchkit.ruling.test.ts +++ b/packages/ruling/tests/projects/searchkit.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/sizzle.ruling.test.ts b/packages/ruling/tests/projects/sizzle.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/sizzle.ruling.test.ts +++ b/packages/ruling/tests/projects/sizzle.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/snoode.ruling.test.ts b/packages/ruling/tests/projects/snoode.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/snoode.ruling.test.ts +++ b/packages/ruling/tests/projects/snoode.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/sonar-web.ruling.test.ts b/packages/ruling/tests/projects/sonar-web.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/sonar-web.ruling.test.ts +++ b/packages/ruling/tests/projects/sonar-web.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/templating.ruling.test.ts b/packages/ruling/tests/projects/templating.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/templating.ruling.test.ts +++ b/packages/ruling/tests/projects/templating.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/underscore.ruling.test.ts b/packages/ruling/tests/projects/underscore.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/underscore.ruling.test.ts +++ b/packages/ruling/tests/projects/underscore.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/vuetify.ruling.test.ts b/packages/ruling/tests/projects/vuetify.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/vuetify.ruling.test.ts +++ b/packages/ruling/tests/projects/vuetify.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/watchtower.js.ruling.test.ts b/packages/ruling/tests/projects/watchtower.js.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/watchtower.js.ruling.test.ts +++ b/packages/ruling/tests/projects/watchtower.js.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/projects/yaml.ruling.test.ts b/packages/ruling/tests/projects/yaml.ruling.test.ts index 1e5fc74c9ff..a5de8f799e6 100644 --- a/packages/ruling/tests/projects/yaml.ruling.test.ts +++ b/packages/ruling/tests/projects/yaml.ruling.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { compareSync } from 'dir-compare'; import { setupBeforeAll, testProject } from '../tools/testProject.js'; diff --git a/packages/ruling/tests/settings.js b/packages/ruling/tests/settings.js index 23ad27a8f2d..5e3be07c1c3 100644 --- a/packages/ruling/tests/settings.js +++ b/packages/ruling/tests/settings.js @@ -1,3 +1,19 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ const path = require('path'); const rules = require('./data/rules.json'); diff --git a/packages/ruling/tests/tools/languages.ts b/packages/ruling/tests/tools/languages.ts index a4561d764f9..523369715ba 100644 --- a/packages/ruling/tests/tools/languages.ts +++ b/packages/ruling/tests/tools/languages.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; diff --git a/packages/ruling/tests/tools/lits.ts b/packages/ruling/tests/tools/lits.ts index ea4d0c6ab26..5af3e771678 100644 --- a/packages/ruling/tests/tools/lits.ts +++ b/packages/ruling/tests/tools/lits.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import fs from 'fs'; import path from 'path'; diff --git a/packages/ruling/tests/tools/parseRulesData.ts b/packages/ruling/tests/tools/parseRulesData.ts index 27673918ef9..357cab563a7 100644 --- a/packages/ruling/tests/tools/parseRulesData.ts +++ b/packages/ruling/tests/tools/parseRulesData.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import fs from 'node:fs'; import path from 'node:path'; diff --git a/packages/ruling/tests/tools/testProject.ts b/packages/ruling/tests/tools/testProject.ts index e17d6c06049..96b30581cc5 100644 --- a/packages/ruling/tests/tools/testProject.ts +++ b/packages/ruling/tests/tools/testProject.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import fs from 'fs'; diff --git a/packages/shared/src/errors/error.ts b/packages/shared/src/errors/error.ts index 8812d332717..8dfffc22640 100644 --- a/packages/shared/src/errors/error.ts +++ b/packages/shared/src/errors/error.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { unicodeEscape } from '../helpers/escape.js'; diff --git a/packages/shared/src/helpers/context.ts b/packages/shared/src/helpers/context.ts index 21d1d2b42c8..4b54a6e4380 100644 --- a/packages/shared/src/helpers/context.ts +++ b/packages/shared/src/helpers/context.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * A container of contextual information diff --git a/packages/shared/src/helpers/escape.ts b/packages/shared/src/helpers/escape.ts index db9ee6b19c1..ab30199b950 100644 --- a/packages/shared/src/helpers/escape.ts +++ b/packages/shared/src/helpers/escape.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * Escape non-ascii characters with unicode sequence \uXXXX diff --git a/packages/shared/src/helpers/files.ts b/packages/shared/src/helpers/files.ts index efb0ad8da70..25b89874e66 100644 --- a/packages/shared/src/helpers/files.ts +++ b/packages/shared/src/helpers/files.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import fs, { constants } from 'fs'; import path from 'path'; diff --git a/packages/shared/src/helpers/language.ts b/packages/shared/src/helpers/language.ts index 9c51b1b7006..458859a3847 100644 --- a/packages/shared/src/helpers/language.ts +++ b/packages/shared/src/helpers/language.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * A discriminator between JavaScript and TypeScript languages. This is used diff --git a/packages/shared/src/helpers/logging.ts b/packages/shared/src/helpers/logging.ts index 5b77e42d5a6..7d562797f95 100644 --- a/packages/shared/src/helpers/logging.ts +++ b/packages/shared/src/helpers/logging.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * Prints a message to `stdout` like `console.log` by prefixing it with `DEBUG`. diff --git a/packages/shared/src/helpers/worker.ts b/packages/shared/src/helpers/worker.ts index ea62317ac38..74ab4ab203d 100644 --- a/packages/shared/src/helpers/worker.ts +++ b/packages/shared/src/helpers/worker.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { SHARE_ENV, Worker } from 'node:worker_threads'; import { Context } from './context.js'; diff --git a/packages/shared/src/types/analysis.ts b/packages/shared/src/types/analysis.ts index e3a28e9edbc..4f6a00d532d 100644 --- a/packages/shared/src/types/analysis.ts +++ b/packages/shared/src/types/analysis.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * An analysis function diff --git a/packages/shared/tests/helpers/context.test.ts b/packages/shared/tests/helpers/context.test.ts index c56e7795ff8..2119080d640 100644 --- a/packages/shared/tests/helpers/context.test.ts +++ b/packages/shared/tests/helpers/context.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { setContext, getContext } from '../../src/helpers/context.js'; import { describe, it, beforeEach } from 'node:test'; diff --git a/packages/shared/tests/helpers/escape.test.ts b/packages/shared/tests/helpers/escape.test.ts index b14d8fb6fb0..ae8bd3a8209 100644 --- a/packages/shared/tests/helpers/escape.test.ts +++ b/packages/shared/tests/helpers/escape.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { describe, it } from 'node:test'; import { expect } from 'expect'; diff --git a/packages/shared/tests/helpers/files.test.ts b/packages/shared/tests/helpers/files.test.ts index 1e3217ab1c9..54ef845deae 100644 --- a/packages/shared/tests/helpers/files.test.ts +++ b/packages/shared/tests/helpers/files.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { describe, it } from 'node:test'; diff --git a/packages/shared/tests/helpers/logging.test.ts b/packages/shared/tests/helpers/logging.test.ts index 4fed432583d..e53c4419930 100644 --- a/packages/shared/tests/helpers/logging.test.ts +++ b/packages/shared/tests/helpers/logging.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { debug, error, info, warn } from '../../src/helpers/logging.js'; import { describe, it, mock, Mock } from 'node:test'; diff --git a/packages/yaml/src/aws/parser.ts b/packages/yaml/src/aws/parser.ts index 01a58a4d05e..5e5740d32ba 100644 --- a/packages/yaml/src/aws/parser.ts +++ b/packages/yaml/src/aws/parser.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { parseYaml } from '../parser/parse-yaml.js'; import { lambdaParsingContext, serverlessParsingContext } from './parsingContexts.js'; diff --git a/packages/yaml/src/aws/parsingContexts.ts b/packages/yaml/src/aws/parsingContexts.ts index 43076eb3a1e..18b9125dcfc 100644 --- a/packages/yaml/src/aws/parsingContexts.ts +++ b/packages/yaml/src/aws/parsingContexts.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { ParsingContext } from '../parser/parse-yaml.js'; diff --git a/packages/yaml/src/index.ts b/packages/yaml/src/index.ts index ec089b714dd..704d0c41655 100644 --- a/packages/yaml/src/index.ts +++ b/packages/yaml/src/index.ts @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - import type { EmbeddedAnalysisInput as YamlAnalysisInput, EmbeddedAnalysisOutput as YamlAnalysisOutput, diff --git a/packages/yaml/src/parser/parse-yaml.ts b/packages/yaml/src/parser/parse-yaml.ts index 9a7af0100ae..ae24f4b83fa 100644 --- a/packages/yaml/src/parser/parse-yaml.ts +++ b/packages/yaml/src/parser/parse-yaml.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import yaml from 'yaml'; import assert from 'assert'; diff --git a/packages/yaml/src/parser/yaml/format.ts b/packages/yaml/src/parser/yaml/format.ts index 3ad0800c0af..81ab9dcbec9 100644 --- a/packages/yaml/src/parser/yaml/format.ts +++ b/packages/yaml/src/parser/yaml/format.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * YAML string formats given by the YAML parser diff --git a/packages/yaml/tests/analysis/analyzer.test.ts b/packages/yaml/tests/analysis/analyzer.test.ts index 5f027fe18be..564d2ba3447 100644 --- a/packages/yaml/tests/analysis/analyzer.test.ts +++ b/packages/yaml/tests/analysis/analyzer.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import { join } from 'path'; import { embeddedInput } from '../../../jsts/tests/tools/index.js'; diff --git a/packages/yaml/tests/aws/parser.test.ts b/packages/yaml/tests/aws/parser.test.ts index dd11fe5c9e3..7232252a5e7 100644 --- a/packages/yaml/tests/aws/parser.test.ts +++ b/packages/yaml/tests/aws/parser.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { describe, it } from 'node:test'; diff --git a/packages/yaml/tests/builder/build.test.ts b/packages/yaml/tests/builder/build.test.ts index 1e5b0c01985..458099b69f2 100644 --- a/packages/yaml/tests/builder/build.test.ts +++ b/packages/yaml/tests/builder/build.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import estree from 'estree'; import { join } from 'path'; diff --git a/packages/yaml/tests/builder/patch.test.ts b/packages/yaml/tests/builder/patch.test.ts index 21622bdd7aa..221e40b02ff 100644 --- a/packages/yaml/tests/builder/patch.test.ts +++ b/packages/yaml/tests/builder/patch.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { describe, it, before } from 'node:test'; diff --git a/packages/yaml/tests/parser/format.test.ts b/packages/yaml/tests/parser/format.test.ts index 0098327b140..cab3272ac2e 100644 --- a/packages/yaml/tests/parser/format.test.ts +++ b/packages/yaml/tests/parser/format.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import yaml from 'yaml'; import path from 'path'; diff --git a/packages/yaml/tests/parser/parse.test.ts b/packages/yaml/tests/parser/parse.test.ts index 61c212462fb..6bbe53994ef 100644 --- a/packages/yaml/tests/parser/parse.test.ts +++ b/packages/yaml/tests/parser/parse.test.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import path from 'path'; import { describe, it } from 'node:test'; diff --git a/pom.xml b/pom.xml index dd9f2b3624f..cd2ae3b75f1 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.sonarsource.parent parent - 80.0.0.2205 + 81.0.0.2300 org.sonarsource.javascript @@ -23,8 +23,8 @@ - GNU LGPL 3 - http://www.gnu.org/licenses/lgpl.txt + SSALv1 + https://sonarsource.com/license/ssal/ repo @@ -80,18 +80,18 @@ 9.14.0.375 - 3.16.1 - 6.2.0.202206071550-r - 5.9.3 - 3.5.0 + 3.26.3 + 6.10.0.202406032230-r + 5.11.3 + 3.12.4 1.7.36 10.7.0.96327 - 10.12.0.2522 + 10.14.0.2599 5.0.0.2065 2.11.0 - 2.13.0.3004 - 1.22 - 9.1.1.74346 + 2.16.0.3141 + 1.24.0.633 + 9.8.0.76914 ${project.groupId}:sonar-javascript-plugin:jar true @@ -155,12 +155,12 @@ org.apache.commons commons-compress - 1.26.0 + 1.27.1 commons-io commons-io - 2.17.0 + 2.18.0 commons-lang @@ -168,9 +168,9 @@ 2.6 - org.sonarsource.sslr - sslr-core - ${sslr.version} + org.sonarsource.sslr + sslr-core + ${sslr.version} org.sonarsource.sonarlint.core @@ -181,7 +181,7 @@ org.tukaani xz - 1.9 + 1.10 org.slf4j @@ -237,7 +237,7 @@ org.awaitility awaitility - 4.0.3 + 4.2.2 test @@ -280,25 +280,39 @@ license-maven-plugin - - packages/**/*.ts - packages/**/*.tsx - profiling/**/*.ts - profiling/**/*.js - tools/resources/rule.* - tools/**/*.mjs - tools/**/*.ts - tools/**/*.java - - JAVADOC_STYLE - JAVADOC_STYLE + SLASHSTAR_STYLE + SLASHSTAR_STYLE + SLASHSTAR_STYLE + SLASHSTAR_STYLE - - packages/**/fixtures/**/* - packages/**/*.fixture.* - **/src/test/resources/**/* - + + + + **/*.java + **/*.js + **/*.cjs + **/*.mjs + **/*.ts + + + + server.mjs + **/*.d.ts + + its/**/* + + **/bin/**/* + **/dist/**/* + **/lib/**/* + + **/fixtures/**/* + **/*.fixture.* + + **/src/test/resources/**/* + + + @@ -307,7 +321,7 @@ org.codehaus.mojo exec-maven-plugin - 3.0.0 + 3.5.0 diff --git a/profiling/profile-rule.ts b/profiling/profile-rule.ts index 1f05b8d5aac..041407bc4f1 100644 --- a/profiling/profile-rule.ts +++ b/profiling/profile-rule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import * as http from 'http'; import path from 'path'; diff --git a/profiling/server.js b/profiling/server.js index 4871dda5f25..0f83afc85cc 100644 --- a/profiling/server.js +++ b/profiling/server.js @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ const server = require('../lib/server'); const path = require('path'); diff --git a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/Check.java b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/Check.java index 5540d163188..72e927be8a2 100644 --- a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/Check.java +++ b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/Check.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.api; diff --git a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/CustomRuleRepository.java b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/CustomRuleRepository.java index eef3c38e036..defc0a97825 100644 --- a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/CustomRuleRepository.java +++ b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/CustomRuleRepository.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.api; diff --git a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/EslintBasedCheck.java b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/EslintBasedCheck.java index a2ec2a0809b..4744b658db0 100644 --- a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/EslintBasedCheck.java +++ b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/EslintBasedCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.api; diff --git a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JavaScriptCheck.java b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JavaScriptCheck.java index fcf82430887..e9089849722 100644 --- a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JavaScriptCheck.java +++ b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JavaScriptCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.api; diff --git a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JavaScriptRule.java b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JavaScriptRule.java index 8735a7432ad..7e5f4ceeafc 100644 --- a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JavaScriptRule.java +++ b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JavaScriptRule.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.api; diff --git a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JsAnalysisConsumer.java b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JsAnalysisConsumer.java index e811533a29b..2c06dc04209 100644 --- a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JsAnalysisConsumer.java +++ b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JsAnalysisConsumer.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.api; diff --git a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JsFile.java b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JsFile.java index c15b1921453..6c96ef8b737 100644 --- a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JsFile.java +++ b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/JsFile.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.api; diff --git a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/RulesBundle.java b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/RulesBundle.java index e3e631fc437..7b8beb3483e 100644 --- a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/RulesBundle.java +++ b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/RulesBundle.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.api; diff --git a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/TestFileCheck.java b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/TestFileCheck.java index ad241db34b8..6aaee20406f 100644 --- a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/TestFileCheck.java +++ b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/TestFileCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.api; diff --git a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/TypeScriptRule.java b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/TypeScriptRule.java index 89ce70a23c0..872107f08dd 100644 --- a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/TypeScriptRule.java +++ b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/TypeScriptRule.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.api; diff --git a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/estree/ESTree.java b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/estree/ESTree.java index 8acfaac067f..e1d61484ab3 100644 --- a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/estree/ESTree.java +++ b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/estree/ESTree.java @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - package org.sonar.plugins.javascript.api.estree; import java.math.BigInteger; diff --git a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/estree/package-info.java b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/estree/package-info.java index c8ffd8c6a50..85bcb6062a0 100644 --- a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/estree/package-info.java +++ b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/estree/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @javax.annotation.ParametersAreNonnullByDefault package org.sonar.plugins.javascript.api.estree; diff --git a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/package-info.java b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/package-info.java index b4209434096..7d9841f3112 100644 --- a/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/package-info.java +++ b/sonar-plugin/api/src/main/java/org/sonar/plugins/javascript/api/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @javax.annotation.ParametersAreNonnullByDefault package org.sonar.plugins.javascript.api; diff --git a/sonar-plugin/api/src/test/java/org/sonar/plugins/javascript/api/CustomRuleRepositoryTest.java b/sonar-plugin/api/src/test/java/org/sonar/plugins/javascript/api/CustomRuleRepositoryTest.java index 36d9bbd9524..221da30750b 100644 --- a/sonar-plugin/api/src/test/java/org/sonar/plugins/javascript/api/CustomRuleRepositoryTest.java +++ b/sonar-plugin/api/src/test/java/org/sonar/plugins/javascript/api/CustomRuleRepositoryTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.api; diff --git a/sonar-plugin/api/src/test/java/org/sonar/plugins/javascript/api/EslintBasedCheckTest.java b/sonar-plugin/api/src/test/java/org/sonar/plugins/javascript/api/EslintBasedCheckTest.java index af12c7814ae..6727abb7ad9 100644 --- a/sonar-plugin/api/src/test/java/org/sonar/plugins/javascript/api/EslintBasedCheckTest.java +++ b/sonar-plugin/api/src/test/java/org/sonar/plugins/javascript/api/EslintBasedCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.api; diff --git a/sonar-plugin/api/src/test/java/org/sonar/plugins/javascript/api/estree/ESTreeTest.java b/sonar-plugin/api/src/test/java/org/sonar/plugins/javascript/api/estree/ESTreeTest.java index ed6a7860f95..37d919d4517 100644 --- a/sonar-plugin/api/src/test/java/org/sonar/plugins/javascript/api/estree/ESTreeTest.java +++ b/sonar-plugin/api/src/test/java/org/sonar/plugins/javascript/api/estree/ESTreeTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.api.estree; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/AnalysisMode.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/AnalysisMode.java index dea5c348be2..fe047fa436d 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/AnalysisMode.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/AnalysisMode.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/AnalysisWarningsWrapper.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/AnalysisWarningsWrapper.java index 290a6666650..869bbb7795b 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/AnalysisWarningsWrapper.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/AnalysisWarningsWrapper.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BridgeServer.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BridgeServer.java index 44e350efccf..190b41cb5ee 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BridgeServer.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BridgeServer.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BridgeServerConfig.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BridgeServerConfig.java index 3180255e2b2..934d303043d 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BridgeServerConfig.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BridgeServerConfig.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BridgeServerImpl.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BridgeServerImpl.java index 8d2eb8ceb26..4e00fc2f6cc 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BridgeServerImpl.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BridgeServerImpl.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/Bundle.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/Bundle.java index 18344089ba6..60833bd07e8 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/Bundle.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/Bundle.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BundleImpl.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BundleImpl.java index 8a269096a8f..42d402e2574 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BundleImpl.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BundleImpl.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BundleUtils.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BundleUtils.java index 69dc94422f7..2176135b133 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BundleUtils.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/BundleUtils.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/ESTreeFactory.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/ESTreeFactory.java index e25aa28022f..f90777d2bd6 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/ESTreeFactory.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/ESTreeFactory.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/EmbeddedNode.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/EmbeddedNode.java index 3c607741d8d..8ee59948c74 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/EmbeddedNode.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/EmbeddedNode.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/Environment.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/Environment.java index f73f1edf996..74b01499ce6 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/Environment.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/Environment.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/EslintRule.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/EslintRule.java index 6d67dc226e0..7c4cbe93036 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/EslintRule.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/EslintRule.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/FormDataUtils.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/FormDataUtils.java index 92faea69a8a..b8fa779fef4 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/FormDataUtils.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/FormDataUtils.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/Http.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/Http.java index 39690e9fa78..d43d18dcec3 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/Http.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/Http.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/NetUtils.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/NetUtils.java index cb46d34164d..a76fa46d976 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/NetUtils.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/NetUtils.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/NodeDeprecationWarning.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/NodeDeprecationWarning.java index f4130b7c376..25683b24756 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/NodeDeprecationWarning.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/NodeDeprecationWarning.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/PluginInfo.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/PluginInfo.java index 576a1aa1390..5cb28b1f6a7 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/PluginInfo.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/PluginInfo.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/RulesBundles.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/RulesBundles.java index 37415fcef4d..5b5ab5689c4 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/RulesBundles.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/RulesBundles.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/ServerAlreadyFailedException.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/ServerAlreadyFailedException.java index ef9d7632f1a..62a0e429951 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/ServerAlreadyFailedException.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/ServerAlreadyFailedException.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/StylelintRule.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/StylelintRule.java index e620a120389..4e9de92db03 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/StylelintRule.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/StylelintRule.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/TsConfigFile.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/TsConfigFile.java index ed1d028c3c8..ed2fa88523c 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/TsConfigFile.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/TsConfigFile.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/package-info.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/package-info.java index 563b351bf24..0accf95aa9d 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/package-info.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/bridge/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @ParametersAreNonnullByDefault package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/BundlePathResolver.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/BundlePathResolver.java index a7a12f9e118..674ab714acf 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/BundlePathResolver.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/BundlePathResolver.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.nodejs; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommand.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommand.java index 301cc27149b..77fe20a1fdc 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommand.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommand.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.nodejs; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommandBuilder.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommandBuilder.java index 84610fa8de0..951d5f43c01 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommandBuilder.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommandBuilder.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.nodejs; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommandBuilderImpl.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommandBuilderImpl.java index 956d1e90e6e..446b23b31ad 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommandBuilderImpl.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommandBuilderImpl.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.nodejs; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommandException.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommandException.java index 0dc6b8b850f..5d6410de7fb 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommandException.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeCommandException.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.nodejs; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeVersion.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeVersion.java index 3979bb67022..71398619ca4 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeVersion.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/NodeVersion.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.nodejs; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/ProcessWrapper.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/ProcessWrapper.java index d3d833f7656..04a6b5019ac 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/ProcessWrapper.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/ProcessWrapper.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.nodejs; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/ProcessWrapperImpl.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/ProcessWrapperImpl.java index 492d5af1dc9..a60353b3a81 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/ProcessWrapperImpl.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/ProcessWrapperImpl.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.nodejs; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/StreamConsumer.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/StreamConsumer.java index 122316d106f..4fadbea7cc1 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/StreamConsumer.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/StreamConsumer.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.nodejs; diff --git a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/package-info.java b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/package-info.java index 72bdf76bc6a..36ce9c3673e 100644 --- a/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/package-info.java +++ b/sonar-plugin/bridge/src/main/java/org/sonar/plugins/javascript/nodejs/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @javax.annotation.ParametersAreNonnullByDefault package org.sonar.plugins.javascript.nodejs; diff --git a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/AnalysisModeTest.java b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/AnalysisModeTest.java index 67f00ed88d9..99ade30f3d4 100644 --- a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/AnalysisModeTest.java +++ b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/AnalysisModeTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/AnalysisWarningsWrapperTest.java b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/AnalysisWarningsWrapperTest.java index 2e9bf507f6e..81333d01491 100644 --- a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/AnalysisWarningsWrapperTest.java +++ b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/AnalysisWarningsWrapperTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/BridgeServerImplTest.java b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/BridgeServerImplTest.java index b2deb43fde8..14fcbf3480b 100644 --- a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/BridgeServerImplTest.java +++ b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/BridgeServerImplTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/BundleImplTest.java b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/BundleImplTest.java index 1e4dfcd58d2..b5fde630672 100644 --- a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/BundleImplTest.java +++ b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/BundleImplTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/ESTreeFactoryTest.java b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/ESTreeFactoryTest.java index 43743cb812f..ba51a7636a6 100644 --- a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/ESTreeFactoryTest.java +++ b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/ESTreeFactoryTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/EmbeddedNodeTest.java b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/EmbeddedNodeTest.java index 6d819555f17..d11d5ed36e3 100644 --- a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/EmbeddedNodeTest.java +++ b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/EmbeddedNodeTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/EnvironmentTest.java b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/EnvironmentTest.java index 7bb9e6dbcfa..0a55cfb5010 100644 --- a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/EnvironmentTest.java +++ b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/EnvironmentTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/EslintRuleTest.java b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/EslintRuleTest.java index e337f34778a..06e04a0f464 100644 --- a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/EslintRuleTest.java +++ b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/EslintRuleTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/FormDataUtilsTest.java b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/FormDataUtilsTest.java index b2c50b9a0d8..01af9f0ed60 100644 --- a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/FormDataUtilsTest.java +++ b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/FormDataUtilsTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/NodeDeprecationWarningTest.java b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/NodeDeprecationWarningTest.java index 04a80ce7423..c231e1f46fe 100644 --- a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/NodeDeprecationWarningTest.java +++ b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/NodeDeprecationWarningTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/PluginInfoTest.java b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/PluginInfoTest.java index 06b8ab89c0f..4d73fef2c8c 100644 --- a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/PluginInfoTest.java +++ b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/PluginInfoTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/RulesBundlesTest.java b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/RulesBundlesTest.java index 8e9ad4c5e8f..c82bb8c6589 100644 --- a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/RulesBundlesTest.java +++ b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/bridge/RulesBundlesTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.bridge; diff --git a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/nodejs/NodeCommandTest.java b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/nodejs/NodeCommandTest.java index 7bdde5378d4..969361371aa 100644 --- a/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/nodejs/NodeCommandTest.java +++ b/sonar-plugin/bridge/src/test/java/org/sonar/plugins/javascript/nodejs/NodeCommandTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.nodejs; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/CssLanguage.java b/sonar-plugin/css/src/main/java/org/sonar/css/CssLanguage.java index fabd744ca23..7e7a0305bb1 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/CssLanguage.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/CssLanguage.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/CssProfileDefinition.java b/sonar-plugin/css/src/main/java/org/sonar/css/CssProfileDefinition.java index 92da3bdb394..8fc87aae996 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/CssProfileDefinition.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/CssProfileDefinition.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/CssRules.java b/sonar-plugin/css/src/main/java/org/sonar/css/CssRules.java index 0655141aa4b..107ddf81758 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/CssRules.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/CssRules.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/CssRulesDefinition.java b/sonar-plugin/css/src/main/java/org/sonar/css/CssRulesDefinition.java index 0b057f30c48..cef0aa7bacd 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/CssRulesDefinition.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/CssRulesDefinition.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/StylelintReport.java b/sonar-plugin/css/src/main/java/org/sonar/css/StylelintReport.java index 3329efd871d..3cff129f280 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/StylelintReport.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/StylelintReport.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/StylelintReportSensor.java b/sonar-plugin/css/src/main/java/org/sonar/css/StylelintReportSensor.java index 4317a340deb..5b1d123b6f6 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/StylelintReportSensor.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/StylelintReportSensor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssLexer.java b/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssLexer.java index 51f467ae079..f7904197fa4 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssLexer.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssLexer.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.metrics; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssMetricSensor.java b/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssMetricSensor.java index dfd70c94ae0..422082f66a4 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssMetricSensor.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssMetricSensor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.metrics; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssToken.java b/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssToken.java index a951e17b240..3943b0e6091 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssToken.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssToken.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.metrics; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssTokenType.java b/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssTokenType.java index 024f8c42235..1893d914b27 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssTokenType.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/metrics/CssTokenType.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.metrics; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/metrics/Tokenizer.java b/sonar-plugin/css/src/main/java/org/sonar/css/metrics/Tokenizer.java index c4dfcfa763e..d274d406331 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/metrics/Tokenizer.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/metrics/Tokenizer.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.metrics; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/metrics/package-info.java b/sonar-plugin/css/src/main/java/org/sonar/css/metrics/package-info.java index a1e62ca7b26..45439272a33 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/metrics/package-info.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/metrics/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @javax.annotation.ParametersAreNonnullByDefault package org.sonar.css.metrics; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/package-info.java b/sonar-plugin/css/src/main/java/org/sonar/css/package-info.java index c248cca71e9..a074ef3c4c2 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/package-info.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @javax.annotation.ParametersAreNonnullByDefault package org.sonar.css; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/AtRuleNoUnknown.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/AtRuleNoUnknown.java index b5230cf9547..b8305984a68 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/AtRuleNoUnknown.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/AtRuleNoUnknown.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/BlockNoEmpty.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/BlockNoEmpty.java index 9107430c86a..505280bf041 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/BlockNoEmpty.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/BlockNoEmpty.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/ColorNoInvalidHex.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/ColorNoInvalidHex.java index 222e9143185..6fc7f9f0b54 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/ColorNoInvalidHex.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/ColorNoInvalidHex.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/CommentNoEmpty.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/CommentNoEmpty.java index 6a087e7a41e..b7bae476ddd 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/CommentNoEmpty.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/CommentNoEmpty.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/CssRule.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/CssRule.java index 51d8ff2be64..98b3271b17f 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/CssRule.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/CssRule.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/DeclarationBlockNoDuplicateProperties.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/DeclarationBlockNoDuplicateProperties.java index d3c7ff8d42f..f31b7c08901 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/DeclarationBlockNoDuplicateProperties.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/DeclarationBlockNoDuplicateProperties.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/DeclarationBlockNoShorthandPropertyOverrides.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/DeclarationBlockNoShorthandPropertyOverrides.java index c529c652b96..df0ca86634a 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/DeclarationBlockNoShorthandPropertyOverrides.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/DeclarationBlockNoShorthandPropertyOverrides.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/FontFamilyNoDuplicateNames.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/FontFamilyNoDuplicateNames.java index ced3c73b8fc..2c8e4ee92ee 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/FontFamilyNoDuplicateNames.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/FontFamilyNoDuplicateNames.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/FontFamilyNoMissingGenericFamilyKeyword.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/FontFamilyNoMissingGenericFamilyKeyword.java index e9116389e34..f4ac111275b 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/FontFamilyNoMissingGenericFamilyKeyword.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/FontFamilyNoMissingGenericFamilyKeyword.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/FunctionCalcNoInvalid.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/FunctionCalcNoInvalid.java index 7150c9fea65..23a1310537b 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/FunctionCalcNoInvalid.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/FunctionCalcNoInvalid.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/FunctionCalcNoUnspacedOperator.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/FunctionCalcNoUnspacedOperator.java index f4419f5083f..fd8410f4cac 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/FunctionCalcNoUnspacedOperator.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/FunctionCalcNoUnspacedOperator.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/FunctionLinearGradientNoNonstandardDirection.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/FunctionLinearGradientNoNonstandardDirection.java index 2675a7aeda0..498f622d08e 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/FunctionLinearGradientNoNonstandardDirection.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/FunctionLinearGradientNoNonstandardDirection.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/KeyframeDeclarationNoImportant.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/KeyframeDeclarationNoImportant.java index 9e9a625bc07..41aeee319d2 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/KeyframeDeclarationNoImportant.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/KeyframeDeclarationNoImportant.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/MediaFeatureNameNoUnknown.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/MediaFeatureNameNoUnknown.java index ae0e9829cc8..689552f717d 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/MediaFeatureNameNoUnknown.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/MediaFeatureNameNoUnknown.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoCommentedCode.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoCommentedCode.java index 98a2be5e82e..ead4ed6a015 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoCommentedCode.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoCommentedCode.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoDescendingSpecificity.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoDescendingSpecificity.java index 96318471043..cc1a6f57c5a 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoDescendingSpecificity.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoDescendingSpecificity.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoDuplicateAtImportRules.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoDuplicateAtImportRules.java index efec07cb606..0e80adad203 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoDuplicateAtImportRules.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoDuplicateAtImportRules.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoDuplicateSelectors.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoDuplicateSelectors.java index 5f679101e5c..f5a8bdfac24 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoDuplicateSelectors.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoDuplicateSelectors.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoEmptySource.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoEmptySource.java index 80f6a025368..7e77f6010eb 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoEmptySource.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoEmptySource.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoExtraSemicolons.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoExtraSemicolons.java index 5b8414e7cc1..b01487fbc83 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoExtraSemicolons.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoExtraSemicolons.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoInvalidDoubleSlashComments.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoInvalidDoubleSlashComments.java index cd6f6a9ada3..afe755ca81d 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoInvalidDoubleSlashComments.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/NoInvalidDoubleSlashComments.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/PropertyNoUnknown.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/PropertyNoUnknown.java index b4f62ed5ae2..aa016de6a58 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/PropertyNoUnknown.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/PropertyNoUnknown.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/RuleUtils.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/RuleUtils.java index 42017b7736e..2f022517c15 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/RuleUtils.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/RuleUtils.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/SelectorPseudoClassNoUnknown.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/SelectorPseudoClassNoUnknown.java index 0b83aae214d..8d92b308a18 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/SelectorPseudoClassNoUnknown.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/SelectorPseudoClassNoUnknown.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/SelectorPseudoElementNoUnknown.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/SelectorPseudoElementNoUnknown.java index 4bb5d6b96ef..16aeffab37e 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/SelectorPseudoElementNoUnknown.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/SelectorPseudoElementNoUnknown.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/SelectorTypeNoUnknown.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/SelectorTypeNoUnknown.java index adb3340a4ae..3cff3521e7f 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/SelectorTypeNoUnknown.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/SelectorTypeNoUnknown.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/StringNoNewline.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/StringNoNewline.java index bf8f65a883e..d60cd6bfb59 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/StringNoNewline.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/StringNoNewline.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/UnitNoUnknown.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/UnitNoUnknown.java index beedec521d4..b9a23d6b131 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/UnitNoUnknown.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/UnitNoUnknown.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/main/java/org/sonar/css/rules/package-info.java b/sonar-plugin/css/src/main/java/org/sonar/css/rules/package-info.java index 2238711a05d..c598f260837 100644 --- a/sonar-plugin/css/src/main/java/org/sonar/css/rules/package-info.java +++ b/sonar-plugin/css/src/main/java/org/sonar/css/rules/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @javax.annotation.ParametersAreNonnullByDefault package org.sonar.css.rules; diff --git a/sonar-plugin/css/src/test/java/org/sonar/css/CssLanguageTest.java b/sonar-plugin/css/src/test/java/org/sonar/css/CssLanguageTest.java index d1b17f2f2ba..9350433430b 100644 --- a/sonar-plugin/css/src/test/java/org/sonar/css/CssLanguageTest.java +++ b/sonar-plugin/css/src/test/java/org/sonar/css/CssLanguageTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css; diff --git a/sonar-plugin/css/src/test/java/org/sonar/css/CssProfileDefinitionTest.java b/sonar-plugin/css/src/test/java/org/sonar/css/CssProfileDefinitionTest.java index 2e2c60fbd53..c154c9be779 100644 --- a/sonar-plugin/css/src/test/java/org/sonar/css/CssProfileDefinitionTest.java +++ b/sonar-plugin/css/src/test/java/org/sonar/css/CssProfileDefinitionTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css; diff --git a/sonar-plugin/css/src/test/java/org/sonar/css/CssRulesDefinitionTest.java b/sonar-plugin/css/src/test/java/org/sonar/css/CssRulesDefinitionTest.java index c7e7c077c8e..5645aa319ac 100644 --- a/sonar-plugin/css/src/test/java/org/sonar/css/CssRulesDefinitionTest.java +++ b/sonar-plugin/css/src/test/java/org/sonar/css/CssRulesDefinitionTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css; diff --git a/sonar-plugin/css/src/test/java/org/sonar/css/StylelintReportSensorTest.java b/sonar-plugin/css/src/test/java/org/sonar/css/StylelintReportSensorTest.java index 5beaa540593..affbe5d74ac 100644 --- a/sonar-plugin/css/src/test/java/org/sonar/css/StylelintReportSensorTest.java +++ b/sonar-plugin/css/src/test/java/org/sonar/css/StylelintReportSensorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css; diff --git a/sonar-plugin/css/src/test/java/org/sonar/css/TestActiveRules.java b/sonar-plugin/css/src/test/java/org/sonar/css/TestActiveRules.java index c0f98d091d7..07e87369e87 100644 --- a/sonar-plugin/css/src/test/java/org/sonar/css/TestActiveRules.java +++ b/sonar-plugin/css/src/test/java/org/sonar/css/TestActiveRules.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css; diff --git a/sonar-plugin/css/src/test/java/org/sonar/css/metrics/CssMetricSensorTest.java b/sonar-plugin/css/src/test/java/org/sonar/css/metrics/CssMetricSensorTest.java index 0993378d6e6..16048b0e8d9 100644 --- a/sonar-plugin/css/src/test/java/org/sonar/css/metrics/CssMetricSensorTest.java +++ b/sonar-plugin/css/src/test/java/org/sonar/css/metrics/CssMetricSensorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.metrics; diff --git a/sonar-plugin/css/src/test/java/org/sonar/css/metrics/TokenizerTest.java b/sonar-plugin/css/src/test/java/org/sonar/css/metrics/TokenizerTest.java index bfcb98ac295..03818fba192 100644 --- a/sonar-plugin/css/src/test/java/org/sonar/css/metrics/TokenizerTest.java +++ b/sonar-plugin/css/src/test/java/org/sonar/css/metrics/TokenizerTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.metrics; diff --git a/sonar-plugin/css/src/test/java/org/sonar/css/rules/CssRuleTest.java b/sonar-plugin/css/src/test/java/org/sonar/css/rules/CssRuleTest.java index ecfd48995f9..232478ebd8e 100644 --- a/sonar-plugin/css/src/test/java/org/sonar/css/rules/CssRuleTest.java +++ b/sonar-plugin/css/src/test/java/org/sonar/css/rules/CssRuleTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.css.rules; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AdjacentOverloadSignaturesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AdjacentOverloadSignaturesCheck.java index 38193cbd6fb..57debf94b80 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AdjacentOverloadSignaturesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AdjacentOverloadSignaturesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AlertUseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AlertUseCheck.java index 33a25229864..b6666c6b263 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AlertUseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AlertUseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AlphabeticalSortCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AlphabeticalSortCheck.java index 0676ff45364..72cde96ec88 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AlphabeticalSortCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AlphabeticalSortCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AltTextCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AltTextCheck.java index 13a6ff7a9cc..3e1d0a4487f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AltTextCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AltTextCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AlwaysUseCurlyBracesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AlwaysUseCurlyBracesCheck.java index d71025f1657..766abf20868 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AlwaysUseCurlyBracesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AlwaysUseCurlyBracesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AnchorHasContentCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AnchorHasContentCheck.java index 981b5c69af6..3785b23a03c 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AnchorHasContentCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AnchorHasContentCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AnchorIsValidCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AnchorIsValidCheck.java index 9dc12b057a1..f87bc2204a1 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AnchorIsValidCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AnchorIsValidCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AnchorPrecedenceCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AnchorPrecedenceCheck.java index 8d463cfa559..79ead55f4ad 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AnchorPrecedenceCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AnchorPrecedenceCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AngleBracketTypeAssertionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AngleBracketTypeAssertionCheck.java index 8d7627e9709..e690b06b821 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AngleBracketTypeAssertionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AngleBracketTypeAssertionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArgumentTypesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArgumentTypesCheck.java index 459dfd45862..bc7ab028693 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArgumentTypesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArgumentTypesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArgumentsCallerCalleeUsageCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArgumentsCallerCalleeUsageCheck.java index 34122c419a8..7e6eaf4a432 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArgumentsCallerCalleeUsageCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArgumentsCallerCalleeUsageCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArgumentsUsageCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArgumentsUsageCheck.java index 6e186ae195e..b1392556ba3 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArgumentsUsageCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArgumentsUsageCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaActivedescendantHasTabindexCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaActivedescendantHasTabindexCheck.java index 852f87dbe4e..bfa9d4429b9 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaActivedescendantHasTabindexCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaActivedescendantHasTabindexCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaProptypesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaProptypesCheck.java index bdbee0e1d49..59ecc126a0a 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaProptypesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaProptypesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaRoleCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaRoleCheck.java index dc05c18887f..a48604e80a2 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaRoleCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaRoleCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaUnsupportedElementsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaUnsupportedElementsCheck.java index 41c90c00105..4f7f56321b7 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaUnsupportedElementsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AriaUnsupportedElementsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArithmeticOperationReturningNanCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArithmeticOperationReturningNanCheck.java index 82f7ec5fe67..a07819cb6b2 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArithmeticOperationReturningNanCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArithmeticOperationReturningNanCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArrayCallbackWithoutReturnCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArrayCallbackWithoutReturnCheck.java index 1a5a1a52766..8302028762d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArrayCallbackWithoutReturnCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArrayCallbackWithoutReturnCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArrayConstructorsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArrayConstructorsCheck.java index 96cd6f53dc1..d876099cbf5 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArrayConstructorsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArrayConstructorsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArrowFunctionConventionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArrowFunctionConventionCheck.java index 2de127c3a7d..744f1163e50 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArrowFunctionConventionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ArrowFunctionConventionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AssertionsInTestsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AssertionsInTestsCheck.java index d2a240896f3..7a5e7485b35 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AssertionsInTestsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AssertionsInTestsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AssociativeArraysCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AssociativeArraysCheck.java index 1a8484aeaf9..75559922617 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AssociativeArraysCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AssociativeArraysCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AutocompleteValidCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AutocompleteValidCheck.java index 0f69c1a8e76..39c221049ec 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AutocompleteValidCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AutocompleteValidCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsApigatewayPublicApiCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsApigatewayPublicApiCheck.java index 59e9a910112..1cece76a2bd 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsApigatewayPublicApiCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsApigatewayPublicApiCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsEc2RdsDmsPublicCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsEc2RdsDmsPublicCheck.java index 612652f7c89..a6f6b6263b0 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsEc2RdsDmsPublicCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsEc2RdsDmsPublicCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsEc2UnencryptedEbsVolumeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsEc2UnencryptedEbsVolumeCheck.java index 7d36e4ee3b8..d4457ef96ba 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsEc2UnencryptedEbsVolumeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsEc2UnencryptedEbsVolumeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsEfsUnencryptedCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsEfsUnencryptedCheck.java index 333e6b27b4d..d58519abfaf 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsEfsUnencryptedCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsEfsUnencryptedCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamAllPrivilegesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamAllPrivilegesCheck.java index 1dec20b32e6..6e7b3ccce12 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamAllPrivilegesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamAllPrivilegesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamAllResourcesAccessibleCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamAllResourcesAccessibleCheck.java index 108c0965fc2..5badab4cefc 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamAllResourcesAccessibleCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamAllResourcesAccessibleCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamPrivilegeEscalationCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamPrivilegeEscalationCheck.java index 38edb9871e7..1a07d57c2ca 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamPrivilegeEscalationCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamPrivilegeEscalationCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamPublicAccessCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamPublicAccessCheck.java index f53f4e3df9a..426a73aa7c4 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamPublicAccessCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsIamPublicAccessCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsOpenSearchServiceDomainCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsOpenSearchServiceDomainCheck.java index 1e73985d633..853de390c57 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsOpenSearchServiceDomainCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsOpenSearchServiceDomainCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsRdsUnencryptedDatabasesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsRdsUnencryptedDatabasesCheck.java index 506df2c2b17..a8e983073a6 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsRdsUnencryptedDatabasesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsRdsUnencryptedDatabasesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsRestrictedIpAdminAccessCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsRestrictedIpAdminAccessCheck.java index 29c465c41e2..8da5f6c3744 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsRestrictedIpAdminAccessCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsRestrictedIpAdminAccessCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketGrantedAccessCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketGrantedAccessCheck.java index 746c224ee82..e39921c84ab 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketGrantedAccessCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketGrantedAccessCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketInsecureHttpCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketInsecureHttpCheck.java index e01b94f9e72..409fcb1099f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketInsecureHttpCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketInsecureHttpCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketPublicAccessCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketPublicAccessCheck.java index fd0ad0b4f60..950eb8b1823 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketPublicAccessCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketPublicAccessCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketServerEncryptionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketServerEncryptionCheck.java index 9ee78a3ed8b..c92dc89017f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketServerEncryptionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketServerEncryptionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketVersioningCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketVersioningCheck.java index e5faefbc83c..e9404e10455 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketVersioningCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsS3BucketVersioningCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsSagemakerUnencryptedNotebookCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsSagemakerUnencryptedNotebookCheck.java index 294458e39aa..01c87c0a196 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsSagemakerUnencryptedNotebookCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsSagemakerUnencryptedNotebookCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsSnsUnencryptedTopicsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsSnsUnencryptedTopicsCheck.java index 888f63e9ab2..e56a63d5482 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsSnsUnencryptedTopicsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsSnsUnencryptedTopicsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsSqsUnencryptedQueueCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsSqsUnencryptedQueueCheck.java index 2306659004e..8f2cf8b7786 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsSqsUnencryptedQueueCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/AwsSqsUnencryptedQueueCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BitwiseOperatorsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BitwiseOperatorsCheck.java index 7d33320f800..f21c343f428 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BitwiseOperatorsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BitwiseOperatorsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BoolParamDefaultCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BoolParamDefaultCheck.java index 6fb97ccf2de..a75b9d076b2 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BoolParamDefaultCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BoolParamDefaultCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BooleanEqualityComparisonCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BooleanEqualityComparisonCheck.java index 8be6179302a..2d7abc63577 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BooleanEqualityComparisonCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BooleanEqualityComparisonCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BuiltInObjectOverriddenCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BuiltInObjectOverriddenCheck.java index a50d52dccdf..78be83c7de8 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BuiltInObjectOverriddenCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/BuiltInObjectOverriddenCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CertificateTransparencyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CertificateTransparencyCheck.java index 6e18a06beea..c486564afa0 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CertificateTransparencyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CertificateTransparencyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ChaiDeterminateAssertionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ChaiDeterminateAssertionCheck.java index 0437aad4fa3..9b42195b4c3 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ChaiDeterminateAssertionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ChaiDeterminateAssertionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CheckList.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CheckList.java index a56c5f5ad9c..208cb46cdd9 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CheckList.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CheckList.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ClassNameCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ClassNameCheck.java index 683717d9a79..087ad4ca9ac 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ClassNameCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ClassNameCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ClassPrototypeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ClassPrototypeCheck.java index 96dd3af3bd6..816442b4c4b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ClassPrototypeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ClassPrototypeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CognitiveComplexityFunctionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CognitiveComplexityFunctionCheck.java index 294f1ca1590..69bdfef937b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CognitiveComplexityFunctionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CognitiveComplexityFunctionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CollapsibleIfStatementsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CollapsibleIfStatementsCheck.java index 97a6b3327c0..dccf682a05f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CollapsibleIfStatementsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CollapsibleIfStatementsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CollectionSizeComparisonCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CollectionSizeComparisonCheck.java index 799cbcc1694..7221098a854 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CollectionSizeComparisonCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CollectionSizeComparisonCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommaOperatorInSwitchCaseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommaOperatorInSwitchCaseCheck.java index 97ce82fa0a8..6e24c51c3e6 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommaOperatorInSwitchCaseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommaOperatorInSwitchCaseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommaOperatorUseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommaOperatorUseCheck.java index 27be44c3010..5eb6bf922cc 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommaOperatorUseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommaOperatorUseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommentRegularExpressionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommentRegularExpressionCheck.java index f703831eb41..038f4905fb9 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommentRegularExpressionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommentRegularExpressionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommentedCodeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommentedCodeCheck.java index 43a820a9b07..814c41f23ed 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommentedCodeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CommentedCodeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ComparisonWithNaNCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ComparisonWithNaNCheck.java index d2f31211de6..e34855f775d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ComparisonWithNaNCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ComparisonWithNaNCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConciseRegexCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConciseRegexCheck.java index 435dd8e8e11..6fc4067a43d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConciseRegexCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConciseRegexCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConditionalIndentationCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConditionalIndentationCheck.java index 0739380daeb..b613f166b1e 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConditionalIndentationCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConditionalIndentationCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConditionalOperatorCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConditionalOperatorCheck.java index d0f6830c33e..6c617b76fd9 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConditionalOperatorCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConditionalOperatorCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConfidentialInformationLoggingCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConfidentialInformationLoggingCheck.java index 93203487b44..840d65fc5ee 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConfidentialInformationLoggingCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConfidentialInformationLoggingCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConsistentReturnsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConsistentReturnsCheck.java index c9919c9964b..ee4527d120e 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConsistentReturnsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConsistentReturnsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConsoleLoggingCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConsoleLoggingCheck.java index c8959d7058a..336c3903ff9 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConsoleLoggingCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConsoleLoggingCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConstructorFunctionsForSideEffectsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConstructorFunctionsForSideEffectsCheck.java index 51bcaf933c9..43de4a030b6 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConstructorFunctionsForSideEffectsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ConstructorFunctionsForSideEffectsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ContentLengthCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ContentLengthCheck.java index 01ae6d44ec5..c46b59e1635 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ContentLengthCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ContentLengthCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ContentSecurityPolicyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ContentSecurityPolicyCheck.java index 206bfc1379f..667fb2ef288 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ContentSecurityPolicyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ContentSecurityPolicyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ContinueStatementCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ContinueStatementCheck.java index 3d618f065b8..5d75ae139e1 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ContinueStatementCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ContinueStatementCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CookieNoHttpOnlyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CookieNoHttpOnlyCheck.java index 1208fb82704..096d7a0adcf 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CookieNoHttpOnlyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CookieNoHttpOnlyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CookiesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CookiesCheck.java index 7f641704a93..2fa7dffb604 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CookiesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CookiesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CorsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CorsCheck.java index e4ce08b9b28..695ecd2c149 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CorsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CorsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CounterUpdatedInLoopCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CounterUpdatedInLoopCheck.java index 04bc42e0f63..37e8882bfa5 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CounterUpdatedInLoopCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CounterUpdatedInLoopCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CsrfCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CsrfCheck.java index 24198167a20..63dfa209d9d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CsrfCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CsrfCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CyclomaticComplexityJavaScriptCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CyclomaticComplexityJavaScriptCheck.java index f74afe99f23..3aeb234197d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CyclomaticComplexityJavaScriptCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CyclomaticComplexityJavaScriptCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CyclomaticComplexityTypeScriptCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CyclomaticComplexityTypeScriptCheck.java index 1ccd1d3b1c1..2006a72e2cb 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CyclomaticComplexityTypeScriptCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/CyclomaticComplexityTypeScriptCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeadStoreCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeadStoreCheck.java index 7d92e4f32d9..d89cecb7a6e 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeadStoreCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeadStoreCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DebuggerStatementCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DebuggerStatementCheck.java index 761677541cf..2bbb64f51b8 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DebuggerStatementCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DebuggerStatementCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeclarationInGlobalScopeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeclarationInGlobalScopeCheck.java index 5ad5c85c511..7966debded0 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeclarationInGlobalScopeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeclarationInGlobalScopeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DefaultParametersNotLastCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DefaultParametersNotLastCheck.java index 6777414d25c..9fb9e75df94 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DefaultParametersNotLastCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DefaultParametersNotLastCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DefaultPropsMatchPropTypesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DefaultPropsMatchPropTypesCheck.java index c910c34e06e..dfe8c267b85 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DefaultPropsMatchPropTypesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DefaultPropsMatchPropTypesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeleteNonPropertyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeleteNonPropertyCheck.java index d202148cd06..511cdec461b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeleteNonPropertyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeleteNonPropertyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeprecationCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeprecationCheck.java index 05eb8f51350..4566df6f9dc 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeprecationCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DeprecationCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DestructuringAssignmentSyntaxCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DestructuringAssignmentSyntaxCheck.java index b2f226eefde..c381752ab88 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DestructuringAssignmentSyntaxCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DestructuringAssignmentSyntaxCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DifferentTypesComparisonCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DifferentTypesComparisonCheck.java index c9e24efcb92..b1aa603370b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DifferentTypesComparisonCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DifferentTypesComparisonCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DisabledAutoEscapingCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DisabledAutoEscapingCheck.java index 69c343864bf..bf88c314aee 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DisabledAutoEscapingCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DisabledAutoEscapingCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DisabledResourceIntegrityCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DisabledResourceIntegrityCheck.java index 5ec0532006f..ef40ea64178 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DisabledResourceIntegrityCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DisabledResourceIntegrityCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DisabledTimeoutCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DisabledTimeoutCheck.java index da27bde1582..f454e4a3c7e 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DisabledTimeoutCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DisabledTimeoutCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DnsPrefetchingCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DnsPrefetchingCheck.java index 98550c2df16..be8eb9cdc01 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DnsPrefetchingCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DnsPrefetchingCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateAllBranchImplementationCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateAllBranchImplementationCheck.java index e10048ae5e8..41888161bfc 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateAllBranchImplementationCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateAllBranchImplementationCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateBranchImplementationCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateBranchImplementationCheck.java index 2112ab4fb16..05aca6dfa4f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateBranchImplementationCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateBranchImplementationCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateConditionIfCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateConditionIfCheck.java index 64ebf2616c7..b2cec2b0fd0 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateConditionIfCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateConditionIfCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateFunctionArgumentCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateFunctionArgumentCheck.java index eb45237634e..d06e913ed49 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateFunctionArgumentCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicateFunctionArgumentCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicatePropertyNameCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicatePropertyNameCheck.java index d3c23ff88c9..3f279172c16 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicatePropertyNameCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicatePropertyNameCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicatesInCharacterClassCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicatesInCharacterClassCheck.java index 2a9c6098710..d4c43a7353f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicatesInCharacterClassCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/DuplicatesInCharacterClassCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ElseIfWithoutElseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ElseIfWithoutElseCheck.java index 81335a96f97..59235cbf21f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ElseIfWithoutElseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ElseIfWithoutElseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyBlockCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyBlockCheck.java index 8d1f933369d..3dc44f88e98 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyBlockCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyBlockCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyCharacterClassesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyCharacterClassesCheck.java index 2e722803bad..f0d42fafd6b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyCharacterClassesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyCharacterClassesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyDestructuringPatternCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyDestructuringPatternCheck.java index ccb4bbc4d44..deb2df82e27 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyDestructuringPatternCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyDestructuringPatternCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyFunctionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyFunctionCheck.java index 0cd2084c274..b891168f690 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyFunctionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyFunctionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyStatementCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyStatementCheck.java index 3ef07814d5c..ffbc94f2188 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyStatementCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyStatementCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyStringRepetitionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyStringRepetitionCheck.java index 06e4cb643c8..2bf6a34fb05 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyStringRepetitionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EmptyStringRepetitionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EncryptionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EncryptionCheck.java index c33a246bdad..7ba0eecbb26 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EncryptionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EncryptionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EncryptionSecureModeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EncryptionSecureModeCheck.java index 98e36ed1a08..df18245a9be 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EncryptionSecureModeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EncryptionSecureModeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EqEqEqCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EqEqEqCheck.java index 565b2f62322..53b43d9011d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EqEqEqCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EqEqEqCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EqualInForLoopTerminationCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EqualInForLoopTerminationCheck.java index 7d4b454632f..8ee8f0ce3bc 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EqualInForLoopTerminationCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EqualInForLoopTerminationCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ErrorWithoutThrowCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ErrorWithoutThrowCheck.java index 9d4c96fff71..c43f8893ad4 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ErrorWithoutThrowCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ErrorWithoutThrowCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EscapeUtils.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EscapeUtils.java index 399a2f5701b..e37e2eb811a 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EscapeUtils.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EscapeUtils.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EvalCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EvalCheck.java index d592971912f..f8435996206 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EvalCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/EvalCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ExistingGroupsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ExistingGroupsCheck.java index c4ab0ef8375..b9a9ba6ca5d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ExistingGroupsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ExistingGroupsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ExpressionComplexityCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ExpressionComplexityCheck.java index 6333c03bc14..a8c5a24048e 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ExpressionComplexityCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ExpressionComplexityCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FileHeaderCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FileHeaderCheck.java index 0d464c707b9..5db1a0828a0 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FileHeaderCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FileHeaderCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FileNameDiffersFromClassCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FileNameDiffersFromClassCheck.java index 764fa9154a7..1778903e306 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FileNameDiffersFromClassCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FileNameDiffersFromClassCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FilePermissionsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FilePermissionsCheck.java index 62af9be43d8..310e7b7ebf1 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FilePermissionsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FilePermissionsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FileUploadsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FileUploadsCheck.java index ca4a2e742f2..b22b8090fa3 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FileUploadsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FileUploadsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FixmeTagPresenceCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FixmeTagPresenceCheck.java index 229cf430bfb..7c13bafa568 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FixmeTagPresenceCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FixmeTagPresenceCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForHidingWhileCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForHidingWhileCheck.java index 3bba40c8795..322694eff7b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForHidingWhileCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForHidingWhileCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForInCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForInCheck.java index ed558c77db5..df9f35cfe14 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForInCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForInCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForLoopConditionAndUpdateCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForLoopConditionAndUpdateCheck.java index e9140c5c5af..57d062462f3 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForLoopConditionAndUpdateCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForLoopConditionAndUpdateCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForLoopIncrementSignCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForLoopIncrementSignCheck.java index 8d617ca71ce..b2513957f5b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForLoopIncrementSignCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ForLoopIncrementSignCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FormatRuleProperty.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FormatRuleProperty.java index 3f3f8852831..58ded26383c 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FormatRuleProperty.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FormatRuleProperty.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FrameAncestorsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FrameAncestorsCheck.java index 1c8507c97ce..790f47c9179 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FrameAncestorsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FrameAncestorsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionCallArgumentsOnNewLineCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionCallArgumentsOnNewLineCheck.java index 8b451f4c34f..9088d517af9 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionCallArgumentsOnNewLineCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionCallArgumentsOnNewLineCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionConstructorCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionConstructorCheck.java index 37a4e04051f..bb4b211816f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionConstructorCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionConstructorCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionDeclarationsWithinBlocksCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionDeclarationsWithinBlocksCheck.java index 00a71c114d2..dabd273ec72 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionDeclarationsWithinBlocksCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionDeclarationsWithinBlocksCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionDefinitionInsideLoopCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionDefinitionInsideLoopCheck.java index 140e5c4f539..d4a4d716b3e 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionDefinitionInsideLoopCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionDefinitionInsideLoopCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionNameCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionNameCheck.java index 68a31965995..cbe9808f1c9 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionNameCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionNameCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionReturnTypeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionReturnTypeCheck.java index 95a494206f8..5445a282cdf 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionReturnTypeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FunctionReturnTypeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FutureReservedWordsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FutureReservedWordsCheck.java index 3ef9a1b339b..9c7139c0f05 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FutureReservedWordsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/FutureReservedWordsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GeneratorWithoutYieldCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GeneratorWithoutYieldCheck.java index 3ecbe874edb..35b3d0746fd 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GeneratorWithoutYieldCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GeneratorWithoutYieldCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GetterSetterCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GetterSetterCheck.java index 1066fd01b83..5953686cc24 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GetterSetterCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GetterSetterCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GlobalThisCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GlobalThisCheck.java index cf5ca3ae4c7..f32f5432376 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GlobalThisCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GlobalThisCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GlobalsShadowingCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GlobalsShadowingCheck.java index 21bbad86a90..ab4d5ea52d2 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GlobalsShadowingCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GlobalsShadowingCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GratuitousConditionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GratuitousConditionCheck.java index f199d243a3b..a6821ece4ff 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GratuitousConditionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/GratuitousConditionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HardcodedCredentialsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HardcodedCredentialsCheck.java index d067f8c0681..b84af7fb7cd 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HardcodedCredentialsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HardcodedCredentialsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HashingCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HashingCheck.java index ca1047ee396..d6dfc6b44e0 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HashingCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HashingCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HeadingHasContentCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HeadingHasContentCheck.java index e5bf4b3980b..5912be101d6 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HeadingHasContentCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HeadingHasContentCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HiddenFilesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HiddenFilesCheck.java index dd0cf446c5d..4b5058e9430 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HiddenFilesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HiddenFilesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HookUseStateCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HookUseStateCheck.java index 4b92e83c4b6..725cc51e469 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HookUseStateCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HookUseStateCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HtmlHasLangCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HtmlHasLangCheck.java index badde3044a1..c869f6543dd 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HtmlHasLangCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/HtmlHasLangCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IdenticalExpressionOnBinaryOperatorCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IdenticalExpressionOnBinaryOperatorCheck.java index 895f7556ca0..1d58b6f325d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IdenticalExpressionOnBinaryOperatorCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IdenticalExpressionOnBinaryOperatorCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IdenticalFunctionsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IdenticalFunctionsCheck.java index 15b30d4afc3..702212100f1 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IdenticalFunctionsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IdenticalFunctionsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IframeHasTitleCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IframeHasTitleCheck.java index 2d9435568b4..23818c134fc 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IframeHasTitleCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IframeHasTitleCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IgnoredReturnCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IgnoredReturnCheck.java index 9d6fb32c27d..7f8a8e94909 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IgnoredReturnCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IgnoredReturnCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ImgRedundantAltCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ImgRedundantAltCheck.java index 0e399773b06..c702d7e1ce5 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ImgRedundantAltCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ImgRedundantAltCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ImmediatelyReturnedVariableCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ImmediatelyReturnedVariableCheck.java index 7097661001f..dfe16f92948 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ImmediatelyReturnedVariableCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ImmediatelyReturnedVariableCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ImplicitDependenciesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ImplicitDependenciesCheck.java index a79cd2648b8..bdb8e54a771 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ImplicitDependenciesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ImplicitDependenciesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InOperatorTypeErrorCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InOperatorTypeErrorCheck.java index 48df122714a..ec6e5faedf1 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InOperatorTypeErrorCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InOperatorTypeErrorCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InconsistentFunctionCallCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InconsistentFunctionCallCheck.java index cd54cc6927b..09265413421 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InconsistentFunctionCallCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InconsistentFunctionCallCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IncrementDecrementInSubExpressionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IncrementDecrementInSubExpressionCheck.java index b7da600fe2b..a38ab7385d7 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IncrementDecrementInSubExpressionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IncrementDecrementInSubExpressionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IndexOfCompareToPositiveNumberCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IndexOfCompareToPositiveNumberCheck.java index 2cc73e1d4e9..0d216262567 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IndexOfCompareToPositiveNumberCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IndexOfCompareToPositiveNumberCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InsecureCookieCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InsecureCookieCheck.java index bc05be82801..f131fd8206a 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InsecureCookieCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InsecureCookieCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InsecureJwtTokenCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InsecureJwtTokenCheck.java index 55d61905c04..8a9bd87ced3 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InsecureJwtTokenCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InsecureJwtTokenCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InstanceofInMisuseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InstanceofInMisuseCheck.java index 2f0e4a08400..8eaab645d57 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InstanceofInMisuseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InstanceofInMisuseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InteractiveElementsShouldBeFocusableCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InteractiveElementsShouldBeFocusableCheck.java index 87416d9eb34..cb0aad0d7bd 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InteractiveElementsShouldBeFocusableCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InteractiveElementsShouldBeFocusableCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IntrusivePermissionsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IntrusivePermissionsCheck.java index 2239b47dc38..d90a4dc6d5e 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IntrusivePermissionsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IntrusivePermissionsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InvariantReturnCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InvariantReturnCheck.java index 958de9c3e6d..4827e9b9ef2 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InvariantReturnCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InvariantReturnCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InvertedAssertionArgumentsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InvertedAssertionArgumentsCheck.java index 21c1f7359e4..823bec4d4a8 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InvertedAssertionArgumentsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/InvertedAssertionArgumentsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IpForwardCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IpForwardCheck.java index 5ace4fa14df..c5f3dcab785 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IpForwardCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/IpForwardCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxChildElementSpacingCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxChildElementSpacingCheck.java index 5c320c875f2..cde882e4110 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxChildElementSpacingCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxChildElementSpacingCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxKeyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxKeyCheck.java index 00091b539ff..dc1e99d8666 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxKeyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxKeyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoBindCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoBindCheck.java index d7af02fb7ab..9011d7dab96 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoBindCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoBindCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoCommentTextnodesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoCommentTextnodesCheck.java index 5da27d06e4c..149de0d19de 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoCommentTextnodesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoCommentTextnodesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoConstructedContextValuesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoConstructedContextValuesCheck.java index c7cc3dfa3e4..53326dc88e8 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoConstructedContextValuesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoConstructedContextValuesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoLeakedRenderCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoLeakedRenderCheck.java index a9c81019861..03e99e6e15f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoLeakedRenderCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoLeakedRenderCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoUselessFragmentCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoUselessFragmentCheck.java index f76f335f336..563f0596eb2 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoUselessFragmentCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxNoUselessFragmentCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxPascalCaseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxPascalCaseCheck.java index ec2a013a7e1..fcbeff74a4a 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxPascalCaseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JsxPascalCaseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JumpStatementInFinallyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JumpStatementInFinallyCheck.java index 2a445ba80fe..228e43e46f2 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JumpStatementInFinallyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/JumpStatementInFinallyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LabelHasAssociatedControlCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LabelHasAssociatedControlCheck.java index 82a6cae667d..91331f308ef 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LabelHasAssociatedControlCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LabelHasAssociatedControlCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LabelPlacementCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LabelPlacementCheck.java index 4c044f059c1..5ab5d77178c 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LabelPlacementCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LabelPlacementCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LabelledStatementCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LabelledStatementCheck.java index 0bbae108c4f..0f1b9461343 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LabelledStatementCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LabelledStatementCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LineLengthCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LineLengthCheck.java index b326c1e8043..566b486ae31 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LineLengthCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LineLengthCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LinkWithTargetBlankCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LinkWithTargetBlankCheck.java index e3f6dcf53e8..4bb5ffe40f5 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LinkWithTargetBlankCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LinkWithTargetBlankCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LoopsShouldNotBeInfiniteCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LoopsShouldNotBeInfiniteCheck.java index 88d6dd44427..c6d30c56d13 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LoopsShouldNotBeInfiniteCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/LoopsShouldNotBeInfiniteCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MaxParameterCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MaxParameterCheck.java index fe3c4173bd8..1a72d779345 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MaxParameterCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MaxParameterCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MaxSwitchCasesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MaxSwitchCasesCheck.java index 8fad736fc99..a1b06fc0013 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MaxSwitchCasesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MaxSwitchCasesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MaxUnionSizeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MaxUnionSizeCheck.java index 415febb9755..b8c447208aa 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MaxUnionSizeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MaxUnionSizeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MediaHasCaptionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MediaHasCaptionCheck.java index 5d87de640bf..6ea5554a4ea 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MediaHasCaptionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MediaHasCaptionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MisorderedParameterListCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MisorderedParameterListCheck.java index bb1a7bb8209..c5b3400cb51 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MisorderedParameterListCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MisorderedParameterListCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MissingNewlineAtEndOfFileCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MissingNewlineAtEndOfFileCheck.java index a940af18160..668d16b9966 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MissingNewlineAtEndOfFileCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MissingNewlineAtEndOfFileCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MissingTrailingCommaCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MissingTrailingCommaCheck.java index 4eac4509f71..91d6bda23d5 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MissingTrailingCommaCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MissingTrailingCommaCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MouseEventsA11YCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MouseEventsA11YCheck.java index 67f8a191c91..40259c6d075 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MouseEventsA11YCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MouseEventsA11YCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MultilineBlockCurlyBraceCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MultilineBlockCurlyBraceCheck.java index 3a7a40550a4..69de6efd4ca 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MultilineBlockCurlyBraceCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MultilineBlockCurlyBraceCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MultilineStringLiteralsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MultilineStringLiteralsCheck.java index 5ff2c48a07c..e963f44fd3d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MultilineStringLiteralsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/MultilineStringLiteralsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NestedAssignmentCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NestedAssignmentCheck.java index b86623d754d..a71ff9afdd2 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NestedAssignmentCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NestedAssignmentCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NestedConditionalOperatorsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NestedConditionalOperatorsCheck.java index 203134c686d..7e9b3ff450f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NestedConditionalOperatorsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NestedConditionalOperatorsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NestedControlFlowDepthCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NestedControlFlowDepthCheck.java index 5b00730f33b..f7fd83d8570 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NestedControlFlowDepthCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NestedControlFlowDepthCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NewCapCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NewCapCheck.java index bf698753a77..21afecd9557 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NewCapCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NewCapCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NewOperatorMisuseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NewOperatorMisuseCheck.java index 021a0d5f9d1..70ef3ed009b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NewOperatorMisuseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NewOperatorMisuseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAbsolutePathCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAbsolutePathCheck.java index 4cfefe38b58..766e1b30c89 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAbsolutePathCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAbsolutePathCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAccessKeyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAccessKeyCheck.java index c9187582834..ffd81e8ec8b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAccessKeyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAccessKeyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAccessStateInSetstateCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAccessStateInSetstateCheck.java index 431dc7319e0..27abe9cc172 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAccessStateInSetstateCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAccessStateInSetstateCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAccessorFieldMismatchCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAccessorFieldMismatchCheck.java index 6902ae32513..ae40f689ff0 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAccessorFieldMismatchCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAccessorFieldMismatchCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAngularBypassSanitizationCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAngularBypassSanitizationCheck.java index 818f71f31da..086f539df39 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAngularBypassSanitizationCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAngularBypassSanitizationCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAnyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAnyCheck.java index 07c8854329b..3155dad1ef7 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAnyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAnyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAriaHiddenOnFocusableCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAriaHiddenOnFocusableCheck.java index 29409a5ea1a..6ef85e40560 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAriaHiddenOnFocusableCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAriaHiddenOnFocusableCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoArrayDeleteCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoArrayDeleteCheck.java index 06c13edac29..f63077f4e44 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoArrayDeleteCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoArrayDeleteCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoArrayIndexKeyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoArrayIndexKeyCheck.java index aeaf6f638da..ec235e5e7e5 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoArrayIndexKeyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoArrayIndexKeyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAsyncConstructorCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAsyncConstructorCheck.java index 0033723eba9..b822bdd5f7d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAsyncConstructorCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoAsyncConstructorCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoBaseToStringCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoBaseToStringCheck.java index 9292f594483..c2813ed995c 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoBaseToStringCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoBaseToStringCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoCaseDeclarationsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoCaseDeclarationsCheck.java index b3eb945896f..4718deea125 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoCaseDeclarationsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoCaseDeclarationsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoChildrenPropCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoChildrenPropCheck.java index 660ea68b9c5..a9dd1648695 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoChildrenPropCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoChildrenPropCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoClearTextProtocolsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoClearTextProtocolsCheck.java index b46cb631725..bff9360156e 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoClearTextProtocolsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoClearTextProtocolsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoCodeAfterDoneCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoCodeAfterDoneCheck.java index 2f660820c79..3c27413f5a8 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoCodeAfterDoneCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoCodeAfterDoneCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoConfusingNonNullAssertionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoConfusingNonNullAssertionCheck.java index f82106b301d..9e841ad217b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoConfusingNonNullAssertionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoConfusingNonNullAssertionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoConstantBinaryExpressionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoConstantBinaryExpressionCheck.java index 77b30098bc5..662290f46ff 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoConstantBinaryExpressionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoConstantBinaryExpressionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoConstructorReturnCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoConstructorReturnCheck.java index e1687b9c68b..c679080f524 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoConstructorReturnCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoConstructorReturnCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoControlRegexCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoControlRegexCheck.java index 5cbcdae3b72..8c1d4d8bd11 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoControlRegexCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoControlRegexCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDangerWithChildrenCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDangerWithChildrenCheck.java index c713b9dcc70..22d4f2581cb 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDangerWithChildrenCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDangerWithChildrenCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDeprecatedReactCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDeprecatedReactCheck.java index 5d15ae5fd5a..b1e9a74709a 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDeprecatedReactCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDeprecatedReactCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDirectMutationStateCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDirectMutationStateCheck.java index 6d27da2a38f..f613f63abda 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDirectMutationStateCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDirectMutationStateCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateEnumValuesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateEnumValuesCheck.java index 3e1a90312d8..1e5ab2913cf 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateEnumValuesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateEnumValuesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateImportsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateImportsCheck.java index 2a5a22bd1e6..8b6fd377c95 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateImportsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateImportsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateInCompositeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateInCompositeCheck.java index 9550ae4f4b7..5f15524946f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateInCompositeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateInCompositeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateStringCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateStringCheck.java index 12594207f21..50fad2bcfd5 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateStringCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoDuplicateStringCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoElementOverwriteCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoElementOverwriteCheck.java index f5a2c66c49e..11a005582fc 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoElementOverwriteCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoElementOverwriteCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyAfterReluctantCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyAfterReluctantCheck.java index b3b657ac6a1..c97ab86f1e1 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyAfterReluctantCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyAfterReluctantCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyAlternativesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyAlternativesCheck.java index f7ba6b0bcd7..19ebcf28788 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyAlternativesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyAlternativesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyClassCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyClassCheck.java index 681cb8c4025..ad7fe03ed51 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyClassCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyClassCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyCollectionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyCollectionCheck.java index 480db3bf5be..61e15132bf3 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyCollectionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyCollectionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyGroupCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyGroupCheck.java index ed6f6644b1e..b16a39f7647 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyGroupCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyGroupCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyInterfaceCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyInterfaceCheck.java index 75cab285556..f4f304b076f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyInterfaceCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyInterfaceCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyTestFileCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyTestFileCheck.java index 1ff97c09b56..aa5e50e52fa 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyTestFileCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoEmptyTestFileCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExclusiveTestsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExclusiveTestsCheck.java index 3f4870fdce7..c2375144bef 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExclusiveTestsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExclusiveTestsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExtendNativeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExtendNativeCheck.java index 109733cdfb2..0448ea6c71c 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExtendNativeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExtendNativeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExtraBindCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExtraBindCheck.java index a075d296215..d321b9427da 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExtraBindCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExtraBindCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExtraBooleanCastCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExtraBooleanCastCheck.java index cc909323f3d..c34f00707ad 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExtraBooleanCastCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoExtraBooleanCastCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoFindDomNodeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoFindDomNodeCheck.java index 6032b5842bb..fcce2bb558c 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoFindDomNodeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoFindDomNodeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoForInArrayCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoForInArrayCheck.java index b5d4567384e..efb421a8984 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoForInArrayCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoForInArrayCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoHardcodedIpCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoHardcodedIpCheck.java index 1f53f3e24fc..d150bba4972 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoHardcodedIpCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoHardcodedIpCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoHookSetterInBodyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoHookSetterInBodyCheck.java index 2824572163c..2c4075a0374 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoHookSetterInBodyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoHookSetterInBodyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoIgnoredExceptionsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoIgnoredExceptionsCheck.java index 0037b1ec09e..a46088efc74 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoIgnoredExceptionsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoIgnoredExceptionsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoImportAssignCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoImportAssignCheck.java index dff2cad8f86..69d901ce64c 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoImportAssignCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoImportAssignCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInMisuseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInMisuseCheck.java index a9f536195e6..67b20fa9539 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInMisuseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInMisuseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoIncompleteAssertionsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoIncompleteAssertionsCheck.java index bab73f17d7c..55d5bfa68fe 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoIncompleteAssertionsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoIncompleteAssertionsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInferrableTypesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInferrableTypesCheck.java index d17efd46c84..28d74707bf7 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInferrableTypesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInferrableTypesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInteractiveElementToNoninteractiveRoleCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInteractiveElementToNoninteractiveRoleCheck.java index 4ce18bfe717..3c9e166f7f0 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInteractiveElementToNoninteractiveRoleCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInteractiveElementToNoninteractiveRoleCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInternalApiUseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInternalApiUseCheck.java index 1cb5f0b9c1d..13296d772eb 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInternalApiUseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInternalApiUseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInvalidAwaitCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInvalidAwaitCheck.java index f2244cbfd9e..72dd2e2adc9 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInvalidAwaitCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInvalidAwaitCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInvertedBooleanCheckCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInvertedBooleanCheckCheck.java index 7a78e68973f..c6071fb47fb 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInvertedBooleanCheckCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoInvertedBooleanCheckCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoIsMountedCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoIsMountedCheck.java index 9ea7e34b50c..9634f75161d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoIsMountedCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoIsMountedCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLiteralCallCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLiteralCallCheck.java index 6becd428a5c..b186ae4b544 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLiteralCallCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLiteralCallCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLoneBlocksCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLoneBlocksCheck.java index ca345498c49..8770d30aee8 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLoneBlocksCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLoneBlocksCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLonelyIfCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLonelyIfCheck.java index 15228b01709..4463490ad03 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLonelyIfCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLonelyIfCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLossOfPrecisionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLossOfPrecisionCheck.java index 5bc314fbd7d..e6ef5f3cbbf 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLossOfPrecisionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoLossOfPrecisionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMagicNumbersCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMagicNumbersCheck.java index 444a60832f7..b19533a1250 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMagicNumbersCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMagicNumbersCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMimeSniffCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMimeSniffCheck.java index c81becfa1db..8ca2498467f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMimeSniffCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMimeSniffCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMisleadingArrayReverseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMisleadingArrayReverseCheck.java index 72d12d2fcbd..5929b18b42b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMisleadingArrayReverseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMisleadingArrayReverseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMisusedNewCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMisusedNewCheck.java index 9dae0710bea..b90738bfe60 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMisusedNewCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMisusedNewCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMisusedPromisesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMisusedPromisesCheck.java index 3634096d0bc..3c5591f2341 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMisusedPromisesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMisusedPromisesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMixedContentCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMixedContentCheck.java index 1299694cea6..e1b8d4b0e65 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMixedContentCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMixedContentCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMixedEnumsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMixedEnumsCheck.java index 2e6bc270b9e..db81d04e64d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMixedEnumsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMixedEnumsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMutableExportsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMutableExportsCheck.java index 06cca64033e..3bd5f878488 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMutableExportsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoMutableExportsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNestedFunctionsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNestedFunctionsCheck.java index 0e9ebc38f11..33cc0e3b643 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNestedFunctionsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNestedFunctionsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNestedSwitchCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNestedSwitchCheck.java index 139ba1b1cc5..9edee5c9d5c 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNestedSwitchCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNestedSwitchCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNestedTemplateLiteralsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNestedTemplateLiteralsCheck.java index d3217194b39..9c63ccb7959 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNestedTemplateLiteralsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNestedTemplateLiteralsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNewNativeNonconstructorCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNewNativeNonconstructorCheck.java index b49efe87602..819ad499388 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNewNativeNonconstructorCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNewNativeNonconstructorCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNonInteractiveElementsWithHandlersCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNonInteractiveElementsWithHandlersCheck.java index 6341b5609d4..7808c321912 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNonInteractiveElementsWithHandlersCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNonInteractiveElementsWithHandlersCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNonNullAssertionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNonNullAssertionCheck.java index a404aab94f1..e85f93d16b1 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNonNullAssertionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNonNullAssertionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNoninteractiveElementToInteractiveRoleCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNoninteractiveElementToInteractiveRoleCheck.java index c15ee7bfe37..a92ac75f653 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNoninteractiveElementToInteractiveRoleCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNoninteractiveElementToInteractiveRoleCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNoninteractiveTabindexCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNoninteractiveTabindexCheck.java index a8a073a226a..ee6debbbce7 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNoninteractiveTabindexCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoNoninteractiveTabindexCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoOctalEscapeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoOctalEscapeCheck.java index f231875179b..c3993e24724 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoOctalEscapeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoOctalEscapeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoOneIterationLoopCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoOneIterationLoopCheck.java index a2cdbdc3b70..4490664f1ad 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoOneIterationLoopCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoOneIterationLoopCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoOsCommandsFromPathCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoOsCommandsFromPathCheck.java index a8d57a7bb1c..e16f64ca104 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoOsCommandsFromPathCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoOsCommandsFromPathCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoProtoCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoProtoCheck.java index f98e16e8465..4fadd2b614d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoProtoCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoProtoCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantJumpCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantJumpCheck.java index 6d2bd64352d..2261c73706c 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantJumpCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantJumpCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantOptionalCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantOptionalCheck.java index 056d46dcd8e..471004bdfff 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantOptionalCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantOptionalCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantRolesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantRolesCheck.java index 4186d2d3583..4549d6c8109 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantRolesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantRolesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantShouldComponentUpdateCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantShouldComponentUpdateCheck.java index b630292c18e..bd0862fe2bc 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantShouldComponentUpdateCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantShouldComponentUpdateCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantTypeConstituentsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantTypeConstituentsCheck.java index e924b812b67..d833cdf16c4 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantTypeConstituentsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRedundantTypeConstituentsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoReferrerPolicyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoReferrerPolicyCheck.java index c00263cd45e..f83dd51ba56 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoReferrerPolicyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoReferrerPolicyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRegexSpacesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRegexSpacesCheck.java index 2e5367a7e3a..303a02965d5 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRegexSpacesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRegexSpacesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRenderReturnValueCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRenderReturnValueCheck.java index 2f6d67e7a56..074b9332e8d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRenderReturnValueCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoRenderReturnValueCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoReturnAwaitCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoReturnAwaitCheck.java index 6ff155f3ed5..c06fd722af0 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoReturnAwaitCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoReturnAwaitCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoReturnTypeAnyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoReturnTypeAnyCheck.java index ba2777b72c8..d5dd8ec1786 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoReturnTypeAnyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoReturnTypeAnyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSameArgumentAssertCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSameArgumentAssertCheck.java index 9eeb4108ce7..2a62b631601 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSameArgumentAssertCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSameArgumentAssertCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSelfCompareCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSelfCompareCheck.java index b6ae64ff683..cbc5a00cc6b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSelfCompareCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSelfCompareCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSelfImportCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSelfImportCheck.java index c0e22c0acf7..823ffdd827e 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSelfImportCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSelfImportCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSkippedTestsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSkippedTestsCheck.java index 489ab3a058f..6de53c986c9 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSkippedTestsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSkippedTestsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSparseArraysCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSparseArraysCheck.java index 476e181c547..1f65ed3ef44 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSparseArraysCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoSparseArraysCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoStaticElementInteractionsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoStaticElementInteractionsCheck.java index e736ba5dc72..e693f67c021 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoStaticElementInteractionsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoStaticElementInteractionsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoStringRefsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoStringRefsCheck.java index d52df7f10b4..998344dc85a 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoStringRefsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoStringRefsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoTableAsLayoutCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoTableAsLayoutCheck.java index e2e5e618742..c65eaa98e56 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoTableAsLayoutCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoTableAsLayoutCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoThisAliasCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoThisAliasCheck.java index 13956b6da17..8ac29d17ad3 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoThisAliasCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoThisAliasCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoThisInSfcCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoThisInSfcCheck.java index 45c8aa44a55..af946873484 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoThisInSfcCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoThisInSfcCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUndefInitCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUndefInitCheck.java index ed5459d8ec8..2bff1d007de 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUndefInitCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUndefInitCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnescapedEntitiesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnescapedEntitiesCheck.java index 0fb2a0f77b1..97fdb8cbf71 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnescapedEntitiesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnescapedEntitiesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUniqKeyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUniqKeyCheck.java index 724241b9aaa..4f515424754 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUniqKeyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUniqKeyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnknownPropertyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnknownPropertyCheck.java index e09217614ff..c16f514ead6 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnknownPropertyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnknownPropertyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnnecessaryTypeAssertionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnnecessaryTypeAssertionCheck.java index 440f7fbb0da..7da2924cda4 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnnecessaryTypeAssertionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnnecessaryTypeAssertionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnnecessaryTypeConstraintCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnnecessaryTypeConstraintCheck.java index 6c974224b83..2abb3f24509 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnnecessaryTypeConstraintCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnnecessaryTypeConstraintCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnneededTernaryCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnneededTernaryCheck.java index 10cf926ae38..b7394d26d56 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnneededTernaryCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnneededTernaryCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnsafeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnsafeCheck.java index 9beadb224a1..f7c9356bebb 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnsafeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnsafeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnsafeOptionalChainingCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnsafeOptionalChainingCheck.java index 2d5a7f0a14b..eb36dcdc718 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnsafeOptionalChainingCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnsafeOptionalChainingCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnstableNestedComponentsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnstableNestedComponentsCheck.java index 1443b5ceb89..13af5d878ed 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnstableNestedComponentsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnstableNestedComponentsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnusedClassComponentMethodsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnusedClassComponentMethodsCheck.java index 0bbb08819d7..d354f1705a7 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnusedClassComponentMethodsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnusedClassComponentMethodsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnusedPrivateClassMembersCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnusedPrivateClassMembersCheck.java index 66fc14c3c5a..5327bf6c88e 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnusedPrivateClassMembersCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnusedPrivateClassMembersCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnusedPropTypesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnusedPropTypesCheck.java index f8158fcf8ba..dbd1ab9aee9 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnusedPropTypesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUnusedPropTypesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessCallCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessCallCheck.java index 197400bb53a..d773f52be1a 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessCallCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessCallCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessCatchCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessCatchCheck.java index 31c5331a154..8775d4ab4a0 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessCatchCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessCatchCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessConstructorCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessConstructorCheck.java index 8fb3d69c682..38d08a7683b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessConstructorCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessConstructorCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessReactSetstateCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessReactSetstateCheck.java index de618c1636f..9f9acc6baa1 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessReactSetstateCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessReactSetstateCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessRenameCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessRenameCheck.java index 98e292ddd32..dbfd9e65ffa 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessRenameCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoUselessRenameCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoVueBypassSanitizationCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoVueBypassSanitizationCheck.java index 686eea05c75..eafeb629715 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoVueBypassSanitizationCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoVueBypassSanitizationCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoWeakCipherCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoWeakCipherCheck.java index ee3b52c4dbe..0447c3b404a 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoWeakCipherCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoWeakCipherCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoWeakKeysCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoWeakKeysCheck.java index 49107aff12a..6b64acb27af 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoWeakKeysCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NoWeakKeysCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonCaseLabelInSwitchCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonCaseLabelInSwitchCheck.java index cd708cbd2ab..bcf01b6ce10 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonCaseLabelInSwitchCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonCaseLabelInSwitchCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonEmptyCaseWithoutBreakCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonEmptyCaseWithoutBreakCheck.java index ac713f11a19..3cee32d04d7 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonEmptyCaseWithoutBreakCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonEmptyCaseWithoutBreakCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonExistentAssignmentOperatorCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonExistentAssignmentOperatorCheck.java index 104186d699a..a705b27dd03 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonExistentAssignmentOperatorCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonExistentAssignmentOperatorCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonNumberInArithmeticExpressionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonNumberInArithmeticExpressionCheck.java index 8291d5f5a26..76c32e13070 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonNumberInArithmeticExpressionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonNumberInArithmeticExpressionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonStandardImportCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonStandardImportCheck.java index cdc7d681ac2..5c5844552b2 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonStandardImportCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NonStandardImportCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NullDereferenceCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NullDereferenceCheck.java index 07ba6d66669..512e4811a9f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NullDereferenceCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/NullDereferenceCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OSCommandCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OSCommandCheck.java index 9140b3cab42..1fe687d9744 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OSCommandCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OSCommandCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ObjectAltContentCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ObjectAltContentCheck.java index 3b5ae03279d..e9aa4e8d104 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ObjectAltContentCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ObjectAltContentCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ObjectLiteralShorthandCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ObjectLiteralShorthandCheck.java index 2e64a0e7678..90fd4ab65a7 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ObjectLiteralShorthandCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ObjectLiteralShorthandCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OctalNumberCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OctalNumberCheck.java index 34e699f49f9..e37265a8448 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OctalNumberCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OctalNumberCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OneStatementPerLineCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OneStatementPerLineCheck.java index 54bbfc310ed..b92ef215ed5 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OneStatementPerLineCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OneStatementPerLineCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OpenCurlyBracesAtEOLCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OpenCurlyBracesAtEOLCheck.java index 4fc5a9b4f25..7a1adccadf1 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OpenCurlyBracesAtEOLCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/OpenCurlyBracesAtEOLCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ParenthesesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ParenthesesCheck.java index e0a62134cff..eb2ab242bb9 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ParenthesesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ParenthesesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ParseIntCallWithoutBaseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ParseIntCallWithoutBaseCheck.java index 8a6530ecdab..0e29e4c6caa 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ParseIntCallWithoutBaseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ParseIntCallWithoutBaseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ParsingErrorCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ParsingErrorCheck.java index 474e502d8b0..bff843edbab 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ParsingErrorCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ParsingErrorCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PostMessageCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PostMessageCheck.java index 2a3fea7913f..c05fb4b30bb 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PostMessageCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PostMessageCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferAsConstCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferAsConstCheck.java index 79928b23308..41874eb94fa 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferAsConstCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferAsConstCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferDefaultLastCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferDefaultLastCheck.java index 7c157f80b5c..f887ad3e57d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferDefaultLastCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferDefaultLastCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferEnumInitializersCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferEnumInitializersCheck.java index 70c125f68bd..4f9b43de493 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferEnumInitializersCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferEnumInitializersCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferForOfCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferForOfCheck.java index 7f008a06314..97bf768d600 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferForOfCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferForOfCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferFunctionTypeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferFunctionTypeCheck.java index 8824261c59f..96a2cd68b43 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferFunctionTypeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferFunctionTypeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferLiteralEnumMemberCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferLiteralEnumMemberCheck.java index 9748a6c2476..f4515f6de39 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferLiteralEnumMemberCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferLiteralEnumMemberCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferNamespaceCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferNamespaceCheck.java index 54fea586b4e..b09c5c8796c 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferNamespaceCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferNamespaceCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferNullishCoalescingCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferNullishCoalescingCheck.java index e19c9c17bc3..1198a0f0f8f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferNullishCoalescingCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferNullishCoalescingCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferObjectHasOwnCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferObjectHasOwnCheck.java index 1b1e188e138..f2cf6789e57 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferObjectHasOwnCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferObjectHasOwnCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferObjectLiteralCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferObjectLiteralCheck.java index 8fb27143ec8..c50eb08be1c 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferObjectLiteralCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferObjectLiteralCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferObjectSpreadCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferObjectSpreadCheck.java index b1f526905b3..c914b5d4ecd 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferObjectSpreadCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferObjectSpreadCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferPromiseRejectErrorsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferPromiseRejectErrorsCheck.java index 70ab0a2f26b..5d9b37699cd 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferPromiseRejectErrorsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferPromiseRejectErrorsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferPromiseShorthandCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferPromiseShorthandCheck.java index a745044ad86..4668c88efb7 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferPromiseShorthandCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferPromiseShorthandCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferReadOnlyPropsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferReadOnlyPropsCheck.java index b87bff4c75a..d91a12402d5 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferReadOnlyPropsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferReadOnlyPropsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferReadonlyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferReadonlyCheck.java index b9727501217..7f0519e9c91 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferReadonlyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferReadonlyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferRegexLiteralsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferRegexLiteralsCheck.java index 79e46731bc9..18e216eec49 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferRegexLiteralsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferRegexLiteralsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferRegexpExecCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferRegexpExecCheck.java index 66465b7ed00..5319a3c2c71 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferRegexpExecCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferRegexpExecCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferReturnThisTypeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferReturnThisTypeCheck.java index aae2567a6f9..bd3a50f49b1 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferReturnThisTypeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferReturnThisTypeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferSpreadCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferSpreadCheck.java index 2e577fe1139..a38ec82fa46 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferSpreadCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferSpreadCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferStringStartsEndsWithCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferStringStartsEndsWithCheck.java index 37fec24f757..474524c70dc 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferStringStartsEndsWithCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferStringStartsEndsWithCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferTagOverRoleCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferTagOverRoleCheck.java index 9104f9b7568..ce0a82d2b68 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferTagOverRoleCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferTagOverRoleCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferTypeGuardCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferTypeGuardCheck.java index 2d265d0d143..132566a108a 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferTypeGuardCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PreferTypeGuardCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PrimitiveWrappersCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PrimitiveWrappersCheck.java index 799e09fc61c..1a9389d1858 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PrimitiveWrappersCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PrimitiveWrappersCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ProcessArgvCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ProcessArgvCheck.java index d8215b4e654..24b7c0157a8 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ProcessArgvCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ProcessArgvCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ProductionDebugCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ProductionDebugCheck.java index 93b973b17e8..8bd63804ca2 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ProductionDebugCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ProductionDebugCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PropTypesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PropTypesCheck.java index dddf4ea5afa..f38cafec847 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PropTypesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PropTypesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PseudoRandomCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PseudoRandomCheck.java index df990465b65..4690ace299d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PseudoRandomCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PseudoRandomCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PublicStaticReadonlyCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PublicStaticReadonlyCheck.java index 78739eb2574..8e651727ad1 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PublicStaticReadonlyCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PublicStaticReadonlyCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PubliclyWritableDirectoriesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PubliclyWritableDirectoriesCheck.java index 964988ba733..63c7cf880e5 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PubliclyWritableDirectoriesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/PubliclyWritableDirectoriesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReassignedParameterCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReassignedParameterCheck.java index 73b97d2388b..f7bd8ac7570 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReassignedParameterCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReassignedParameterCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RedeclaredSymbolCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RedeclaredSymbolCheck.java index e1c971edccc..f35777907e3 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RedeclaredSymbolCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RedeclaredSymbolCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReduceInitialValueCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReduceInitialValueCheck.java index a441e3007e3..8100269468e 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReduceInitialValueCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReduceInitialValueCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RedundantAssignmentCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RedundantAssignmentCheck.java index 0ae72565136..721d5a540f0 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RedundantAssignmentCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RedundantAssignmentCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RedundantTypeAliasesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RedundantTypeAliasesCheck.java index 6c85207a5ce..1a7904824ff 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RedundantTypeAliasesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RedundantTypeAliasesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReferenceErrorCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReferenceErrorCheck.java index 5b3df520dd3..36b0b6db7f2 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReferenceErrorCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReferenceErrorCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RegexComplexityCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RegexComplexityCheck.java index 58b30f853a8..aebe7d9b190 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RegexComplexityCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RegexComplexityCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RegularExprCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RegularExprCheck.java index fefbf730da6..42752dba13f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RegularExprCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RegularExprCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RequireRenderReturnCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RequireRenderReturnCheck.java index b37e5399b92..ed8987648cb 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RequireRenderReturnCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RequireRenderReturnCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReturnInSetterCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReturnInSetterCheck.java index 1d8eda742bf..9d381e60ef9 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReturnInSetterCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReturnInSetterCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReturnOfBooleanExpressionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReturnOfBooleanExpressionCheck.java index d25c160c19e..ad0d7555959 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReturnOfBooleanExpressionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ReturnOfBooleanExpressionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RoleHasRequiredAriaPropsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RoleHasRequiredAriaPropsCheck.java index 4c452bb849d..c8a29bbfcf1 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RoleHasRequiredAriaPropsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RoleHasRequiredAriaPropsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RoleSupportsAriaPropsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RoleSupportsAriaPropsCheck.java index 6641a89bd4b..a7608eff60d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RoleSupportsAriaPropsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RoleSupportsAriaPropsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RulesOfHooksCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RulesOfHooksCheck.java index a3cda99cd8e..259f1477807 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RulesOfHooksCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/RulesOfHooksCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/S2301Check.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/S2301Check.java index be1e930c9bb..ac09656493f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/S2301Check.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/S2301Check.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SameLineConditionalCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SameLineConditionalCheck.java index 796262520ad..4d160bb11d0 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SameLineConditionalCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SameLineConditionalCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SelfAssignmentCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SelfAssignmentCheck.java index dc1aaa46146..18e10c6d8e0 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SelfAssignmentCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SelfAssignmentCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SemicolonCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SemicolonCheck.java index bd4953017b9..14b4db233df 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SemicolonCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SemicolonCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SessionRegenerationCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SessionRegenerationCheck.java index 88bbef9636f..2872680c0fa 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SessionRegenerationCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SessionRegenerationCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ShorthandPropertiesNotGroupedCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ShorthandPropertiesNotGroupedCheck.java index 3bc1515d08f..d2b7ef98520 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ShorthandPropertiesNotGroupedCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ShorthandPropertiesNotGroupedCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SingleCharInCharacterClassesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SingleCharInCharacterClassesCheck.java index 56d7c1eb55b..bf860e5905e 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SingleCharInCharacterClassesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SingleCharInCharacterClassesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SingleCharacterAlternativeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SingleCharacterAlternativeCheck.java index 4c9d1867942..85fae57e922 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SingleCharacterAlternativeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SingleCharacterAlternativeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SlowRegexCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SlowRegexCheck.java index 0ad70938682..d284e1833f8 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SlowRegexCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SlowRegexCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SocketsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SocketsCheck.java index 216289ac834..dee1ec70e0b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SocketsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SocketsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SonarNoInvalidRegexCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SonarNoInvalidRegexCheck.java index 251e06b63e9..48fd9afa420 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SonarNoInvalidRegexCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SonarNoInvalidRegexCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SonarNoMisleadingCharacterClassCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SonarNoMisleadingCharacterClassCheck.java index aec7a7e8ffb..fdcd6b63a55 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SonarNoMisleadingCharacterClassCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SonarNoMisleadingCharacterClassCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SonarPreferOptionalChainCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SonarPreferOptionalChainCheck.java index dd1c9ea455c..7148607d9fd 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SonarPreferOptionalChainCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SonarPreferOptionalChainCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SqlQueriesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SqlQueriesCheck.java index 17cea1b97db..609e463268f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SqlQueriesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SqlQueriesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StableTestsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StableTestsCheck.java index 16f05126ca8..753adaf1e14 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StableTestsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StableTestsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StandardInputCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StandardInputCheck.java index 58e20d48a93..9535621c894 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StandardInputCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StandardInputCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StatefulRegexCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StatefulRegexCheck.java index 6e7ff814b25..c88d4793890 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StatefulRegexCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StatefulRegexCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StrictModeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StrictModeCheck.java index 229731a9c33..c1c2f4c6f78 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StrictModeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StrictModeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StrictTransportSecurityCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StrictTransportSecurityCheck.java index fca4a09ae5d..2b66fed2a42 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StrictTransportSecurityCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StrictTransportSecurityCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringConcatenatedWithNonStringCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringConcatenatedWithNonStringCheck.java index de4d4e95688..9d707287ec6 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringConcatenatedWithNonStringCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringConcatenatedWithNonStringCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringConcatenationCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringConcatenationCheck.java index 38b5cfb4d14..bc1b81735f8 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringConcatenationCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringConcatenationCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringLiteralsQuotesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringLiteralsQuotesCheck.java index 81ff9375ab3..befe306ae62 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringLiteralsQuotesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringLiteralsQuotesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringsComparisonCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringsComparisonCheck.java index 9edbe29c8b3..dffb0f149a3 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringsComparisonCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/StringsComparisonCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SuperInvocationCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SuperInvocationCheck.java index ace60e2ee3a..fa0f3bc5a95 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SuperInvocationCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SuperInvocationCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SwitchWithNotEnoughCaseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SwitchWithNotEnoughCaseCheck.java index 2e139c114e7..335e412e8cc 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SwitchWithNotEnoughCaseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SwitchWithNotEnoughCaseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SwitchWithoutDefaultCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SwitchWithoutDefaultCheck.java index 8829c17ffd8..2502a5a6104 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SwitchWithoutDefaultCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/SwitchWithoutDefaultCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TabCharacterCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TabCharacterCheck.java index 3bfb947693e..38096b88aca 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TabCharacterCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TabCharacterCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TabindexNoPositiveCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TabindexNoPositiveCheck.java index 9762ffe7bfc..40e265427e7 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TabindexNoPositiveCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TabindexNoPositiveCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TableHeaderCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TableHeaderCheck.java index 99e63dcdb59..09ef9781e06 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TableHeaderCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TableHeaderCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TableHeaderReferenceCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TableHeaderReferenceCheck.java index e517346e1c0..aa4c3018af6 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TableHeaderReferenceCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TableHeaderReferenceCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TemplateStringMisuseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TemplateStringMisuseCheck.java index ca5088a4d1c..c97060ecfc0 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TemplateStringMisuseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TemplateStringMisuseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TestCheckExceptionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TestCheckExceptionCheck.java index 53dec1da634..b0fa7b723cd 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TestCheckExceptionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TestCheckExceptionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ThrowLiteralCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ThrowLiteralCheck.java index 04c6a2ce03c..bb221e84c6b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ThrowLiteralCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ThrowLiteralCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TodoTagPresenceCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TodoTagPresenceCheck.java index c6b912df59b..5d158a25a6d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TodoTagPresenceCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TodoTagPresenceCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyArgumentsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyArgumentsCheck.java index cca0d4d84b4..c370e322665 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyArgumentsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyArgumentsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyBreakOrContinueInLoopCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyBreakOrContinueInLoopCheck.java index f19324125b2..3bcea7ac6bf 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyBreakOrContinueInLoopCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyBreakOrContinueInLoopCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyLinesInFileCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyLinesInFileCheck.java index f6b47bcef4f..72d16c81206 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyLinesInFileCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyLinesInFileCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyLinesInFunctionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyLinesInFunctionCheck.java index dca9e3d0ce2..ac03c722742 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyLinesInFunctionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TooManyLinesInFunctionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TrailingCommaCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TrailingCommaCheck.java index 099b65a3680..0d4348e68e2 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TrailingCommaCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TrailingCommaCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TrailingCommentCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TrailingCommentCheck.java index 1dba1e3b615..e7e3353ff13 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TrailingCommentCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TrailingCommentCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TrailingWhitespaceCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TrailingWhitespaceCheck.java index 2dd9653cd2b..18bc2d3cc47 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TrailingWhitespaceCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TrailingWhitespaceCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TryPromiseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TryPromiseCheck.java index ee134576100..20ce333b0d9 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TryPromiseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/TryPromiseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnchangedLetVariableCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnchangedLetVariableCheck.java index a9db11ae453..05b8ea43ae1 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnchangedLetVariableCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnchangedLetVariableCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UndefinedArgumentCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UndefinedArgumentCheck.java index 6efc4760585..881b65049c3 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UndefinedArgumentCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UndefinedArgumentCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UndefinedAssignmentCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UndefinedAssignmentCheck.java index 4db88e493a3..3e2e3278fa4 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UndefinedAssignmentCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UndefinedAssignmentCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnicodeAwareRegexCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnicodeAwareRegexCheck.java index 209d3815809..3efa10fd3f1 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnicodeAwareRegexCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnicodeAwareRegexCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnnecessaryCharacterEscapesCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnnecessaryCharacterEscapesCheck.java index 8757f70ff46..36907cfca61 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnnecessaryCharacterEscapesCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnnecessaryCharacterEscapesCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnnecessaryTypeArgumentsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnnecessaryTypeArgumentsCheck.java index d62966f21a3..a9bcfe34b0b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnnecessaryTypeArgumentsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnnecessaryTypeArgumentsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnreachableCodeCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnreachableCodeCheck.java index daabc9449f5..1e168239f6b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnreachableCodeCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnreachableCodeCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnsafeUnzipCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnsafeUnzipCheck.java index 01fbbfced5e..4de3150e267 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnsafeUnzipCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnsafeUnzipCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedCollectionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedCollectionCheck.java index 933405f5c7c..a6f458ebecb 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedCollectionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedCollectionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedFunctionArgumentCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedFunctionArgumentCheck.java index fc12fa98854..6d12fde2aaf 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedFunctionArgumentCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedFunctionArgumentCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedImportCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedImportCheck.java index bd173f2f23f..b2cc9eeef8f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedImportCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedImportCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedNamedGroupsCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedNamedGroupsCheck.java index 1b0626ba118..5e4cd8a578a 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedNamedGroupsCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedNamedGroupsCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedVariableCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedVariableCheck.java index 49a20f6d70f..58f9ba65ec3 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedVariableCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnusedVariableCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnverifiedCertificateCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnverifiedCertificateCheck.java index 7ef00a812ea..4b0a2727f51 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnverifiedCertificateCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnverifiedCertificateCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnverifiedHostnameCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnverifiedHostnameCheck.java index f9b7fa190f8..affe44addf5 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnverifiedHostnameCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UnverifiedHostnameCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UpdatedConstVariableCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UpdatedConstVariableCheck.java index 2e70124e809..fbd5ebdd8ba 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UpdatedConstVariableCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UpdatedConstVariableCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UseOfEmptyReturnValueCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UseOfEmptyReturnValueCheck.java index b0c14fab24c..e834cdfa001 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UseOfEmptyReturnValueCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UseOfEmptyReturnValueCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UseTypeAliasCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UseTypeAliasCheck.java index cf6e523aa5c..76d4c936e46 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UseTypeAliasCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UseTypeAliasCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessExpressionStatementCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessExpressionStatementCheck.java index be1843f20e2..fe0b876d67c 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessExpressionStatementCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessExpressionStatementCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessIncrementCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessIncrementCheck.java index cf549da221b..136695ef44b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessIncrementCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessIncrementCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessIntersectionCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessIntersectionCheck.java index 0c8618606c6..599667a2b33 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessIntersectionCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessIntersectionCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessStringOperationCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessStringOperationCheck.java index 862eabcd525..4a3391e2a27 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessStringOperationCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/UselessStringOperationCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ValidTypeOfCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ValidTypeOfCheck.java index 9b071b351a5..300a25c6e45 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ValidTypeOfCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ValidTypeOfCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ValuesNotConvertibleToNumbersCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ValuesNotConvertibleToNumbersCheck.java index 706dbace190..b5c8707c47d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ValuesNotConvertibleToNumbersCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/ValuesNotConvertibleToNumbersCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VarDeclarationCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VarDeclarationCheck.java index 299f0b9fa14..c8c3b9cf329 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VarDeclarationCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VarDeclarationCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableDeclarationAfterUsageCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableDeclarationAfterUsageCheck.java index 59763e3fb1c..a6b4231d0ab 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableDeclarationAfterUsageCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableDeclarationAfterUsageCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableDeclarationWithoutVarCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableDeclarationWithoutVarCheck.java index 18373f4d836..adb632b96a3 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableDeclarationWithoutVarCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableDeclarationWithoutVarCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableNameCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableNameCheck.java index f94e510439d..cbfd30b94e5 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableNameCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableNameCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableShadowingCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableShadowingCheck.java index 537eed2e802..5ee49c64f0b 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableShadowingCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VariableShadowingCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VoidUseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VoidUseCheck.java index fc91443e8b9..fec4b98739d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VoidUseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/VoidUseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WeakSslCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WeakSslCheck.java index fcd11e4e28d..8b2fe81cd7f 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WeakSslCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WeakSslCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WebSQLDatabaseCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WebSQLDatabaseCheck.java index ad9b4869880..9d96aab6695 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WebSQLDatabaseCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WebSQLDatabaseCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WildcardImportCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WildcardImportCheck.java index 6ed690cdce2..751a51229f9 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WildcardImportCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WildcardImportCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WithStatementCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WithStatementCheck.java index 04530e1f078..44abde88113 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WithStatementCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WithStatementCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WrongScopeDeclarationCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WrongScopeDeclarationCheck.java index 7bc95e25353..144522a9e09 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WrongScopeDeclarationCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/WrongScopeDeclarationCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/XMLParserXXEVulnerableCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/XMLParserXXEVulnerableCheck.java index c9c24c0e7b5..2bdcc619b1d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/XMLParserXXEVulnerableCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/XMLParserXXEVulnerableCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/XPoweredByCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/XPoweredByCheck.java index 52c09ef3551..c2f9d0bc49d 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/XPoweredByCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/XPoweredByCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/XpathCheck.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/XpathCheck.java index b65d5f6eb46..2a9a22917e5 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/XpathCheck.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/XpathCheck.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/package-info.java b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/package-info.java index c12de85fe1f..a4f592b17cc 100644 --- a/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/package-info.java +++ b/sonar-plugin/javascript-checks/src/main/java/org/sonar/javascript/checks/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * Provides implementation of coding rules for JavaScript diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/AngleBracketTypeAssertionCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/AngleBracketTypeAssertionCheckTest.java index 128c26811e0..033c0afe724 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/AngleBracketTypeAssertionCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/AngleBracketTypeAssertionCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/AriaRoleCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/AriaRoleCheckTest.java index 03e230bfc37..f8548810712 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/AriaRoleCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/AriaRoleCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ArrowFunctionConventionCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ArrowFunctionConventionCheckTest.java index 2d8c119a903..c7658d16359 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ArrowFunctionConventionCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ArrowFunctionConventionCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CheckListTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CheckListTest.java index 13488b9169b..cf21be00d3c 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CheckListTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CheckListTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ClassNameCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ClassNameCheckTest.java index b9f57ff0fbe..53023cdc431 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ClassNameCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ClassNameCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CognitiveComplexityFunctionCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CognitiveComplexityFunctionCheckTest.java index 07d5b6eaf23..d8047e15b29 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CognitiveComplexityFunctionCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CognitiveComplexityFunctionCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CommentRegularExpressionCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CommentRegularExpressionCheckTest.java index 04cc34e39a1..56bad848407 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CommentRegularExpressionCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CommentRegularExpressionCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ConsoleLoggingCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ConsoleLoggingCheckTest.java index cf9d6fa36c5..260883054d3 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ConsoleLoggingCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ConsoleLoggingCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ContentLengthCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ContentLengthCheckTest.java index 35b90b09bc2..b8ffdc0d8fe 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ContentLengthCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ContentLengthCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CyclomaticComplexityJavaScriptCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CyclomaticComplexityJavaScriptCheckTest.java index 0806309ac2c..c153e9dc6aa 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CyclomaticComplexityJavaScriptCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CyclomaticComplexityJavaScriptCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CyclomaticComplexityTypeScriptCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CyclomaticComplexityTypeScriptCheckTest.java index 5126e7be5e7..ce7aad0a989 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CyclomaticComplexityTypeScriptCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/CyclomaticComplexityTypeScriptCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EmptyBlockCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EmptyBlockCheckTest.java index 71b7f18aab3..a1735a79318 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EmptyBlockCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EmptyBlockCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EmptyFunctionCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EmptyFunctionCheckTest.java index fdeadb410db..9cbecb911bf 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EmptyFunctionCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EmptyFunctionCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EqEqEqCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EqEqEqCheckTest.java index ff183c233f4..0d2f84c5594 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EqEqEqCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EqEqEqCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EscapeUtilsTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EscapeUtilsTest.java index 4a5e574cae8..fe532193249 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EscapeUtilsTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/EscapeUtilsTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ExpressionComplexityCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ExpressionComplexityCheckTest.java index 21450aca2e0..1277975c5ba 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ExpressionComplexityCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ExpressionComplexityCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/FileHeaderCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/FileHeaderCheckTest.java index 9f4677f847b..15a579343bc 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/FileHeaderCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/FileHeaderCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/FunctionNameCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/FunctionNameCheckTest.java index c30359c31bb..d83bd685009 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/FunctionNameCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/FunctionNameCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/GetterSetterCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/GetterSetterCheckTest.java index 5a6bb5deea1..db127ea62e1 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/GetterSetterCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/GetterSetterCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/HardcodedCredentialsCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/HardcodedCredentialsCheckTest.java index ac1a8518200..5d2887f77f9 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/HardcodedCredentialsCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/HardcodedCredentialsCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/HookUseStateCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/HookUseStateCheckTest.java index bf04bba7452..6cc8af69075 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/HookUseStateCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/HookUseStateCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/IdenticalFunctionsCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/IdenticalFunctionsCheckTest.java index fed930299a8..ff3b723fabb 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/IdenticalFunctionsCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/IdenticalFunctionsCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ImplicitDependenciesCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ImplicitDependenciesCheckTest.java index 4e23b4d6ee4..66661ddcafd 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ImplicitDependenciesCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/ImplicitDependenciesCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/IntrusivePermissionsCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/IntrusivePermissionsCheckTest.java index 69cd1773889..f8b096ef972 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/IntrusivePermissionsCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/IntrusivePermissionsCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/JsxNoBindCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/JsxNoBindCheckTest.java index 2db423dbf51..cf1ed4e403f 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/JsxNoBindCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/JsxNoBindCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/JsxNoUselessFragmentCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/JsxNoUselessFragmentCheckTest.java index 8b55f81e27a..891c095eea7 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/JsxNoUselessFragmentCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/JsxNoUselessFragmentCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/LineLengthCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/LineLengthCheckTest.java index 556ec9de7f7..a828d5814c9 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/LineLengthCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/LineLengthCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MaxParameterCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MaxParameterCheckTest.java index 2ebfad95b1d..25ddde75310 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MaxParameterCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MaxParameterCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MaxSwitchCasesCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MaxSwitchCasesCheckTest.java index b748272992c..dce7d497bda 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MaxSwitchCasesCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MaxSwitchCasesCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MaxUnionSizeCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MaxUnionSizeCheckTest.java index 2fcda6d0edb..54af08f1465 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MaxUnionSizeCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MaxUnionSizeCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MissingNewlineAtEndOfFileCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MissingNewlineAtEndOfFileCheckTest.java index e2a0a0b805c..1fea5a3bb85 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MissingNewlineAtEndOfFileCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MissingNewlineAtEndOfFileCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MissingTrailingCommaCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MissingTrailingCommaCheckTest.java index ed1dbfdc61a..ff9aa123a69 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MissingTrailingCommaCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/MissingTrailingCommaCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NestedControlFlowDepthCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NestedControlFlowDepthCheckTest.java index fe415bc3fb4..804e2644844 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NestedControlFlowDepthCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NestedControlFlowDepthCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NewCapCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NewCapCheckTest.java index 3737642361e..b8b0c2afd7b 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NewCapCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NewCapCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NewOperatorMisuseCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NewOperatorMisuseCheckTest.java index 9df0095a695..3c1ff8134aa 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NewOperatorMisuseCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NewOperatorMisuseCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoDuplicateStringCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoDuplicateStringCheckTest.java index bb3e0c81bf2..2e13a7b8a30 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoDuplicateStringCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoDuplicateStringCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoEmptyClassCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoEmptyClassCheckTest.java index 0445d1930fa..dec29a549d7 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoEmptyClassCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoEmptyClassCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoEmptyInterfaceCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoEmptyInterfaceCheckTest.java index de7840b763a..e98b1ce95bf 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoEmptyInterfaceCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoEmptyInterfaceCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoMagicNumbersCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoMagicNumbersCheckTest.java index b51fe4fccf1..ab0e2f6d3fa 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoMagicNumbersCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoMagicNumbersCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoMisusedPromisesCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoMisusedPromisesCheckTest.java index e8faa3e2332..feb8fc56ec2 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoMisusedPromisesCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoMisusedPromisesCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoNestedFunctionsCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoNestedFunctionsCheckTest.java index ce71774ff33..eb4d5216901 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoNestedFunctionsCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoNestedFunctionsCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoNonInteractiveElementsWithHandlersCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoNonInteractiveElementsWithHandlersCheckTest.java index d810bb7bc07..f23266925fb 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoNonInteractiveElementsWithHandlersCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoNonInteractiveElementsWithHandlersCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoThisAliasCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoThisAliasCheckTest.java index b8f03235cbd..e1528b0348b 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoThisAliasCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoThisAliasCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnescapedEntitiesCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnescapedEntitiesCheckTest.java index ecebd430748..25b99447ad6 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnescapedEntitiesCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnescapedEntitiesCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnknownPropertyCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnknownPropertyCheckTest.java index d7772d02a53..e6d19a31d4b 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnknownPropertyCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnknownPropertyCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnneededTernaryCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnneededTernaryCheckTest.java index 561087006d3..1e0756d4746 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnneededTernaryCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnneededTernaryCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnsafeCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnsafeCheckTest.java index 6560a3114f6..f6187f1e8ed 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnsafeCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/NoUnsafeCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/OpenCurlyBracesAtEOLCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/OpenCurlyBracesAtEOLCheckTest.java index 8f4cd537405..3614effe156 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/OpenCurlyBracesAtEOLCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/OpenCurlyBracesAtEOLCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/PreferLiteralEnumMemberCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/PreferLiteralEnumMemberCheckTest.java index 09e126e097c..adedb39f0bf 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/PreferLiteralEnumMemberCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/PreferLiteralEnumMemberCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/PreferNullishCoalescingCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/PreferNullishCoalescingCheckTest.java index 169a4d353d6..b2872b661e5 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/PreferNullishCoalescingCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/PreferNullishCoalescingCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/RedeclaredSymbolCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/RedeclaredSymbolCheckTest.java index d69cc5072c2..0a8f3d996b5 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/RedeclaredSymbolCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/RedeclaredSymbolCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/RegexComplexityCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/RegexComplexityCheckTest.java index 2025caa73bd..d7e911115d1 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/RegexComplexityCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/RegexComplexityCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/StrictModeCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/StrictModeCheckTest.java index 3e87eef13a3..5fc5a9c8e8a 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/StrictModeCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/StrictModeCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/StringLiteralsQuotesCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/StringLiteralsQuotesCheckTest.java index cf241ba3c7e..617d97b54c0 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/StringLiteralsQuotesCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/StringLiteralsQuotesCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/TooManyLinesInFileCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/TooManyLinesInFileCheckTest.java index 92ce9b333b8..7eb0ab0e093 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/TooManyLinesInFileCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/TooManyLinesInFileCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/TooManyLinesInFunctionCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/TooManyLinesInFunctionCheckTest.java index 35cdeeeb78b..714406b7dc8 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/TooManyLinesInFunctionCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/TooManyLinesInFunctionCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/TrailingCommentCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/TrailingCommentCheckTest.java index 3ec7af3dd3d..0b003912d90 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/TrailingCommentCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/TrailingCommentCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/UnchangedLetVariableCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/UnchangedLetVariableCheckTest.java index 787db7e2912..6df3cb8a63d 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/UnchangedLetVariableCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/UnchangedLetVariableCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/UselessExpressionStatementCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/UselessExpressionStatementCheckTest.java index 0368bcd0fd2..5d07a6584bd 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/UselessExpressionStatementCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/UselessExpressionStatementCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/VariableNameCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/VariableNameCheckTest.java index 2f2310e300a..80d7d9d61d3 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/VariableNameCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/VariableNameCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/VariableShadowingCheckTest.java b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/VariableShadowingCheckTest.java index 87ca9a9cc47..192f84062c8 100644 --- a/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/VariableShadowingCheckTest.java +++ b/sonar-plugin/javascript-checks/src/test/java/org/sonar/javascript/checks/VariableShadowingCheckTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.javascript.checks; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/CancellationException.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/CancellationException.java index 157d0a58b36..6cb1071838f 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/CancellationException.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/CancellationException.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptFilePredicate.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptFilePredicate.java index dd5aedb55bd..d118fdf6589 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptFilePredicate.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptFilePredicate.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptLanguage.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptLanguage.java index e8ab71a38da..f20736f5dca 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptLanguage.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptLanguage.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptPlugin.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptPlugin.java index 5c916f8d7b6..e677830b7e6 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptPlugin.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptPlugin.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptProfilesDefinition.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptProfilesDefinition.java index e7428c730d5..f9c7a145b0d 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptProfilesDefinition.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/JavaScriptProfilesDefinition.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/TypeScriptLanguage.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/TypeScriptLanguage.java index 4c5ba2d7516..dc01f35106b 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/TypeScriptLanguage.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/TypeScriptLanguage.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AbstractAnalysis.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AbstractAnalysis.java index 0bd2d000751..a8d742e2c2c 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AbstractAnalysis.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AbstractAnalysis.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AbstractBridgeSensor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AbstractBridgeSensor.java index 52d568602db..366be5a6793 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AbstractBridgeSensor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AbstractBridgeSensor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisConsumers.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisConsumers.java index c491141b0ed..21c811c1c05 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisConsumers.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisConsumers.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisProcessor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisProcessor.java index 87fcdc94a76..cc7a5d63fae 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisProcessor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisProcessor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisWithProgram.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisWithProgram.java index fd2bc86cd79..cf1b29510b6 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisWithProgram.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisWithProgram.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisWithWatchProgram.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisWithWatchProgram.java index b1cf4666989..70d78ba734b 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisWithWatchProgram.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/AnalysisWithWatchProgram.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/ContextUtils.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/ContextUtils.java index 34f30a55eb1..bc507289290 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/ContextUtils.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/ContextUtils.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/CssRuleSensor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/CssRuleSensor.java index 8da696b936d..0a70db201b3 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/CssRuleSensor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/CssRuleSensor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/HtmlSensor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/HtmlSensor.java index 138a85cf2c8..3d70d2e5c9f 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/HtmlSensor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/HtmlSensor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/JsTsChecks.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/JsTsChecks.java index d959152af5c..6303dc2e454 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/JsTsChecks.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/JsTsChecks.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/JsTsSensor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/JsTsSensor.java index 9f0348c9f2b..07a575e8f83 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/JsTsSensor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/JsTsSensor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/LookupConfigProviderFilter.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/LookupConfigProviderFilter.java index 43c0f0ae1a6..7d5c0736a44 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/LookupConfigProviderFilter.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/LookupConfigProviderFilter.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/QuickFixSupport.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/QuickFixSupport.java index ae217e72e9d..1c858568ab5 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/QuickFixSupport.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/QuickFixSupport.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/TsConfigOrigin.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/TsConfigOrigin.java index 44860cb6a3f..6805d4da76d 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/TsConfigOrigin.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/TsConfigOrigin.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/TsConfigProvider.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/TsConfigProvider.java index c68ff5e1f37..a34f65a03d3 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/TsConfigProvider.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/TsConfigProvider.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/YamlSensor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/YamlSensor.java index 335b785b1bb..24c34a80b01 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/YamlSensor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/YamlSensor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheAnalysis.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheAnalysis.java index 0bc0c2c1a35..35cb6012a03 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheAnalysis.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheAnalysis.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheAnalysisSerialization.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheAnalysisSerialization.java index 6f8813ad050..8637fab73f0 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheAnalysisSerialization.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheAnalysisSerialization.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheKey.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheKey.java index 3072037b855..fd4995e5bbb 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheKey.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheKey.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheReporter.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheReporter.java index 3c2d26a7650..5c9a039464d 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheReporter.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheReporter.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheSerialization.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheSerialization.java index daa7e3662aa..841d55a0de8 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheSerialization.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheSerialization.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheStrategies.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheStrategies.java index be65fc8af1c..a1e8c316adf 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheStrategies.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheStrategies.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheStrategy.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheStrategy.java index 3ccca4df2b7..1b763f9a8c2 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheStrategy.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CacheStrategy.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdData.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdData.java index 0d3cd4de5ca..239a68f1bcc 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdData.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdData.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdDeserializer.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdDeserializer.java index 5a016640a76..9c78a9136c7 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdDeserializer.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdDeserializer.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdSerialization.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdSerialization.java index 55281d012bf..b7064177dfb 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdSerialization.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdSerialization.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdSerializer.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdSerializer.java index 003b05f626e..d214deeb285 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdSerializer.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/CpdSerializer.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/FileIterator.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/FileIterator.java index bb35ad81c62..f24c6b4b1b3 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/FileIterator.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/FileIterator.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/FileMetadata.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/FileMetadata.java index 9c7ed1021aa..5d53b0b9110 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/FileMetadata.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/FileMetadata.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/FilesManifest.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/FilesManifest.java index 19c901adff2..b99b361b224 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/FilesManifest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/FilesManifest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/IteratorEnumeration.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/IteratorEnumeration.java index a242a129315..ebb9fd80006 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/IteratorEnumeration.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/IteratorEnumeration.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/JsonSerialization.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/JsonSerialization.java index 04f84c0612a..a5f19a55478 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/JsonSerialization.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/JsonSerialization.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/SequenceSerialization.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/SequenceSerialization.java index f5329011b11..b093a8fe990 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/SequenceSerialization.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/SequenceSerialization.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/StringTable.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/StringTable.java index 0b85b092723..f4447dd821e 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/StringTable.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/StringTable.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/UCFGFilesSerialization.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/UCFGFilesSerialization.java index c9e0a71e90a..be174652926 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/UCFGFilesSerialization.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/UCFGFilesSerialization.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/VarLengthInputStream.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/VarLengthInputStream.java index 94858185b93..e999e1122bd 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/VarLengthInputStream.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/VarLengthInputStream.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/VarLengthOutputStream.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/VarLengthOutputStream.java index dbda2554316..3ce91196669 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/VarLengthOutputStream.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/VarLengthOutputStream.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/package-info.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/package-info.java index b31351f8f9c..4b722266463 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/package-info.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/cache/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @ParametersAreNonnullByDefault package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/package-info.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/package-info.java index d3c7bdd729e..65b410a31b7 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/package-info.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/analysis/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @javax.annotation.ParametersAreNonnullByDefault package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/AbstractExternalIssuesSensor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/AbstractExternalIssuesSensor.java index 4462820ae38..f56c0a5a00b 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/AbstractExternalIssuesSensor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/AbstractExternalIssuesSensor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.external; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/EslintReportSensor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/EslintReportSensor.java index 6f164e55be6..6ba943131ca 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/EslintReportSensor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/EslintReportSensor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.external; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/TslintReportSensor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/TslintReportSensor.java index 72aa265fbfd..f46ffe76068 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/TslintReportSensor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/TslintReportSensor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.external; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/package-info.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/package-info.java index 7ade2ba2c2b..698cbe518e4 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/package-info.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/external/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @ParametersAreNonnullByDefault package org.sonar.plugins.javascript.external; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/Assessor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/Assessor.java index 4f2d0106a99..ae4b1eac1b4 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/Assessor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/Assessor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.filter; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/AverageLineLengthCalculator.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/AverageLineLengthCalculator.java index 07fe97099a1..b9d63fcd233 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/AverageLineLengthCalculator.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/AverageLineLengthCalculator.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.filter; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/BundleAssessor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/BundleAssessor.java index 673155aeee7..8079904e22d 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/BundleAssessor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/BundleAssessor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.filter; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/JavaScriptExclusionsFileFilter.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/JavaScriptExclusionsFileFilter.java index 13678c063f3..285f3f80c76 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/JavaScriptExclusionsFileFilter.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/JavaScriptExclusionsFileFilter.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.filter; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/MinificationAssessor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/MinificationAssessor.java index d68b05742e3..b628d424345 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/MinificationAssessor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/MinificationAssessor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.filter; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/PathAssessor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/PathAssessor.java index d4a5a07c302..6f23c35b2dd 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/PathAssessor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/PathAssessor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.filter; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/SizeAssessor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/SizeAssessor.java index a4e28ad612c..778fa3b68f0 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/SizeAssessor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/SizeAssessor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.filter; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/package-info.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/package-info.java index 913f4677b4a..ba23b6912a9 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/package-info.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/filter/package-info.java @@ -4,17 +4,14 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.filter; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/CoverageSensor.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/CoverageSensor.java index 243b838494e..796dd91bdde 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/CoverageSensor.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/CoverageSensor.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.lcov; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/FileLocator.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/FileLocator.java index 2ac10219cc3..de369e20488 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/FileLocator.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/FileLocator.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.lcov; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/LCOVParser.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/LCOVParser.java index 56409e4faf7..a939170a647 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/LCOVParser.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/LCOVParser.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.lcov; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/ReversePathTree.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/ReversePathTree.java index 521c1a2c364..0b291167972 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/ReversePathTree.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/ReversePathTree.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.lcov; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/package-info.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/package-info.java index f2a69780b6b..4266435c758 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/package-info.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/lcov/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @javax.annotation.ParametersAreNonnullByDefault package org.sonar.plugins.javascript.lcov; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/package-info.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/package-info.java index 7d952527f87..baaf41575d4 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/package-info.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @ParametersAreNonnullByDefault package org.sonar.plugins.javascript; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/EslintRulesDefinition.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/EslintRulesDefinition.java index 674103f0ed5..27714f62637 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/EslintRulesDefinition.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/EslintRulesDefinition.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.rules; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/JavaScriptRulesDefinition.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/JavaScriptRulesDefinition.java index 3053ecd8236..4a34e9b3c31 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/JavaScriptRulesDefinition.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/JavaScriptRulesDefinition.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.rules; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/TslintRulesDefinition.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/TslintRulesDefinition.java index c7b408d4a39..100eb996e07 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/TslintRulesDefinition.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/TslintRulesDefinition.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.rules; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/TypeScriptRulesDefinition.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/TypeScriptRulesDefinition.java index 25f0dfe1950..80cfe9909ab 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/TypeScriptRulesDefinition.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/TypeScriptRulesDefinition.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.rules; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/package-info.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/package-info.java index cfe9b7d2eaa..0c91ba23fdb 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/package-info.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/rules/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @ParametersAreNonnullByDefault package org.sonar.plugins.javascript.rules; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/sonarlint/TsConfigCache.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/sonarlint/TsConfigCache.java index ca092df0fac..43fe028a385 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/sonarlint/TsConfigCache.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/sonarlint/TsConfigCache.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.sonarlint; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/sonarlint/TsConfigCacheImpl.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/sonarlint/TsConfigCacheImpl.java index bd1f445324d..3359600518a 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/sonarlint/TsConfigCacheImpl.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/sonarlint/TsConfigCacheImpl.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.sonarlint; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/sonarlint/package-info.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/sonarlint/package-info.java index 86729a9b0c7..4720e15f6b6 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/sonarlint/package-info.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/sonarlint/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @ParametersAreNonnullByDefault package org.sonar.plugins.javascript.sonarlint; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/Exclusions.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/Exclusions.java index db62887565b..5938b5c0ee9 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/Exclusions.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/Exclusions.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.utils; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/PathWalker.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/PathWalker.java index d12deaa4c2e..9738e0af4fe 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/PathWalker.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/PathWalker.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.utils; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/ProgressReport.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/ProgressReport.java index d83a7a2a33e..a3cb89e14a1 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/ProgressReport.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/ProgressReport.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.utils; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/RulesMetadataForSonarLint.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/RulesMetadataForSonarLint.java index a64070e8bed..3e1eafbc93b 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/RulesMetadataForSonarLint.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/RulesMetadataForSonarLint.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.utils; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/UnicodeEscape.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/UnicodeEscape.java index 4fbb42cd048..81a55641283 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/UnicodeEscape.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/UnicodeEscape.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.utils; diff --git a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/package-info.java b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/package-info.java index cf8339b9016..67db10932e7 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/package-info.java +++ b/sonar-plugin/sonar-javascript-plugin/src/main/java/org/sonar/plugins/javascript/utils/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @ParametersAreNonnullByDefault package org.sonar.plugins.javascript.utils; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/com/sonar/plugins/security/api/JsRules.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/com/sonar/plugins/security/api/JsRules.java index a0eff5bdd8a..f6dd9a61f6c 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/com/sonar/plugins/security/api/JsRules.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/com/sonar/plugins/security/api/JsRules.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package com.sonar.plugins.security.api; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptFilePredicateTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptFilePredicateTest.java index cae47f4ce5d..a4fe0eb807f 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptFilePredicateTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptFilePredicateTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptLanguageTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptLanguageTest.java index a33482738c4..bc056e5c627 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptLanguageTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptLanguageTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptPluginTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptPluginTest.java index 55a5354148d..57180f2e8c2 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptPluginTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptPluginTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptProfilesDefinitionTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptProfilesDefinitionTest.java index f7fe87b5f25..c75de16a6dc 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptProfilesDefinitionTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/JavaScriptProfilesDefinitionTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/TestUtils.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/TestUtils.java index c25f147713b..621b617fca8 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/TestUtils.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/TestUtils.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/TypeScriptLanguageTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/TypeScriptLanguageTest.java index 3d28947b451..10f9c3bd4ce 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/TypeScriptLanguageTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/TypeScriptLanguageTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/AnalysisProcessorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/AnalysisProcessorTest.java index 991dad2cd95..6bbf4b74624 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/AnalysisProcessorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/AnalysisProcessorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/CssRuleSensorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/CssRuleSensorTest.java index f45c9384b35..24826654529 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/CssRuleSensorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/CssRuleSensorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/HtmlSensorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/HtmlSensorTest.java index cb9754d4e8d..562eafd903a 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/HtmlSensorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/HtmlSensorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JavaScriptChecksTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JavaScriptChecksTest.java index 02162dc37cf..20f95928d59 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JavaScriptChecksTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JavaScriptChecksTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JavaScriptEslintBasedSensorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JavaScriptEslintBasedSensorTest.java index 6956089221b..1d74106031f 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JavaScriptEslintBasedSensorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JavaScriptEslintBasedSensorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JsTsChecksTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JsTsChecksTest.java index 8f37ac39550..69371699fbe 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JsTsChecksTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JsTsChecksTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JsTsSensorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JsTsSensorTest.java index 7ff7ff32f45..70a20d6db58 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JsTsSensorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/JsTsSensorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/LookupConfigProviderFilterTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/LookupConfigProviderFilterTest.java index 40c417e8ca0..2574f2aaf3d 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/LookupConfigProviderFilterTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/LookupConfigProviderFilterTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/QuickFixSupportTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/QuickFixSupportTest.java index 98cd4eeb173..e762086813b 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/QuickFixSupportTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/QuickFixSupportTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TestAnalysisWarnings.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TestAnalysisWarnings.java index f9415727ed3..937fb1ccbbd 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TestAnalysisWarnings.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TestAnalysisWarnings.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TsConfigCacheTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TsConfigCacheTest.java index bfe2ae5e0c2..266f609e456 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TsConfigCacheTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TsConfigCacheTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TsConfigFileTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TsConfigFileTest.java index 52ec2109aa9..9c060648164 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TsConfigFileTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TsConfigFileTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TsConfigProviderTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TsConfigProviderTest.java index 0cd45a99455..1dae2f2da8c 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TsConfigProviderTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/TsConfigProviderTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/YamlSensorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/YamlSensorTest.java index b8fc60353f2..e0ed0ac1b0e 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/YamlSensorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/YamlSensorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheKeyTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheKeyTest.java index 10fe636db4b..be3c47e70a9 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheKeyTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheKeyTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheReporterTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheReporterTest.java index 261bb609499..625c3d8179f 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheReporterTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheReporterTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheStrategyTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheStrategyTest.java index 508e51b0f74..c4e4af837a8 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheStrategyTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheStrategyTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheTestUtils.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheTestUtils.java index d8e979f1ff4..c6b5d59c922 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheTestUtils.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/CacheTestUtils.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/FileMetadataTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/FileMetadataTest.java index c391dad575b..bd73a9f1abc 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/FileMetadataTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/analysis/cache/FileMetadataTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.analysis.cache; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/external/EslintReportSensorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/external/EslintReportSensorTest.java index 66d08859a5a..b153a1af4c0 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/external/EslintReportSensorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/external/EslintReportSensorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.external; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/external/TslintReportSensorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/external/TslintReportSensorTest.java index 6e0c993bcae..e837c2bf5ab 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/external/TslintReportSensorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/external/TslintReportSensorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.external; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/AverageLineLengthCalculatorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/AverageLineLengthCalculatorTest.java index dbe790f481b..108e124c8b2 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/AverageLineLengthCalculatorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/AverageLineLengthCalculatorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.filter; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/BundleAssessorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/BundleAssessorTest.java index b7cc1dceaa6..7c2d553e8cd 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/BundleAssessorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/BundleAssessorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.filter; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/JavaScriptExclusionsFileFilterTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/JavaScriptExclusionsFileFilterTest.java index 91402065622..417b46595f5 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/JavaScriptExclusionsFileFilterTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/JavaScriptExclusionsFileFilterTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.filter; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/MinificationAssessorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/MinificationAssessorTest.java index 294799b7cf2..86a6f48161d 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/MinificationAssessorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/MinificationAssessorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.filter; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/SizeAssessorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/SizeAssessorTest.java index 6ad68dd86a0..046d4f482b5 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/SizeAssessorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/filter/SizeAssessorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.filter; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/lcov/CoverageSensorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/lcov/CoverageSensorTest.java index 55db32d5f8a..1ccd8fb0d10 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/lcov/CoverageSensorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/lcov/CoverageSensorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.lcov; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/lcov/FileLocatorTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/lcov/FileLocatorTest.java index af9886d34c4..9b5269fbd29 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/lcov/FileLocatorTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/lcov/FileLocatorTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.lcov; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/nodejs/ProcessWrapperImplTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/nodejs/ProcessWrapperImplTest.java index 8053cf97d71..70fcb8938f6 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/nodejs/ProcessWrapperImplTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/nodejs/ProcessWrapperImplTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.nodejs; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/EslintRulesDefinitionTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/EslintRulesDefinitionTest.java index bc39749d735..db3698e6378 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/EslintRulesDefinitionTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/EslintRulesDefinitionTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.rules; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/JavaScriptRulesDefinitionTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/JavaScriptRulesDefinitionTest.java index 5313d6dca33..de63fda4f9b 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/JavaScriptRulesDefinitionTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/JavaScriptRulesDefinitionTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.rules; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/TslintRulesDefinitionTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/TslintRulesDefinitionTest.java index ee693bb1683..d8213d39f47 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/TslintRulesDefinitionTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/TslintRulesDefinitionTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.rules; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/TypeScriptRulesDefinitionTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/TypeScriptRulesDefinitionTest.java index d31dfbf6a5d..a814d5224a9 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/TypeScriptRulesDefinitionTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/rules/TypeScriptRulesDefinitionTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.rules; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/PathWalkerTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/PathWalkerTest.java index e2f5ef25c2f..94d947917d4 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/PathWalkerTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/PathWalkerTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.utils; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/ProgressReportTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/ProgressReportTest.java index 7f223af7604..e2b0b9be465 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/ProgressReportTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/ProgressReportTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.utils; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/RulesMetadataForSonarLintTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/RulesMetadataForSonarLintTest.java index 87df4f47c5c..9cd78bc7d64 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/RulesMetadataForSonarLintTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/RulesMetadataForSonarLintTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.utils; diff --git a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/UnicodeEscapeTest.java b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/UnicodeEscapeTest.java index 9ee9bb4a4cc..e158884a757 100644 --- a/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/UnicodeEscapeTest.java +++ b/sonar-plugin/sonar-javascript-plugin/src/test/java/org/sonar/plugins/javascript/utils/UnicodeEscapeTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.utils; diff --git a/sonar-plugin/standalone/src/main/java/org/sonar/plugins/javascript/standalone/StandaloneParser.java b/sonar-plugin/standalone/src/main/java/org/sonar/plugins/javascript/standalone/StandaloneParser.java index 8c0c79fee16..ec089110412 100644 --- a/sonar-plugin/standalone/src/main/java/org/sonar/plugins/javascript/standalone/StandaloneParser.java +++ b/sonar-plugin/standalone/src/main/java/org/sonar/plugins/javascript/standalone/StandaloneParser.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.standalone; diff --git a/sonar-plugin/standalone/src/main/java/org/sonar/plugins/javascript/standalone/StandaloneTemporaryFolder.java b/sonar-plugin/standalone/src/main/java/org/sonar/plugins/javascript/standalone/StandaloneTemporaryFolder.java index a7d55bf9262..75677885218 100644 --- a/sonar-plugin/standalone/src/main/java/org/sonar/plugins/javascript/standalone/StandaloneTemporaryFolder.java +++ b/sonar-plugin/standalone/src/main/java/org/sonar/plugins/javascript/standalone/StandaloneTemporaryFolder.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.standalone; diff --git a/sonar-plugin/standalone/src/main/java/org/sonar/plugins/javascript/standalone/package-info.java b/sonar-plugin/standalone/src/main/java/org/sonar/plugins/javascript/standalone/package-info.java index c5908a23fab..f8fc1cec736 100644 --- a/sonar-plugin/standalone/src/main/java/org/sonar/plugins/javascript/standalone/package-info.java +++ b/sonar-plugin/standalone/src/main/java/org/sonar/plugins/javascript/standalone/package-info.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ @ParametersAreNonnullByDefault package org.sonar.plugins.javascript.standalone; diff --git a/sonar-plugin/standalone/src/test/java/org/sonar/plugins/javascript/standalone/StandaloneParserTest.java b/sonar-plugin/standalone/src/test/java/org/sonar/plugins/javascript/standalone/StandaloneParserTest.java index 44ca7fba057..855722dd8d5 100644 --- a/sonar-plugin/standalone/src/test/java/org/sonar/plugins/javascript/standalone/StandaloneParserTest.java +++ b/sonar-plugin/standalone/src/test/java/org/sonar/plugins/javascript/standalone/StandaloneParserTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.standalone; diff --git a/sonar-plugin/standalone/src/test/java/org/sonar/plugins/javascript/standalone/StandaloneTemporaryFolderTest.java b/sonar-plugin/standalone/src/test/java/org/sonar/plugins/javascript/standalone/StandaloneTemporaryFolderTest.java index c4762b30568..9efa85979bd 100644 --- a/sonar-plugin/standalone/src/test/java/org/sonar/plugins/javascript/standalone/StandaloneTemporaryFolderTest.java +++ b/sonar-plugin/standalone/src/test/java/org/sonar/plugins/javascript/standalone/StandaloneTemporaryFolderTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.plugins.javascript.standalone; diff --git a/tools/check-distribution-filepath-length.cjs b/tools/check-distribution-filepath-length.cjs index e6e725cff3f..14eb2556f37 100644 --- a/tools/check-distribution-filepath-length.cjs +++ b/tools/check-distribution-filepath-length.cjs @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - const tar = require('tar'); const PACKAGE_FILENAME = 'sonarjs-1.0.0.tgz'; diff --git a/tools/count-rules.js b/tools/count-rules.js index b88b3572c32..616270c7a56 100644 --- a/tools/count-rules.js +++ b/tools/count-rules.js @@ -1,3 +1,19 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ import path from 'node:path'; import fs from 'node:fs/promises'; diff --git a/tools/external-rules-metadata.js b/tools/external-rules-metadata.js index e5f62c24e27..eb706a0a11f 100644 --- a/tools/external-rules-metadata.js +++ b/tools/external-rules-metadata.js @@ -4,20 +4,16 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - // install eslint plugins before running this script: // npm i --no-save eslint-plugin-ember eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-node eslint-plugin-vue @angular-eslint/eslint-plugin @angular-eslint/eslint-plugin-template diff --git a/tools/fetch-node/node-distros.mjs b/tools/fetch-node/node-distros.mjs index 146c39b874f..1a1cbb4594a 100644 --- a/tools/fetch-node/node-distros.mjs +++ b/tools/fetch-node/node-distros.mjs @@ -1,3 +1,19 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ export const NODE_VERSION = 'v22.11.0'; const NODE_ORG_URL = `https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}`; diff --git a/tools/fetch-node/scripts/copy-to-plugin.mjs b/tools/fetch-node/scripts/copy-to-plugin.mjs index 5e0f51e2cc9..f7cedae822e 100644 --- a/tools/fetch-node/scripts/copy-to-plugin.mjs +++ b/tools/fetch-node/scripts/copy-to-plugin.mjs @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import fse from 'fs-extra'; import * as path from 'node:path'; diff --git a/tools/fetch-node/scripts/directories.mjs b/tools/fetch-node/scripts/directories.mjs index c2a198dea92..b4176d01b63 100644 --- a/tools/fetch-node/scripts/directories.mjs +++ b/tools/fetch-node/scripts/directories.mjs @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import * as url from 'node:url'; import * as path from 'node:path'; diff --git a/tools/fetch-node/scripts/fetch-node.mjs b/tools/fetch-node/scripts/fetch-node.mjs index 29b83a65566..3ec42aa01bf 100644 --- a/tools/fetch-node/scripts/fetch-node.mjs +++ b/tools/fetch-node/scripts/fetch-node.mjs @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import fetch from 'node-fetch'; import fs from 'fs-extra'; diff --git a/tools/fetch-node/scripts/wrapper.mjs b/tools/fetch-node/scripts/wrapper.mjs index deff510c1a2..cee65ba300a 100644 --- a/tools/fetch-node/scripts/wrapper.mjs +++ b/tools/fetch-node/scripts/wrapper.mjs @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import * as fs from 'node:fs'; import * as url from 'node:url'; diff --git a/tools/fetch-node/src/main/java/org/sonarsource/javascript/XZ.java b/tools/fetch-node/src/main/java/org/sonarsource/javascript/XZ.java index 84827896b8b..83d84bb7082 100644 --- a/tools/fetch-node/src/main/java/org/sonarsource/javascript/XZ.java +++ b/tools/fetch-node/src/main/java/org/sonarsource/javascript/XZ.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonarsource.javascript; diff --git a/tools/fetch-node/src/test/java/org/sonarsource/javascript/XZTest.java b/tools/fetch-node/src/test/java/org/sonarsource/javascript/XZTest.java index 3ec2f973ed0..abcf61f33b0 100644 --- a/tools/fetch-node/src/test/java/org/sonarsource/javascript/XZTest.java +++ b/tools/fetch-node/src/test/java/org/sonarsource/javascript/XZTest.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonarsource.javascript; diff --git a/tools/generate-meta.ts b/tools/generate-meta.ts index 979c3b22bb2..64f8c83a302 100644 --- a/tools/generate-meta.ts +++ b/tools/generate-meta.ts @@ -4,22 +4,20 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - +import prettier from 'prettier'; import { RuleMetaData } from '@typescript-eslint/utils/ts-eslint'; import { readdirSync, readFileSync, writeFileSync } from 'fs'; +import { prettier as prettierOpts } from '../package.json'; import { join } from 'node:path/posix'; const ruleRegex = /^S\d+$/; @@ -34,18 +32,15 @@ const header = `/* * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */`; const typeMatrix = { @@ -71,7 +66,7 @@ const sonarWayProfileFile = join(METADATA_FOLDER, `Sonar_way_profile.json`); const sonarWayProfile = JSON.parse(readFileSync(sonarWayProfileFile, 'utf-8')); // Check rule rspec metadata docs in https://github.com/SonarSource/rspec/blob/master/docs/metadata.adoc -function generateMetaForRule(ruleDir: string, ruleId: string) { +async function generateMetaForRule(ruleDir: string, ruleId: string) { const ruleRspecMeta = JSON.parse( readFileSync(join(METADATA_FOLDER, `${ruleId}.json`), 'utf-8'), ) as rspecMeta; @@ -101,10 +96,11 @@ function generateMetaForRule(ruleDir: string, ruleId: string) { readFileSync(join(METADATA_FOLDER, 'schemas', `${ruleId}-schema.json`), 'utf-8'), ); } catch {} - + const metaFile = join(ruleDir, ruleId, 'generated-meta.ts'); writeFileSync( - join(ruleDir, ruleId, 'generated-meta.ts'), - `${header} + metaFile, + await prettier.format( + `${header} // DO NOT EDIT! This file is autogenerated by "npm run generate-meta" @@ -118,19 +114,21 @@ export const schema = ${JSON.stringify(schema, null, 2)} as const satisfies JSON : '' } `, + { ...(prettierOpts as prettier.Options), filepath: metaFile }, + ), ); } -function generateMetaForRules(ruleDir: string) { +async function generateMetaForRules(ruleDir: string) { const files = readdirSync(ruleDir, { withFileTypes: true }); for (const file of files) { if (!ruleRegex.test(file.name)) { continue; } if (file.isDirectory()) { - generateMetaForRule(ruleDir, file.name); + await generateMetaForRule(ruleDir, file.name); } } } -generateMetaForRules(RULES_FOLDER); +await generateMetaForRules(RULES_FOLDER); diff --git a/tools/generate-rule-indexes.ts b/tools/generate-rule-indexes.ts index 32248393180..d0167f45c7d 100644 --- a/tools/generate-rule-indexes.ts +++ b/tools/generate-rule-indexes.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import prettier from 'prettier'; import { readdir, writeFile } from 'fs/promises'; @@ -33,18 +30,15 @@ const header = `/* * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */`; const RULES_FOLDER = join( diff --git a/tools/generate-rules-list.js b/tools/generate-rules-list.js index 17811b4298b..fbedbbf579c 100644 --- a/tools/generate-rules-list.js +++ b/tools/generate-rules-list.js @@ -1,3 +1,19 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ import { rules } from '../lib/jsts/src/rules/index.js'; import { writeFileSync } from 'node:fs'; import { join } from 'node:path'; diff --git a/tools/newRule.ts b/tools/newRule.ts index f7ab57cac6c..aaeb20f8171 100644 --- a/tools/newRule.ts +++ b/tools/newRule.ts @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ import * as fs from 'fs'; import * as path from 'path'; diff --git a/tools/prepare-ruling.js b/tools/prepare-ruling.js index 9d56f3e9d96..352ef572395 100644 --- a/tools/prepare-ruling.js +++ b/tools/prepare-ruling.js @@ -1,3 +1,19 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ import path from 'path'; import fs from 'fs'; import semver from 'semver'; diff --git a/typedoc/searchable-parameters-plugin/index.js b/typedoc/searchable-parameters-plugin/index.js index 176071b12d1..831b11ff4ac 100644 --- a/typedoc/searchable-parameters-plugin/index.js +++ b/typedoc/searchable-parameters-plugin/index.js @@ -1,3 +1,19 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ const { Renderer } = require('typedoc'); module.exports.load = function load(app) { diff --git a/typedoc/searchable-parameters-plugin/setup.js b/typedoc/searchable-parameters-plugin/setup.js index efd7e08b57a..15a20904498 100644 --- a/typedoc/searchable-parameters-plugin/setup.js +++ b/typedoc/searchable-parameters-plugin/setup.js @@ -1,3 +1,19 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ // typedoc looks for plugins in node_modules/, therefore we create a symlink to this folder in node_modules/ const fs = require('fs'); diff --git a/typedoc/typedoc.js b/typedoc/typedoc.js index 967844cc215..34384d3539b 100644 --- a/typedoc/typedoc.js +++ b/typedoc/typedoc.js @@ -1,3 +1,19 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ // https://typedoc.org/guides/options export default { entryPoints: ['../packages/jsts/src/rules/helpers/index.ts'], From 7bcfd6783d3fa42445dee106b423ae4a70e4758c Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Tue, 26 Nov 2024 11:01:27 +0100 Subject: [PATCH 09/23] add S1291 to new metadata format --- .../jsts/src/rules/S1291/generated-meta.ts | 30 +++++++++++++++++++ packages/jsts/src/rules/S1291/meta.ts | 17 ++--------- 2 files changed, 33 insertions(+), 14 deletions(-) create mode 100644 packages/jsts/src/rules/S1291/generated-meta.ts diff --git a/packages/jsts/src/rules/S1291/generated-meta.ts b/packages/jsts/src/rules/S1291/generated-meta.ts new file mode 100644 index 00000000000..1a9b534c321 --- /dev/null +++ b/packages/jsts/src/rules/S1291/generated-meta.ts @@ -0,0 +1,30 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'suggestion', + docs: { + description: 'Track uses of "NOSONAR" comments', + recommended: false, + url: 'https://sonarsource.github.io/rspec/#/rspec/S1291/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S1291'; diff --git a/packages/jsts/src/rules/S1291/meta.ts b/packages/jsts/src/rules/S1291/meta.ts index 1a9b534c321..f9b47a89583 100644 --- a/packages/jsts/src/rules/S1291/meta.ts +++ b/packages/jsts/src/rules/S1291/meta.ts @@ -14,17 +14,6 @@ * You should have received a copy of the Sonar Source-Available License * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - -// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" - -export const meta = { - type: 'suggestion', - docs: { - description: 'Track uses of "NOSONAR" comments', - recommended: false, - url: 'https://sonarsource.github.io/rspec/#/rspec/S1291/javascript', - requiresTypeChecking: false, - }, -}; - -export const sonarKey = 'S1291'; +export * from './generated-meta.js'; +export const implementation = 'original'; +export const eslintId = 'no-sonar-comments'; From 26480e6bfb7559dd31ba887f3617ee80ff2b3237 Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Tue, 26 Nov 2024 11:40:28 +0100 Subject: [PATCH 10/23] add source of rule for external rules --- packages/jsts/src/rules/S103/meta.ts | 1 + packages/jsts/src/rules/S106/meta.ts | 1 + packages/jsts/src/rules/S108/meta.ts | 1 + packages/jsts/src/rules/S1090/meta.ts | 1 + packages/jsts/src/rules/S1117/meta.ts | 1 + packages/jsts/src/rules/S113/meta.ts | 1 + packages/jsts/src/rules/S1131/meta.ts | 1 + packages/jsts/src/rules/S1143/meta.ts | 1 + packages/jsts/src/rules/S1199/meta.ts | 1 + packages/jsts/src/rules/S121/meta.ts | 1 + packages/jsts/src/rules/S122/meta.ts | 1 + packages/jsts/src/rules/S1314/meta.ts | 1 + packages/jsts/src/rules/S1321/meta.ts | 1 + packages/jsts/src/rules/S139/meta.ts | 1 + packages/jsts/src/rules/S1440/meta.ts | 1 + packages/jsts/src/rules/S1441/meta.ts | 1 + packages/jsts/src/rules/S1442/meta.ts | 1 + packages/jsts/src/rules/S1516/meta.ts | 1 + packages/jsts/src/rules/S1525/meta.ts | 1 + packages/jsts/src/rules/S1536/meta.ts | 1 + packages/jsts/src/rules/S1537/meta.ts | 1 + packages/jsts/src/rules/S1539/meta.ts | 1 + packages/jsts/src/rules/S1656/meta.ts | 1 + packages/jsts/src/rules/S1774/meta.ts | 1 + packages/jsts/src/rules/S2094/meta.ts | 1 + packages/jsts/src/rules/S2427/meta.ts | 1 + packages/jsts/src/rules/S2432/meta.ts | 1 + packages/jsts/src/rules/S2685/meta.ts | 1 + packages/jsts/src/rules/S2933/meta.ts | 1 + packages/jsts/src/rules/S2966/meta.ts | 1 + packages/jsts/src/rules/S3257/meta.ts | 1 + packages/jsts/src/rules/S3353/meta.ts | 1 + packages/jsts/src/rules/S3523/meta.ts | 1 + packages/jsts/src/rules/S3786/meta.ts | 1 + packages/jsts/src/rules/S3799/meta.ts | 1 + packages/jsts/src/rules/S3812/meta.ts | 1 + packages/jsts/src/rules/S3834/meta.ts | 1 + packages/jsts/src/rules/S3863/meta.ts | 1 + packages/jsts/src/rules/S4124/meta.ts | 1 + packages/jsts/src/rules/S4125/meta.ts | 1 + packages/jsts/src/rules/S4136/meta.ts | 1 + packages/jsts/src/rules/S4137/meta.ts | 1 + packages/jsts/src/rules/S4140/meta.ts | 1 + packages/jsts/src/rules/S4157/meta.ts | 1 + packages/jsts/src/rules/S4204/meta.ts | 1 + packages/jsts/src/rules/S4325/meta.ts | 1 + packages/jsts/src/rules/S4326/meta.ts | 1 + packages/jsts/src/rules/S6325/meta.ts | 1 + packages/jsts/src/rules/S6435/meta.ts | 1 + packages/jsts/src/rules/S6438/meta.ts | 1 + packages/jsts/src/rules/S6480/meta.ts | 1 + packages/jsts/src/rules/S6509/meta.ts | 1 + packages/jsts/src/rules/S6522/meta.ts | 1 + packages/jsts/src/rules/S6523/meta.ts | 1 + packages/jsts/src/rules/S6534/meta.ts | 1 + packages/jsts/src/rules/S6550/meta.ts | 1 + packages/jsts/src/rules/S6565/meta.ts | 1 + packages/jsts/src/rules/S6568/meta.ts | 1 + packages/jsts/src/rules/S6569/meta.ts | 1 + packages/jsts/src/rules/S6578/meta.ts | 1 + packages/jsts/src/rules/S6583/meta.ts | 1 + packages/jsts/src/rules/S6590/meta.ts | 1 + packages/jsts/src/rules/S6635/meta.ts | 1 + packages/jsts/src/rules/S6637/meta.ts | 1 + packages/jsts/src/rules/S6638/meta.ts | 1 + packages/jsts/src/rules/S6644/meta.ts | 1 + packages/jsts/src/rules/S6645/meta.ts | 1 + packages/jsts/src/rules/S6650/meta.ts | 1 + packages/jsts/src/rules/S6653/meta.ts | 1 + packages/jsts/src/rules/S6654/meta.ts | 1 + packages/jsts/src/rules/S6657/meta.ts | 1 + packages/jsts/src/rules/S6671/meta.ts | 1 + packages/jsts/src/rules/S6746/meta.ts | 1 + packages/jsts/src/rules/S6748/meta.ts | 1 + packages/jsts/src/rules/S6750/meta.ts | 1 + packages/jsts/src/rules/S6756/meta.ts | 1 + packages/jsts/src/rules/S6757/meta.ts | 1 + packages/jsts/src/rules/S6761/meta.ts | 1 + packages/jsts/src/rules/S6763/meta.ts | 1 + packages/jsts/src/rules/S6766/meta.ts | 1 + packages/jsts/src/rules/S6767/meta.ts | 1 + packages/jsts/src/rules/S6770/meta.ts | 1 + packages/jsts/src/rules/S6772/meta.ts | 1 + packages/jsts/src/rules/S6774/meta.ts | 1 + packages/jsts/src/rules/S6775/meta.ts | 1 + packages/jsts/src/rules/S6789/meta.ts | 1 + packages/jsts/src/rules/S6790/meta.ts | 1 + packages/jsts/src/rules/S6793/meta.ts | 1 + packages/jsts/src/rules/S6807/meta.ts | 1 + packages/jsts/src/rules/S6811/meta.ts | 1 + packages/jsts/src/rules/S6819/meta.ts | 1 + packages/jsts/src/rules/S6821/meta.ts | 1 + packages/jsts/src/rules/S6822/meta.ts | 1 + packages/jsts/src/rules/S6823/meta.ts | 1 + packages/jsts/src/rules/S6824/meta.ts | 1 + packages/jsts/src/rules/S6825/meta.ts | 1 + packages/jsts/src/rules/S6836/meta.ts | 1 + packages/jsts/src/rules/S6840/meta.ts | 1 + packages/jsts/src/rules/S6841/meta.ts | 1 + packages/jsts/src/rules/S6842/meta.ts | 1 + packages/jsts/src/rules/S6843/meta.ts | 1 + packages/jsts/src/rules/S6845/meta.ts | 1 + packages/jsts/src/rules/S6846/meta.ts | 1 + packages/jsts/src/rules/S6847/meta.ts | 1 + packages/jsts/src/rules/S6848/meta.ts | 1 + packages/jsts/src/rules/S6850/meta.ts | 1 + packages/jsts/src/rules/S6851/meta.ts | 1 + packages/jsts/src/rules/S6852/meta.ts | 1 + packages/jsts/src/rules/S6859/meta.ts | 1 + packages/jsts/src/rules/S6861/meta.ts | 1 + packages/jsts/src/rules/S878/meta.ts | 1 + packages/jsts/src/rules/S909/meta.ts | 1 + 112 files changed, 112 insertions(+) diff --git a/packages/jsts/src/rules/S103/meta.ts b/packages/jsts/src/rules/S103/meta.ts index 428984cd99c..775c483682a 100644 --- a/packages/jsts/src/rules/S103/meta.ts +++ b/packages/jsts/src/rules/S103/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'max-len'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S106/meta.ts b/packages/jsts/src/rules/S106/meta.ts index b719980efda..cb5604c1ab8 100644 --- a/packages/jsts/src/rules/S106/meta.ts +++ b/packages/jsts/src/rules/S106/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-console'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S108/meta.ts b/packages/jsts/src/rules/S108/meta.ts index b7b88b4a416..404a5659343 100644 --- a/packages/jsts/src/rules/S108/meta.ts +++ b/packages/jsts/src/rules/S108/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-empty'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1090/meta.ts b/packages/jsts/src/rules/S1090/meta.ts index 430e10343bd..c3c0432d69e 100644 --- a/packages/jsts/src/rules/S1090/meta.ts +++ b/packages/jsts/src/rules/S1090/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'iframe-has-title'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S1117/meta.ts b/packages/jsts/src/rules/S1117/meta.ts index 307898bd7a8..e2de445a296 100644 --- a/packages/jsts/src/rules/S1117/meta.ts +++ b/packages/jsts/src/rules/S1117/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-shadow'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S113/meta.ts b/packages/jsts/src/rules/S113/meta.ts index a8249d60690..374bf62b174 100644 --- a/packages/jsts/src/rules/S113/meta.ts +++ b/packages/jsts/src/rules/S113/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'eol-last'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1131/meta.ts b/packages/jsts/src/rules/S1131/meta.ts index f54a805e3e3..069bd29dec9 100644 --- a/packages/jsts/src/rules/S1131/meta.ts +++ b/packages/jsts/src/rules/S1131/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-trailing-spaces'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1143/meta.ts b/packages/jsts/src/rules/S1143/meta.ts index b2b3bba95df..d16652acda3 100644 --- a/packages/jsts/src/rules/S1143/meta.ts +++ b/packages/jsts/src/rules/S1143/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-unsafe-finally'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1199/meta.ts b/packages/jsts/src/rules/S1199/meta.ts index 9a321a211f4..4bcb06a8110 100644 --- a/packages/jsts/src/rules/S1199/meta.ts +++ b/packages/jsts/src/rules/S1199/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-lone-blocks'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S121/meta.ts b/packages/jsts/src/rules/S121/meta.ts index 5ece1e7e6bf..26fc77e9890 100644 --- a/packages/jsts/src/rules/S121/meta.ts +++ b/packages/jsts/src/rules/S121/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'curly'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S122/meta.ts b/packages/jsts/src/rules/S122/meta.ts index 35849cda02c..e97fc5c46b5 100644 --- a/packages/jsts/src/rules/S122/meta.ts +++ b/packages/jsts/src/rules/S122/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'max-statements-per-line'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1314/meta.ts b/packages/jsts/src/rules/S1314/meta.ts index efe9e237c27..0e8413eb979 100644 --- a/packages/jsts/src/rules/S1314/meta.ts +++ b/packages/jsts/src/rules/S1314/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-octal'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1321/meta.ts b/packages/jsts/src/rules/S1321/meta.ts index d6dd61a48e1..b3d0b75f33c 100644 --- a/packages/jsts/src/rules/S1321/meta.ts +++ b/packages/jsts/src/rules/S1321/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-with'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S139/meta.ts b/packages/jsts/src/rules/S139/meta.ts index f879b664f0d..a8465034cbb 100644 --- a/packages/jsts/src/rules/S139/meta.ts +++ b/packages/jsts/src/rules/S139/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'line-comment-position'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1440/meta.ts b/packages/jsts/src/rules/S1440/meta.ts index e9fc7a94de9..d9935e62d31 100644 --- a/packages/jsts/src/rules/S1440/meta.ts +++ b/packages/jsts/src/rules/S1440/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'eqeqeq'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1441/meta.ts b/packages/jsts/src/rules/S1441/meta.ts index 6bb8d5be7fe..454f089c438 100644 --- a/packages/jsts/src/rules/S1441/meta.ts +++ b/packages/jsts/src/rules/S1441/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'quotes'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1442/meta.ts b/packages/jsts/src/rules/S1442/meta.ts index 06ee2ca9b85..bd4eaf179a3 100644 --- a/packages/jsts/src/rules/S1442/meta.ts +++ b/packages/jsts/src/rules/S1442/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-alert'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1516/meta.ts b/packages/jsts/src/rules/S1516/meta.ts index 878165ac8e2..f2169b8ded6 100644 --- a/packages/jsts/src/rules/S1516/meta.ts +++ b/packages/jsts/src/rules/S1516/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-multi-str'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1525/meta.ts b/packages/jsts/src/rules/S1525/meta.ts index 26c0973862c..c967d3784b0 100644 --- a/packages/jsts/src/rules/S1525/meta.ts +++ b/packages/jsts/src/rules/S1525/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-debugger'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1536/meta.ts b/packages/jsts/src/rules/S1536/meta.ts index e6649f62ecb..6bb7e3f492f 100644 --- a/packages/jsts/src/rules/S1536/meta.ts +++ b/packages/jsts/src/rules/S1536/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-dupe-args'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1537/meta.ts b/packages/jsts/src/rules/S1537/meta.ts index e7b0935c07e..1eb18848dcd 100644 --- a/packages/jsts/src/rules/S1537/meta.ts +++ b/packages/jsts/src/rules/S1537/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'comma-dangle'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S1539/meta.ts b/packages/jsts/src/rules/S1539/meta.ts index 97c0df91452..c1067fc2b9c 100644 --- a/packages/jsts/src/rules/S1539/meta.ts +++ b/packages/jsts/src/rules/S1539/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'strict'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1656/meta.ts b/packages/jsts/src/rules/S1656/meta.ts index 507e819a9bf..b949d3fe831 100644 --- a/packages/jsts/src/rules/S1656/meta.ts +++ b/packages/jsts/src/rules/S1656/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-self-assign'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S1774/meta.ts b/packages/jsts/src/rules/S1774/meta.ts index 7f453086e05..5fdaa7e6a06 100644 --- a/packages/jsts/src/rules/S1774/meta.ts +++ b/packages/jsts/src/rules/S1774/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-ternary'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S2094/meta.ts b/packages/jsts/src/rules/S2094/meta.ts index 8331edef813..540f7d9cfbd 100644 --- a/packages/jsts/src/rules/S2094/meta.ts +++ b/packages/jsts/src/rules/S2094/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-extraneous-class'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S2427/meta.ts b/packages/jsts/src/rules/S2427/meta.ts index bd91f7d8126..22194932995 100644 --- a/packages/jsts/src/rules/S2427/meta.ts +++ b/packages/jsts/src/rules/S2427/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'radix'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S2432/meta.ts b/packages/jsts/src/rules/S2432/meta.ts index 570708b3a10..434d0e9c98d 100644 --- a/packages/jsts/src/rules/S2432/meta.ts +++ b/packages/jsts/src/rules/S2432/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-setter-return'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S2685/meta.ts b/packages/jsts/src/rules/S2685/meta.ts index b3dd72c8d4f..f144795c17f 100644 --- a/packages/jsts/src/rules/S2685/meta.ts +++ b/packages/jsts/src/rules/S2685/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-caller'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S2933/meta.ts b/packages/jsts/src/rules/S2933/meta.ts index feee9059889..f3d88e5ce32 100644 --- a/packages/jsts/src/rules/S2933/meta.ts +++ b/packages/jsts/src/rules/S2933/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'prefer-readonly'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S2966/meta.ts b/packages/jsts/src/rules/S2966/meta.ts index f56ef5d344c..a2052c4c1b0 100644 --- a/packages/jsts/src/rules/S2966/meta.ts +++ b/packages/jsts/src/rules/S2966/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-non-null-assertion'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S3257/meta.ts b/packages/jsts/src/rules/S3257/meta.ts index d9a0141ca97..2dac29cab7f 100644 --- a/packages/jsts/src/rules/S3257/meta.ts +++ b/packages/jsts/src/rules/S3257/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-inferrable-types'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S3353/meta.ts b/packages/jsts/src/rules/S3353/meta.ts index f2b3126e3a0..18618cb4a4b 100644 --- a/packages/jsts/src/rules/S3353/meta.ts +++ b/packages/jsts/src/rules/S3353/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'prefer-const'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S3523/meta.ts b/packages/jsts/src/rules/S3523/meta.ts index 33869f7302e..1b43701382b 100644 --- a/packages/jsts/src/rules/S3523/meta.ts +++ b/packages/jsts/src/rules/S3523/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-new-func'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S3786/meta.ts b/packages/jsts/src/rules/S3786/meta.ts index 47fb8325f4c..cce2af68971 100644 --- a/packages/jsts/src/rules/S3786/meta.ts +++ b/packages/jsts/src/rules/S3786/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-template-curly-in-string'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S3799/meta.ts b/packages/jsts/src/rules/S3799/meta.ts index 789cf03d983..b0b9af5a384 100644 --- a/packages/jsts/src/rules/S3799/meta.ts +++ b/packages/jsts/src/rules/S3799/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-empty-pattern'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S3812/meta.ts b/packages/jsts/src/rules/S3812/meta.ts index 94e2018f9e7..af2cb2f5b0d 100644 --- a/packages/jsts/src/rules/S3812/meta.ts +++ b/packages/jsts/src/rules/S3812/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-unsafe-negation'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S3834/meta.ts b/packages/jsts/src/rules/S3834/meta.ts index 080d5b46360..dbec04dfa90 100644 --- a/packages/jsts/src/rules/S3834/meta.ts +++ b/packages/jsts/src/rules/S3834/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-new-native-nonconstructor'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S3863/meta.ts b/packages/jsts/src/rules/S3863/meta.ts index 7db5afed204..2f3e15ca9a5 100644 --- a/packages/jsts/src/rules/S3863/meta.ts +++ b/packages/jsts/src/rules/S3863/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-duplicates'; +export const externalPlugin = 'import'; diff --git a/packages/jsts/src/rules/S4124/meta.ts b/packages/jsts/src/rules/S4124/meta.ts index 58306b08951..f0c7ead97b5 100644 --- a/packages/jsts/src/rules/S4124/meta.ts +++ b/packages/jsts/src/rules/S4124/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-misused-new'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S4125/meta.ts b/packages/jsts/src/rules/S4125/meta.ts index c0708da853e..373ac1af759 100644 --- a/packages/jsts/src/rules/S4125/meta.ts +++ b/packages/jsts/src/rules/S4125/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'valid-typeof'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S4136/meta.ts b/packages/jsts/src/rules/S4136/meta.ts index e6e7d840185..1574581bc3f 100644 --- a/packages/jsts/src/rules/S4136/meta.ts +++ b/packages/jsts/src/rules/S4136/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'adjacent-overload-signatures'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S4137/meta.ts b/packages/jsts/src/rules/S4137/meta.ts index 1dfc808a863..642e7de4dd8 100644 --- a/packages/jsts/src/rules/S4137/meta.ts +++ b/packages/jsts/src/rules/S4137/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'consistent-type-assertions'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S4140/meta.ts b/packages/jsts/src/rules/S4140/meta.ts index 31e62b2a51e..c22aa24cefd 100644 --- a/packages/jsts/src/rules/S4140/meta.ts +++ b/packages/jsts/src/rules/S4140/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-sparse-arrays'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S4157/meta.ts b/packages/jsts/src/rules/S4157/meta.ts index 263fc1a3a22..6a063473ab4 100644 --- a/packages/jsts/src/rules/S4157/meta.ts +++ b/packages/jsts/src/rules/S4157/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-unnecessary-type-arguments'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S4204/meta.ts b/packages/jsts/src/rules/S4204/meta.ts index fbc7e440fda..4f54fd06116 100644 --- a/packages/jsts/src/rules/S4204/meta.ts +++ b/packages/jsts/src/rules/S4204/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-explicit-any'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S4325/meta.ts b/packages/jsts/src/rules/S4325/meta.ts index 188f26b3685..0f8a5947b9c 100644 --- a/packages/jsts/src/rules/S4325/meta.ts +++ b/packages/jsts/src/rules/S4325/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-unnecessary-type-assertion'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S4326/meta.ts b/packages/jsts/src/rules/S4326/meta.ts index 5c2d8e3dd0f..f31809fe3d9 100644 --- a/packages/jsts/src/rules/S4326/meta.ts +++ b/packages/jsts/src/rules/S4326/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-return-await'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6325/meta.ts b/packages/jsts/src/rules/S6325/meta.ts index 1446054b6b0..4fed960a911 100644 --- a/packages/jsts/src/rules/S6325/meta.ts +++ b/packages/jsts/src/rules/S6325/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'prefer-regex-literals'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6435/meta.ts b/packages/jsts/src/rules/S6435/meta.ts index ab9b1c5d11e..f0fb8fafdd4 100644 --- a/packages/jsts/src/rules/S6435/meta.ts +++ b/packages/jsts/src/rules/S6435/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'require-render-return'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6438/meta.ts b/packages/jsts/src/rules/S6438/meta.ts index 32e01232be8..478d8f257cb 100644 --- a/packages/jsts/src/rules/S6438/meta.ts +++ b/packages/jsts/src/rules/S6438/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'jsx-no-comment-textnodes'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6480/meta.ts b/packages/jsts/src/rules/S6480/meta.ts index edb4e2b7747..99e33f891eb 100644 --- a/packages/jsts/src/rules/S6480/meta.ts +++ b/packages/jsts/src/rules/S6480/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'jsx-no-bind'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6509/meta.ts b/packages/jsts/src/rules/S6509/meta.ts index 23bb88f5733..48a5e4b6725 100644 --- a/packages/jsts/src/rules/S6509/meta.ts +++ b/packages/jsts/src/rules/S6509/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-extra-boolean-cast'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6522/meta.ts b/packages/jsts/src/rules/S6522/meta.ts index c7e24e5def0..50c60abb553 100644 --- a/packages/jsts/src/rules/S6522/meta.ts +++ b/packages/jsts/src/rules/S6522/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-import-assign'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6523/meta.ts b/packages/jsts/src/rules/S6523/meta.ts index f318415b6f0..0a5e1cdd070 100644 --- a/packages/jsts/src/rules/S6523/meta.ts +++ b/packages/jsts/src/rules/S6523/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-unsafe-optional-chaining'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6534/meta.ts b/packages/jsts/src/rules/S6534/meta.ts index efb367fa9d2..5728a061e30 100644 --- a/packages/jsts/src/rules/S6534/meta.ts +++ b/packages/jsts/src/rules/S6534/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-loss-of-precision'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6550/meta.ts b/packages/jsts/src/rules/S6550/meta.ts index 47eb71f0e5f..c355552120e 100644 --- a/packages/jsts/src/rules/S6550/meta.ts +++ b/packages/jsts/src/rules/S6550/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'prefer-literal-enum-member'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S6565/meta.ts b/packages/jsts/src/rules/S6565/meta.ts index 7655907620a..6a34a84bac0 100644 --- a/packages/jsts/src/rules/S6565/meta.ts +++ b/packages/jsts/src/rules/S6565/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'prefer-return-this-type'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S6568/meta.ts b/packages/jsts/src/rules/S6568/meta.ts index 49b03b38f3e..19129d34bb8 100644 --- a/packages/jsts/src/rules/S6568/meta.ts +++ b/packages/jsts/src/rules/S6568/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-confusing-non-null-assertion'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S6569/meta.ts b/packages/jsts/src/rules/S6569/meta.ts index 652cfb768ac..ac44ba3ad83 100644 --- a/packages/jsts/src/rules/S6569/meta.ts +++ b/packages/jsts/src/rules/S6569/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-unnecessary-type-constraint'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S6578/meta.ts b/packages/jsts/src/rules/S6578/meta.ts index 76ac6bfefac..d4d8b035af9 100644 --- a/packages/jsts/src/rules/S6578/meta.ts +++ b/packages/jsts/src/rules/S6578/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-duplicate-enum-values'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S6583/meta.ts b/packages/jsts/src/rules/S6583/meta.ts index 92278ef0dff..c899cce38ef 100644 --- a/packages/jsts/src/rules/S6583/meta.ts +++ b/packages/jsts/src/rules/S6583/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-mixed-enums'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S6590/meta.ts b/packages/jsts/src/rules/S6590/meta.ts index b1aa06f47bd..00bfc2ad395 100644 --- a/packages/jsts/src/rules/S6590/meta.ts +++ b/packages/jsts/src/rules/S6590/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'prefer-as-const'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S6635/meta.ts b/packages/jsts/src/rules/S6635/meta.ts index 3892c4654a9..c6dc129157b 100644 --- a/packages/jsts/src/rules/S6635/meta.ts +++ b/packages/jsts/src/rules/S6635/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-constructor-return'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6637/meta.ts b/packages/jsts/src/rules/S6637/meta.ts index 0ad9f8aede2..1a679b46415 100644 --- a/packages/jsts/src/rules/S6637/meta.ts +++ b/packages/jsts/src/rules/S6637/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-extra-bind'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6638/meta.ts b/packages/jsts/src/rules/S6638/meta.ts index d5b52697cd5..16865e8dd46 100644 --- a/packages/jsts/src/rules/S6638/meta.ts +++ b/packages/jsts/src/rules/S6638/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-constant-binary-expression'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6644/meta.ts b/packages/jsts/src/rules/S6644/meta.ts index e3cf732af5b..218cf5fc4bc 100644 --- a/packages/jsts/src/rules/S6644/meta.ts +++ b/packages/jsts/src/rules/S6644/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-unneeded-ternary'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6645/meta.ts b/packages/jsts/src/rules/S6645/meta.ts index e397518ee1d..119f1f7cd19 100644 --- a/packages/jsts/src/rules/S6645/meta.ts +++ b/packages/jsts/src/rules/S6645/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-undef-init'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6650/meta.ts b/packages/jsts/src/rules/S6650/meta.ts index c546f526583..308913e17ae 100644 --- a/packages/jsts/src/rules/S6650/meta.ts +++ b/packages/jsts/src/rules/S6650/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-useless-rename'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6653/meta.ts b/packages/jsts/src/rules/S6653/meta.ts index 3a1f05446c3..4380e719768 100644 --- a/packages/jsts/src/rules/S6653/meta.ts +++ b/packages/jsts/src/rules/S6653/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'prefer-object-has-own'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6654/meta.ts b/packages/jsts/src/rules/S6654/meta.ts index f90e493155d..a01b3ce7f82 100644 --- a/packages/jsts/src/rules/S6654/meta.ts +++ b/packages/jsts/src/rules/S6654/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-proto'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6657/meta.ts b/packages/jsts/src/rules/S6657/meta.ts index 052002a87b2..feda1919128 100644 --- a/packages/jsts/src/rules/S6657/meta.ts +++ b/packages/jsts/src/rules/S6657/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-octal-escape'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6671/meta.ts b/packages/jsts/src/rules/S6671/meta.ts index c4f51db504a..cadfd948801 100644 --- a/packages/jsts/src/rules/S6671/meta.ts +++ b/packages/jsts/src/rules/S6671/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'prefer-promise-reject-errors'; +export const externalPlugin = 'typescript-eslint'; diff --git a/packages/jsts/src/rules/S6746/meta.ts b/packages/jsts/src/rules/S6746/meta.ts index a49fe8aef7b..102e42dff94 100644 --- a/packages/jsts/src/rules/S6746/meta.ts +++ b/packages/jsts/src/rules/S6746/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-direct-mutation-state'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6748/meta.ts b/packages/jsts/src/rules/S6748/meta.ts index 1b97b139c63..0a67bc22d06 100644 --- a/packages/jsts/src/rules/S6748/meta.ts +++ b/packages/jsts/src/rules/S6748/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-children-prop'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6750/meta.ts b/packages/jsts/src/rules/S6750/meta.ts index dd49d0454ba..e356b4b2160 100644 --- a/packages/jsts/src/rules/S6750/meta.ts +++ b/packages/jsts/src/rules/S6750/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-render-return-value'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6756/meta.ts b/packages/jsts/src/rules/S6756/meta.ts index 309bea4e1a3..d51f50f2f44 100644 --- a/packages/jsts/src/rules/S6756/meta.ts +++ b/packages/jsts/src/rules/S6756/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-access-state-in-setstate'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6757/meta.ts b/packages/jsts/src/rules/S6757/meta.ts index 6e47c8a0680..471d6610f42 100644 --- a/packages/jsts/src/rules/S6757/meta.ts +++ b/packages/jsts/src/rules/S6757/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-this-in-sfc'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6761/meta.ts b/packages/jsts/src/rules/S6761/meta.ts index be82ef9e2be..4f738a0c818 100644 --- a/packages/jsts/src/rules/S6761/meta.ts +++ b/packages/jsts/src/rules/S6761/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-danger-with-children'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6763/meta.ts b/packages/jsts/src/rules/S6763/meta.ts index 19b376bb6e6..5e4c203e3f1 100644 --- a/packages/jsts/src/rules/S6763/meta.ts +++ b/packages/jsts/src/rules/S6763/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-redundant-should-component-update'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6766/meta.ts b/packages/jsts/src/rules/S6766/meta.ts index 93c0ab0732d..8c0dc790996 100644 --- a/packages/jsts/src/rules/S6766/meta.ts +++ b/packages/jsts/src/rules/S6766/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-unescaped-entities'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6767/meta.ts b/packages/jsts/src/rules/S6767/meta.ts index 00c74ac26ad..d7dab08bc5d 100644 --- a/packages/jsts/src/rules/S6767/meta.ts +++ b/packages/jsts/src/rules/S6767/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-unused-prop-types'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6770/meta.ts b/packages/jsts/src/rules/S6770/meta.ts index 441b172ba99..cf9a4433962 100644 --- a/packages/jsts/src/rules/S6770/meta.ts +++ b/packages/jsts/src/rules/S6770/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'jsx-pascal-case'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6772/meta.ts b/packages/jsts/src/rules/S6772/meta.ts index ad06cde358d..2adeee7fbab 100644 --- a/packages/jsts/src/rules/S6772/meta.ts +++ b/packages/jsts/src/rules/S6772/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'jsx-child-element-spacing'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6774/meta.ts b/packages/jsts/src/rules/S6774/meta.ts index 3ca3141d1ec..45f248181c1 100644 --- a/packages/jsts/src/rules/S6774/meta.ts +++ b/packages/jsts/src/rules/S6774/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'prop-types'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6775/meta.ts b/packages/jsts/src/rules/S6775/meta.ts index 281f8c5c535..4f4b6535e25 100644 --- a/packages/jsts/src/rules/S6775/meta.ts +++ b/packages/jsts/src/rules/S6775/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'default-props-match-prop-types'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6789/meta.ts b/packages/jsts/src/rules/S6789/meta.ts index f7b8911aece..948398334a6 100644 --- a/packages/jsts/src/rules/S6789/meta.ts +++ b/packages/jsts/src/rules/S6789/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-is-mounted'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6790/meta.ts b/packages/jsts/src/rules/S6790/meta.ts index ea69eb9179f..1151e9cbfa6 100644 --- a/packages/jsts/src/rules/S6790/meta.ts +++ b/packages/jsts/src/rules/S6790/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-string-refs'; +export const externalPlugin = 'react'; diff --git a/packages/jsts/src/rules/S6793/meta.ts b/packages/jsts/src/rules/S6793/meta.ts index c9d72474f04..37d54e3c6d4 100644 --- a/packages/jsts/src/rules/S6793/meta.ts +++ b/packages/jsts/src/rules/S6793/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'aria-proptypes'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6807/meta.ts b/packages/jsts/src/rules/S6807/meta.ts index 5aa1f673305..6599f547680 100644 --- a/packages/jsts/src/rules/S6807/meta.ts +++ b/packages/jsts/src/rules/S6807/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'role-has-required-aria-props'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6811/meta.ts b/packages/jsts/src/rules/S6811/meta.ts index 7b30d30d06c..6d9eb41890c 100644 --- a/packages/jsts/src/rules/S6811/meta.ts +++ b/packages/jsts/src/rules/S6811/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'role-supports-aria-props'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6819/meta.ts b/packages/jsts/src/rules/S6819/meta.ts index 12da2126b26..c7cff2b3678 100644 --- a/packages/jsts/src/rules/S6819/meta.ts +++ b/packages/jsts/src/rules/S6819/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'prefer-tag-over-role'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6821/meta.ts b/packages/jsts/src/rules/S6821/meta.ts index 8301f0ea2dc..7b2e1e01e83 100644 --- a/packages/jsts/src/rules/S6821/meta.ts +++ b/packages/jsts/src/rules/S6821/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'aria-role'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6822/meta.ts b/packages/jsts/src/rules/S6822/meta.ts index d2107128273..9d09d97e461 100644 --- a/packages/jsts/src/rules/S6822/meta.ts +++ b/packages/jsts/src/rules/S6822/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-redundant-roles'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6823/meta.ts b/packages/jsts/src/rules/S6823/meta.ts index 842a1aad912..8c477909794 100644 --- a/packages/jsts/src/rules/S6823/meta.ts +++ b/packages/jsts/src/rules/S6823/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'aria-activedescendant-has-tabindex'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6824/meta.ts b/packages/jsts/src/rules/S6824/meta.ts index a276f44b326..f29c2469b5c 100644 --- a/packages/jsts/src/rules/S6824/meta.ts +++ b/packages/jsts/src/rules/S6824/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'aria-unsupported-elements'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6825/meta.ts b/packages/jsts/src/rules/S6825/meta.ts index 73892c9cadc..8c72447aabc 100644 --- a/packages/jsts/src/rules/S6825/meta.ts +++ b/packages/jsts/src/rules/S6825/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-aria-hidden-on-focusable'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6836/meta.ts b/packages/jsts/src/rules/S6836/meta.ts index 9a0b2615c82..1ff040199ac 100644 --- a/packages/jsts/src/rules/S6836/meta.ts +++ b/packages/jsts/src/rules/S6836/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-case-declarations'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S6840/meta.ts b/packages/jsts/src/rules/S6840/meta.ts index e94c13b0b4a..994c540d8a4 100644 --- a/packages/jsts/src/rules/S6840/meta.ts +++ b/packages/jsts/src/rules/S6840/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'autocomplete-valid'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6841/meta.ts b/packages/jsts/src/rules/S6841/meta.ts index 8a6ccdbdb0d..1d6648ce47f 100644 --- a/packages/jsts/src/rules/S6841/meta.ts +++ b/packages/jsts/src/rules/S6841/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'tabindex-no-positive'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6842/meta.ts b/packages/jsts/src/rules/S6842/meta.ts index 74c018dae96..d00a1b97183 100644 --- a/packages/jsts/src/rules/S6842/meta.ts +++ b/packages/jsts/src/rules/S6842/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-noninteractive-element-to-interactive-role'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6843/meta.ts b/packages/jsts/src/rules/S6843/meta.ts index f528a5677f4..928dce76208 100644 --- a/packages/jsts/src/rules/S6843/meta.ts +++ b/packages/jsts/src/rules/S6843/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-interactive-element-to-noninteractive-role'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6845/meta.ts b/packages/jsts/src/rules/S6845/meta.ts index b8301104d02..d50018ad3f9 100644 --- a/packages/jsts/src/rules/S6845/meta.ts +++ b/packages/jsts/src/rules/S6845/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-noninteractive-tabindex'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6846/meta.ts b/packages/jsts/src/rules/S6846/meta.ts index 8696fde3357..e193dd9cc79 100644 --- a/packages/jsts/src/rules/S6846/meta.ts +++ b/packages/jsts/src/rules/S6846/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-access-key'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6847/meta.ts b/packages/jsts/src/rules/S6847/meta.ts index f37b886de31..11c2e4a4cec 100644 --- a/packages/jsts/src/rules/S6847/meta.ts +++ b/packages/jsts/src/rules/S6847/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-noninteractive-element-interactions'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6848/meta.ts b/packages/jsts/src/rules/S6848/meta.ts index 1629d3bea61..3e9c8c4f4fb 100644 --- a/packages/jsts/src/rules/S6848/meta.ts +++ b/packages/jsts/src/rules/S6848/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-static-element-interactions'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6850/meta.ts b/packages/jsts/src/rules/S6850/meta.ts index a447160ba8d..125c76f8996 100644 --- a/packages/jsts/src/rules/S6850/meta.ts +++ b/packages/jsts/src/rules/S6850/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'heading-has-content'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6851/meta.ts b/packages/jsts/src/rules/S6851/meta.ts index 4a6b9654f1c..d23dbf782e2 100644 --- a/packages/jsts/src/rules/S6851/meta.ts +++ b/packages/jsts/src/rules/S6851/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'img-redundant-alt'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6852/meta.ts b/packages/jsts/src/rules/S6852/meta.ts index fdf5b385a0b..972f4c8e445 100644 --- a/packages/jsts/src/rules/S6852/meta.ts +++ b/packages/jsts/src/rules/S6852/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'interactive-supports-focus'; +export const externalPlugin = 'jsx-a11y'; diff --git a/packages/jsts/src/rules/S6859/meta.ts b/packages/jsts/src/rules/S6859/meta.ts index 3e481ca1a7d..d235e27de56 100644 --- a/packages/jsts/src/rules/S6859/meta.ts +++ b/packages/jsts/src/rules/S6859/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-absolute-path'; +export const externalPlugin = 'import'; diff --git a/packages/jsts/src/rules/S6861/meta.ts b/packages/jsts/src/rules/S6861/meta.ts index 1479e41fb59..ebaddbd45e8 100644 --- a/packages/jsts/src/rules/S6861/meta.ts +++ b/packages/jsts/src/rules/S6861/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-mutable-exports'; +export const externalPlugin = 'import'; diff --git a/packages/jsts/src/rules/S878/meta.ts b/packages/jsts/src/rules/S878/meta.ts index ed89e00b08f..1ac58bf0654 100644 --- a/packages/jsts/src/rules/S878/meta.ts +++ b/packages/jsts/src/rules/S878/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-sequences'; +export const externalPlugin = 'eslint'; diff --git a/packages/jsts/src/rules/S909/meta.ts b/packages/jsts/src/rules/S909/meta.ts index e3e1ae5f681..83707694af5 100644 --- a/packages/jsts/src/rules/S909/meta.ts +++ b/packages/jsts/src/rules/S909/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'external'; export const eslintId = 'no-continue'; +export const externalPlugin = 'eslint'; From a050d02efda1da4210cb59d5a6cd8b3db5570c19 Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Tue, 26 Nov 2024 13:02:55 +0100 Subject: [PATCH 11/23] Added metadata for decorated rules --- packages/jsts/src/rules/S1068/meta.ts | 3 + packages/jsts/src/rules/S107/meta.ts | 1 + packages/jsts/src/rules/S1077/meta.ts | 1 + packages/jsts/src/rules/S1082/meta.ts | 4 ++ packages/jsts/src/rules/S109/meta.ts | 3 + packages/jsts/src/rules/S1105/meta.ts | 1 + packages/jsts/src/rules/S1116/meta.ts | 3 + packages/jsts/src/rules/S1186/meta.ts | 3 + packages/jsts/src/rules/S131/meta.ts | 3 + packages/jsts/src/rules/S131/rule.ts | 4 +- packages/jsts/src/rules/S1438/meta.ts | 1 + packages/jsts/src/rules/S1534/meta.ts | 5 ++ packages/jsts/src/rules/S1763/meta.ts | 1 + packages/jsts/src/rules/S1788/meta.ts | 3 + packages/jsts/src/rules/S2189/meta.ts | 3 + packages/jsts/src/rules/S2376/meta.ts | 1 + packages/jsts/src/rules/S2430/meta.ts | 1 + packages/jsts/src/rules/S2688/meta.ts | 1 + packages/jsts/src/rules/S2814/meta.ts | 3 + packages/jsts/src/rules/S3498/meta.ts | 1 + packages/jsts/src/rules/S3504/meta.ts | 1 + packages/jsts/src/rules/S3512/meta.ts | 1 + packages/jsts/src/rules/S3696/meta.ts | 1 + packages/jsts/src/rules/S4023/meta.ts | 3 + packages/jsts/src/rules/S4084/meta.ts | 1 + packages/jsts/src/rules/S4138/meta.ts | 3 + packages/jsts/src/rules/S4156/meta.ts | 3 + packages/jsts/src/rules/S4275/meta.ts | 1 + packages/jsts/src/rules/S4327/meta.ts | 3 + packages/jsts/src/rules/S5254/meta.ts | 4 ++ packages/jsts/src/rules/S6440/meta.ts | 1 + packages/jsts/src/rules/S6441/meta.ts | 3 + packages/jsts/src/rules/S6477/meta.ts | 1 + packages/jsts/src/rules/S6478/meta.ts | 3 + packages/jsts/src/rules/S6479/meta.ts | 1 + packages/jsts/src/rules/S6481/meta.ts | 3 + packages/jsts/src/rules/S6535/meta.ts | 4 ++ packages/jsts/src/rules/S6544/meta.ts | 4 ++ packages/jsts/src/rules/S6551/meta.ts | 3 + packages/jsts/src/rules/S6557/meta.ts | 3 + packages/jsts/src/rules/S6571/meta.ts | 3 + packages/jsts/src/rules/S6572/meta.ts | 3 + packages/jsts/src/rules/S6572/rule.ts | 4 +- packages/jsts/src/rules/S6582/meta.ts | 3 + packages/jsts/src/rules/S6598/meta.ts | 3 + packages/jsts/src/rules/S6606/meta.ts | 3 + packages/jsts/src/rules/S6606/rule.ts | 4 +- packages/jsts/src/rules/S6643/meta.ts | 1 + packages/jsts/src/rules/S6647/meta.ts | 1 + packages/jsts/src/rules/S6660/meta.ts | 1 + packages/jsts/src/rules/S6661/meta.ts | 1 + packages/jsts/src/rules/S6666/meta.ts | 1 + packages/jsts/src/rules/S6676/meta.ts | 1 + packages/jsts/src/rules/S6679/meta.ts | 1 + packages/jsts/src/rules/S6747/meta.ts | 4 ++ packages/jsts/src/rules/S6749/meta.ts | 1 + packages/jsts/src/rules/S6754/meta.ts | 1 + packages/jsts/src/rules/S6788/meta.ts | 1 + packages/jsts/src/rules/S6791/meta.ts | 1 + packages/jsts/src/rules/S6827/meta.ts | 1 + packages/jsts/src/rules/S6844/meta.ts | 1 + packages/jsts/src/rules/S6853/meta.ts | 3 + packages/jsts/src/rules/S6957/meta.ts | 2 + packages/jsts/src/rules/S7060/meta.ts | 1 + packages/jsts/src/rules/S905/meta.ts | 3 + packages/jsts/tests/rules/index.test.ts | 77 ++++++++++++++++++------- 66 files changed, 191 insertions(+), 28 deletions(-) diff --git a/packages/jsts/src/rules/S1068/meta.ts b/packages/jsts/src/rules/S1068/meta.ts index bb646cc6583..9b2e80e01c9 100644 --- a/packages/jsts/src/rules/S1068/meta.ts +++ b/packages/jsts/src/rules/S1068/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-unused-private-class-members'; +export const externalRules = [ + { externalPlugin: 'eslint', externalRule: 'no-unused-private-class-members' }, +]; diff --git a/packages/jsts/src/rules/S107/meta.ts b/packages/jsts/src/rules/S107/meta.ts index 49a1e719bcd..4dea1bf92ec 100644 --- a/packages/jsts/src/rules/S107/meta.ts +++ b/packages/jsts/src/rules/S107/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'max-params'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'max-params' }]; diff --git a/packages/jsts/src/rules/S1077/meta.ts b/packages/jsts/src/rules/S1077/meta.ts index d57e27beb33..37b714f887c 100644 --- a/packages/jsts/src/rules/S1077/meta.ts +++ b/packages/jsts/src/rules/S1077/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'alt-text'; +export const externalRules = [{ externalPlugin: 'jsx-a11y', externalRule: 'alt-text' }]; diff --git a/packages/jsts/src/rules/S1082/meta.ts b/packages/jsts/src/rules/S1082/meta.ts index d1fa2d46f42..3c38dc15a99 100644 --- a/packages/jsts/src/rules/S1082/meta.ts +++ b/packages/jsts/src/rules/S1082/meta.ts @@ -17,3 +17,7 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'mouse-events-a11y'; +export const externalRules = [ + { externalPlugin: 'jsx-a11y', externalRule: 'mouse-events-have-key-events' }, + { externalPlugin: 'jsx-a11y', externalRule: 'click-events-have-key-events' }, +]; diff --git a/packages/jsts/src/rules/S109/meta.ts b/packages/jsts/src/rules/S109/meta.ts index 0045fad6209..13d52b50b9e 100644 --- a/packages/jsts/src/rules/S109/meta.ts +++ b/packages/jsts/src/rules/S109/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-magic-numbers'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'no-magic-numbers' }, +]; diff --git a/packages/jsts/src/rules/S1105/meta.ts b/packages/jsts/src/rules/S1105/meta.ts index cf8a3d943bc..12493a54432 100644 --- a/packages/jsts/src/rules/S1105/meta.ts +++ b/packages/jsts/src/rules/S1105/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'brace-style'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'brace-style' }]; diff --git a/packages/jsts/src/rules/S1116/meta.ts b/packages/jsts/src/rules/S1116/meta.ts index a9d8ff1fb06..54cab0e5631 100644 --- a/packages/jsts/src/rules/S1116/meta.ts +++ b/packages/jsts/src/rules/S1116/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-extra-semi'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'no-extra-semi' }, +]; diff --git a/packages/jsts/src/rules/S1186/meta.ts b/packages/jsts/src/rules/S1186/meta.ts index d1fbc297f4f..364147cd0e3 100644 --- a/packages/jsts/src/rules/S1186/meta.ts +++ b/packages/jsts/src/rules/S1186/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-empty-function'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'no-empty-function' }, +]; diff --git a/packages/jsts/src/rules/S131/meta.ts b/packages/jsts/src/rules/S131/meta.ts index 3f1bfb6b6f3..916bcbc1d2b 100644 --- a/packages/jsts/src/rules/S131/meta.ts +++ b/packages/jsts/src/rules/S131/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'switch-without-default'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'switch-exhaustiveness-check' }, +]; diff --git a/packages/jsts/src/rules/S131/rule.ts b/packages/jsts/src/rules/S131/rule.ts index 09d6a57b343..3a62076fef6 100644 --- a/packages/jsts/src/rules/S131/rule.ts +++ b/packages/jsts/src/rules/S131/rule.ts @@ -18,7 +18,7 @@ import estree from 'estree'; import { Rule, SourceCode } from 'eslint'; -import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; import { generateMeta, interceptReport, @@ -78,7 +78,7 @@ const switchWithoutDefaultRule: Rule.RuleModule = { * rule is executed to prevent runtime errors. Furthermore, we need to decorate the rule so that * it raises issues at the same location, that is, the `switch` keyword. */ -const switchExhaustivenessRule = tsEslintRules['switch-exhaustiveness-check']; +const switchExhaustivenessRule = rules['switch-exhaustiveness-check']; const decoratedSwitchExhaustivenessRule: Rule.RuleModule = interceptReport( switchExhaustivenessRule, function (context: Rule.RuleContext, descriptor: Rule.ReportDescriptor) { diff --git a/packages/jsts/src/rules/S1438/meta.ts b/packages/jsts/src/rules/S1438/meta.ts index 3ce902132d8..22eebe4c2fc 100644 --- a/packages/jsts/src/rules/S1438/meta.ts +++ b/packages/jsts/src/rules/S1438/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'semi'; +export const externalRules = [{ externalPlugin: 'typescript-eslint', externalRule: 'semi' }]; diff --git a/packages/jsts/src/rules/S1534/meta.ts b/packages/jsts/src/rules/S1534/meta.ts index dc0bb48a4eb..529ef603cfc 100644 --- a/packages/jsts/src/rules/S1534/meta.ts +++ b/packages/jsts/src/rules/S1534/meta.ts @@ -17,3 +17,8 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-dupe-keys'; +export const externalRules = [ + { externalPlugin: 'eslint', externalRule: 'no-dupe-keys' }, + { externalPlugin: 'typescript-eslint', externalRule: 'no-dupe-class-members' }, + { externalPlugin: 'react', externalRule: 'jsx-no-duplicate-props' }, +]; diff --git a/packages/jsts/src/rules/S1763/meta.ts b/packages/jsts/src/rules/S1763/meta.ts index 9bf68c10467..18190adfe06 100644 --- a/packages/jsts/src/rules/S1763/meta.ts +++ b/packages/jsts/src/rules/S1763/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-unreachable'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'no-unreachable' }]; diff --git a/packages/jsts/src/rules/S1788/meta.ts b/packages/jsts/src/rules/S1788/meta.ts index 023a3e72ab5..ddde242e1dc 100644 --- a/packages/jsts/src/rules/S1788/meta.ts +++ b/packages/jsts/src/rules/S1788/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'default-param-last'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'default-param-last' }, +]; diff --git a/packages/jsts/src/rules/S2189/meta.ts b/packages/jsts/src/rules/S2189/meta.ts index c5f27658954..3aba5d8843e 100644 --- a/packages/jsts/src/rules/S2189/meta.ts +++ b/packages/jsts/src/rules/S2189/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-infinite-loop'; +export const externalRules = [ + { externalPlugin: 'eslint', externalRule: 'no-unmodified-loop-condition' }, +]; diff --git a/packages/jsts/src/rules/S2376/meta.ts b/packages/jsts/src/rules/S2376/meta.ts index 23953c99190..062b1412d7d 100644 --- a/packages/jsts/src/rules/S2376/meta.ts +++ b/packages/jsts/src/rules/S2376/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'accessor-pairs'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'accessor-pairs' }]; diff --git a/packages/jsts/src/rules/S2430/meta.ts b/packages/jsts/src/rules/S2430/meta.ts index a00119203a5..161066f6ba4 100644 --- a/packages/jsts/src/rules/S2430/meta.ts +++ b/packages/jsts/src/rules/S2430/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'new-cap'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'new-cap' }]; diff --git a/packages/jsts/src/rules/S2688/meta.ts b/packages/jsts/src/rules/S2688/meta.ts index 26f1656681b..cfba9267d64 100644 --- a/packages/jsts/src/rules/S2688/meta.ts +++ b/packages/jsts/src/rules/S2688/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'use-isnan'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'use-isnan' }]; diff --git a/packages/jsts/src/rules/S2814/meta.ts b/packages/jsts/src/rules/S2814/meta.ts index 37cc63b4d6a..ad1bacb38fa 100644 --- a/packages/jsts/src/rules/S2814/meta.ts +++ b/packages/jsts/src/rules/S2814/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-redeclare'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'no-redeclare' }, +]; diff --git a/packages/jsts/src/rules/S3498/meta.ts b/packages/jsts/src/rules/S3498/meta.ts index 033cb7c2921..3e836c31ee9 100644 --- a/packages/jsts/src/rules/S3498/meta.ts +++ b/packages/jsts/src/rules/S3498/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'object-shorthand'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'object-shorthand' }]; diff --git a/packages/jsts/src/rules/S3504/meta.ts b/packages/jsts/src/rules/S3504/meta.ts index d00b1cc0c2b..7735f7e260e 100644 --- a/packages/jsts/src/rules/S3504/meta.ts +++ b/packages/jsts/src/rules/S3504/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-var'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'no-var' }]; diff --git a/packages/jsts/src/rules/S3512/meta.ts b/packages/jsts/src/rules/S3512/meta.ts index c8449ae56ec..b484f15fcb0 100644 --- a/packages/jsts/src/rules/S3512/meta.ts +++ b/packages/jsts/src/rules/S3512/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'prefer-template'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'prefer-template' }]; diff --git a/packages/jsts/src/rules/S3696/meta.ts b/packages/jsts/src/rules/S3696/meta.ts index e5fa9574d88..10d1f9faacc 100644 --- a/packages/jsts/src/rules/S3696/meta.ts +++ b/packages/jsts/src/rules/S3696/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-throw-literal'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'no-throw-literal' }]; diff --git a/packages/jsts/src/rules/S4023/meta.ts b/packages/jsts/src/rules/S4023/meta.ts index 8caf958b4b6..2ac3c385312 100644 --- a/packages/jsts/src/rules/S4023/meta.ts +++ b/packages/jsts/src/rules/S4023/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-empty-interface'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'no-empty-interface' }, +]; diff --git a/packages/jsts/src/rules/S4084/meta.ts b/packages/jsts/src/rules/S4084/meta.ts index b8843b4064b..8d603e207d3 100644 --- a/packages/jsts/src/rules/S4084/meta.ts +++ b/packages/jsts/src/rules/S4084/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'media-has-caption'; +export const externalRules = [{ externalPlugin: 'jsx-a11y', externalRule: 'media-has-caption' }]; diff --git a/packages/jsts/src/rules/S4138/meta.ts b/packages/jsts/src/rules/S4138/meta.ts index 2a47af04174..5063ce6a2e2 100644 --- a/packages/jsts/src/rules/S4138/meta.ts +++ b/packages/jsts/src/rules/S4138/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'prefer-for-of'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'prefer-for-of' }, +]; diff --git a/packages/jsts/src/rules/S4156/meta.ts b/packages/jsts/src/rules/S4156/meta.ts index ef8182c66db..c5a92cf10f8 100644 --- a/packages/jsts/src/rules/S4156/meta.ts +++ b/packages/jsts/src/rules/S4156/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'prefer-namespace-keyword'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'prefer-namespace-keyword' }, +]; diff --git a/packages/jsts/src/rules/S4275/meta.ts b/packages/jsts/src/rules/S4275/meta.ts index 7b7e34c9247..47ae3484e75 100644 --- a/packages/jsts/src/rules/S4275/meta.ts +++ b/packages/jsts/src/rules/S4275/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-accessor-field-mismatch'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'getter-return' }]; diff --git a/packages/jsts/src/rules/S4327/meta.ts b/packages/jsts/src/rules/S4327/meta.ts index b1f2d3f8ae9..7ed3a4b5452 100644 --- a/packages/jsts/src/rules/S4327/meta.ts +++ b/packages/jsts/src/rules/S4327/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-this-alias'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'no-this-alias' }, +]; diff --git a/packages/jsts/src/rules/S5254/meta.ts b/packages/jsts/src/rules/S5254/meta.ts index 847f3c83931..b39ff6850f8 100644 --- a/packages/jsts/src/rules/S5254/meta.ts +++ b/packages/jsts/src/rules/S5254/meta.ts @@ -17,3 +17,7 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'html-has-lang'; +export const externalRules = [ + { externalPlugin: 'jsx-a11y', externalRule: 'lang' }, + { externalPlugin: 'jsx-a11y', externalRule: 'html-has-lang' }, +]; diff --git a/packages/jsts/src/rules/S6440/meta.ts b/packages/jsts/src/rules/S6440/meta.ts index 220a96fb216..875567de408 100644 --- a/packages/jsts/src/rules/S6440/meta.ts +++ b/packages/jsts/src/rules/S6440/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'rules-of-hooks'; +export const externalRules = [{ externalPlugin: 'react-hooks', externalRule: 'rules-of-hooks' }]; diff --git a/packages/jsts/src/rules/S6441/meta.ts b/packages/jsts/src/rules/S6441/meta.ts index 16f90506bab..c357e143a43 100644 --- a/packages/jsts/src/rules/S6441/meta.ts +++ b/packages/jsts/src/rules/S6441/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-unused-class-component-methods'; +export const externalRules = [ + { externalPlugin: 'react', externalRule: 'no-unused-class-component-methods' }, +]; diff --git a/packages/jsts/src/rules/S6477/meta.ts b/packages/jsts/src/rules/S6477/meta.ts index a0a732853f2..931d3225475 100644 --- a/packages/jsts/src/rules/S6477/meta.ts +++ b/packages/jsts/src/rules/S6477/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'jsx-key'; +export const externalRules = [{ externalPlugin: 'react', externalRule: 'jsx-key' }]; diff --git a/packages/jsts/src/rules/S6478/meta.ts b/packages/jsts/src/rules/S6478/meta.ts index 9219915196e..687b1f80424 100644 --- a/packages/jsts/src/rules/S6478/meta.ts +++ b/packages/jsts/src/rules/S6478/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-unstable-nested-components'; +export const externalRules = [ + { externalPlugin: 'react', externalRule: 'no-unstable-nested-components' }, +]; diff --git a/packages/jsts/src/rules/S6479/meta.ts b/packages/jsts/src/rules/S6479/meta.ts index e3f6737b84d..f552b9b498d 100644 --- a/packages/jsts/src/rules/S6479/meta.ts +++ b/packages/jsts/src/rules/S6479/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-array-index-key'; +export const externalRules = [{ externalPlugin: 'react', externalRule: 'no-array-index-key' }]; diff --git a/packages/jsts/src/rules/S6481/meta.ts b/packages/jsts/src/rules/S6481/meta.ts index 007f235c15c..45e24686c7a 100644 --- a/packages/jsts/src/rules/S6481/meta.ts +++ b/packages/jsts/src/rules/S6481/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'jsx-no-constructed-context-values'; +export const externalRules = [ + { externalPlugin: 'react', externalRule: 'jsx-no-constructed-context-values' }, +]; diff --git a/packages/jsts/src/rules/S6535/meta.ts b/packages/jsts/src/rules/S6535/meta.ts index 240c6e42bb0..b15c6a8bafe 100644 --- a/packages/jsts/src/rules/S6535/meta.ts +++ b/packages/jsts/src/rules/S6535/meta.ts @@ -17,3 +17,7 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'unnecessary-character-escapes'; +export const externalRules = [ + { externalPlugin: 'eslint', externalRule: 'no-useless-escape' }, + { externalPlugin: 'eslint', externalRule: 'no-nonoctal-decimal-escape' }, +]; diff --git a/packages/jsts/src/rules/S6544/meta.ts b/packages/jsts/src/rules/S6544/meta.ts index 4a9f44fe5c0..97c64224d2c 100644 --- a/packages/jsts/src/rules/S6544/meta.ts +++ b/packages/jsts/src/rules/S6544/meta.ts @@ -17,3 +17,7 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-misused-promises'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'no-misused-promises' }, + { externalPlugin: 'eslint', externalRule: 'no-async-promise-executor' }, +]; diff --git a/packages/jsts/src/rules/S6551/meta.ts b/packages/jsts/src/rules/S6551/meta.ts index 068ba79429c..2162c57a875 100644 --- a/packages/jsts/src/rules/S6551/meta.ts +++ b/packages/jsts/src/rules/S6551/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-base-to-string'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'no-base-to-string' }, +]; diff --git a/packages/jsts/src/rules/S6557/meta.ts b/packages/jsts/src/rules/S6557/meta.ts index 9df4d1f18a4..acae033bb8a 100644 --- a/packages/jsts/src/rules/S6557/meta.ts +++ b/packages/jsts/src/rules/S6557/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'prefer-string-starts-ends-with'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'prefer-string-starts-ends-with' }, +]; diff --git a/packages/jsts/src/rules/S6571/meta.ts b/packages/jsts/src/rules/S6571/meta.ts index 492a90b3ead..8e2310f7628 100644 --- a/packages/jsts/src/rules/S6571/meta.ts +++ b/packages/jsts/src/rules/S6571/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-redundant-type-constituents'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'no-redundant-type-constituents' }, +]; diff --git a/packages/jsts/src/rules/S6572/meta.ts b/packages/jsts/src/rules/S6572/meta.ts index 3d6646e60c7..49c8baeb471 100644 --- a/packages/jsts/src/rules/S6572/meta.ts +++ b/packages/jsts/src/rules/S6572/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'prefer-enum-initializers'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'prefer-enum-initializers' }, +]; diff --git a/packages/jsts/src/rules/S6572/rule.ts b/packages/jsts/src/rules/S6572/rule.ts index e0f61d72887..d810a47aa12 100644 --- a/packages/jsts/src/rules/S6572/rule.ts +++ b/packages/jsts/src/rules/S6572/rule.ts @@ -21,8 +21,8 @@ import type { Rule } from 'eslint'; import type { TSESTree } from '@typescript-eslint/utils'; import { generateMeta, isNumberLiteral } from '../helpers/index.js'; import { meta } from './meta.js'; -import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; -const baseRuleModule = tsEslintRules['prefer-enum-initializers']; +import { rules } from '../external/typescript-eslint/index.js'; +const baseRuleModule = rules['prefer-enum-initializers']; // The core implementation of this rule reports all enums for which there is a member value that is // not initialized explicitly. Here, the decorator's purpose is to restrict the scope of the rule only diff --git a/packages/jsts/src/rules/S6582/meta.ts b/packages/jsts/src/rules/S6582/meta.ts index 0b86793c8f9..7aa9d5de154 100644 --- a/packages/jsts/src/rules/S6582/meta.ts +++ b/packages/jsts/src/rules/S6582/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'prefer-optional-chain'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'prefer-optional-chain' }, +]; diff --git a/packages/jsts/src/rules/S6598/meta.ts b/packages/jsts/src/rules/S6598/meta.ts index bd416fcbfe3..61a8193da55 100644 --- a/packages/jsts/src/rules/S6598/meta.ts +++ b/packages/jsts/src/rules/S6598/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'prefer-function-type'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'prefer-function-type' }, +]; diff --git a/packages/jsts/src/rules/S6606/meta.ts b/packages/jsts/src/rules/S6606/meta.ts index 2be1a657bb9..64b07c696c9 100644 --- a/packages/jsts/src/rules/S6606/meta.ts +++ b/packages/jsts/src/rules/S6606/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'prefer-nullish-coalescing'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'prefer-nullish-coalescing' }, +]; diff --git a/packages/jsts/src/rules/S6606/rule.ts b/packages/jsts/src/rules/S6606/rule.ts index f9475f34575..95cd2ff0d9f 100644 --- a/packages/jsts/src/rules/S6606/rule.ts +++ b/packages/jsts/src/rules/S6606/rule.ts @@ -14,7 +14,7 @@ * You should have received a copy of the Sonar Source-Available License * along with this program; if not, see https://sonarsource.com/license/ssal/ */ -import { rules as tsEslintRules } from '../external/typescript-eslint/index.js'; +import { rules } from '../external/typescript-eslint/index.js'; import { type Rule } from 'eslint'; import { generateMeta, @@ -27,7 +27,7 @@ import { import { type LogicalExpression } from 'estree'; import { meta } from './meta.js'; -const preferNullishCoalescingRule = tsEslintRules['prefer-nullish-coalescing']; +const preferNullishCoalescingRule = rules['prefer-nullish-coalescing']; export const rule = interceptReport( { diff --git a/packages/jsts/src/rules/S6643/meta.ts b/packages/jsts/src/rules/S6643/meta.ts index 76bacd5d077..5bd214428f4 100644 --- a/packages/jsts/src/rules/S6643/meta.ts +++ b/packages/jsts/src/rules/S6643/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-extend-native'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'no-extend-native' }]; diff --git a/packages/jsts/src/rules/S6647/meta.ts b/packages/jsts/src/rules/S6647/meta.ts index ff48fe8ac29..f85a4b845de 100644 --- a/packages/jsts/src/rules/S6647/meta.ts +++ b/packages/jsts/src/rules/S6647/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-useless-constructor'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'no-useless-constructor' }]; diff --git a/packages/jsts/src/rules/S6660/meta.ts b/packages/jsts/src/rules/S6660/meta.ts index 85cadc3ce19..a9ab4bd8d8e 100644 --- a/packages/jsts/src/rules/S6660/meta.ts +++ b/packages/jsts/src/rules/S6660/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-lonely-if'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'no-lonely-if' }]; diff --git a/packages/jsts/src/rules/S6661/meta.ts b/packages/jsts/src/rules/S6661/meta.ts index a128debbeeb..0a29805d1ed 100644 --- a/packages/jsts/src/rules/S6661/meta.ts +++ b/packages/jsts/src/rules/S6661/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'prefer-object-spread'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'prefer-object-spread' }]; diff --git a/packages/jsts/src/rules/S6666/meta.ts b/packages/jsts/src/rules/S6666/meta.ts index bc1a9a6f17a..869dd02a195 100644 --- a/packages/jsts/src/rules/S6666/meta.ts +++ b/packages/jsts/src/rules/S6666/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'prefer-spread'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'prefer-spread' }]; diff --git a/packages/jsts/src/rules/S6676/meta.ts b/packages/jsts/src/rules/S6676/meta.ts index 6ad157ecaeb..a174533345d 100644 --- a/packages/jsts/src/rules/S6676/meta.ts +++ b/packages/jsts/src/rules/S6676/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-useless-call'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'no-useless-call' }]; diff --git a/packages/jsts/src/rules/S6679/meta.ts b/packages/jsts/src/rules/S6679/meta.ts index b12f6a6ac3f..70bd3d428bd 100644 --- a/packages/jsts/src/rules/S6679/meta.ts +++ b/packages/jsts/src/rules/S6679/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-self-compare'; +export const externalRules = [{ externalPlugin: 'eslint', externalRule: 'no-self-compare' }]; diff --git a/packages/jsts/src/rules/S6747/meta.ts b/packages/jsts/src/rules/S6747/meta.ts index 42a4debe2d4..070fa5462ed 100644 --- a/packages/jsts/src/rules/S6747/meta.ts +++ b/packages/jsts/src/rules/S6747/meta.ts @@ -17,3 +17,7 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-unknown-property'; +export const externalRules = [ + { externalPlugin: 'react', externalRule: 'no-unknown-property' }, + { externalPlugin: 'jsx-a11y', externalRule: 'aria-props' }, +]; diff --git a/packages/jsts/src/rules/S6749/meta.ts b/packages/jsts/src/rules/S6749/meta.ts index 6dc0f0a7088..dac79f4c3ef 100644 --- a/packages/jsts/src/rules/S6749/meta.ts +++ b/packages/jsts/src/rules/S6749/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'jsx-no-useless-fragment'; +export const externalRules = [{ externalPlugin: 'react', externalRule: 'jsx-no-useless-fragment' }]; diff --git a/packages/jsts/src/rules/S6754/meta.ts b/packages/jsts/src/rules/S6754/meta.ts index 332430b8cfd..a1f7546b613 100644 --- a/packages/jsts/src/rules/S6754/meta.ts +++ b/packages/jsts/src/rules/S6754/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'hook-use-state'; +export const externalRules = [{ externalPlugin: 'react', externalRule: 'hook-use-state' }]; diff --git a/packages/jsts/src/rules/S6788/meta.ts b/packages/jsts/src/rules/S6788/meta.ts index 2cbbbcd7264..d8f5a4d6d6c 100644 --- a/packages/jsts/src/rules/S6788/meta.ts +++ b/packages/jsts/src/rules/S6788/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-find-dom-node'; +export const externalRules = [{ externalPlugin: 'react', externalRule: 'no-find-dom-node' }]; diff --git a/packages/jsts/src/rules/S6791/meta.ts b/packages/jsts/src/rules/S6791/meta.ts index 6bff936f350..6e201853f5d 100644 --- a/packages/jsts/src/rules/S6791/meta.ts +++ b/packages/jsts/src/rules/S6791/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-unsafe'; +export const externalRules = [{ externalPlugin: 'react', externalRule: 'no-unsafe' }]; diff --git a/packages/jsts/src/rules/S6827/meta.ts b/packages/jsts/src/rules/S6827/meta.ts index 70ee491faf9..0eb99694796 100644 --- a/packages/jsts/src/rules/S6827/meta.ts +++ b/packages/jsts/src/rules/S6827/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'anchor-has-content'; +export const externalRules = [{ externalPlugin: 'jsx-a11y', externalRule: 'anchor-has-content' }]; diff --git a/packages/jsts/src/rules/S6844/meta.ts b/packages/jsts/src/rules/S6844/meta.ts index a3148f46217..c5e19d51369 100644 --- a/packages/jsts/src/rules/S6844/meta.ts +++ b/packages/jsts/src/rules/S6844/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'anchor-is-valid'; +export const externalRules = [{ externalPlugin: 'jsx-a11y', externalRule: 'anchor-is-valid' }]; diff --git a/packages/jsts/src/rules/S6853/meta.ts b/packages/jsts/src/rules/S6853/meta.ts index dc9e07318b9..df5b0cb5272 100644 --- a/packages/jsts/src/rules/S6853/meta.ts +++ b/packages/jsts/src/rules/S6853/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'label-has-associated-control'; +export const externalRules = [ + { externalPlugin: 'jsx-a11y', externalRule: 'label-has-associated-control' }, +]; diff --git a/packages/jsts/src/rules/S6957/meta.ts b/packages/jsts/src/rules/S6957/meta.ts index 1e732f8773d..a7adb1c32e1 100644 --- a/packages/jsts/src/rules/S6957/meta.ts +++ b/packages/jsts/src/rules/S6957/meta.ts @@ -17,3 +17,5 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-deprecated-react'; + +export const externalRules = [{ externalPlugin: 'react', externalRule: 'no-deprecated' }]; diff --git a/packages/jsts/src/rules/S7060/meta.ts b/packages/jsts/src/rules/S7060/meta.ts index 8eb4c4c6a58..7bd523f6e68 100644 --- a/packages/jsts/src/rules/S7060/meta.ts +++ b/packages/jsts/src/rules/S7060/meta.ts @@ -17,3 +17,4 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-self-import'; +export const externalRules = [{ externalPlugin: 'import', externalRule: 'no-self-import' }]; diff --git a/packages/jsts/src/rules/S905/meta.ts b/packages/jsts/src/rules/S905/meta.ts index 18cf07fbc35..5fa3e1a3e89 100644 --- a/packages/jsts/src/rules/S905/meta.ts +++ b/packages/jsts/src/rules/S905/meta.ts @@ -17,3 +17,6 @@ export * from './generated-meta.js'; export const implementation = 'decorated'; export const eslintId = 'no-unused-expressions'; +export const externalRules = [ + { externalPlugin: 'typescript-eslint', externalRule: 'no-unused-expressions' }, +]; diff --git a/packages/jsts/tests/rules/index.test.ts b/packages/jsts/tests/rules/index.test.ts index e861ff8256b..a410e21943f 100644 --- a/packages/jsts/tests/rules/index.test.ts +++ b/packages/jsts/tests/rules/index.test.ts @@ -22,39 +22,72 @@ import { describe, it } from 'node:test'; import { expect } from 'expect'; import { pathToFileURL } from 'node:url'; +const externalPlugins = [ + 'eslint', + 'typescript-eslint', + 'jsx-a11y', + 'import', + 'react', + 'react-hooks', +]; + +import { rules as a11yRules } from '../../src/rules/external/a11y.js'; +import { rules as reactRules } from '../../src/rules/external/react.js'; +import { getESLintCoreRule } from '../../src/rules/external/core.js'; +import { rules as tsEslintRules } from '../../src/rules/external/typescript-eslint/index.js'; +import { rules as importRules } from 'eslint-plugin-import'; +import { rules as reactHooksRules } from 'eslint-plugin-react-hooks'; + +const allRules = { + eslint: key => getESLintCoreRule(key), + 'typescript-eslint': key => tsEslintRules[key], + 'jsx-a11y': key => a11yRules[key], + import: key => importRules[key], + react: key => reactRules[key], + 'react-hooks': key => reactHooksRules[key], +}; + describe('Plugin public API', () => { it('should map keys to rules definitions', async () => { const ruleFolder = path.join(import.meta.dirname, '../../src/rules'); const ruleIds = fs.readdirSync(ruleFolder).filter(name => /^S\d+/.test(name)); - const missing = []; + const usedExternalEslintIds = []; + for (const ruleId of ruleIds) { - const { meta, implementation, eslintId, sonarKey } = await import( + const metadata = await import( pathToFileURL(path.join(ruleFolder, ruleId, 'meta.js')).toString() ); - expect(sonarKey).toEqual(ruleId); - expect(['original', 'decorated', 'external']).toContain(implementation); - if (implementation !== 'original') { - continue; - } - const { rule } = await import( - pathToFileURL(path.join(ruleFolder, sonarKey, 'index.js')).toString() - ); - expect(rule.meta.docs!.url).toBe( - `https://sonarsource.github.io/rspec/#/rspec/${sonarKey}/javascript`, - ); - if (!eslintId) { - missing.push(sonarKey); - } else { - if (meta.docs.recommended) { - expect(configs.recommended.rules).toHaveProperty(`sonarjs/${eslintId}`); - expect(configs.recommended.rules[`sonarjs/${eslintId}`]).toEqual('error'); + expect(metadata.eslintId).toBeDefined(); + expect(metadata.sonarKey).toEqual(ruleId); + expect(['original', 'decorated', 'external']).toContain(metadata.implementation); + if (metadata.implementation === 'original') { + const { rule } = await import( + pathToFileURL(path.join(ruleFolder, metadata.sonarKey, 'index.js')).toString() + ); + expect(rule.meta.docs!.url).toBe( + `https://sonarsource.github.io/rspec/#/rspec/${metadata.sonarKey}/javascript`, + ); + if (metadata.meta.docs.recommended) { + expect(configs.recommended.rules).toHaveProperty(`sonarjs/${metadata.eslintId}`); + expect(configs.recommended.rules[`sonarjs/${metadata.eslintId}`]).toEqual('error'); } else { - expect(configs.recommended.rules[`sonarjs/${eslintId}`]).toEqual('off'); + expect(configs.recommended.rules[`sonarjs/${metadata.eslintId}`]).toEqual('off'); } - expect(configs.recommended.plugins!['sonarjs'].rules).toHaveProperty(eslintId); + expect(configs.recommended.plugins!['sonarjs'].rules).toHaveProperty(metadata.eslintId); + } else if (metadata.implementation === 'external') { + expect(externalPlugins).toContain(metadata.externalPlugin); + expect(usedExternalEslintIds).not.toContain(metadata.eslintId); + usedExternalEslintIds.push(metadata.eslintId); + } else if (metadata.implementation === 'decorated') { + expect(metadata.externalRules.length).toBeGreaterThan(0); + metadata.externalRules.forEach(externalRule => { + expect(usedExternalEslintIds).not.toContain(externalRule.externalRule); + usedExternalEslintIds.push(externalRule.externalRule); + expect(externalPlugins).toContain(externalRule.externalPlugin); + expect(allRules[externalRule.externalPlugin](externalRule.externalRule)).toBeDefined(); + }); } } - expect(missing).toHaveLength(0); }); it('should export legacy config', () => { From 26a92c421764ccee9ca2a71223cf4ad49c04c380 Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Tue, 26 Nov 2024 13:42:04 +0100 Subject: [PATCH 12/23] Added explanation in README.md about external rules --- packages/jsts/src/rules/README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/packages/jsts/src/rules/README.md b/packages/jsts/src/rules/README.md index 1c00fb0c472..184a7275c52 100644 --- a/packages/jsts/src/rules/README.md +++ b/packages/jsts/src/rules/README.md @@ -64,7 +64,9 @@ We include a `recommended-legacy` configuration to be backward compatible with E ## ESLint and Sonar -This plugin exposes to ESLint users all JS/TS rules from Sonar-\* products (aka [SonarJS](https://github.com/SonarSource/SonarJS)). We extracted the rules to be beneficial for the ESLint community. +This plugin exposes to ESLint users all original JS/TS rules from Sonar-\* products (aka [SonarJS](https://github.com/SonarSource/SonarJS)). We extracted the rules to be beneficial for the ESLint community. + +SonarJS contains more rules from other ESLint plugins (listed [here](#sonarjs-additional-rules)). We recommend enabling those rules if you are looking for similar results to SonarQube using ESLint. If you are a [SonarQube](https://www.sonarqube.org) or [SonarCloud](https://sonarcloud.io) user, to lint your code locally, we suggest using [SonarLint](https://www.sonarlint.org) IDE extension (available for VSCode, JetBrains IDEs and Eclipse). You can connect SonarLint to your SonarQube/SonarCloud project to synchronize rules configuration, issue statuses, etc. @@ -349,3 +351,17 @@ If you are a [SonarQube](https://www.sonarqube.org) or [SonarCloud](https://sona | [xpath](https://sonarsource.github.io/rspec/#/rspec/S4817/javascript) | Executing XPath expressions is security-sensitive | | | | | ❌ | + +## SonarJS additional rules + +There are some rules which are not shipped in this ESLint plugin to avoid duplication with other already existing ESLint rules. + +The following rules are used directly, without modifying the original behavior: + + + + +The following rules are used in SonarJS, but their behavior is modified, so your experience using them in your ESLint configuration may differ to the results you may get using SonarQube: + + + From 5f8067f017b2b1ee72b49208769f6daac17211dc Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Tue, 26 Nov 2024 14:49:40 +0100 Subject: [PATCH 13/23] Added explanation in README.md about external rules --- package.json | 2 +- packages/jsts/src/rules/README.md | 184 +++++++++++++++++++++++++- tools/generate-external-rules-docs.ts | 117 ++++++++++++++++ 3 files changed, 301 insertions(+), 2 deletions(-) create mode 100644 tools/generate-external-rules-docs.ts diff --git a/package.json b/package.json index 84959e1279c..4d711fc5ed2 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "eslint-plugin:types": "tsc -p tsconfig-plugin.json --declaration true --emitDeclarationOnly --outDir lib/types", "eslint-plugin:package-json": "node generate-eslint-package-json.mjs", "eslint-plugin:copy-assets": "cpy LICENSE.txt lib/ --rename LICENSE && cpy packages/jsts/src/rules/README.md lib/ --flat", - "eslint-docs": "npm run eslint-plugin:compile && eslint-doc-generator lib --init-rule-docs" + "eslint-docs": "npm run eslint-plugin:compile && eslint-doc-generator lib --init-rule-docs && tsx tools/generate-external-rules-docs.ts" }, "repository": { "type": "git", diff --git a/packages/jsts/src/rules/README.md b/packages/jsts/src/rules/README.md index 184a7275c52..42529948794 100644 --- a/packages/jsts/src/rules/README.md +++ b/packages/jsts/src/rules/README.md @@ -354,14 +354,196 @@ If you are a [SonarQube](https://www.sonarqube.org) or [SonarCloud](https://sona ## SonarJS additional rules -There are some rules which are not shipped in this ESLint plugin to avoid duplication with other already existing ESLint rules. +There are some rules which are not shipped in this ESLint plugin to avoid duplication with already existing ESLint rules. The following rules are used directly, without modifying the original behavior: + +| SonarJS rule ID | Rule implemented by | +| :-------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [S103](https://sonarsource.github.io/rspec/#/rspec/S103/javascript) | [eslint/max-len](https://eslint.org/docs/latest/rules/max-len) | +| [S106](https://sonarsource.github.io/rspec/#/rspec/S106/javascript) | [eslint/no-console](https://eslint.org/docs/latest/rules/no-console) | +| [S108](https://sonarsource.github.io/rspec/#/rspec/S108/javascript) | [eslint/no-empty](https://eslint.org/docs/latest/rules/no-empty) | +| [S113](https://sonarsource.github.io/rspec/#/rspec/S113/javascript) | [eslint/eol-last](https://eslint.org/docs/latest/rules/eol-last) | +| [S121](https://sonarsource.github.io/rspec/#/rspec/S121/javascript) | [eslint/curly](https://eslint.org/docs/latest/rules/curly) | +| [S122](https://sonarsource.github.io/rspec/#/rspec/S122/javascript) | [eslint/max-statements-per-line](https://eslint.org/docs/latest/rules/max-statements-per-line) | +| [S139](https://sonarsource.github.io/rspec/#/rspec/S139/javascript) | [eslint/line-comment-position](https://eslint.org/docs/latest/rules/line-comment-position) | +| [S878](https://sonarsource.github.io/rspec/#/rspec/S878/javascript) | [eslint/no-sequences](https://eslint.org/docs/latest/rules/no-sequences) | +| [S909](https://sonarsource.github.io/rspec/#/rspec/S909/javascript) | [eslint/no-continue](https://eslint.org/docs/latest/rules/no-continue) | +| [S1090](https://sonarsource.github.io/rspec/#/rspec/S1090/javascript) | [jsx-a11y/iframe-has-title](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/iframe-has-title.md) | +| [S1117](https://sonarsource.github.io/rspec/#/rspec/S1117/javascript) | [typescript-eslint/no-shadow](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-shadow.mdx) | +| [S1131](https://sonarsource.github.io/rspec/#/rspec/S1131/javascript) | [eslint/no-trailing-spaces](https://eslint.org/docs/latest/rules/no-trailing-spaces) | +| [S1143](https://sonarsource.github.io/rspec/#/rspec/S1143/javascript) | [eslint/no-unsafe-finally](https://eslint.org/docs/latest/rules/no-unsafe-finally) | +| [S1199](https://sonarsource.github.io/rspec/#/rspec/S1199/javascript) | [eslint/no-lone-blocks](https://eslint.org/docs/latest/rules/no-lone-blocks) | +| [S1314](https://sonarsource.github.io/rspec/#/rspec/S1314/javascript) | [eslint/no-octal](https://eslint.org/docs/latest/rules/no-octal) | +| [S1321](https://sonarsource.github.io/rspec/#/rspec/S1321/javascript) | [eslint/no-with](https://eslint.org/docs/latest/rules/no-with) | +| [S1440](https://sonarsource.github.io/rspec/#/rspec/S1440/javascript) | [eslint/eqeqeq](https://eslint.org/docs/latest/rules/eqeqeq) | +| [S1441](https://sonarsource.github.io/rspec/#/rspec/S1441/javascript) | [eslint/quotes](https://eslint.org/docs/latest/rules/quotes) | +| [S1442](https://sonarsource.github.io/rspec/#/rspec/S1442/javascript) | [eslint/no-alert](https://eslint.org/docs/latest/rules/no-alert) | +| [S1516](https://sonarsource.github.io/rspec/#/rspec/S1516/javascript) | [eslint/no-multi-str](https://eslint.org/docs/latest/rules/no-multi-str) | +| [S1525](https://sonarsource.github.io/rspec/#/rspec/S1525/javascript) | [eslint/no-debugger](https://eslint.org/docs/latest/rules/no-debugger) | +| [S1536](https://sonarsource.github.io/rspec/#/rspec/S1536/javascript) | [eslint/no-dupe-args](https://eslint.org/docs/latest/rules/no-dupe-args) | +| [S1537](https://sonarsource.github.io/rspec/#/rspec/S1537/javascript) | [typescript-eslint/comma-dangle](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/comma-dangle.mdx) | +| [S1539](https://sonarsource.github.io/rspec/#/rspec/S1539/javascript) | [eslint/strict](https://eslint.org/docs/latest/rules/strict) | +| [S1656](https://sonarsource.github.io/rspec/#/rspec/S1656/javascript) | [eslint/no-self-assign](https://eslint.org/docs/latest/rules/no-self-assign) | +| [S1774](https://sonarsource.github.io/rspec/#/rspec/S1774/javascript) | [eslint/no-ternary](https://eslint.org/docs/latest/rules/no-ternary) | +| [S2094](https://sonarsource.github.io/rspec/#/rspec/S2094/javascript) | [typescript-eslint/no-extraneous-class](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-extraneous-class.mdx) | +| [S2427](https://sonarsource.github.io/rspec/#/rspec/S2427/javascript) | [eslint/radix](https://eslint.org/docs/latest/rules/radix) | +| [S2432](https://sonarsource.github.io/rspec/#/rspec/S2432/javascript) | [eslint/no-setter-return](https://eslint.org/docs/latest/rules/no-setter-return) | +| [S2685](https://sonarsource.github.io/rspec/#/rspec/S2685/javascript) | [eslint/no-caller](https://eslint.org/docs/latest/rules/no-caller) | +| [S2933](https://sonarsource.github.io/rspec/#/rspec/S2933/javascript) | [typescript-eslint/prefer-readonly](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/prefer-readonly.mdx) | +| [S2966](https://sonarsource.github.io/rspec/#/rspec/S2966/javascript) | [typescript-eslint/no-non-null-assertion](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-non-null-assertion.mdx) | +| [S3257](https://sonarsource.github.io/rspec/#/rspec/S3257/javascript) | [typescript-eslint/no-inferrable-types](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-inferrable-types.mdx) | +| [S3353](https://sonarsource.github.io/rspec/#/rspec/S3353/javascript) | [eslint/prefer-const](https://eslint.org/docs/latest/rules/prefer-const) | +| [S3523](https://sonarsource.github.io/rspec/#/rspec/S3523/javascript) | [eslint/no-new-func](https://eslint.org/docs/latest/rules/no-new-func) | +| [S3786](https://sonarsource.github.io/rspec/#/rspec/S3786/javascript) | [eslint/no-template-curly-in-string](https://eslint.org/docs/latest/rules/no-template-curly-in-string) | +| [S3799](https://sonarsource.github.io/rspec/#/rspec/S3799/javascript) | [eslint/no-empty-pattern](https://eslint.org/docs/latest/rules/no-empty-pattern) | +| [S3812](https://sonarsource.github.io/rspec/#/rspec/S3812/javascript) | [eslint/no-unsafe-negation](https://eslint.org/docs/latest/rules/no-unsafe-negation) | +| [S3834](https://sonarsource.github.io/rspec/#/rspec/S3834/javascript) | [eslint/no-new-native-nonconstructor](https://eslint.org/docs/latest/rules/no-new-native-nonconstructor) | +| [S3863](https://sonarsource.github.io/rspec/#/rspec/S3863/javascript) | [import/no-duplicates](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-duplicates.md) | +| [S4124](https://sonarsource.github.io/rspec/#/rspec/S4124/javascript) | [typescript-eslint/no-misused-new](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-misused-new.mdx) | +| [S4125](https://sonarsource.github.io/rspec/#/rspec/S4125/javascript) | [eslint/valid-typeof](https://eslint.org/docs/latest/rules/valid-typeof) | +| [S4136](https://sonarsource.github.io/rspec/#/rspec/S4136/javascript) | [typescript-eslint/adjacent-overload-signatures](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/adjacent-overload-signatures.mdx) | +| [S4137](https://sonarsource.github.io/rspec/#/rspec/S4137/javascript) | [typescript-eslint/consistent-type-assertions](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/consistent-type-assertions.mdx) | +| [S4140](https://sonarsource.github.io/rspec/#/rspec/S4140/javascript) | [eslint/no-sparse-arrays](https://eslint.org/docs/latest/rules/no-sparse-arrays) | +| [S4157](https://sonarsource.github.io/rspec/#/rspec/S4157/javascript) | [typescript-eslint/no-unnecessary-type-arguments](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-unnecessary-type-arguments.mdx) | +| [S4204](https://sonarsource.github.io/rspec/#/rspec/S4204/javascript) | [typescript-eslint/no-explicit-any](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-explicit-any.mdx) | +| [S4325](https://sonarsource.github.io/rspec/#/rspec/S4325/javascript) | [typescript-eslint/no-unnecessary-type-assertion](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-unnecessary-type-assertion.mdx) | +| [S4326](https://sonarsource.github.io/rspec/#/rspec/S4326/javascript) | [eslint/no-return-await](https://eslint.org/docs/latest/rules/no-return-await) | +| [S6325](https://sonarsource.github.io/rspec/#/rspec/S6325/javascript) | [eslint/prefer-regex-literals](https://eslint.org/docs/latest/rules/prefer-regex-literals) | +| [S6435](https://sonarsource.github.io/rspec/#/rspec/S6435/javascript) | [react/require-render-return](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/require-render-return.md) | +| [S6438](https://sonarsource.github.io/rspec/#/rspec/S6438/javascript) | [react/jsx-no-comment-textnodes](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-comment-textnodes.md) | +| [S6480](https://sonarsource.github.io/rspec/#/rspec/S6480/javascript) | [react/jsx-no-bind](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-bind.md) | +| [S6509](https://sonarsource.github.io/rspec/#/rspec/S6509/javascript) | [eslint/no-extra-boolean-cast](https://eslint.org/docs/latest/rules/no-extra-boolean-cast) | +| [S6522](https://sonarsource.github.io/rspec/#/rspec/S6522/javascript) | [eslint/no-import-assign](https://eslint.org/docs/latest/rules/no-import-assign) | +| [S6523](https://sonarsource.github.io/rspec/#/rspec/S6523/javascript) | [eslint/no-unsafe-optional-chaining](https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining) | +| [S6534](https://sonarsource.github.io/rspec/#/rspec/S6534/javascript) | [eslint/no-loss-of-precision](https://eslint.org/docs/latest/rules/no-loss-of-precision) | +| [S6550](https://sonarsource.github.io/rspec/#/rspec/S6550/javascript) | [typescript-eslint/prefer-literal-enum-member](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/prefer-literal-enum-member.mdx) | +| [S6565](https://sonarsource.github.io/rspec/#/rspec/S6565/javascript) | [typescript-eslint/prefer-return-this-type](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/prefer-return-this-type.mdx) | +| [S6568](https://sonarsource.github.io/rspec/#/rspec/S6568/javascript) | [typescript-eslint/no-confusing-non-null-assertion](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-confusing-non-null-assertion.mdx) | +| [S6569](https://sonarsource.github.io/rspec/#/rspec/S6569/javascript) | [typescript-eslint/no-unnecessary-type-constraint](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-unnecessary-type-constraint.mdx) | +| [S6578](https://sonarsource.github.io/rspec/#/rspec/S6578/javascript) | [typescript-eslint/no-duplicate-enum-values](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-duplicate-enum-values.mdx) | +| [S6583](https://sonarsource.github.io/rspec/#/rspec/S6583/javascript) | [typescript-eslint/no-mixed-enums](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-mixed-enums.mdx) | +| [S6590](https://sonarsource.github.io/rspec/#/rspec/S6590/javascript) | [typescript-eslint/prefer-as-const](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/prefer-as-const.mdx) | +| [S6635](https://sonarsource.github.io/rspec/#/rspec/S6635/javascript) | [eslint/no-constructor-return](https://eslint.org/docs/latest/rules/no-constructor-return) | +| [S6637](https://sonarsource.github.io/rspec/#/rspec/S6637/javascript) | [eslint/no-extra-bind](https://eslint.org/docs/latest/rules/no-extra-bind) | +| [S6638](https://sonarsource.github.io/rspec/#/rspec/S6638/javascript) | [eslint/no-constant-binary-expression](https://eslint.org/docs/latest/rules/no-constant-binary-expression) | +| [S6644](https://sonarsource.github.io/rspec/#/rspec/S6644/javascript) | [eslint/no-unneeded-ternary](https://eslint.org/docs/latest/rules/no-unneeded-ternary) | +| [S6645](https://sonarsource.github.io/rspec/#/rspec/S6645/javascript) | [eslint/no-undef-init](https://eslint.org/docs/latest/rules/no-undef-init) | +| [S6650](https://sonarsource.github.io/rspec/#/rspec/S6650/javascript) | [eslint/no-useless-rename](https://eslint.org/docs/latest/rules/no-useless-rename) | +| [S6653](https://sonarsource.github.io/rspec/#/rspec/S6653/javascript) | [eslint/prefer-object-has-own](https://eslint.org/docs/latest/rules/prefer-object-has-own) | +| [S6654](https://sonarsource.github.io/rspec/#/rspec/S6654/javascript) | [eslint/no-proto](https://eslint.org/docs/latest/rules/no-proto) | +| [S6657](https://sonarsource.github.io/rspec/#/rspec/S6657/javascript) | [eslint/no-octal-escape](https://eslint.org/docs/latest/rules/no-octal-escape) | +| [S6671](https://sonarsource.github.io/rspec/#/rspec/S6671/javascript) | [typescript-eslint/prefer-promise-reject-errors](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/prefer-promise-reject-errors.mdx) | +| [S6746](https://sonarsource.github.io/rspec/#/rspec/S6746/javascript) | [react/no-direct-mutation-state](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-direct-mutation-state.md) | +| [S6748](https://sonarsource.github.io/rspec/#/rspec/S6748/javascript) | [react/no-children-prop](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-children-prop.md) | +| [S6750](https://sonarsource.github.io/rspec/#/rspec/S6750/javascript) | [react/no-render-return-value](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-render-return-value.md) | +| [S6756](https://sonarsource.github.io/rspec/#/rspec/S6756/javascript) | [react/no-access-state-in-setstate](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-access-state-in-setstate.md) | +| [S6757](https://sonarsource.github.io/rspec/#/rspec/S6757/javascript) | [react/no-this-in-sfc](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-this-in-sfc.md) | +| [S6761](https://sonarsource.github.io/rspec/#/rspec/S6761/javascript) | [react/no-danger-with-children](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-danger-with-children.md) | +| [S6763](https://sonarsource.github.io/rspec/#/rspec/S6763/javascript) | [react/no-redundant-should-component-update](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-redundant-should-component-update.md) | +| [S6766](https://sonarsource.github.io/rspec/#/rspec/S6766/javascript) | [react/no-unescaped-entities](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unescaped-entities.md) | +| [S6767](https://sonarsource.github.io/rspec/#/rspec/S6767/javascript) | [react/no-unused-prop-types](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unused-prop-types.md) | +| [S6770](https://sonarsource.github.io/rspec/#/rspec/S6770/javascript) | [react/jsx-pascal-case](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-pascal-case.md) | +| [S6772](https://sonarsource.github.io/rspec/#/rspec/S6772/javascript) | [react/jsx-child-element-spacing](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-child-element-spacing.md) | +| [S6774](https://sonarsource.github.io/rspec/#/rspec/S6774/javascript) | [react/prop-types](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/prop-types.md) | +| [S6775](https://sonarsource.github.io/rspec/#/rspec/S6775/javascript) | [react/default-props-match-prop-types](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/default-props-match-prop-types.md) | +| [S6789](https://sonarsource.github.io/rspec/#/rspec/S6789/javascript) | [react/no-is-mounted](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-is-mounted.md) | +| [S6790](https://sonarsource.github.io/rspec/#/rspec/S6790/javascript) | [react/no-string-refs](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-string-refs.md) | +| [S6793](https://sonarsource.github.io/rspec/#/rspec/S6793/javascript) | [jsx-a11y/aria-proptypes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/aria-proptypes.md) | +| [S6807](https://sonarsource.github.io/rspec/#/rspec/S6807/javascript) | [jsx-a11y/role-has-required-aria-props](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/role-has-required-aria-props.md) | +| [S6811](https://sonarsource.github.io/rspec/#/rspec/S6811/javascript) | [jsx-a11y/role-supports-aria-props](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/role-supports-aria-props.md) | +| [S6819](https://sonarsource.github.io/rspec/#/rspec/S6819/javascript) | [jsx-a11y/prefer-tag-over-role](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/prefer-tag-over-role.md) | +| [S6821](https://sonarsource.github.io/rspec/#/rspec/S6821/javascript) | [jsx-a11y/aria-role](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/aria-role.md) | +| [S6822](https://sonarsource.github.io/rspec/#/rspec/S6822/javascript) | [jsx-a11y/no-redundant-roles](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-redundant-roles.md) | +| [S6823](https://sonarsource.github.io/rspec/#/rspec/S6823/javascript) | [jsx-a11y/aria-activedescendant-has-tabindex](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/aria-activedescendant-has-tabindex.md) | +| [S6824](https://sonarsource.github.io/rspec/#/rspec/S6824/javascript) | [jsx-a11y/aria-unsupported-elements](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/aria-unsupported-elements.md) | +| [S6825](https://sonarsource.github.io/rspec/#/rspec/S6825/javascript) | [jsx-a11y/no-aria-hidden-on-focusable](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-aria-hidden-on-focusable.md) | +| [S6836](https://sonarsource.github.io/rspec/#/rspec/S6836/javascript) | [eslint/no-case-declarations](https://eslint.org/docs/latest/rules/no-case-declarations) | +| [S6840](https://sonarsource.github.io/rspec/#/rspec/S6840/javascript) | [jsx-a11y/autocomplete-valid](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/autocomplete-valid.md) | +| [S6841](https://sonarsource.github.io/rspec/#/rspec/S6841/javascript) | [jsx-a11y/tabindex-no-positive](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/tabindex-no-positive.md) | +| [S6842](https://sonarsource.github.io/rspec/#/rspec/S6842/javascript) | [jsx-a11y/no-noninteractive-element-to-interactive-role](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-noninteractive-element-to-interactive-role.md) | +| [S6843](https://sonarsource.github.io/rspec/#/rspec/S6843/javascript) | [jsx-a11y/no-interactive-element-to-noninteractive-role](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-interactive-element-to-noninteractive-role.md) | +| [S6845](https://sonarsource.github.io/rspec/#/rspec/S6845/javascript) | [jsx-a11y/no-noninteractive-tabindex](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-noninteractive-tabindex.md) | +| [S6846](https://sonarsource.github.io/rspec/#/rspec/S6846/javascript) | [jsx-a11y/no-access-key](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-access-key.md) | +| [S6847](https://sonarsource.github.io/rspec/#/rspec/S6847/javascript) | [jsx-a11y/no-noninteractive-element-interactions](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-noninteractive-element-interactions.md) | +| [S6848](https://sonarsource.github.io/rspec/#/rspec/S6848/javascript) | [jsx-a11y/no-static-element-interactions](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-static-element-interactions.md) | +| [S6850](https://sonarsource.github.io/rspec/#/rspec/S6850/javascript) | [jsx-a11y/heading-has-content](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/heading-has-content.md) | +| [S6851](https://sonarsource.github.io/rspec/#/rspec/S6851/javascript) | [jsx-a11y/img-redundant-alt](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/img-redundant-alt.md) | +| [S6852](https://sonarsource.github.io/rspec/#/rspec/S6852/javascript) | [jsx-a11y/interactive-supports-focus](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/interactive-supports-focus.md) | +| [S6859](https://sonarsource.github.io/rspec/#/rspec/S6859/javascript) | [import/no-absolute-path](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-absolute-path.md) | +| [S6861](https://sonarsource.github.io/rspec/#/rspec/S6861/javascript) | [import/no-mutable-exports](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-mutable-exports.md) | + The following rules are used in SonarJS, but their behavior is modified, so your experience using them in your ESLint configuration may differ to the results you may get using SonarQube: + +| SonarJS rule ID | Rules used in the SonarJS implementation | +| :-------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [S107](https://sonarsource.github.io/rspec/#/rspec/S107/javascript) | [eslint/max-params](https://eslint.org/docs/latest/rules/max-params) | +| [S109](https://sonarsource.github.io/rspec/#/rspec/S109/javascript) | [typescript-eslint/no-magic-numbers](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-magic-numbers.mdx) | +| [S131](https://sonarsource.github.io/rspec/#/rspec/S131/javascript) | [typescript-eslint/switch-exhaustiveness-check](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.mdx) | +| [S905](https://sonarsource.github.io/rspec/#/rspec/S905/javascript) | [typescript-eslint/no-unused-expressions](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-unused-expressions.mdx) | +| [S1068](https://sonarsource.github.io/rspec/#/rspec/S1068/javascript) | [eslint/no-unused-private-class-members](https://eslint.org/docs/latest/rules/no-unused-private-class-members) | +| [S1077](https://sonarsource.github.io/rspec/#/rspec/S1077/javascript) | [jsx-a11y/alt-text](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/alt-text.md) | +| [S1082](https://sonarsource.github.io/rspec/#/rspec/S1082/javascript) | [jsx-a11y/mouse-events-have-key-events](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/mouse-events-have-key-events.md)
[jsx-a11y/click-events-have-key-events](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/click-events-have-key-events.md) | +| [S1105](https://sonarsource.github.io/rspec/#/rspec/S1105/javascript) | [eslint/brace-style](https://eslint.org/docs/latest/rules/brace-style) | +| [S1116](https://sonarsource.github.io/rspec/#/rspec/S1116/javascript) | [typescript-eslint/no-extra-semi](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-extra-semi.mdx) | +| [S1186](https://sonarsource.github.io/rspec/#/rspec/S1186/javascript) | [typescript-eslint/no-empty-function](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-empty-function.mdx) | +| [S1438](https://sonarsource.github.io/rspec/#/rspec/S1438/javascript) | [typescript-eslint/semi](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/semi.mdx) | +| [S1534](https://sonarsource.github.io/rspec/#/rspec/S1534/javascript) | [eslint/no-dupe-keys](https://eslint.org/docs/latest/rules/no-dupe-keys)
[typescript-eslint/no-dupe-class-members](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-dupe-class-members.mdx)
[react/jsx-no-duplicate-props](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-duplicate-props.md) | +| [S1763](https://sonarsource.github.io/rspec/#/rspec/S1763/javascript) | [eslint/no-unreachable](https://eslint.org/docs/latest/rules/no-unreachable) | +| [S1788](https://sonarsource.github.io/rspec/#/rspec/S1788/javascript) | [typescript-eslint/default-param-last](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/default-param-last.mdx) | +| [S2189](https://sonarsource.github.io/rspec/#/rspec/S2189/javascript) | [eslint/no-unmodified-loop-condition](https://eslint.org/docs/latest/rules/no-unmodified-loop-condition) | +| [S2376](https://sonarsource.github.io/rspec/#/rspec/S2376/javascript) | [eslint/accessor-pairs](https://eslint.org/docs/latest/rules/accessor-pairs) | +| [S2430](https://sonarsource.github.io/rspec/#/rspec/S2430/javascript) | [eslint/new-cap](https://eslint.org/docs/latest/rules/new-cap) | +| [S2688](https://sonarsource.github.io/rspec/#/rspec/S2688/javascript) | [eslint/use-isnan](https://eslint.org/docs/latest/rules/use-isnan) | +| [S2814](https://sonarsource.github.io/rspec/#/rspec/S2814/javascript) | [typescript-eslint/no-redeclare](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-redeclare.mdx) | +| [S3498](https://sonarsource.github.io/rspec/#/rspec/S3498/javascript) | [eslint/object-shorthand](https://eslint.org/docs/latest/rules/object-shorthand) | +| [S3504](https://sonarsource.github.io/rspec/#/rspec/S3504/javascript) | [eslint/no-var](https://eslint.org/docs/latest/rules/no-var) | +| [S3512](https://sonarsource.github.io/rspec/#/rspec/S3512/javascript) | [eslint/prefer-template](https://eslint.org/docs/latest/rules/prefer-template) | +| [S3696](https://sonarsource.github.io/rspec/#/rspec/S3696/javascript) | [eslint/no-throw-literal](https://eslint.org/docs/latest/rules/no-throw-literal) | +| [S4023](https://sonarsource.github.io/rspec/#/rspec/S4023/javascript) | [typescript-eslint/no-empty-interface](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-empty-interface.mdx) | +| [S4084](https://sonarsource.github.io/rspec/#/rspec/S4084/javascript) | [jsx-a11y/media-has-caption](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/media-has-caption.md) | +| [S4138](https://sonarsource.github.io/rspec/#/rspec/S4138/javascript) | [typescript-eslint/prefer-for-of](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/prefer-for-of.mdx) | +| [S4156](https://sonarsource.github.io/rspec/#/rspec/S4156/javascript) | [typescript-eslint/prefer-namespace-keyword](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/prefer-namespace-keyword.mdx) | +| [S4275](https://sonarsource.github.io/rspec/#/rspec/S4275/javascript) | [eslint/getter-return](https://eslint.org/docs/latest/rules/getter-return) | +| [S4327](https://sonarsource.github.io/rspec/#/rspec/S4327/javascript) | [typescript-eslint/no-this-alias](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-this-alias.mdx) | +| [S5254](https://sonarsource.github.io/rspec/#/rspec/S5254/javascript) | [jsx-a11y/lang](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/lang.md)
[jsx-a11y/html-has-lang](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/html-has-lang.md) | +| [S6440](https://sonarsource.github.io/rspec/#/rspec/S6440/javascript) | [react-hooks/rules-of-hooks](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/README.md) | +| [S6441](https://sonarsource.github.io/rspec/#/rspec/S6441/javascript) | [react/no-unused-class-component-methods](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unused-class-component-methods.md) | +| [S6477](https://sonarsource.github.io/rspec/#/rspec/S6477/javascript) | [react/jsx-key](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-key.md) | +| [S6478](https://sonarsource.github.io/rspec/#/rspec/S6478/javascript) | [react/no-unstable-nested-components](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unstable-nested-components.md) | +| [S6479](https://sonarsource.github.io/rspec/#/rspec/S6479/javascript) | [react/no-array-index-key](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-array-index-key.md) | +| [S6481](https://sonarsource.github.io/rspec/#/rspec/S6481/javascript) | [react/jsx-no-constructed-context-values](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-constructed-context-values.md) | +| [S6535](https://sonarsource.github.io/rspec/#/rspec/S6535/javascript) | [eslint/no-useless-escape](https://eslint.org/docs/latest/rules/no-useless-escape)
[eslint/no-nonoctal-decimal-escape](https://eslint.org/docs/latest/rules/no-nonoctal-decimal-escape) | +| [S6544](https://sonarsource.github.io/rspec/#/rspec/S6544/javascript) | [typescript-eslint/no-misused-promises](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-misused-promises.mdx)
[eslint/no-async-promise-executor](https://eslint.org/docs/latest/rules/no-async-promise-executor) | +| [S6551](https://sonarsource.github.io/rspec/#/rspec/S6551/javascript) | [typescript-eslint/no-base-to-string](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-base-to-string.mdx) | +| [S6557](https://sonarsource.github.io/rspec/#/rspec/S6557/javascript) | [typescript-eslint/prefer-string-starts-ends-with](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/prefer-string-starts-ends-with.mdx) | +| [S6571](https://sonarsource.github.io/rspec/#/rspec/S6571/javascript) | [typescript-eslint/no-redundant-type-constituents](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/no-redundant-type-constituents.mdx) | +| [S6572](https://sonarsource.github.io/rspec/#/rspec/S6572/javascript) | [typescript-eslint/prefer-enum-initializers](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/prefer-enum-initializers.mdx) | +| [S6582](https://sonarsource.github.io/rspec/#/rspec/S6582/javascript) | [typescript-eslint/prefer-optional-chain](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/prefer-optional-chain.mdx) | +| [S6598](https://sonarsource.github.io/rspec/#/rspec/S6598/javascript) | [typescript-eslint/prefer-function-type](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/prefer-function-type.mdx) | +| [S6606](https://sonarsource.github.io/rspec/#/rspec/S6606/javascript) | [typescript-eslint/prefer-nullish-coalescing](https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx) | +| [S6643](https://sonarsource.github.io/rspec/#/rspec/S6643/javascript) | [eslint/no-extend-native](https://eslint.org/docs/latest/rules/no-extend-native) | +| [S6647](https://sonarsource.github.io/rspec/#/rspec/S6647/javascript) | [eslint/no-useless-constructor](https://eslint.org/docs/latest/rules/no-useless-constructor) | +| [S6660](https://sonarsource.github.io/rspec/#/rspec/S6660/javascript) | [eslint/no-lonely-if](https://eslint.org/docs/latest/rules/no-lonely-if) | +| [S6661](https://sonarsource.github.io/rspec/#/rspec/S6661/javascript) | [eslint/prefer-object-spread](https://eslint.org/docs/latest/rules/prefer-object-spread) | +| [S6666](https://sonarsource.github.io/rspec/#/rspec/S6666/javascript) | [eslint/prefer-spread](https://eslint.org/docs/latest/rules/prefer-spread) | +| [S6676](https://sonarsource.github.io/rspec/#/rspec/S6676/javascript) | [eslint/no-useless-call](https://eslint.org/docs/latest/rules/no-useless-call) | +| [S6679](https://sonarsource.github.io/rspec/#/rspec/S6679/javascript) | [eslint/no-self-compare](https://eslint.org/docs/latest/rules/no-self-compare) | +| [S6747](https://sonarsource.github.io/rspec/#/rspec/S6747/javascript) | [react/no-unknown-property](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unknown-property.md)
[jsx-a11y/aria-props](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/aria-props.md) | +| [S6749](https://sonarsource.github.io/rspec/#/rspec/S6749/javascript) | [react/jsx-no-useless-fragment](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-useless-fragment.md) | +| [S6754](https://sonarsource.github.io/rspec/#/rspec/S6754/javascript) | [react/hook-use-state](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/hook-use-state.md) | +| [S6788](https://sonarsource.github.io/rspec/#/rspec/S6788/javascript) | [react/no-find-dom-node](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-find-dom-node.md) | +| [S6791](https://sonarsource.github.io/rspec/#/rspec/S6791/javascript) | [react/no-unsafe](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unsafe.md) | +| [S6827](https://sonarsource.github.io/rspec/#/rspec/S6827/javascript) | [jsx-a11y/anchor-has-content](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-has-content.md) | +| [S6844](https://sonarsource.github.io/rspec/#/rspec/S6844/javascript) | [jsx-a11y/anchor-is-valid](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md) | +| [S6853](https://sonarsource.github.io/rspec/#/rspec/S6853/javascript) | [jsx-a11y/label-has-associated-control](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/label-has-associated-control.md) | +| [S6957](https://sonarsource.github.io/rspec/#/rspec/S6957/javascript) | [react/no-deprecated](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-deprecated.md) | +| [S7060](https://sonarsource.github.io/rspec/#/rspec/S7060/javascript) | [import/no-self-import](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-self-import.md) | + diff --git a/tools/generate-external-rules-docs.ts b/tools/generate-external-rules-docs.ts new file mode 100644 index 00000000000..73ff88daf7c --- /dev/null +++ b/tools/generate-external-rules-docs.ts @@ -0,0 +1,117 @@ +import { readFile, writeFile } from 'node:fs/promises'; +import { dirname, join } from 'node:path'; +import { fileURLToPath, pathToFileURL } from 'node:url'; +import { readdir } from 'fs/promises'; +import prettier from 'prettier'; +import { prettier as prettierOpts } from '../package.json'; + +function sonarURL(key: string) { + return `https://sonarsource.github.io/rspec/#/rspec/${key}/javascript`; +} + +function sonarCell(key: string) { + return `[${key}](${sonarURL(key)})`; +} + +function externalURL(plugin: string, key: string) { + switch (plugin) { + case 'import': + return `https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/${key}.md`; + case 'react': + return `https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/${key}.md`; + case 'eslint': + return `https://eslint.org/docs/latest/rules/${key}`; + case 'jsx-a11y': + return `https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/${key}.md`; + case 'typescript-eslint': + return `https://github.com/typescript-eslint/typescript-eslint/blob/v7.18.0/packages/eslint-plugin/docs/rules/${key}.mdx`; + case 'react-hooks': + return 'https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/README.md'; + default: + throw new Error(`Error generating URL for unknown ESLint plugin ${plugin}`); + } +} + +function externalRuleCell(plugin: string, key: string) { + return `[${plugin}/${key}](${externalURL(plugin, key)})`; +} + +const sonarKeySorter = (a, b) => + parseInt(a.sonarId.substring(1)) < parseInt(b.sonarId.substring(1)) ? -1 : 1; + +const ruleRegex = /^S\d+$/; +const RULES_FOLDER = join( + dirname(fileURLToPath(import.meta.url)), + '..', + 'packages', + 'jsts', + 'src', + 'rules', +); + +const decoratedRules = []; +const externalRules = []; +const files = await readdir(RULES_FOLDER, { withFileTypes: true }); +for (const file of files) { + if (ruleRegex.test(file.name) && file.isDirectory()) { + const metadata = await import( + pathToFileURL(join(RULES_FOLDER, file.name, 'meta.js')).toString() + ); + if (metadata.implementation === 'decorated') { + decoratedRules.push({ + sonarId: file.name, + rules: metadata.externalRules, + }); + } else if (metadata.implementation === 'external') { + externalRules.push({ + sonarId: file.name, + externalPlugin: metadata.externalPlugin, + externalRule: metadata.eslintId, + }); + } + } +} + +externalRules.sort(sonarKeySorter); +decoratedRules.sort(sonarKeySorter); + +const externalContents = `| SonarJS rule ID | Rule implemented by |\n|:---|:---|\n${externalRules + .map( + rule => + `| ${sonarCell(rule.sonarId)} | ${externalRuleCell(rule.externalPlugin, rule.externalRule)} |\n`, + ) + .join('')}`; + +const decoratedContents = `| SonarJS rule ID | Rules used in the SonarJS implementation |\n|:---|:---|\n${decoratedRules + .map( + rule => + `| ${sonarCell(rule.sonarId)} | ${rule.rules.map(r => externalRuleCell(r.externalPlugin, r.externalRule)).join('
')} |\n`, + ) + .join('')}`; + +const README = join( + dirname(fileURLToPath(import.meta.url)), + '..', + 'packages', + 'jsts', + 'src', + 'rules', + 'README.md', +); + +await writeFile( + README, + await prettier.format( + (await readFile(README, 'utf8')) + .replace( + /.*/gs, + `\n${externalContents}\n`, + ) + .replace( + /.*/gs, + `\n${decoratedContents}\n`, + ), + { ...(prettierOpts as prettier.Options), filepath: README }, + ), + 'utf8', +); From ddeb3bca893bc7280aa4d6ed799d43f35f9b4046 Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Tue, 26 Nov 2024 14:54:43 +0100 Subject: [PATCH 14/23] do not limit to eslint 9.14 --- generate-eslint-package-json.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-eslint-package-json.mjs b/generate-eslint-package-json.mjs index 6ca9f925854..b1568e7f632 100644 --- a/generate-eslint-package-json.mjs +++ b/generate-eslint-package-json.mjs @@ -82,7 +82,7 @@ await fs.writeFile( 'https://github.com/SonarSource/SonarJS/blob/master/packages/jsts/src/rules/README.md', dependencies, peerDependencies: { - eslint: '8.0.0 - 9.14', + eslint: '^8.0.0 || ^9.0.0', }, }, null, From 9c55e6e194d07f97d76ae6bcb7f27e88c084979a Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Tue, 26 Nov 2024 15:05:44 +0100 Subject: [PATCH 15/23] fix header --- tools/generate-external-rules-docs.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tools/generate-external-rules-docs.ts b/tools/generate-external-rules-docs.ts index 73ff88daf7c..b7f02d4b5ea 100644 --- a/tools/generate-external-rules-docs.ts +++ b/tools/generate-external-rules-docs.ts @@ -1,3 +1,19 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ import { readFile, writeFile } from 'node:fs/promises'; import { dirname, join } from 'node:path'; import { fileURLToPath, pathToFileURL } from 'node:url'; From d167687751ddbbd6b511d3520fe67edb5a7aa72d Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Wed, 27 Nov 2024 10:59:53 +0100 Subject: [PATCH 16/23] Merge branch 'master' into remove-decorated-eslint # Conflicts: # packages/jsts/src/rules/README.md # packages/jsts/src/rules/S2068/meta.ts # packages/jsts/src/rules/original.ts # packages/jsts/src/rules/plugin.ts --- packages/jsts/src/rules/README.md | 3 +- .../jsts/src/rules/S2068/generated-meta.ts | 4 +-- .../jsts/src/rules/S6418/generated-meta.ts | 30 +++++++++++++++++++ .../javascript/schemas/S2068-schema.json | 2 +- 4 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 packages/jsts/src/rules/S6418/generated-meta.ts diff --git a/packages/jsts/src/rules/README.md b/packages/jsts/src/rules/README.md index 42529948794..ddba069811e 100644 --- a/packages/jsts/src/rules/README.md +++ b/packages/jsts/src/rules/README.md @@ -215,7 +215,7 @@ If you are a [SonarQube](https://www.sonarqube.org) or [SonarCloud](https://sona | [no-global-this](https://sonarsource.github.io/rspec/#/rspec/S2990/javascript) | The global "this" object should not be used | ✅ | | 💡 | | | | [no-globals-shadowing](https://sonarsource.github.io/rspec/#/rspec/S2137/javascript) | Special identifiers should not be bound or assigned | ✅ | | | | | | [no-gratuitous-expressions](https://sonarsource.github.io/rspec/#/rspec/S2589/javascript) | Boolean expressions should not be gratuitous | ✅ | | | | | -| [no-hardcoded-credentials](https://sonarsource.github.io/rspec/#/rspec/S2068/javascript) | Hard-coded credentials are security-sensitive | ✅ | | | | | +| [no-hardcoded-credentials](https://sonarsource.github.io/rspec/#/rspec/S2068/javascript) | Hard-coded passwords are security-sensitive | ✅ | | | | | | [no-hardcoded-ip](https://sonarsource.github.io/rspec/#/rspec/S1313/javascript) | Using hardcoded IP addresses is security-sensitive | ✅ | | | | | | [no-hook-setter-in-body](https://sonarsource.github.io/rspec/#/rspec/S6442/javascript) | React's useState hook should not be used directly in the render function or body of a component | ✅ | | | | | | [no-identical-conditions](https://sonarsource.github.io/rspec/#/rspec/S1862/javascript) | "if/else if" chains and "switch" cases should not have the same condition | ✅ | | | | | @@ -267,6 +267,7 @@ If you are a [SonarQube](https://www.sonarqube.org) or [SonarCloud](https://sona | [no-selector-parameter](https://sonarsource.github.io/rspec/#/rspec/S2301/javascript) | Methods should not contain selector parameters | ✅ | | | 💭 | | | [no-skipped-tests](https://sonarsource.github.io/rspec/#/rspec/S1607/javascript) | Tests should not be skipped without providing a reason | ✅ | | | | | | [no-small-switch](https://sonarsource.github.io/rspec/#/rspec/S1301/javascript) | "if" statements should be preferred over "switch" when simpler | ✅ | | | | | +| [no-sonar-comments](https://sonarsource.github.io/rspec/#/rspec/S1291/javascript) | Track uses of "NOSONAR" comments | | | | | | | [no-tab](https://sonarsource.github.io/rspec/#/rspec/S105/javascript) | Tabulation characters should not be used | | | | | ❌ | | [no-table-as-layout](https://sonarsource.github.io/rspec/#/rspec/S5257/javascript) | HTML "<table>" should not be used for layout purposes | ✅ | | | | | | [no-try-promise](https://sonarsource.github.io/rspec/#/rspec/S4822/javascript) | Promise rejections should not be caught by "try" blocks | ✅ | | | 💭 | | diff --git a/packages/jsts/src/rules/S2068/generated-meta.ts b/packages/jsts/src/rules/S2068/generated-meta.ts index e71bc529bb9..cba4367003f 100644 --- a/packages/jsts/src/rules/S2068/generated-meta.ts +++ b/packages/jsts/src/rules/S2068/generated-meta.ts @@ -20,7 +20,7 @@ export const meta = { type: 'problem', docs: { - description: 'Hard-coded credentials are security-sensitive', + description: 'Hard-coded passwords are security-sensitive', recommended: true, url: 'https://sonarsource.github.io/rspec/#/rspec/S2068/javascript', requiresTypeChecking: false, @@ -37,7 +37,7 @@ export const schema = { { type: 'object', properties: { - credentialWords: { + passwordWords: { type: 'array', items: { type: 'string', diff --git a/packages/jsts/src/rules/S6418/generated-meta.ts b/packages/jsts/src/rules/S6418/generated-meta.ts new file mode 100644 index 00000000000..b0061bec0c7 --- /dev/null +++ b/packages/jsts/src/rules/S6418/generated-meta.ts @@ -0,0 +1,30 @@ +/* + * SonarQube JavaScript Plugin + * Copyright (C) 2011-2024 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ + +// DO NOT EDIT! This file is autogenerated by "npm run generate-meta" + +export const meta = { + type: 'problem', + docs: { + description: 'Hard-coded secrets are security-sensitive', + recommended: true, + url: 'https://sonarsource.github.io/rspec/#/rspec/S6418/javascript', + requiresTypeChecking: false, + }, +}; + +export const sonarKey = 'S6418'; diff --git a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/schemas/S2068-schema.json b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/schemas/S2068-schema.json index f0a231e8ec2..9670466bfde 100644 --- a/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/schemas/S2068-schema.json +++ b/sonar-plugin/javascript-checks/src/main/resources/org/sonar/l10n/javascript/rules/javascript/schemas/S2068-schema.json @@ -6,7 +6,7 @@ { "type": "object", "properties": { - "credentialWords": { + "passwordWords": { "type": "array", "items": { "type": "string" From 84036297af6d0a6b480d5dd43b8a1098bf239513 Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 28 Nov 2024 11:28:09 +0100 Subject: [PATCH 17/23] Update tools/generate-rule-indexes.ts Co-authored-by: zglicz --- tools/generate-rule-indexes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/generate-rule-indexes.ts b/tools/generate-rule-indexes.ts index d0167f45c7d..b5690018ddd 100644 --- a/tools/generate-rule-indexes.ts +++ b/tools/generate-rule-indexes.ts @@ -68,7 +68,7 @@ for (const file of files) { } } -const sonarKeySorter = (a, b) => (parseInt(a.substring(1)) < parseInt(b.substring(1)) ? -1 : 1); +const sonarKeySorter = (a, b) => (parseInt(a.substring(1)) - parseInt(b.substring(1))); await writeFile( allRulesIndex, From 0dbb35b63fa0740505c88a3a68fe6f2a3e9872ad Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 28 Nov 2024 11:50:03 +0100 Subject: [PATCH 18/23] Update packages/jsts/src/rules/README.md Co-authored-by: Yassin Kammoun <52890329+yassin-kammoun-sonarsource@users.noreply.github.com> --- packages/jsts/src/rules/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jsts/src/rules/README.md b/packages/jsts/src/rules/README.md index ddba069811e..25f4d651d65 100644 --- a/packages/jsts/src/rules/README.md +++ b/packages/jsts/src/rules/README.md @@ -353,7 +353,7 @@ If you are a [SonarQube](https://www.sonarqube.org) or [SonarCloud](https://sona -## SonarJS additional rules +## ESLint rules There are some rules which are not shipped in this ESLint plugin to avoid duplication with already existing ESLint rules. From 80ecc272264dd3d831dc1085f5e4de33ba6f1a6b Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 28 Nov 2024 11:50:12 +0100 Subject: [PATCH 19/23] Update packages/jsts/src/rules/README.md Co-authored-by: Yassin Kammoun <52890329+yassin-kammoun-sonarsource@users.noreply.github.com> --- packages/jsts/src/rules/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/jsts/src/rules/README.md b/packages/jsts/src/rules/README.md index 25f4d651d65..09fbfec3daf 100644 --- a/packages/jsts/src/rules/README.md +++ b/packages/jsts/src/rules/README.md @@ -478,7 +478,9 @@ The following rules are used directly, without modifying the original behavior: -The following rules are used in SonarJS, but their behavior is modified, so your experience using them in your ESLint configuration may differ to the results you may get using SonarQube: +## Improved ESLint rules + +The following rules are used in SonarJS, but their behavior is modified, so your experience using them in your ESLint configuration may differ from the results you may get using SonarQube: From 7859912d270b5819fa4278f78088c4f4a866c88a Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 28 Nov 2024 11:50:22 +0100 Subject: [PATCH 20/23] Update packages/jsts/src/rules/README.md Co-authored-by: Yassin Kammoun <52890329+yassin-kammoun-sonarsource@users.noreply.github.com> --- packages/jsts/src/rules/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jsts/src/rules/README.md b/packages/jsts/src/rules/README.md index 09fbfec3daf..a674504e25b 100644 --- a/packages/jsts/src/rules/README.md +++ b/packages/jsts/src/rules/README.md @@ -355,7 +355,7 @@ If you are a [SonarQube](https://www.sonarqube.org) or [SonarCloud](https://sona ## ESLint rules -There are some rules which are not shipped in this ESLint plugin to avoid duplication with already existing ESLint rules. +Some rules are not shipped in this ESLint plugin to avoid duplication with already existing rules from ESLint core and third-party ESLint plugins. The following rules are used directly, without modifying the original behavior: From 87fa9e6cd06776a9819bb88c1da5c948e6d77800 Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Thu, 28 Nov 2024 12:23:38 +0100 Subject: [PATCH 21/23] improve wording on README.md --- packages/jsts/src/rules/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/jsts/src/rules/README.md b/packages/jsts/src/rules/README.md index a674504e25b..1cc0005a283 100644 --- a/packages/jsts/src/rules/README.md +++ b/packages/jsts/src/rules/README.md @@ -64,9 +64,9 @@ We include a `recommended-legacy` configuration to be backward compatible with E ## ESLint and Sonar -This plugin exposes to ESLint users all original JS/TS rules from Sonar-\* products (aka [SonarJS](https://github.com/SonarSource/SonarJS)). We extracted the rules to be beneficial for the ESLint community. +This plugin exposes to ESLint users all original JS/TS rules from Sonar products (aka [SonarJS](https://github.com/SonarSource/SonarJS)). We extracted the rules to be beneficial for the ESLint community. -SonarJS contains more rules from other ESLint plugins (listed [here](#sonarjs-additional-rules)). We recommend enabling those rules if you are looking for similar results to SonarQube using ESLint. +This ESLint plugin does not contain all the rules from the SonarQube JS/TS analyzer. Aside of the rules available here, SonarQube uses rules from other ESLint plugins ([some](#eslint-rules) used as they are, [some others](#improved-eslint-rules) have been modified). We recommend installing those ESLint plugins and enabling those rules if you are looking for similar results to SonarQube using ESLint. If you are a [SonarQube](https://www.sonarqube.org) or [SonarCloud](https://sonarcloud.io) user, to lint your code locally, we suggest using [SonarLint](https://www.sonarlint.org) IDE extension (available for VSCode, JetBrains IDEs and Eclipse). You can connect SonarLint to your SonarQube/SonarCloud project to synchronize rules configuration, issue statuses, etc. @@ -480,7 +480,7 @@ The following rules are used directly, without modifying the original behavior: ## Improved ESLint rules -The following rules are used in SonarJS, but their behavior is modified, so your experience using them in your ESLint configuration may differ from the results you may get using SonarQube: +Also not available in this ESLint plugin, but used in SonarJS, this list of rules have been modified, so your experience using them in your ESLint configuration may differ from the results you may get using SonarQube: From f785d58a72ab1bc8869c8f0dd18583c70da9ddb2 Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Thu, 28 Nov 2024 12:37:03 +0100 Subject: [PATCH 22/23] changes on index.test.ts after review --- packages/jsts/tests/rules/index.test.ts | 7 +++++-- tools/generate-rule-indexes.ts | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/jsts/tests/rules/index.test.ts b/packages/jsts/tests/rules/index.test.ts index a410e21943f..7050f2884db 100644 --- a/packages/jsts/tests/rules/index.test.ts +++ b/packages/jsts/tests/rules/index.test.ts @@ -38,7 +38,7 @@ import { rules as tsEslintRules } from '../../src/rules/external/typescript-esli import { rules as importRules } from 'eslint-plugin-import'; import { rules as reactHooksRules } from 'eslint-plugin-react-hooks'; -const allRules = { +const allExternalRules = { eslint: key => getESLintCoreRule(key), 'typescript-eslint': key => tsEslintRules[key], 'jsx-a11y': key => a11yRules[key], @@ -77,6 +77,7 @@ describe('Plugin public API', () => { } else if (metadata.implementation === 'external') { expect(externalPlugins).toContain(metadata.externalPlugin); expect(usedExternalEslintIds).not.toContain(metadata.eslintId); + expect(allExternalRules[metadata.externalPlugin](metadata.eslintId)).toBeDefined(); usedExternalEslintIds.push(metadata.eslintId); } else if (metadata.implementation === 'decorated') { expect(metadata.externalRules.length).toBeGreaterThan(0); @@ -84,7 +85,9 @@ describe('Plugin public API', () => { expect(usedExternalEslintIds).not.toContain(externalRule.externalRule); usedExternalEslintIds.push(externalRule.externalRule); expect(externalPlugins).toContain(externalRule.externalPlugin); - expect(allRules[externalRule.externalPlugin](externalRule.externalRule)).toBeDefined(); + expect( + allExternalRules[externalRule.externalPlugin](externalRule.externalRule), + ).toBeDefined(); }); } } diff --git a/tools/generate-rule-indexes.ts b/tools/generate-rule-indexes.ts index b5690018ddd..9408c985a84 100644 --- a/tools/generate-rule-indexes.ts +++ b/tools/generate-rule-indexes.ts @@ -68,7 +68,7 @@ for (const file of files) { } } -const sonarKeySorter = (a, b) => (parseInt(a.substring(1)) - parseInt(b.substring(1))); +const sonarKeySorter = (a, b) => parseInt(a.substring(1)) - parseInt(b.substring(1)); await writeFile( allRulesIndex, From 8ff562fc5c7bde93625110557d8ab32a52795a76 Mon Sep 17 00:00:00 2001 From: Victor Diez Date: Fri, 29 Nov 2024 14:29:20 +0100 Subject: [PATCH 23/23] Merge branch 'master' into remove-decorated-eslint # Conflicts: # package-lock.json # package.json --- package-lock.json | 72 +++++++++++++---------------------------------- 1 file changed, 20 insertions(+), 52 deletions(-) diff --git a/package-lock.json b/package-lock.json index ab8d396b982..ab14413baa3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ "htmlparser2": "9.1.0", "jsx-ast-utils": "3.3.5", "lodash.clone": "4.5.0", - "minimatch": "10.0.1", + "minimatch": "9.0.5", "module-alias": "2.2.3", "postcss": "8.4.49", "postcss-html": "0.36.0", @@ -3410,21 +3410,6 @@ } } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://repox.jfrog.io/artifactory/api/npm/npm/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/@typescript-eslint/utils": { "version": "7.18.0", "resolved": "https://repox.jfrog.io/artifactory/api/npm/npm/@typescript-eslint/utils/-/utils-7.18.0.tgz", @@ -6623,21 +6608,6 @@ "node": ">= 6" } }, - "node_modules/glob/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://repox.jfrog.io/artifactory/api/npm/npm/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/global-modules": { "version": "2.0.0", "resolved": "https://repox.jfrog.io/artifactory/api/npm/npm/global-modules/-/global-modules-2.0.0.tgz", @@ -8183,15 +8153,14 @@ } }, "node_modules/minimatch": { - "version": "10.0.1", - "resolved": "https://repox.jfrog.io/artifactory/api/npm/npm/minimatch/-/minimatch-10.0.1.tgz", - "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", - "license": "ISC", + "version": "9.0.5", + "resolved": "https://repox.jfrog.io/artifactory/api/npm/npm/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dependencies": { "brace-expansion": "^2.0.1" }, "engines": { - "node": "20 || >=22" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -9744,6 +9713,21 @@ "node": "20 || >=22" } }, + "node_modules/rimraf/node_modules/minimatch": { + "version": "10.0.1", + "resolved": "https://repox.jfrog.io/artifactory/api/npm/npm/minimatch/-/minimatch-10.0.1.tgz", + "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/rimraf/node_modules/path-scurry": { "version": "2.0.0", "resolved": "https://repox.jfrog.io/artifactory/api/npm/npm/path-scurry/-/path-scurry-2.0.0.tgz", @@ -11415,22 +11399,6 @@ "typescript": "5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x" } }, - "node_modules/typedoc/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/typescript": { "version": "5.7.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz",