eslint-plugin-sonarjs 4.0.2 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +73 -76
- package/cjs/S100/config.js +3 -3
- package/cjs/S100/generated-meta.js +5 -4
- package/cjs/S100/index.js +3 -3
- package/cjs/S100/meta.js +3 -3
- package/cjs/S100/rule.js +3 -3
- package/cjs/S101/config.js +4 -4
- package/cjs/S101/generated-meta.js +6 -5
- package/cjs/S101/index.js +3 -3
- package/cjs/S101/meta.js +3 -3
- package/cjs/S101/rule.js +4 -4
- package/cjs/S104/config.js +3 -3
- package/cjs/S104/generated-meta.js +5 -4
- package/cjs/S104/index.js +3 -3
- package/cjs/S104/meta.js +3 -3
- package/cjs/S104/rule.js +3 -3
- package/cjs/S105/generated-meta.js +5 -4
- package/cjs/S105/index.js +3 -3
- package/cjs/S105/meta.js +3 -3
- package/cjs/S105/rule.js +3 -3
- package/cjs/S1066/generated-meta.js +5 -4
- package/cjs/S1066/index.js +3 -3
- package/cjs/S1066/meta.js +3 -3
- package/cjs/S1066/rule.js +3 -3
- package/cjs/S1067/config.js +3 -3
- package/cjs/S1067/generated-meta.js +5 -4
- package/cjs/S1067/index.js +3 -3
- package/cjs/S1067/meta.js +3 -3
- package/cjs/S1067/rule.js +3 -3
- package/cjs/S1110/generated-meta.js +5 -4
- package/cjs/S1110/index.js +3 -3
- package/cjs/S1110/meta.js +3 -3
- package/cjs/S1110/rule.js +3 -3
- package/cjs/S1119/generated-meta.js +5 -4
- package/cjs/S1119/index.js +3 -3
- package/cjs/S1119/meta.js +3 -3
- package/cjs/S1119/rule.js +3 -3
- package/cjs/S1121/generated-meta.js +5 -4
- package/cjs/S1121/index.js +3 -3
- package/cjs/S1121/meta.js +3 -3
- package/cjs/S1121/rule.js +3 -3
- package/cjs/S1125/generated-meta.js +5 -4
- package/cjs/S1125/index.js +3 -3
- package/cjs/S1125/meta.js +3 -3
- package/cjs/S1125/rule.js +3 -3
- package/cjs/S1126/generated-meta.js +5 -4
- package/cjs/S1126/index.js +3 -3
- package/cjs/S1126/meta.js +3 -3
- package/cjs/S1126/rule.js +29 -10
- package/cjs/S1128/generated-meta.js +6 -4
- package/cjs/S1128/index.js +3 -3
- package/cjs/S1128/meta.js +3 -3
- package/cjs/S1128/rule.js +3 -3
- package/cjs/S1134/generated-meta.js +5 -4
- package/cjs/S1134/index.js +3 -3
- package/cjs/S1134/meta.js +3 -3
- package/cjs/S1134/rule.js +3 -3
- package/cjs/S1135/generated-meta.js +5 -4
- package/cjs/S1135/index.js +3 -3
- package/cjs/S1135/meta.js +3 -3
- package/cjs/S1135/rule.js +3 -3
- package/cjs/S1154/generated-meta.js +5 -4
- package/cjs/S1154/index.js +3 -3
- package/cjs/S1154/meta.js +3 -3
- package/cjs/S1154/rule.js +24 -5
- package/cjs/S117/config.js +3 -3
- package/cjs/S117/generated-meta.js +5 -4
- package/cjs/S117/index.js +3 -3
- package/cjs/S117/meta.js +3 -3
- package/cjs/S117/rule.js +3 -3
- package/cjs/S1172/generated-meta.js +5 -4
- package/cjs/S1172/index.js +3 -3
- package/cjs/S1172/meta.js +3 -3
- package/cjs/S1172/rule.js +3 -3
- package/cjs/S1192/config.js +3 -3
- package/cjs/S1192/generated-meta.js +5 -4
- package/cjs/S1192/index.js +3 -3
- package/cjs/S1192/meta.js +3 -3
- package/cjs/S1192/rule.js +5 -5
- package/cjs/S1219/generated-meta.js +5 -4
- package/cjs/S1219/index.js +3 -3
- package/cjs/S1219/meta.js +3 -3
- package/cjs/S1219/rule.js +3 -3
- package/cjs/S1226/generated-meta.js +5 -4
- package/cjs/S1226/index.js +3 -3
- package/cjs/S1226/meta.js +3 -3
- package/cjs/S1226/rule.js +3 -3
- package/cjs/S124/config.js +3 -3
- package/cjs/S124/generated-meta.js +5 -4
- package/cjs/S124/index.js +3 -3
- package/cjs/S124/meta.js +3 -3
- package/cjs/S124/rule.js +3 -3
- package/cjs/{S2255 → S1244}/generated-meta.js +11 -10
- package/cjs/{S4784 → S1244}/index.js +3 -3
- package/cjs/{S4817 → S1244}/meta.js +4 -4
- package/cjs/S1244/rule.js +265 -0
- package/cjs/S125/generated-meta.js +6 -5
- package/cjs/S125/index.js +3 -3
- package/cjs/S125/meta.js +3 -3
- package/cjs/S125/rule.js +67 -20
- package/cjs/S126/generated-meta.js +5 -4
- package/cjs/S126/index.js +3 -3
- package/cjs/S126/meta.js +3 -3
- package/cjs/S126/rule.js +3 -3
- package/cjs/S1264/generated-meta.js +5 -4
- package/cjs/S1264/index.js +3 -3
- package/cjs/S1264/meta.js +3 -3
- package/cjs/S1264/rule.js +3 -3
- package/cjs/S128/generated-meta.js +5 -4
- package/cjs/S128/index.js +3 -3
- package/cjs/S128/meta.js +3 -3
- package/cjs/S128/rule.js +3 -3
- package/cjs/S1291/generated-meta.js +5 -4
- package/cjs/S1291/index.js +3 -3
- package/cjs/S1291/meta.js +3 -3
- package/cjs/S1291/rule.js +3 -3
- package/cjs/S1301/generated-meta.js +6 -5
- package/cjs/S1301/index.js +3 -3
- package/cjs/S1301/meta.js +3 -3
- package/cjs/S1301/rule.js +141 -3
- package/cjs/S1313/generated-meta.js +7 -6
- package/cjs/S1313/index.js +3 -3
- package/cjs/S1313/meta.js +3 -3
- package/cjs/S1313/rule.js +3 -3
- package/cjs/S134/config.js +4 -4
- package/cjs/S134/generated-meta.js +5 -4
- package/cjs/S134/index.js +3 -3
- package/cjs/S134/meta.js +3 -3
- package/cjs/S134/rule.js +3 -3
- package/cjs/S135/generated-meta.js +5 -4
- package/cjs/S135/index.js +3 -3
- package/cjs/S135/meta.js +3 -3
- package/cjs/S135/rule.js +3 -3
- package/cjs/S138/config.js +3 -3
- package/cjs/S138/generated-meta.js +5 -4
- package/cjs/S138/index.js +3 -3
- package/cjs/S138/meta.js +3 -3
- package/cjs/S138/rule.js +3 -3
- package/cjs/S1439/generated-meta.js +5 -4
- package/cjs/S1439/index.js +3 -3
- package/cjs/S1439/meta.js +3 -3
- package/cjs/S1439/rule.js +3 -3
- package/cjs/S1444/generated-meta.js +5 -4
- package/cjs/S1444/index.js +3 -3
- package/cjs/S1444/meta.js +3 -3
- package/cjs/S1444/rule.js +3 -3
- package/cjs/S1451/config.js +3 -3
- package/cjs/S1451/generated-meta.js +5 -4
- package/cjs/S1451/index.js +3 -3
- package/cjs/S1451/meta.js +3 -3
- package/cjs/S1451/rule.js +3 -3
- package/cjs/S1472/generated-meta.js +5 -4
- package/cjs/S1472/index.js +3 -3
- package/cjs/S1472/meta.js +3 -3
- package/cjs/S1472/rule.js +3 -3
- package/cjs/S1479/config.js +3 -3
- package/cjs/S1479/generated-meta.js +5 -4
- package/cjs/S1479/index.js +3 -3
- package/cjs/S1479/meta.js +3 -3
- package/cjs/S1479/rule.js +3 -3
- package/cjs/S1481/generated-meta.js +5 -4
- package/cjs/S1481/index.js +3 -3
- package/cjs/S1481/meta.js +3 -3
- package/cjs/S1481/rule.js +3 -3
- package/cjs/S1488/generated-meta.js +5 -4
- package/cjs/S1488/index.js +3 -3
- package/cjs/S1488/meta.js +3 -3
- package/cjs/S1488/rule.js +3 -3
- package/cjs/S1515/generated-meta.js +5 -4
- package/cjs/S1515/index.js +3 -3
- package/cjs/S1515/meta.js +3 -3
- package/cjs/S1515/rule.js +3 -3
- package/cjs/S1523/generated-meta.js +6 -5
- package/cjs/S1523/index.js +3 -3
- package/cjs/S1523/meta.js +3 -3
- package/cjs/S1523/rule.js +3 -3
- package/cjs/S1526/generated-meta.js +5 -4
- package/cjs/S1526/index.js +3 -3
- package/cjs/S1526/meta.js +3 -3
- package/cjs/S1526/rule.js +3 -3
- package/cjs/S1527/generated-meta.js +5 -4
- package/cjs/S1527/index.js +3 -3
- package/cjs/S1527/meta.js +3 -3
- package/cjs/S1527/rule.js +3 -3
- package/cjs/S1528/generated-meta.js +5 -4
- package/cjs/S1528/index.js +3 -3
- package/cjs/S1528/meta.js +3 -3
- package/cjs/S1529/generated-meta.js +5 -4
- package/cjs/S1529/index.js +3 -3
- package/cjs/S1529/meta.js +3 -3
- package/cjs/S1529/rule.js +3 -3
- package/cjs/S1530/generated-meta.js +5 -4
- package/cjs/S1530/index.js +3 -3
- package/cjs/S1530/meta.js +3 -3
- package/cjs/S1530/rule.js +3 -3
- package/cjs/S1533/generated-meta.js +5 -4
- package/cjs/S1533/index.js +3 -3
- package/cjs/S1533/meta.js +3 -3
- package/cjs/S1533/rule.js +3 -3
- package/cjs/S1535/generated-meta.js +5 -4
- package/cjs/S1535/index.js +3 -3
- package/cjs/S1535/meta.js +3 -3
- package/cjs/S1535/rule.js +3 -3
- package/cjs/S1541/config.js +3 -3
- package/cjs/S1541/generated-meta.js +5 -4
- package/cjs/S1541/index.js +3 -3
- package/cjs/S1541/meta.js +3 -3
- package/cjs/S1541/rule.js +3 -3
- package/cjs/S1607/generated-meta.js +5 -4
- package/cjs/S1607/index.js +3 -3
- package/cjs/S1607/meta.js +3 -3
- package/cjs/S1607/rule.js +75 -10
- package/cjs/S1764/generated-meta.js +5 -4
- package/cjs/S1764/index.js +3 -3
- package/cjs/S1764/meta.js +3 -3
- package/cjs/S1764/rule.js +3 -3
- package/cjs/S1821/generated-meta.js +5 -4
- package/cjs/S1821/index.js +3 -3
- package/cjs/S1821/meta.js +3 -3
- package/cjs/S1821/rule.js +3 -3
- package/cjs/S1848/generated-meta.js +5 -4
- package/cjs/S1848/index.js +3 -3
- package/cjs/S1848/meta.js +3 -3
- package/cjs/S1848/rule.js +3 -3
- package/cjs/S1854/generated-meta.js +5 -4
- package/cjs/S1854/index.js +3 -3
- package/cjs/S1854/meta.js +3 -3
- package/cjs/S1854/rule.js +3 -3
- package/cjs/S1862/generated-meta.js +5 -4
- package/cjs/S1862/index.js +3 -3
- package/cjs/S1862/meta.js +3 -3
- package/cjs/S1862/rule.js +3 -3
- package/cjs/S1871/generated-meta.js +5 -4
- package/cjs/S1871/index.js +3 -3
- package/cjs/S1871/meta.js +3 -3
- package/cjs/S1871/rule.js +3 -3
- package/cjs/S1874/generated-meta.js +5 -4
- package/cjs/S1874/index.js +3 -3
- package/cjs/S1874/meta.js +3 -3
- package/cjs/S1874/rule.js +3 -3
- package/cjs/S1940/generated-meta.js +5 -4
- package/cjs/S1940/index.js +3 -3
- package/cjs/S1940/meta.js +3 -3
- package/cjs/S1940/rule.js +3 -3
- package/cjs/S1994/generated-meta.js +5 -4
- package/cjs/S1994/index.js +3 -3
- package/cjs/S1994/meta.js +3 -3
- package/cjs/S1994/rule.js +3 -3
- package/cjs/S2004/config.js +3 -3
- package/cjs/S2004/generated-meta.js +5 -4
- package/cjs/S2004/index.js +3 -3
- package/cjs/S2004/meta.js +3 -3
- package/cjs/S2004/rule.js +3 -3
- package/cjs/S2068/config.js +3 -3
- package/cjs/S2068/generated-meta.js +5 -4
- package/cjs/S2068/index.js +3 -3
- package/cjs/S2068/meta.js +3 -3
- package/cjs/S2068/rule.js +28 -18
- package/cjs/S2077/generated-meta.js +6 -5
- package/cjs/S2077/index.js +3 -3
- package/cjs/S2077/meta.js +3 -3
- package/cjs/S2077/rule.js +35 -3
- package/cjs/S2092/generated-meta.js +6 -5
- package/cjs/S2092/index.js +3 -3
- package/cjs/S2092/meta.js +3 -3
- package/cjs/S2092/rule.js +3 -3
- package/cjs/S2123/generated-meta.js +5 -4
- package/cjs/S2123/index.js +3 -3
- package/cjs/S2123/meta.js +3 -3
- package/cjs/S2123/rule.js +3 -3
- package/cjs/S2137/generated-meta.js +5 -4
- package/cjs/S2137/index.js +3 -3
- package/cjs/S2137/meta.js +3 -3
- package/cjs/S2137/rule.js +3 -3
- package/cjs/S2138/generated-meta.js +5 -4
- package/cjs/S2138/index.js +3 -3
- package/cjs/S2138/meta.js +3 -3
- package/cjs/S2138/rule.js +3 -3
- package/cjs/S2187/generated-meta.js +5 -4
- package/cjs/S2187/index.js +3 -3
- package/cjs/S2187/meta.js +3 -3
- package/cjs/S2187/rule.js +53 -16
- package/cjs/S2201/generated-meta.js +5 -4
- package/cjs/S2201/index.js +3 -3
- package/cjs/S2201/meta.js +3 -3
- package/cjs/S2201/rule.js +3 -3
- package/cjs/S2208/generated-meta.js +6 -4
- package/cjs/S2208/index.js +3 -3
- package/cjs/S2208/meta.js +3 -3
- package/cjs/S2208/rule.js +3 -3
- package/cjs/S2234/generated-meta.js +5 -4
- package/cjs/S2234/index.js +3 -3
- package/cjs/S2234/meta.js +3 -3
- package/cjs/S2234/rule.js +148 -5
- package/cjs/S2245/generated-meta.js +6 -5
- package/cjs/S2245/index.js +3 -3
- package/cjs/S2245/meta.js +3 -3
- package/cjs/S2245/rule.js +3 -3
- package/cjs/S2251/generated-meta.js +5 -4
- package/cjs/S2251/index.js +3 -3
- package/cjs/S2251/meta.js +3 -3
- package/cjs/S2251/rule.js +3 -3
- package/cjs/S2259/generated-meta.js +5 -4
- package/cjs/S2259/index.js +3 -3
- package/cjs/S2259/meta.js +3 -3
- package/cjs/S2259/rule.js +3 -3
- package/cjs/S2301/generated-meta.js +5 -4
- package/cjs/S2301/index.js +3 -3
- package/cjs/S2301/meta.js +3 -3
- package/cjs/S2301/rule.js +10 -4
- package/cjs/S2310/generated-meta.js +5 -4
- package/cjs/S2310/index.js +3 -3
- package/cjs/S2310/meta.js +3 -3
- package/cjs/S2310/rule.js +3 -3
- package/cjs/S2392/generated-meta.js +5 -4
- package/cjs/S2392/index.js +3 -3
- package/cjs/S2392/meta.js +3 -3
- package/cjs/S2392/rule.js +44 -3
- package/cjs/S2424/generated-meta.js +5 -4
- package/cjs/S2424/index.js +3 -3
- package/cjs/S2424/meta.js +3 -3
- package/cjs/S2424/rule.js +3 -3
- package/cjs/S2428/generated-meta.js +5 -4
- package/cjs/S2428/index.js +3 -3
- package/cjs/S2428/meta.js +3 -3
- package/cjs/S2428/rule.js +3 -3
- package/cjs/S2486/generated-meta.js +5 -4
- package/cjs/S2486/index.js +3 -3
- package/cjs/S2486/meta.js +3 -3
- package/cjs/S2486/rule.js +3 -3
- package/cjs/S2589/generated-meta.js +5 -4
- package/cjs/S2589/index.js +3 -3
- package/cjs/S2589/meta.js +3 -3
- package/cjs/S2589/rule.js +3 -3
- package/cjs/S2598/generated-meta.js +5 -4
- package/cjs/S2598/index.js +3 -3
- package/cjs/S2598/meta.js +3 -3
- package/cjs/S2598/rule.js +3 -3
- package/cjs/S2612/generated-meta.js +5 -4
- package/cjs/S2612/index.js +3 -3
- package/cjs/S2612/meta.js +3 -3
- package/cjs/S2612/rule.js +3 -3
- package/cjs/S2639/generated-meta.js +5 -4
- package/cjs/S2639/index.js +3 -3
- package/cjs/S2639/meta.js +3 -3
- package/cjs/S2639/rule.js +3 -3
- package/cjs/S2681/generated-meta.js +5 -4
- package/cjs/S2681/index.js +3 -3
- package/cjs/S2681/meta.js +3 -3
- package/cjs/S2681/rule.js +3 -3
- package/cjs/S2692/generated-meta.js +5 -4
- package/cjs/S2692/index.js +3 -3
- package/cjs/S2692/meta.js +3 -3
- package/cjs/S2692/rule.js +3 -3
- package/cjs/S2699/generated-meta.js +5 -4
- package/cjs/S2699/index.js +3 -3
- package/cjs/S2699/meta.js +3 -3
- package/cjs/S2699/rule.js +19 -5
- package/cjs/S2703/generated-meta.js +5 -4
- package/cjs/S2703/index.js +3 -3
- package/cjs/S2703/meta.js +3 -3
- package/cjs/S2703/rule.js +3 -3
- package/cjs/S2737/generated-meta.js +5 -4
- package/cjs/S2737/index.js +3 -3
- package/cjs/S2737/meta.js +3 -3
- package/cjs/S2737/rule.js +3 -3
- package/cjs/S2755/generated-meta.js +5 -4
- package/cjs/S2755/index.js +3 -3
- package/cjs/S2755/meta.js +3 -3
- package/cjs/S2755/rule.js +3 -3
- package/cjs/S2757/generated-meta.js +5 -4
- package/cjs/S2757/index.js +3 -3
- package/cjs/S2757/meta.js +3 -3
- package/cjs/S2757/rule.js +3 -3
- package/cjs/S2817/generated-meta.js +5 -4
- package/cjs/S2817/index.js +3 -3
- package/cjs/S2817/meta.js +3 -3
- package/cjs/S2817/rule.js +3 -3
- package/cjs/S2819/generated-meta.js +5 -4
- package/cjs/S2819/index.js +3 -3
- package/cjs/S2819/meta.js +3 -3
- package/cjs/S2819/rule.js +3 -3
- package/cjs/S2870/generated-meta.js +5 -4
- package/cjs/S2870/index.js +3 -3
- package/cjs/S2870/meta.js +3 -3
- package/cjs/S2870/rule.js +3 -3
- package/cjs/S2871/generated-meta.js +5 -4
- package/cjs/S2871/index.js +3 -3
- package/cjs/S2871/meta.js +3 -3
- package/cjs/S2871/rule.js +88 -4
- package/cjs/S2970/generated-meta.js +5 -4
- package/cjs/S2970/index.js +3 -3
- package/cjs/S2970/meta.js +3 -3
- package/cjs/S2970/rule.js +3 -3
- package/cjs/S2990/generated-meta.js +5 -4
- package/cjs/S2990/index.js +3 -3
- package/cjs/S2990/meta.js +3 -3
- package/cjs/S2990/rule.js +3 -3
- package/cjs/S2999/config.js +3 -3
- package/cjs/S2999/generated-meta.js +5 -4
- package/cjs/S2999/index.js +3 -3
- package/cjs/S2999/meta.js +3 -3
- package/cjs/S2999/rule.js +3 -3
- package/cjs/S3001/generated-meta.js +5 -4
- package/cjs/S3001/index.js +3 -3
- package/cjs/S3001/meta.js +3 -3
- package/cjs/S3001/rule.js +3 -3
- package/cjs/S3003/generated-meta.js +5 -4
- package/cjs/S3003/index.js +3 -3
- package/cjs/S3003/meta.js +3 -3
- package/cjs/S3003/rule.js +3 -3
- package/cjs/S3317/generated-meta.js +6 -4
- package/cjs/S3317/index.js +3 -3
- package/cjs/S3317/meta.js +3 -3
- package/cjs/S3317/rule.js +3 -3
- package/cjs/S3330/generated-meta.js +6 -5
- package/cjs/S3330/index.js +3 -3
- package/cjs/S3330/meta.js +3 -3
- package/cjs/S3330/rule.js +3 -3
- package/cjs/S3358/generated-meta.js +5 -4
- package/cjs/S3358/index.js +3 -3
- package/cjs/S3358/meta.js +3 -3
- package/cjs/S3358/rule.js +3 -3
- package/cjs/S3402/generated-meta.js +5 -4
- package/cjs/S3402/index.js +3 -3
- package/cjs/S3402/meta.js +3 -3
- package/cjs/S3402/rule.js +3 -3
- package/cjs/S3403/generated-meta.js +5 -4
- package/cjs/S3403/index.js +3 -3
- package/cjs/S3403/meta.js +3 -3
- package/cjs/S3403/rule.js +24 -4
- package/cjs/S3415/generated-meta.js +5 -4
- package/cjs/S3415/index.js +3 -3
- package/cjs/S3415/meta.js +3 -3
- package/cjs/S3415/rule.js +3 -3
- package/cjs/S3499/generated-meta.js +6 -4
- package/cjs/S3499/index.js +3 -3
- package/cjs/S3499/meta.js +3 -3
- package/cjs/S3499/rule.js +3 -3
- package/cjs/S3500/generated-meta.js +6 -4
- package/cjs/S3500/index.js +3 -3
- package/cjs/S3500/meta.js +3 -3
- package/cjs/S3500/rule.js +3 -3
- package/cjs/S3513/generated-meta.js +6 -4
- package/cjs/S3513/index.js +3 -3
- package/cjs/S3513/meta.js +3 -3
- package/cjs/S3513/rule.js +3 -3
- package/cjs/S3514/generated-meta.js +6 -4
- package/cjs/S3514/index.js +3 -3
- package/cjs/S3514/meta.js +3 -3
- package/cjs/S3514/rule.js +3 -3
- package/cjs/S3516/generated-meta.js +5 -4
- package/cjs/S3516/index.js +3 -3
- package/cjs/S3516/meta.js +3 -3
- package/cjs/S3516/rule.js +102 -3
- package/cjs/S3524/config.js +3 -3
- package/cjs/S3524/generated-meta.js +6 -4
- package/cjs/S3524/index.js +3 -3
- package/cjs/S3524/meta.js +3 -3
- package/cjs/S3524/rule.js +3 -3
- package/cjs/S3525/generated-meta.js +6 -4
- package/cjs/S3525/index.js +3 -3
- package/cjs/S3525/meta.js +3 -3
- package/cjs/S3525/rule.js +3 -3
- package/cjs/S3531/generated-meta.js +6 -4
- package/cjs/S3531/index.js +3 -3
- package/cjs/S3531/meta.js +3 -3
- package/cjs/S3531/rule.js +3 -3
- package/cjs/S3533/generated-meta.js +6 -4
- package/cjs/S3533/index.js +3 -3
- package/cjs/S3533/meta.js +3 -3
- package/cjs/S3533/rule.js +3 -3
- package/cjs/S3579/generated-meta.js +5 -4
- package/cjs/S3579/index.js +3 -3
- package/cjs/S3579/meta.js +3 -3
- package/cjs/S3579/rule.js +3 -3
- package/cjs/S3616/generated-meta.js +5 -4
- package/cjs/S3616/index.js +3 -3
- package/cjs/S3616/meta.js +3 -3
- package/cjs/S3616/rule.js +3 -3
- package/cjs/S3626/generated-meta.js +5 -4
- package/cjs/S3626/index.js +3 -3
- package/cjs/S3626/meta.js +3 -3
- package/cjs/S3626/rule.js +4 -4
- package/cjs/S3686/generated-meta.js +5 -4
- package/cjs/S3686/index.js +3 -3
- package/cjs/S3686/meta.js +3 -3
- package/cjs/S3686/rule.js +3 -3
- package/cjs/S3699/generated-meta.js +5 -4
- package/cjs/S3699/index.js +3 -3
- package/cjs/S3699/meta.js +3 -3
- package/cjs/S3699/rule.js +4 -4
- package/cjs/S3735/generated-meta.js +5 -4
- package/cjs/S3735/index.js +3 -3
- package/cjs/S3735/meta.js +3 -3
- package/cjs/S3735/rule.js +3 -3
- package/cjs/S3757/generated-meta.js +5 -4
- package/cjs/S3757/index.js +3 -3
- package/cjs/S3757/meta.js +3 -3
- package/cjs/S3757/rule.js +6 -4
- package/cjs/S3758/generated-meta.js +5 -4
- package/cjs/S3758/index.js +3 -3
- package/cjs/S3758/meta.js +3 -3
- package/cjs/S3758/rule.js +3 -3
- package/cjs/S3760/generated-meta.js +5 -4
- package/cjs/S3760/index.js +3 -3
- package/cjs/S3760/meta.js +3 -3
- package/cjs/S3760/rule.js +3 -3
- package/cjs/S3776/config.js +3 -3
- package/cjs/S3776/generated-meta.js +5 -4
- package/cjs/S3776/index.js +3 -3
- package/cjs/S3776/meta.js +12 -4
- package/cjs/S3776/rule.js +13 -16
- package/cjs/S3782/generated-meta.js +5 -4
- package/cjs/S3782/index.js +3 -3
- package/cjs/S3782/meta.js +3 -3
- package/cjs/S3782/rule.js +4 -4
- package/cjs/S3785/generated-meta.js +5 -4
- package/cjs/S3785/index.js +3 -3
- package/cjs/S3785/meta.js +3 -3
- package/cjs/S3785/rule.js +3 -3
- package/cjs/S3796/generated-meta.js +5 -4
- package/cjs/S3796/index.js +3 -3
- package/cjs/S3796/meta.js +3 -3
- package/cjs/S3796/rule.js +3 -3
- package/cjs/S3798/generated-meta.js +5 -4
- package/cjs/S3798/index.js +3 -3
- package/cjs/S3798/meta.js +3 -3
- package/cjs/S3798/rule.js +57 -17
- package/cjs/S3800/generated-meta.js +5 -4
- package/cjs/S3800/index.js +3 -3
- package/cjs/S3800/meta.js +3 -3
- package/cjs/S3800/rule.js +3 -3
- package/cjs/S3801/generated-meta.js +5 -4
- package/cjs/S3801/index.js +3 -3
- package/cjs/S3801/meta.js +3 -3
- package/cjs/S3801/rule.js +3 -3
- package/cjs/S3827/generated-meta.js +5 -4
- package/cjs/S3827/index.js +3 -3
- package/cjs/S3827/meta.js +3 -3
- package/cjs/S3923/generated-meta.js +5 -4
- package/cjs/S3923/index.js +3 -3
- package/cjs/S3923/meta.js +3 -3
- package/cjs/S3923/rule.js +3 -3
- package/cjs/S3972/generated-meta.js +5 -4
- package/cjs/S3972/index.js +3 -3
- package/cjs/S3972/meta.js +3 -3
- package/cjs/S3972/rule.js +3 -3
- package/cjs/S3973/generated-meta.js +5 -4
- package/cjs/S3973/index.js +3 -3
- package/cjs/S3973/meta.js +3 -3
- package/cjs/S3973/rule.js +3 -3
- package/cjs/S3981/generated-meta.js +5 -4
- package/cjs/S3981/index.js +3 -3
- package/cjs/S3981/meta.js +3 -3
- package/cjs/S3981/rule.js +3 -3
- package/cjs/S3984/generated-meta.js +5 -4
- package/cjs/S3984/index.js +3 -3
- package/cjs/S3984/meta.js +3 -3
- package/cjs/S3984/rule.js +3 -3
- package/cjs/S4030/generated-meta.js +5 -4
- package/cjs/S4030/index.js +3 -3
- package/cjs/S4030/meta.js +3 -3
- package/cjs/S4030/rule.js +5 -5
- package/cjs/S4036/generated-meta.js +6 -5
- package/cjs/S4036/index.js +3 -3
- package/cjs/S4036/meta.js +3 -3
- package/cjs/S4036/rule.js +4 -4
- package/cjs/S4043/generated-meta.js +5 -4
- package/cjs/S4043/index.js +3 -3
- package/cjs/S4043/meta.js +3 -3
- package/cjs/S4043/rule.js +3 -3
- package/cjs/S4139/generated-meta.js +5 -4
- package/cjs/S4139/index.js +3 -3
- package/cjs/S4139/meta.js +3 -3
- package/cjs/S4139/rule.js +3 -3
- package/cjs/S4143/generated-meta.js +5 -4
- package/cjs/S4143/index.js +3 -3
- package/cjs/S4143/meta.js +3 -3
- package/cjs/S4143/rule.js +3 -3
- package/cjs/S4144/config.js +3 -3
- package/cjs/S4144/generated-meta.js +5 -4
- package/cjs/S4144/index.js +3 -3
- package/cjs/S4144/meta.js +3 -3
- package/cjs/S4144/rule.js +3 -3
- package/cjs/S4158/generated-meta.js +5 -4
- package/cjs/S4158/index.js +3 -3
- package/cjs/S4158/meta.js +3 -3
- package/cjs/S4158/rule.js +4 -4
- package/cjs/S4165/generated-meta.js +5 -4
- package/cjs/S4165/index.js +3 -3
- package/cjs/S4165/meta.js +3 -3
- package/cjs/S4165/rule.js +3 -3
- package/cjs/S4322/generated-meta.js +5 -4
- package/cjs/S4322/index.js +3 -3
- package/cjs/S4322/meta.js +3 -3
- package/cjs/S4322/rule.js +3 -3
- package/cjs/S4323/generated-meta.js +5 -4
- package/cjs/S4323/index.js +3 -3
- package/cjs/S4323/meta.js +3 -3
- package/cjs/S4323/rule.js +3 -3
- package/cjs/S4324/generated-meta.js +5 -4
- package/cjs/S4324/index.js +3 -3
- package/cjs/S4324/meta.js +3 -3
- package/cjs/S4324/rule.js +3 -3
- package/cjs/S4328/config.js +3 -3
- package/cjs/S4328/generated-meta.js +5 -4
- package/cjs/S4328/index.js +3 -3
- package/cjs/S4328/meta.js +3 -3
- package/cjs/S4328/rule.js +10 -5
- package/cjs/S4335/generated-meta.js +5 -4
- package/cjs/S4335/index.js +3 -3
- package/cjs/S4335/meta.js +3 -3
- package/cjs/S4335/rule.js +3 -3
- package/cjs/S4423/generated-meta.js +5 -4
- package/cjs/S4423/index.js +3 -3
- package/cjs/S4423/meta.js +3 -3
- package/cjs/S4423/rule.aws.js +3 -3
- package/cjs/S4423/rule.js +3 -3
- package/cjs/S4423/rule.lib.js +3 -3
- package/cjs/S4426/generated-meta.js +5 -4
- package/cjs/S4426/index.js +3 -3
- package/cjs/S4426/meta.js +3 -3
- package/cjs/S4426/rule.js +3 -3
- package/cjs/S4502/generated-meta.js +6 -5
- package/cjs/S4502/index.js +3 -3
- package/cjs/S4502/meta.js +3 -3
- package/cjs/S4502/rule.js +3 -3
- package/cjs/S4507/generated-meta.js +6 -5
- package/cjs/S4507/index.js +3 -3
- package/cjs/S4507/meta.js +3 -3
- package/cjs/S4507/rule.js +3 -3
- package/cjs/S4524/generated-meta.js +5 -4
- package/cjs/S4524/index.js +3 -3
- package/cjs/S4524/meta.js +3 -3
- package/cjs/S4524/rule.js +3 -3
- package/cjs/S4619/generated-meta.js +5 -4
- package/cjs/S4619/index.js +3 -3
- package/cjs/S4619/meta.js +3 -3
- package/cjs/S4619/rule.js +3 -3
- package/cjs/S4621/generated-meta.js +5 -4
- package/cjs/S4621/index.js +3 -3
- package/cjs/S4621/meta.js +3 -3
- package/cjs/S4621/rule.js +3 -3
- package/cjs/S4622/config.js +3 -3
- package/cjs/S4622/generated-meta.js +5 -4
- package/cjs/S4622/index.js +3 -3
- package/cjs/S4622/meta.js +3 -3
- package/cjs/S4622/rule.js +3 -3
- package/cjs/S4623/generated-meta.js +5 -4
- package/cjs/S4623/index.js +3 -3
- package/cjs/S4623/meta.js +3 -3
- package/cjs/S4623/rule.js +3 -3
- package/cjs/S4624/generated-meta.js +6 -4
- package/cjs/S4624/index.js +3 -3
- package/cjs/S4624/meta.js +3 -3
- package/cjs/S4624/rule.js +5 -10
- package/cjs/S4634/generated-meta.js +6 -4
- package/cjs/S4634/index.js +3 -3
- package/cjs/S4634/meta.js +3 -3
- package/cjs/S4634/rule.js +3 -3
- package/cjs/S4721/generated-meta.js +8 -7
- package/cjs/S4721/index.js +3 -3
- package/cjs/S4721/meta.js +3 -3
- package/cjs/S4721/rule.js +3 -3
- package/cjs/S4782/generated-meta.js +5 -4
- package/cjs/S4782/index.js +3 -3
- package/cjs/S4782/meta.js +3 -3
- package/cjs/S4782/rule.js +99 -17
- package/cjs/S4790/generated-meta.js +6 -5
- package/cjs/S4790/index.js +3 -3
- package/cjs/S4790/meta.js +3 -3
- package/cjs/S4790/rule.js +220 -5
- package/cjs/S4798/generated-meta.js +5 -4
- package/cjs/S4798/index.js +3 -3
- package/cjs/S4798/meta.js +3 -3
- package/cjs/S4798/rule.js +3 -3
- package/cjs/S4822/generated-meta.js +6 -4
- package/cjs/S4822/index.js +3 -3
- package/cjs/S4822/meta.js +3 -3
- package/cjs/S4822/rule.js +3 -3
- package/cjs/S4830/generated-meta.js +5 -4
- package/cjs/S4830/index.js +3 -3
- package/cjs/S4830/meta.js +3 -3
- package/cjs/S4830/rule.js +3 -3
- package/cjs/S5042/generated-meta.js +9 -8
- package/cjs/S5042/index.js +3 -3
- package/cjs/S5042/meta.js +3 -3
- package/cjs/S5042/rule.js +3 -3
- package/cjs/S5122/generated-meta.js +6 -5
- package/cjs/S5122/index.js +3 -3
- package/cjs/S5122/meta.js +3 -3
- package/cjs/S5122/rule.js +3 -3
- package/cjs/S5148/generated-meta.js +6 -5
- package/cjs/S5148/index.js +3 -3
- package/cjs/S5148/meta.js +3 -3
- package/cjs/S5148/rule.js +3 -3
- package/cjs/S5247/generated-meta.js +6 -5
- package/cjs/S5247/index.js +3 -3
- package/cjs/S5247/meta.js +3 -3
- package/cjs/S5247/rule.js +3 -3
- package/cjs/S5256/generated-meta.js +5 -4
- package/cjs/S5256/index.js +3 -3
- package/cjs/S5256/meta.js +3 -3
- package/cjs/S5256/rule.js +3 -3
- package/cjs/S5257/generated-meta.js +5 -4
- package/cjs/S5257/index.js +3 -3
- package/cjs/S5257/meta.js +3 -3
- package/cjs/S5257/rule.js +3 -3
- package/cjs/S5260/generated-meta.js +5 -4
- package/cjs/S5260/index.js +3 -3
- package/cjs/S5260/meta.js +3 -3
- package/cjs/S5260/rule.js +3 -3
- package/cjs/S5264/generated-meta.js +5 -4
- package/cjs/S5264/index.js +3 -3
- package/cjs/S5264/meta.js +3 -3
- package/cjs/S5264/rule.js +3 -3
- package/cjs/S5332/generated-meta.js +6 -5
- package/cjs/S5332/index.js +3 -3
- package/cjs/S5332/meta.js +3 -3
- package/cjs/S5332/rule.aws.js +3 -3
- package/cjs/S5332/rule.js +3 -3
- package/cjs/S5332/rule.lib.js +57 -49
- package/cjs/S5443/generated-meta.js +6 -5
- package/cjs/S5443/index.js +3 -3
- package/cjs/S5443/meta.js +3 -3
- package/cjs/S5443/rule.js +3 -3
- package/cjs/S5527/generated-meta.js +5 -4
- package/cjs/S5527/index.js +3 -3
- package/cjs/S5527/meta.js +3 -3
- package/cjs/S5527/rule.js +3 -3
- package/cjs/S5542/generated-meta.js +5 -4
- package/cjs/S5542/index.js +3 -3
- package/cjs/S5542/meta.js +3 -3
- package/cjs/S5542/rule.js +3 -3
- package/cjs/S5547/generated-meta.js +5 -4
- package/cjs/S5547/index.js +3 -3
- package/cjs/S5547/meta.js +3 -3
- package/cjs/S5547/rule.js +3 -3
- package/cjs/S5604/config.js +3 -3
- package/cjs/S5604/generated-meta.js +8 -7
- package/cjs/S5604/index.js +3 -3
- package/cjs/S5604/meta.js +3 -3
- package/cjs/S5604/rule.js +3 -3
- package/cjs/S5659/generated-meta.js +5 -4
- package/cjs/S5659/index.js +3 -3
- package/cjs/S5659/meta.js +3 -3
- package/cjs/S5659/rule.js +3 -3
- package/cjs/S5689/generated-meta.js +6 -5
- package/cjs/S5689/index.js +3 -3
- package/cjs/S5689/meta.js +3 -3
- package/cjs/S5689/rule.js +3 -3
- package/cjs/S5691/generated-meta.js +8 -7
- package/cjs/S5691/index.js +3 -3
- package/cjs/S5691/meta.js +3 -3
- package/cjs/S5691/rule.js +3 -3
- package/cjs/S5693/config.js +3 -3
- package/cjs/S5693/generated-meta.js +6 -5
- package/cjs/S5693/index.js +3 -3
- package/cjs/S5693/meta.js +3 -3
- package/cjs/S5693/rule.js +48 -4
- package/cjs/S5725/generated-meta.js +6 -5
- package/cjs/S5725/index.js +3 -3
- package/cjs/S5725/meta.js +3 -3
- package/cjs/S5725/rule.js +78 -15
- package/cjs/S5728/generated-meta.js +6 -5
- package/cjs/S5728/index.js +3 -3
- package/cjs/S5728/meta.js +3 -3
- package/cjs/S5728/rule.js +3 -3
- package/cjs/S5730/generated-meta.js +8 -7
- package/cjs/S5730/index.js +3 -3
- package/cjs/S5730/meta.js +3 -3
- package/cjs/S5730/rule.js +3 -3
- package/cjs/S5732/generated-meta.js +8 -7
- package/cjs/S5732/index.js +3 -3
- package/cjs/S5732/meta.js +3 -3
- package/cjs/S5732/rule.js +3 -3
- package/cjs/S5734/generated-meta.js +6 -5
- package/cjs/S5734/index.js +3 -3
- package/cjs/S5734/meta.js +3 -3
- package/cjs/S5734/rule.js +3 -3
- package/cjs/S5736/generated-meta.js +6 -5
- package/cjs/S5736/index.js +3 -3
- package/cjs/S5736/meta.js +3 -3
- package/cjs/S5736/rule.js +3 -3
- package/cjs/S5739/generated-meta.js +6 -5
- package/cjs/S5739/index.js +3 -3
- package/cjs/S5739/meta.js +3 -3
- package/cjs/S5739/rule.js +3 -3
- package/cjs/S5757/generated-meta.js +8 -7
- package/cjs/S5757/index.js +3 -3
- package/cjs/S5757/meta.js +3 -3
- package/cjs/S5757/rule.js +3 -3
- package/cjs/S5759/generated-meta.js +8 -7
- package/cjs/S5759/index.js +3 -3
- package/cjs/S5759/meta.js +3 -3
- package/cjs/S5759/rule.js +3 -3
- package/cjs/S5842/generated-meta.js +5 -4
- package/cjs/S5842/index.js +3 -3
- package/cjs/S5842/meta.js +3 -3
- package/cjs/S5842/rule.js +3 -3
- package/cjs/S5843/config.js +3 -3
- package/cjs/S5843/generated-meta.js +5 -4
- package/cjs/S5843/index.js +3 -3
- package/cjs/S5843/meta.js +3 -3
- package/cjs/S5843/rule.js +3 -3
- package/cjs/S5845/generated-meta.js +52 -0
- package/cjs/{S2255 → S5845}/index.js +3 -3
- package/cjs/{S2255 → S5845}/meta.js +4 -4
- package/cjs/S5845/rule.js +296 -0
- package/cjs/S5850/generated-meta.js +5 -4
- package/cjs/S5850/index.js +3 -3
- package/cjs/S5850/meta.js +3 -3
- package/cjs/S5850/rule.js +3 -3
- package/cjs/S5852/generated-meta.js +6 -5
- package/cjs/S5852/index.js +3 -3
- package/cjs/S5852/meta.js +3 -3
- package/cjs/S5852/rule.js +14 -6
- package/cjs/S5856/generated-meta.js +5 -4
- package/cjs/S5856/index.js +3 -3
- package/cjs/S5856/meta.js +3 -3
- package/cjs/S5856/rule.js +3 -3
- package/cjs/S5860/generated-meta.js +5 -4
- package/cjs/S5860/index.js +3 -3
- package/cjs/S5860/meta.js +3 -3
- package/cjs/S5860/rule.js +3 -3
- package/cjs/S5863/generated-meta.js +5 -4
- package/cjs/S5863/index.js +3 -3
- package/cjs/S5863/meta.js +3 -3
- package/cjs/S5863/rule.js +3 -3
- package/cjs/S5867/generated-meta.js +5 -4
- package/cjs/S5867/index.js +3 -3
- package/cjs/S5867/meta.js +3 -3
- package/cjs/S5867/rule.js +3 -3
- package/cjs/S5868/generated-meta.js +5 -4
- package/cjs/S5868/index.js +3 -3
- package/cjs/S5868/meta.js +3 -3
- package/cjs/S5868/rule.js +57 -28
- package/cjs/S5869/generated-meta.js +5 -4
- package/cjs/S5869/index.js +3 -3
- package/cjs/S5869/meta.js +3 -3
- package/cjs/S5869/rule.js +3 -3
- package/cjs/S5876/generated-meta.js +5 -4
- package/cjs/S5876/index.js +3 -3
- package/cjs/S5876/meta.js +3 -3
- package/cjs/S5876/rule.js +3 -3
- package/cjs/S5906/assertion-suggestions.js +279 -0
- package/cjs/S5906/assertion-utils.js +103 -0
- package/cjs/S5906/cypress-suggestions.js +62 -0
- package/cjs/S5906/expect-chain.js +16 -0
- package/cjs/S5906/generated-meta.js +52 -0
- package/cjs/{S4787 → S5906}/index.js +3 -3
- package/cjs/{S4818 → S5906}/meta.js +4 -4
- package/cjs/S5906/playwright-suggestions.js +103 -0
- package/cjs/S5906/rule.js +365 -0
- package/cjs/S5914/generated-meta.js +52 -0
- package/cjs/{S4817 → S5914}/index.js +3 -3
- package/cjs/{S4787 → S5914}/meta.js +4 -4
- package/cjs/S5914/rule.js +213 -0
- package/cjs/S5958/generated-meta.js +5 -4
- package/cjs/S5958/index.js +3 -3
- package/cjs/S5958/meta.js +3 -3
- package/cjs/S5958/rule.js +3 -3
- package/cjs/S5973/generated-meta.js +5 -4
- package/cjs/S5973/index.js +3 -3
- package/cjs/S5973/meta.js +3 -3
- package/cjs/S5973/rule.js +4 -4
- package/cjs/S6019/generated-meta.js +5 -4
- package/cjs/S6019/index.js +3 -3
- package/cjs/S6019/meta.js +3 -3
- package/cjs/S6019/rule.js +3 -3
- package/cjs/S6035/generated-meta.js +5 -4
- package/cjs/S6035/index.js +3 -3
- package/cjs/S6035/meta.js +3 -3
- package/cjs/S6035/rule.js +3 -3
- package/cjs/S6079/generated-meta.js +5 -4
- package/cjs/S6079/index.js +3 -3
- package/cjs/S6079/meta.js +3 -3
- package/cjs/S6079/rule.js +3 -3
- package/cjs/S6080/generated-meta.js +5 -4
- package/cjs/S6080/index.js +3 -3
- package/cjs/S6080/meta.js +3 -3
- package/cjs/S6080/rule.js +3 -3
- package/cjs/S6092/generated-meta.js +5 -4
- package/cjs/S6092/index.js +3 -3
- package/cjs/S6092/meta.js +3 -3
- package/cjs/S6092/rule.js +3 -3
- package/cjs/S6249/generated-meta.js +6 -5
- package/cjs/S6249/index.js +3 -3
- package/cjs/S6249/meta.js +3 -3
- package/cjs/S6249/rule.js +3 -3
- package/cjs/S6252/generated-meta.js +6 -5
- package/cjs/S6252/index.js +3 -3
- package/cjs/S6252/meta.js +3 -3
- package/cjs/S6252/rule.js +3 -3
- package/cjs/S6265/generated-meta.js +6 -5
- package/cjs/S6265/index.js +3 -3
- package/cjs/S6265/meta.js +3 -3
- package/cjs/S6265/rule.js +3 -3
- package/cjs/S6268/generated-meta.js +6 -5
- package/cjs/S6268/index.js +3 -3
- package/cjs/S6268/meta.js +3 -3
- package/cjs/S6268/rule.js +3 -3
- package/cjs/S6270/generated-meta.js +6 -5
- package/cjs/S6270/index.js +3 -3
- package/cjs/S6270/meta.js +3 -3
- package/cjs/S6270/rule.js +3 -3
- package/cjs/S6275/generated-meta.js +6 -5
- package/cjs/S6275/index.js +3 -3
- package/cjs/S6275/meta.js +3 -3
- package/cjs/S6275/rule.js +3 -3
- package/cjs/S6281/generated-meta.js +6 -5
- package/cjs/S6281/index.js +3 -3
- package/cjs/S6281/meta.js +3 -3
- package/cjs/S6281/rule.js +10 -23
- package/cjs/S6302/generated-meta.js +6 -5
- package/cjs/S6302/index.js +3 -3
- package/cjs/S6302/meta.js +3 -3
- package/cjs/S6302/rule.js +3 -3
- package/cjs/S6303/generated-meta.js +6 -5
- package/cjs/S6303/index.js +3 -3
- package/cjs/S6303/meta.js +3 -3
- package/cjs/S6303/rule.js +3 -3
- package/cjs/S6304/generated-meta.js +6 -5
- package/cjs/S6304/index.js +3 -3
- package/cjs/S6304/meta.js +3 -3
- package/cjs/S6304/rule.js +3 -3
- package/cjs/S6308/generated-meta.js +6 -5
- package/cjs/S6308/index.js +3 -3
- package/cjs/S6308/meta.js +3 -3
- package/cjs/S6308/rule.js +3 -3
- package/cjs/S6317/generated-meta.js +5 -4
- package/cjs/S6317/index.js +3 -3
- package/cjs/S6317/meta.js +3 -3
- package/cjs/S6317/rule.js +3 -3
- package/cjs/S6319/generated-meta.js +6 -5
- package/cjs/S6319/index.js +3 -3
- package/cjs/S6319/meta.js +3 -3
- package/cjs/S6319/rule.js +3 -3
- package/cjs/S6321/generated-meta.js +5 -4
- package/cjs/S6321/index.js +3 -3
- package/cjs/S6321/meta.js +3 -3
- package/cjs/S6321/rule.js +3 -3
- package/cjs/S6323/generated-meta.js +5 -4
- package/cjs/S6323/index.js +3 -3
- package/cjs/S6323/meta.js +3 -3
- package/cjs/S6323/rule.js +3 -3
- package/cjs/S6324/generated-meta.js +5 -4
- package/cjs/S6324/index.js +3 -3
- package/cjs/S6324/meta.js +3 -3
- package/cjs/S6324/rule.js +8 -8
- package/cjs/S6326/generated-meta.js +5 -4
- package/cjs/S6326/index.js +3 -3
- package/cjs/S6326/meta.js +3 -3
- package/cjs/S6326/rule.js +3 -3
- package/cjs/S6327/generated-meta.js +6 -5
- package/cjs/S6327/index.js +3 -3
- package/cjs/S6327/meta.js +3 -3
- package/cjs/S6327/rule.js +3 -3
- package/cjs/S6328/generated-meta.js +5 -4
- package/cjs/S6328/index.js +3 -3
- package/cjs/S6328/meta.js +3 -3
- package/cjs/S6328/rule.js +3 -3
- package/cjs/S6329/generated-meta.js +6 -5
- package/cjs/S6329/index.js +3 -3
- package/cjs/S6329/meta.js +3 -3
- package/cjs/S6329/rule.js +3 -3
- package/cjs/S6330/generated-meta.js +6 -5
- package/cjs/S6330/index.js +3 -3
- package/cjs/S6330/meta.js +3 -3
- package/cjs/S6330/rule.js +3 -3
- package/cjs/S6331/generated-meta.js +5 -4
- package/cjs/S6331/index.js +3 -3
- package/cjs/S6331/meta.js +3 -3
- package/cjs/S6331/rule.js +3 -3
- package/cjs/S6332/generated-meta.js +6 -5
- package/cjs/S6332/index.js +3 -3
- package/cjs/S6332/meta.js +3 -3
- package/cjs/S6332/rule.js +3 -3
- package/cjs/S6333/generated-meta.js +6 -5
- package/cjs/S6333/index.js +3 -3
- package/cjs/S6333/meta.js +3 -3
- package/cjs/S6333/rule.js +3 -3
- package/cjs/S6351/generated-meta.js +5 -4
- package/cjs/S6351/index.js +3 -3
- package/cjs/S6351/meta.js +3 -3
- package/cjs/S6351/rule.js +3 -3
- package/cjs/S6353/generated-meta.js +5 -4
- package/cjs/S6353/index.js +3 -3
- package/cjs/S6353/meta.js +3 -3
- package/cjs/S6353/rule.js +3 -3
- package/cjs/S6397/generated-meta.js +5 -4
- package/cjs/S6397/index.js +3 -3
- package/cjs/S6397/meta.js +3 -3
- package/cjs/S6397/rule.js +3 -3
- package/cjs/S6418/config.js +3 -3
- package/cjs/S6418/generated-meta.js +5 -4
- package/cjs/S6418/index.js +3 -3
- package/cjs/S6418/meta.js +3 -3
- package/cjs/S6418/rule.js +3 -3
- package/cjs/S6426/generated-meta.js +5 -4
- package/cjs/S6426/index.js +3 -3
- package/cjs/S6426/meta.js +3 -3
- package/cjs/S6426/rule.js +9 -4
- package/cjs/S6437/generated-meta.js +5 -4
- package/cjs/S6437/index.js +3 -3
- package/cjs/S6437/meta.js +3 -3
- package/cjs/S6437/rule.js +12 -5
- package/cjs/S6439/generated-meta.js +6 -5
- package/cjs/S6439/index.js +3 -3
- package/cjs/S6439/meta.js +3 -3
- package/cjs/S6439/rule.js +3 -3
- package/cjs/S6442/generated-meta.js +6 -5
- package/cjs/S6442/index.js +3 -3
- package/cjs/S6442/meta.js +3 -3
- package/cjs/S6442/rule.js +3 -3
- package/cjs/S6443/generated-meta.js +6 -5
- package/cjs/S6443/index.js +3 -3
- package/cjs/S6443/meta.js +3 -3
- package/cjs/S6443/rule.js +3 -3
- package/cjs/S6486/generated-meta.js +5 -4
- package/cjs/S6486/index.js +3 -3
- package/cjs/S6486/meta.js +3 -3
- package/cjs/S6486/rule.js +8 -8
- package/cjs/S6564/generated-meta.js +5 -4
- package/cjs/S6564/index.js +3 -3
- package/cjs/S6564/meta.js +3 -3
- package/cjs/S6564/rule.js +3 -3
- package/cjs/S6594/generated-meta.js +5 -4
- package/cjs/S6594/index.js +3 -3
- package/cjs/S6594/meta.js +3 -3
- package/cjs/S6594/rule.js +3 -3
- package/cjs/S6627/generated-meta.js +5 -4
- package/cjs/S6627/index.js +3 -3
- package/cjs/S6627/meta.js +3 -3
- package/cjs/S6627/rule.js +3 -3
- package/cjs/S6759/generated-meta.js +5 -4
- package/cjs/S6759/index.js +3 -3
- package/cjs/S6759/meta.js +3 -3
- package/cjs/S6759/rule.js +34 -4
- package/cjs/S6958/generated-meta.js +5 -4
- package/cjs/S6958/index.js +3 -3
- package/cjs/S6958/meta.js +3 -3
- package/cjs/S6959/generated-meta.js +5 -4
- package/cjs/S6959/index.js +3 -3
- package/cjs/S6959/meta.js +3 -3
- package/cjs/S6959/rule.js +3 -3
- package/cjs/S7059/generated-meta.js +6 -4
- package/cjs/S7059/index.js +3 -3
- package/cjs/S7059/meta.js +3 -3
- package/cjs/S7059/rule.js +3 -3
- package/cjs/S7639/generated-meta.js +5 -4
- package/cjs/S7639/index.js +3 -3
- package/cjs/S7639/meta.js +3 -3
- package/cjs/S7639/rule.js +3 -3
- package/cjs/S7790/generated-meta.js +5 -4
- package/cjs/S7790/index.js +3 -3
- package/cjs/S7790/meta.js +3 -3
- package/cjs/S7790/rule.js +3 -3
- package/cjs/S8441/generated-meta.js +5 -4
- package/cjs/S8441/index.js +3 -3
- package/cjs/S8441/meta.js +3 -3
- package/cjs/S8441/rule.js +3 -3
- package/cjs/{S4817 → S8479}/generated-meta.js +12 -11
- package/cjs/S8479/index.js +21 -0
- package/cjs/S8479/meta.js +22 -0
- package/cjs/S8479/rule.js +239 -0
- package/cjs/S8754/generated-meta.js +52 -0
- package/cjs/S8754/index.js +21 -0
- package/cjs/{S5743 → S8754}/meta.js +4 -4
- package/cjs/S8754/rule.js +289 -0
- package/cjs/{S4784 → S8780}/generated-meta.js +12 -11
- package/cjs/S8780/index.js +21 -0
- package/cjs/S8780/meta.js +21 -0
- package/cjs/S8780/rule.js +321 -0
- package/cjs/S8781/generated-meta.js +52 -0
- package/cjs/S8781/index.js +21 -0
- package/cjs/S8781/meta.js +21 -0
- package/cjs/S8781/rule.js +112 -0
- package/cjs/S8782/generated-meta.js +52 -0
- package/cjs/S8782/index.js +21 -0
- package/cjs/S8782/meta.js +21 -0
- package/cjs/S8782/rule.js +148 -0
- package/cjs/S8783/generated-meta.js +52 -0
- package/cjs/S8783/index.js +21 -0
- package/cjs/S8783/meta.js +21 -0
- package/cjs/S8783/rule.js +167 -0
- package/cjs/{S4787 → S8786}/generated-meta.js +12 -11
- package/cjs/S8786/index.js +21 -0
- package/cjs/{S4784 → S8786}/meta.js +5 -4
- package/cjs/{S4818 → S8786}/rule.js +27 -23
- package/cjs/S881/generated-meta.js +5 -4
- package/cjs/S881/index.js +3 -3
- package/cjs/S881/meta.js +3 -3
- package/cjs/S881/rule.js +3 -3
- package/cjs/S888/generated-meta.js +5 -4
- package/cjs/S888/index.js +3 -3
- package/cjs/S888/meta.js +3 -3
- package/cjs/S888/rule.js +3 -3
- package/cjs/S930/generated-meta.js +5 -4
- package/cjs/S930/index.js +3 -3
- package/cjs/S930/meta.js +3 -3
- package/cjs/S930/rule.js +3 -3
- package/cjs/helpers/accessibility.js +3 -3
- package/cjs/helpers/assertions-chai-common.js +29 -0
- package/cjs/helpers/assertions-chai.js +331 -0
- package/cjs/helpers/assertions-cypress.js +95 -0
- package/cjs/helpers/assertions.js +285 -0
- package/cjs/helpers/ast.js +31 -1
- package/cjs/helpers/cache.js +3 -3
- package/cjs/helpers/chai.js +1 -1
- package/cjs/helpers/collection.js +3 -3
- package/cjs/helpers/configs.js +39 -3
- package/cjs/helpers/cypress.js +73 -0
- package/cjs/helpers/dependency-manifests/all-in-parent-dirs.js +92 -0
- package/cjs/helpers/dependency-manifests/closest.js +40 -0
- package/cjs/helpers/dependency-manifests/dependencies.js +255 -0
- package/cjs/helpers/dependency-manifests/index.js +78 -0
- package/cjs/helpers/dependency-manifests/parse.js +51 -0
- package/cjs/helpers/dependency-manifests/parsed-dependency-files.js +80 -0
- package/cjs/helpers/dependency-manifests/resolvers/deno.js +79 -0
- package/cjs/helpers/dependency-manifests/resolvers/helpers.js +41 -0
- package/cjs/helpers/dependency-manifests/resolvers/package-json.js +167 -0
- package/cjs/helpers/dependency-manifests/resolvers/types.js +4 -0
- package/cjs/helpers/entropy.js +5 -5
- package/cjs/helpers/files.js +33 -4
- package/cjs/helpers/find-up/all-in-parent-dirs.js +1 -0
- package/cjs/helpers/find-up/closest.js +4 -3
- package/cjs/helpers/find-up/find-minimatch.js +2 -2
- package/cjs/helpers/generate-meta.js +1 -1
- package/cjs/helpers/internal-metrics.js +27 -0
- package/cjs/helpers/mocha-style-test-frameworks.js +132 -0
- package/cjs/helpers/mocha.js +17 -7
- package/cjs/helpers/module-ts.js +8 -3
- package/cjs/helpers/module.js +116 -23
- package/cjs/helpers/numbers.js +62 -0
- package/cjs/helpers/playwright.js +13 -0
- package/cjs/helpers/recognizers/Detector.js +3 -3
- package/cjs/helpers/recognizers/detectors/CamelCaseDetector.js +3 -3
- package/cjs/helpers/recognizers/detectors/ContainsDetector.js +3 -3
- package/cjs/helpers/recognizers/detectors/EndWithDetector.js +3 -3
- package/cjs/helpers/recognizers/detectors/KeywordsDetector.js +3 -3
- package/cjs/helpers/regex/extract.js +21 -9
- package/cjs/helpers/regex/flags.js +12 -5
- package/cjs/helpers/sinon.js +0 -4
- package/cjs/helpers/supertest.js +0 -4
- package/cjs/helpers/test-file-pattern.js +63 -0
- package/cjs/helpers/type-origin.js +82 -0
- package/cjs/helpers/type.js +162 -1
- package/cjs/helpers/vitest.js +0 -4
- package/cjs/plugin-rules.js +299 -299
- package/docs/async-test-assertions.md +7 -0
- package/docs/aws-apigateway-public-api.md +1 -1
- package/docs/aws-ec2-rds-dms-public.md +1 -1
- package/docs/aws-ec2-unencrypted-ebs-volume.md +1 -1
- package/docs/aws-efs-unencrypted.md +1 -1
- package/docs/aws-iam-all-privileges.md +1 -1
- package/docs/aws-iam-all-resources-accessible.md +1 -1
- package/docs/aws-iam-public-access.md +1 -1
- package/docs/aws-opensearchservice-domain.md +1 -1
- package/docs/aws-rds-unencrypted-databases.md +1 -1
- package/docs/aws-s3-bucket-granted-access.md +1 -1
- package/docs/aws-s3-bucket-insecure-http.md +1 -1
- package/docs/aws-s3-bucket-public-access.md +1 -1
- package/docs/aws-s3-bucket-versioning.md +1 -1
- package/docs/aws-sagemaker-unencrypted-notebook.md +1 -1
- package/docs/aws-sns-unencrypted-topics.md +1 -1
- package/docs/aws-sqs-unencrypted-queue.md +1 -1
- package/docs/class-name.md +3 -3
- package/docs/code-eval.md +1 -1
- package/docs/confidential-information-logging.md +4 -2
- package/docs/content-length.md +1 -1
- package/docs/content-security-policy.md +1 -1
- package/docs/cookie-no-httponly.md +1 -1
- package/docs/cors.md +1 -1
- package/docs/csrf.md +1 -1
- package/docs/disabled-auto-escaping.md +1 -1
- package/docs/disabled-resource-integrity.md +1 -1
- package/docs/dompurify-unsafe-config.md +9 -0
- package/docs/frame-ancestors.md +4 -2
- package/docs/hashing.md +1 -1
- package/docs/hidden-files.md +4 -2
- package/docs/hooks-before-test-cases.md +7 -0
- package/docs/insecure-cookie.md +1 -1
- package/docs/link-with-target-blank.md +1 -1
- package/docs/no-angular-bypass-sanitization.md +1 -1
- package/docs/no-clear-text-protocols.md +1 -1
- package/docs/no-commented-code.md +1 -1
- package/docs/no-duplicate-test-title.md +7 -0
- package/docs/no-empty-test-title.md +7 -0
- package/docs/no-floating-point-equality.md +7 -0
- package/docs/no-forced-browser-interaction.md +7 -0
- package/docs/no-hardcoded-ip.md +1 -1
- package/docs/no-incompatible-assertion-types.md +9 -0
- package/docs/no-intrusive-permissions.md +4 -2
- package/docs/no-ip-forward.md +4 -2
- package/docs/no-mime-sniff.md +1 -1
- package/docs/no-mixed-content.md +4 -2
- package/docs/no-os-command-from-path.md +1 -1
- package/docs/no-referrer-policy.md +1 -1
- package/docs/no-small-switch.md +2 -0
- package/docs/no-trivial-assertions.md +7 -0
- package/docs/no-unsafe-unzip.md +4 -2
- package/docs/os-command.md +4 -2
- package/docs/prefer-specific-assertions.md +9 -0
- package/docs/production-debug.md +1 -1
- package/docs/pseudo-random.md +1 -1
- package/docs/publicly-writable-directories.md +1 -1
- package/docs/slow-regex.md +1 -1
- package/docs/sql-queries.md +1 -1
- package/docs/strict-transport-security.md +1 -1
- package/docs/super-linear-regex.md +7 -0
- package/docs/x-powered-by.md +1 -1
- package/package.json +7 -6
- package/types/S100/generated-meta.d.ts +1 -0
- package/types/S101/config.d.ts +1 -1
- package/types/S101/generated-meta.d.ts +1 -0
- package/types/S104/generated-meta.d.ts +1 -0
- package/types/S105/generated-meta.d.ts +1 -0
- package/types/S1066/generated-meta.d.ts +1 -0
- package/types/S1067/generated-meta.d.ts +1 -0
- package/types/S1110/generated-meta.d.ts +1 -0
- package/types/S1119/generated-meta.d.ts +1 -0
- package/types/S1121/generated-meta.d.ts +1 -0
- package/types/S1125/generated-meta.d.ts +1 -0
- package/types/S1126/generated-meta.d.ts +1 -0
- package/types/S1128/generated-meta.d.ts +2 -0
- package/types/S1134/generated-meta.d.ts +1 -0
- package/types/S1135/generated-meta.d.ts +1 -0
- package/types/S1154/generated-meta.d.ts +1 -0
- package/types/S117/generated-meta.d.ts +1 -0
- package/types/S1172/generated-meta.d.ts +1 -0
- package/types/S1192/generated-meta.d.ts +1 -0
- package/types/S1219/generated-meta.d.ts +1 -0
- package/types/S1226/generated-meta.d.ts +1 -0
- package/types/S124/generated-meta.d.ts +1 -0
- package/types/{S2255 → S1244}/generated-meta.d.ts +3 -2
- package/types/S1244/meta.d.ts +2 -0
- package/types/S125/generated-meta.d.ts +1 -0
- package/types/S126/generated-meta.d.ts +1 -0
- package/types/S1264/generated-meta.d.ts +1 -0
- package/types/S128/generated-meta.d.ts +1 -0
- package/types/S1291/generated-meta.d.ts +1 -0
- package/types/S1301/generated-meta.d.ts +2 -1
- package/types/S1313/generated-meta.d.ts +2 -1
- package/types/S134/config.d.ts +1 -1
- package/types/S134/generated-meta.d.ts +1 -0
- package/types/S135/generated-meta.d.ts +1 -0
- package/types/S138/generated-meta.d.ts +1 -0
- package/types/S1439/generated-meta.d.ts +1 -0
- package/types/S1444/generated-meta.d.ts +1 -0
- package/types/S1451/generated-meta.d.ts +1 -0
- package/types/S1472/generated-meta.d.ts +1 -0
- package/types/S1479/generated-meta.d.ts +1 -0
- package/types/S1481/generated-meta.d.ts +1 -0
- package/types/S1488/generated-meta.d.ts +1 -0
- package/types/S1515/generated-meta.d.ts +1 -0
- package/types/S1523/generated-meta.d.ts +1 -0
- package/types/S1526/generated-meta.d.ts +1 -0
- package/types/S1527/generated-meta.d.ts +1 -0
- package/types/S1528/generated-meta.d.ts +1 -0
- package/types/S1529/generated-meta.d.ts +1 -0
- package/types/S1530/generated-meta.d.ts +1 -0
- package/types/S1533/generated-meta.d.ts +1 -0
- package/types/S1535/generated-meta.d.ts +1 -0
- package/types/S1541/generated-meta.d.ts +1 -0
- package/types/S1607/generated-meta.d.ts +1 -0
- package/types/S1764/generated-meta.d.ts +1 -0
- package/types/S1821/generated-meta.d.ts +1 -0
- package/types/S1848/generated-meta.d.ts +1 -0
- package/types/S1854/generated-meta.d.ts +1 -0
- package/types/S1862/generated-meta.d.ts +1 -0
- package/types/S1871/generated-meta.d.ts +1 -0
- package/types/S1874/generated-meta.d.ts +1 -0
- package/types/S1940/generated-meta.d.ts +1 -0
- package/types/S1994/generated-meta.d.ts +1 -0
- package/types/S2004/generated-meta.d.ts +1 -0
- package/types/S2068/generated-meta.d.ts +1 -0
- package/types/S2077/generated-meta.d.ts +1 -0
- package/types/S2092/generated-meta.d.ts +1 -0
- package/types/S2123/generated-meta.d.ts +1 -0
- package/types/S2137/generated-meta.d.ts +1 -0
- package/types/S2138/generated-meta.d.ts +1 -0
- package/types/S2187/generated-meta.d.ts +1 -0
- package/types/S2201/generated-meta.d.ts +1 -0
- package/types/S2208/generated-meta.d.ts +2 -0
- package/types/S2234/generated-meta.d.ts +1 -0
- package/types/S2245/generated-meta.d.ts +1 -0
- package/types/S2251/generated-meta.d.ts +1 -0
- package/types/S2259/generated-meta.d.ts +1 -0
- package/types/S2301/generated-meta.d.ts +1 -0
- package/types/S2310/generated-meta.d.ts +1 -0
- package/types/S2392/generated-meta.d.ts +1 -0
- package/types/S2424/generated-meta.d.ts +1 -0
- package/types/S2428/generated-meta.d.ts +1 -0
- package/types/S2486/generated-meta.d.ts +1 -0
- package/types/S2589/generated-meta.d.ts +1 -0
- package/types/S2598/generated-meta.d.ts +1 -0
- package/types/S2612/generated-meta.d.ts +1 -0
- package/types/S2639/generated-meta.d.ts +1 -0
- package/types/S2681/generated-meta.d.ts +1 -0
- package/types/S2692/generated-meta.d.ts +1 -0
- package/types/S2699/generated-meta.d.ts +1 -0
- package/types/S2703/generated-meta.d.ts +1 -0
- package/types/S2737/generated-meta.d.ts +1 -0
- package/types/S2755/generated-meta.d.ts +1 -0
- package/types/S2757/generated-meta.d.ts +1 -0
- package/types/S2817/generated-meta.d.ts +1 -0
- package/types/S2819/generated-meta.d.ts +1 -0
- package/types/S2870/generated-meta.d.ts +1 -0
- package/types/S2871/generated-meta.d.ts +1 -0
- package/types/S2970/generated-meta.d.ts +1 -0
- package/types/S2990/generated-meta.d.ts +1 -0
- package/types/S2999/generated-meta.d.ts +1 -0
- package/types/S3001/generated-meta.d.ts +1 -0
- package/types/S3003/generated-meta.d.ts +1 -0
- package/types/S3317/generated-meta.d.ts +2 -0
- package/types/S3330/generated-meta.d.ts +1 -0
- package/types/S3358/generated-meta.d.ts +1 -0
- package/types/S3402/generated-meta.d.ts +1 -0
- package/types/S3403/generated-meta.d.ts +1 -0
- package/types/S3415/generated-meta.d.ts +1 -0
- package/types/S3499/generated-meta.d.ts +2 -0
- package/types/S3500/generated-meta.d.ts +2 -0
- package/types/S3513/generated-meta.d.ts +2 -0
- package/types/S3514/generated-meta.d.ts +2 -0
- package/types/S3516/generated-meta.d.ts +1 -0
- package/types/S3524/generated-meta.d.ts +2 -0
- package/types/S3525/generated-meta.d.ts +2 -0
- package/types/S3531/generated-meta.d.ts +2 -0
- package/types/S3533/generated-meta.d.ts +2 -0
- package/types/S3579/generated-meta.d.ts +1 -0
- package/types/S3616/generated-meta.d.ts +1 -0
- package/types/S3626/generated-meta.d.ts +1 -0
- package/types/S3686/generated-meta.d.ts +1 -0
- package/types/S3699/generated-meta.d.ts +1 -0
- package/types/S3735/generated-meta.d.ts +1 -0
- package/types/S3757/generated-meta.d.ts +1 -0
- package/types/S3758/generated-meta.d.ts +1 -0
- package/types/S3760/generated-meta.d.ts +1 -0
- package/types/S3776/generated-meta.d.ts +1 -0
- package/types/S3776/meta.d.ts +2 -0
- package/types/S3782/generated-meta.d.ts +1 -0
- package/types/S3785/generated-meta.d.ts +1 -0
- package/types/S3796/generated-meta.d.ts +1 -0
- package/types/S3798/generated-meta.d.ts +1 -0
- package/types/S3800/generated-meta.d.ts +1 -0
- package/types/S3801/generated-meta.d.ts +1 -0
- package/types/S3827/generated-meta.d.ts +1 -0
- package/types/S3923/generated-meta.d.ts +1 -0
- package/types/S3972/generated-meta.d.ts +1 -0
- package/types/S3973/generated-meta.d.ts +1 -0
- package/types/S3981/generated-meta.d.ts +1 -0
- package/types/S3984/generated-meta.d.ts +1 -0
- package/types/S4030/generated-meta.d.ts +1 -0
- package/types/S4036/generated-meta.d.ts +1 -0
- package/types/S4043/generated-meta.d.ts +1 -0
- package/types/S4139/generated-meta.d.ts +1 -0
- package/types/S4143/generated-meta.d.ts +1 -0
- package/types/S4144/generated-meta.d.ts +1 -0
- package/types/S4158/generated-meta.d.ts +1 -0
- package/types/S4165/generated-meta.d.ts +1 -0
- package/types/S4322/generated-meta.d.ts +1 -0
- package/types/S4323/generated-meta.d.ts +1 -0
- package/types/S4324/generated-meta.d.ts +1 -0
- package/types/S4328/generated-meta.d.ts +1 -0
- package/types/S4335/generated-meta.d.ts +1 -0
- package/types/S4423/generated-meta.d.ts +1 -0
- package/types/S4426/generated-meta.d.ts +1 -0
- package/types/S4502/generated-meta.d.ts +1 -0
- package/types/S4507/generated-meta.d.ts +1 -0
- package/types/S4524/generated-meta.d.ts +1 -0
- package/types/S4619/generated-meta.d.ts +1 -0
- package/types/S4621/generated-meta.d.ts +1 -0
- package/types/S4622/generated-meta.d.ts +1 -0
- package/types/S4623/generated-meta.d.ts +1 -0
- package/types/S4624/generated-meta.d.ts +2 -0
- package/types/S4634/generated-meta.d.ts +2 -0
- package/types/S4721/generated-meta.d.ts +2 -1
- package/types/S4782/generated-meta.d.ts +1 -0
- package/types/S4790/generated-meta.d.ts +1 -0
- package/types/S4798/generated-meta.d.ts +1 -0
- package/types/S4822/generated-meta.d.ts +2 -0
- package/types/S4830/generated-meta.d.ts +1 -0
- package/types/S5042/generated-meta.d.ts +3 -2
- package/types/S5122/generated-meta.d.ts +1 -0
- package/types/S5148/generated-meta.d.ts +1 -0
- package/types/S5247/generated-meta.d.ts +1 -0
- package/types/S5256/generated-meta.d.ts +1 -0
- package/types/S5257/generated-meta.d.ts +1 -0
- package/types/S5260/generated-meta.d.ts +1 -0
- package/types/S5264/generated-meta.d.ts +1 -0
- package/types/S5332/generated-meta.d.ts +1 -0
- package/types/S5443/generated-meta.d.ts +1 -0
- package/types/S5527/generated-meta.d.ts +1 -0
- package/types/S5542/generated-meta.d.ts +1 -0
- package/types/S5547/generated-meta.d.ts +1 -0
- package/types/S5604/generated-meta.d.ts +2 -1
- package/types/S5659/generated-meta.d.ts +1 -0
- package/types/S5689/generated-meta.d.ts +1 -0
- package/types/S5691/generated-meta.d.ts +2 -1
- package/types/S5693/generated-meta.d.ts +1 -0
- package/types/S5725/generated-meta.d.ts +1 -0
- package/types/S5728/generated-meta.d.ts +1 -0
- package/types/S5730/generated-meta.d.ts +2 -1
- package/types/S5732/generated-meta.d.ts +2 -1
- package/types/S5734/generated-meta.d.ts +1 -0
- package/types/S5736/generated-meta.d.ts +1 -0
- package/types/S5739/generated-meta.d.ts +1 -0
- package/types/S5757/generated-meta.d.ts +2 -1
- package/types/S5759/generated-meta.d.ts +2 -1
- package/types/S5842/generated-meta.d.ts +1 -0
- package/types/S5843/generated-meta.d.ts +1 -0
- package/types/S5845/generated-meta.d.ts +18 -0
- package/types/S5845/meta.d.ts +2 -0
- package/types/S5850/generated-meta.d.ts +1 -0
- package/types/S5852/generated-meta.d.ts +1 -0
- package/types/S5856/generated-meta.d.ts +1 -0
- package/types/S5860/generated-meta.d.ts +1 -0
- package/types/S5863/generated-meta.d.ts +1 -0
- package/types/S5867/generated-meta.d.ts +1 -0
- package/types/S5868/generated-meta.d.ts +1 -0
- package/types/S5869/generated-meta.d.ts +1 -0
- package/types/S5876/generated-meta.d.ts +1 -0
- package/types/S5906/assertion-suggestions.d.ts +7 -0
- package/types/S5906/assertion-utils.d.ts +14 -0
- package/types/S5906/cypress-suggestions.d.ts +4 -0
- package/types/S5906/expect-chain.d.ts +5 -0
- package/types/S5906/generated-meta.d.ts +18 -0
- package/types/S5906/meta.d.ts +2 -0
- package/types/S5906/playwright-suggestions.d.ts +4 -0
- package/types/S5914/generated-meta.d.ts +18 -0
- package/types/S5914/meta.d.ts +2 -0
- package/types/S5958/generated-meta.d.ts +1 -0
- package/types/S5973/generated-meta.d.ts +1 -0
- package/types/S6019/generated-meta.d.ts +1 -0
- package/types/S6035/generated-meta.d.ts +1 -0
- package/types/S6079/generated-meta.d.ts +1 -0
- package/types/S6080/generated-meta.d.ts +1 -0
- package/types/S6092/generated-meta.d.ts +1 -0
- package/types/S6249/generated-meta.d.ts +1 -0
- package/types/S6252/generated-meta.d.ts +1 -0
- package/types/S6265/generated-meta.d.ts +1 -0
- package/types/S6268/generated-meta.d.ts +1 -0
- package/types/S6270/generated-meta.d.ts +1 -0
- package/types/S6275/generated-meta.d.ts +1 -0
- package/types/S6281/generated-meta.d.ts +1 -0
- package/types/S6302/generated-meta.d.ts +1 -0
- package/types/S6303/generated-meta.d.ts +1 -0
- package/types/S6304/generated-meta.d.ts +1 -0
- package/types/S6308/generated-meta.d.ts +1 -0
- package/types/S6317/generated-meta.d.ts +1 -0
- package/types/S6319/generated-meta.d.ts +1 -0
- package/types/S6321/generated-meta.d.ts +1 -0
- package/types/S6323/generated-meta.d.ts +1 -0
- package/types/S6324/generated-meta.d.ts +1 -0
- package/types/S6326/generated-meta.d.ts +1 -0
- package/types/S6327/generated-meta.d.ts +1 -0
- package/types/S6328/generated-meta.d.ts +1 -0
- package/types/S6329/generated-meta.d.ts +1 -0
- package/types/S6330/generated-meta.d.ts +1 -0
- package/types/S6331/generated-meta.d.ts +1 -0
- package/types/S6332/generated-meta.d.ts +1 -0
- package/types/S6333/generated-meta.d.ts +1 -0
- package/types/S6351/generated-meta.d.ts +1 -0
- package/types/S6353/generated-meta.d.ts +1 -0
- package/types/S6397/generated-meta.d.ts +1 -0
- package/types/S6418/generated-meta.d.ts +1 -0
- package/types/S6426/generated-meta.d.ts +1 -0
- package/types/S6437/generated-meta.d.ts +1 -0
- package/types/S6439/generated-meta.d.ts +2 -1
- package/types/S6442/generated-meta.d.ts +2 -1
- package/types/S6443/generated-meta.d.ts +2 -1
- package/types/S6486/generated-meta.d.ts +1 -0
- package/types/S6564/generated-meta.d.ts +1 -0
- package/types/S6594/generated-meta.d.ts +1 -0
- package/types/S6627/generated-meta.d.ts +1 -0
- package/types/S6759/generated-meta.d.ts +1 -0
- package/types/S6958/generated-meta.d.ts +1 -0
- package/types/S6959/generated-meta.d.ts +1 -0
- package/types/S7059/generated-meta.d.ts +2 -0
- package/types/S7639/generated-meta.d.ts +1 -0
- package/types/S7790/generated-meta.d.ts +1 -0
- package/types/S8441/generated-meta.d.ts +1 -0
- package/types/{S4787 → S8479}/generated-meta.d.ts +4 -3
- package/types/S8479/meta.d.ts +2 -0
- package/types/S8754/generated-meta.d.ts +18 -0
- package/types/{S5743 → S8754}/meta.d.ts +1 -1
- package/types/{S4817 → S8780}/generated-meta.d.ts +4 -3
- package/types/S8780/meta.d.ts +2 -0
- package/types/S8781/generated-meta.d.ts +18 -0
- package/types/S8781/meta.d.ts +2 -0
- package/types/S8782/generated-meta.d.ts +18 -0
- package/types/S8782/meta.d.ts +2 -0
- package/types/S8783/generated-meta.d.ts +18 -0
- package/types/S8783/meta.d.ts +2 -0
- package/types/{S4784 → S8786}/generated-meta.d.ts +4 -3
- package/types/S8786/meta.d.ts +2 -0
- package/types/S881/generated-meta.d.ts +1 -0
- package/types/S888/generated-meta.d.ts +1 -0
- package/types/S930/generated-meta.d.ts +1 -0
- package/types/helpers/assertions-chai-common.d.ts +7 -0
- package/types/helpers/assertions-chai.d.ts +4 -0
- package/types/helpers/assertions-cypress.d.ts +7 -0
- package/types/helpers/assertions.d.ts +39 -0
- package/types/helpers/ast.d.ts +10 -0
- package/types/helpers/configs.d.ts +7 -38
- package/types/helpers/cypress.d.ts +11 -0
- package/types/helpers/dependency-manifests/all-in-parent-dirs.d.ts +18 -0
- package/types/helpers/dependency-manifests/closest.d.ts +5 -0
- package/types/helpers/dependency-manifests/dependencies.d.ts +73 -0
- package/types/helpers/dependency-manifests/index.d.ts +22 -0
- package/types/helpers/dependency-manifests/parse.d.ts +12 -0
- package/types/helpers/dependency-manifests/parsed-dependency-files.d.ts +8 -0
- package/types/helpers/dependency-manifests/resolvers/deno.d.ts +12 -0
- package/types/helpers/dependency-manifests/resolvers/helpers.d.ts +12 -0
- package/types/helpers/dependency-manifests/resolvers/package-json.d.ts +2 -0
- package/types/helpers/dependency-manifests/resolvers/types.d.ts +46 -0
- package/types/helpers/files.d.ts +14 -21
- package/types/helpers/generate-meta.d.ts +5 -0
- package/types/helpers/internal-metrics.d.ts +5 -0
- package/types/helpers/mocha-style-test-frameworks.d.ts +19 -0
- package/types/helpers/mocha.d.ts +7 -0
- package/types/helpers/module.d.ts +14 -8
- package/types/helpers/numbers.d.ts +4 -0
- package/types/helpers/playwright.d.ts +2 -0
- package/types/helpers/regex/extract.d.ts +7 -3
- package/types/helpers/sinon.d.ts +0 -1
- package/types/helpers/supertest.d.ts +0 -1
- package/types/helpers/test-file-pattern.d.ts +17 -0
- package/types/helpers/type-origin.d.ts +31 -0
- package/types/helpers/type.d.ts +92 -1
- package/types/helpers/vitest.d.ts +0 -1
- package/types/plugin-rules.d.ts +11 -11
- package/cjs/S2255/rule.js +0 -111
- package/cjs/S4784/rule.js +0 -120
- package/cjs/S4787/rule.js +0 -124
- package/cjs/S4817/rule.js +0 -103
- package/cjs/S4818/generated-meta.js +0 -51
- package/cjs/S4818/index.js +0 -21
- package/cjs/S4823/generated-meta.js +0 -51
- package/cjs/S4823/index.js +0 -21
- package/cjs/S4823/meta.js +0 -21
- package/cjs/S4823/rule.js +0 -75
- package/cjs/S4829/generated-meta.js +0 -51
- package/cjs/S4829/index.js +0 -21
- package/cjs/S4829/meta.js +0 -21
- package/cjs/S4829/rule.js +0 -75
- package/cjs/S5742/generated-meta.js +0 -51
- package/cjs/S5742/index.js +0 -21
- package/cjs/S5742/meta.js +0 -22
- package/cjs/S5742/rule.js +0 -75
- package/cjs/S5743/generated-meta.js +0 -51
- package/cjs/S5743/index.js +0 -21
- package/cjs/S5743/rule.js +0 -78
- package/cjs/S6245/generated-meta.js +0 -51
- package/cjs/S6245/index.js +0 -21
- package/cjs/S6245/meta.js +0 -22
- package/cjs/S6245/rule.js +0 -87
- package/cjs/S6299/generated-meta.js +0 -51
- package/cjs/S6299/index.js +0 -21
- package/cjs/S6299/meta.js +0 -21
- package/cjs/S6299/rule.js +0 -93
- package/cjs/helpers/package-jsons/all-in-parent-dirs.js +0 -31
- package/cjs/helpers/package-jsons/closest.js +0 -32
- package/cjs/helpers/package-jsons/dependencies.js +0 -87
- package/cjs/helpers/package-jsons/index.js +0 -41
- package/cjs/helpers/package-jsons/parse.js +0 -79
- package/docs/aws-s3-bucket-server-encryption.md +0 -9
- package/docs/certificate-transparency.md +0 -9
- package/docs/cookies.md +0 -9
- package/docs/dns-prefetching.md +0 -9
- package/docs/encryption.md +0 -9
- package/docs/no-vue-bypass-sanitization.md +0 -9
- package/docs/process-argv.md +0 -9
- package/docs/regular-expr.md +0 -9
- package/docs/sockets.md +0 -9
- package/docs/standard-input.md +0 -9
- package/docs/xpath.md +0 -9
- package/types/S2255/meta.d.ts +0 -2
- package/types/S4784/meta.d.ts +0 -2
- package/types/S4787/meta.d.ts +0 -2
- package/types/S4817/meta.d.ts +0 -2
- package/types/S4818/generated-meta.d.ts +0 -17
- package/types/S4818/meta.d.ts +0 -2
- package/types/S4823/generated-meta.d.ts +0 -17
- package/types/S4823/meta.d.ts +0 -2
- package/types/S4829/generated-meta.d.ts +0 -17
- package/types/S4829/meta.d.ts +0 -2
- package/types/S5742/generated-meta.d.ts +0 -17
- package/types/S5742/meta.d.ts +0 -3
- package/types/S5743/generated-meta.d.ts +0 -17
- package/types/S6245/generated-meta.d.ts +0 -17
- package/types/S6245/meta.d.ts +0 -3
- package/types/S6299/generated-meta.d.ts +0 -17
- package/types/S6299/meta.d.ts +0 -2
- package/types/helpers/package-jsons/all-in-parent-dirs.d.ts +0 -10
- package/types/helpers/package-jsons/closest.d.ts +0 -2
- package/types/helpers/package-jsons/dependencies.d.ts +0 -32
- package/types/helpers/package-jsons/index.d.ts +0 -8
- package/types/helpers/package-jsons/parse.d.ts +0 -13
- /package/types/{S2255 → S1244}/index.d.ts +0 -0
- /package/types/{S2255 → S1244}/rule.d.ts +0 -0
- /package/types/{S4784 → S5845}/index.d.ts +0 -0
- /package/types/{S4784 → S5845}/rule.d.ts +0 -0
- /package/types/{S4787 → S5906}/index.d.ts +0 -0
- /package/types/{S4787 → S5906}/rule.d.ts +0 -0
- /package/types/{S4817 → S5914}/index.d.ts +0 -0
- /package/types/{S4817 → S5914}/rule.d.ts +0 -0
- /package/types/{S4818 → S8479}/index.d.ts +0 -0
- /package/types/{S4818 → S8479}/rule.d.ts +0 -0
- /package/types/{S4823 → S8754}/index.d.ts +0 -0
- /package/types/{S4823 → S8754}/rule.d.ts +0 -0
- /package/types/{S4829 → S8780}/index.d.ts +0 -0
- /package/types/{S4829 → S8780}/rule.d.ts +0 -0
- /package/types/{S5742 → S8781}/index.d.ts +0 -0
- /package/types/{S5742 → S8781}/rule.d.ts +0 -0
- /package/types/{S5743 → S8782}/index.d.ts +0 -0
- /package/types/{S5743 → S8782}/rule.d.ts +0 -0
- /package/types/{S6245 → S8783}/index.d.ts +0 -0
- /package/types/{S6245 → S8783}/rule.d.ts +0 -0
- /package/types/{S6299 → S8786}/index.d.ts +0 -0
- /package/types/{S6299 → S8786}/rule.d.ts +0 -0
package/README.md
CHANGED
|
@@ -17,13 +17,13 @@ If you are a [SonarQube Server](https://www.sonarsource.com/products/sonarqube/)
|
|
|
17
17
|
- [ESLint rules](#eslint-rules)
|
|
18
18
|
- [Improved ESLint rules](#improved-eslint-rules)
|
|
19
19
|
|
|
20
|
-
## [Changelog](https://github.com/SonarSource/SonarJS/blob/master/packages/
|
|
20
|
+
## [Changelog](https://github.com/SonarSource/SonarJS/blob/master/packages/analysis/src/jsts/rules/CHANGELOG.md)
|
|
21
21
|
|
|
22
22
|
## Prerequisites
|
|
23
23
|
|
|
24
24
|
The prerequisites for using this plugin depend on the ESLint version you are using:
|
|
25
25
|
|
|
26
|
-
- For ESLint 8, you need Node.js version >=
|
|
26
|
+
- For ESLint 8, you need Node.js version >= 18.
|
|
27
27
|
- For ESLint 9, you need Node.js version that complies with (^18.18.0 || ^20.9.0 || >=21).
|
|
28
28
|
|
|
29
29
|
## Installation
|
|
@@ -122,61 +122,58 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
122
122
|
| [array-constructor](https://sonarsource.github.io/rspec/#/rspec/S1528/javascript) | Array constructors should not be used | | | 💡 | | |
|
|
123
123
|
| [arrow-function-convention](https://sonarsource.github.io/rspec/#/rspec/S3524/javascript) | Braces and parentheses should be used consistently with arrow functions | | | | | |
|
|
124
124
|
| [assertions-in-tests](https://sonarsource.github.io/rspec/#/rspec/S2699/javascript) | Tests should include assertions | ✅ | | | 💭 | |
|
|
125
|
-
| [
|
|
126
|
-
| [aws-
|
|
127
|
-
| [aws-ec2-
|
|
128
|
-
| [aws-
|
|
129
|
-
| [aws-
|
|
130
|
-
| [aws-iam-all-
|
|
125
|
+
| [async-test-assertions](https://sonarsource.github.io/rspec/#/rspec/S8780/javascript) | Async test assertions should be awaited or returned | ✅ | | | | |
|
|
126
|
+
| [aws-apigateway-public-api](https://sonarsource.github.io/rspec/#/rspec/S6333/javascript) | AWS API Gateway should require authentication | ✅ | | | | |
|
|
127
|
+
| [aws-ec2-rds-dms-public](https://sonarsource.github.io/rspec/#/rspec/S6329/javascript) | Public network access to cloud resources should be disabled | ✅ | | | | |
|
|
128
|
+
| [aws-ec2-unencrypted-ebs-volume](https://sonarsource.github.io/rspec/#/rspec/S6275/javascript) | EBS volumes should be encrypted | ✅ | | | | |
|
|
129
|
+
| [aws-efs-unencrypted](https://sonarsource.github.io/rspec/#/rspec/S6332/javascript) | Amazon EFS file systems should be encrypted | ✅ | | | | |
|
|
130
|
+
| [aws-iam-all-privileges](https://sonarsource.github.io/rspec/#/rspec/S6302/javascript) | Policies should not grant all privileges | ✅ | | | | |
|
|
131
|
+
| [aws-iam-all-resources-accessible](https://sonarsource.github.io/rspec/#/rspec/S6304/javascript) | IAM policies should not grant access to all account resources | | | | | |
|
|
131
132
|
| [aws-iam-privilege-escalation](https://sonarsource.github.io/rspec/#/rspec/S6317/javascript) | AWS IAM policies should limit the scope of permissions given | ✅ | | | | |
|
|
132
|
-
| [aws-iam-public-access](https://sonarsource.github.io/rspec/#/rspec/S6270/javascript) |
|
|
133
|
-
| [aws-opensearchservice-domain](https://sonarsource.github.io/rspec/#/rspec/S6308/javascript) |
|
|
134
|
-
| [aws-rds-unencrypted-databases](https://sonarsource.github.io/rspec/#/rspec/S6303/javascript) |
|
|
133
|
+
| [aws-iam-public-access](https://sonarsource.github.io/rspec/#/rspec/S6270/javascript) | AWS resource-based policies should not grant public access | ✅ | | | | |
|
|
134
|
+
| [aws-opensearchservice-domain](https://sonarsource.github.io/rspec/#/rspec/S6308/javascript) | OpenSearch domains should have encryption at rest enabled | ✅ | | | | |
|
|
135
|
+
| [aws-rds-unencrypted-databases](https://sonarsource.github.io/rspec/#/rspec/S6303/javascript) | Amazon RDS resources should be encrypted at rest | ✅ | | | | |
|
|
135
136
|
| [aws-restricted-ip-admin-access](https://sonarsource.github.io/rspec/#/rspec/S6321/javascript) | Administration services access should be restricted to specific IP addresses | ✅ | | | | |
|
|
136
|
-
| [aws-s3-bucket-granted-access](https://sonarsource.github.io/rspec/#/rspec/S6265/javascript) |
|
|
137
|
-
| [aws-s3-bucket-insecure-http](https://sonarsource.github.io/rspec/#/rspec/S6249/javascript) |
|
|
138
|
-
| [aws-s3-bucket-public-access](https://sonarsource.github.io/rspec/#/rspec/S6281/javascript) |
|
|
139
|
-
| [aws-s3-bucket-
|
|
140
|
-
| [aws-
|
|
141
|
-
| [aws-
|
|
142
|
-
| [aws-
|
|
143
|
-
| [aws-sqs-unencrypted-queue](https://sonarsource.github.io/rspec/#/rspec/S6330/javascript) | Using unencrypted SQS queues is security-sensitive | ✅ | | | | |
|
|
137
|
+
| [aws-s3-bucket-granted-access](https://sonarsource.github.io/rspec/#/rspec/S6265/javascript) | S3 buckets should not grant access to all users or authenticated users | ✅ | | | | |
|
|
138
|
+
| [aws-s3-bucket-insecure-http](https://sonarsource.github.io/rspec/#/rspec/S6249/javascript) | S3 buckets should enforce HTTPS-only access | ✅ | | | | |
|
|
139
|
+
| [aws-s3-bucket-public-access](https://sonarsource.github.io/rspec/#/rspec/S6281/javascript) | Amazon S3 bucket public access should be fully blocked | ✅ | | | | |
|
|
140
|
+
| [aws-s3-bucket-versioning](https://sonarsource.github.io/rspec/#/rspec/S6252/javascript) | Amazon S3 buckets should have versioning enabled | ✅ | | | | |
|
|
141
|
+
| [aws-sagemaker-unencrypted-notebook](https://sonarsource.github.io/rspec/#/rspec/S6319/javascript) | SageMaker notebook instances should be encrypted at rest | ✅ | | | | |
|
|
142
|
+
| [aws-sns-unencrypted-topics](https://sonarsource.github.io/rspec/#/rspec/S6327/javascript) | Amazon SNS topics should be encrypted at rest | ✅ | | | | |
|
|
143
|
+
| [aws-sqs-unencrypted-queue](https://sonarsource.github.io/rspec/#/rspec/S6330/javascript) | SQS queues should be encrypted | ✅ | | | | |
|
|
144
144
|
| [bitwise-operators](https://sonarsource.github.io/rspec/#/rspec/S1529/javascript) | Bitwise operators should not be used in boolean contexts | ✅ | | | 💭 | |
|
|
145
145
|
| [block-scoped-var](https://sonarsource.github.io/rspec/#/rspec/S2392/javascript) | Variables should be used in the blocks where they are declared | ✅ | | | | |
|
|
146
146
|
| [bool-param-default](https://sonarsource.github.io/rspec/#/rspec/S4798/javascript) | Optional boolean parameters should have default value | | | | | |
|
|
147
147
|
| [call-argument-line](https://sonarsource.github.io/rspec/#/rspec/S1472/javascript) | Function call arguments should not start on new lines | ✅ | | | | |
|
|
148
|
-
| [certificate-transparency](https://sonarsource.github.io/rspec/#/rspec/S5742/javascript) | Disabling Certificate Transparency monitoring is security-sensitive | | | | | ❌ |
|
|
149
148
|
| [chai-determinate-assertion](https://sonarsource.github.io/rspec/#/rspec/S6092/javascript) | Chai assertions should have only one reason to succeed | ✅ | | | | |
|
|
150
149
|
| [class-name](https://sonarsource.github.io/rspec/#/rspec/S101/javascript) | Class names should comply with a naming convention | ✅ | | | | |
|
|
151
150
|
| [class-prototype](https://sonarsource.github.io/rspec/#/rspec/S3525/javascript) | Class methods should be used instead of "prototype" assignments | | | | 💭 | |
|
|
152
|
-
| [code-eval](https://sonarsource.github.io/rspec/#/rspec/S1523/javascript) |
|
|
151
|
+
| [code-eval](https://sonarsource.github.io/rspec/#/rspec/S1523/javascript) | Dynamic code execution should not use user-controlled data | ✅ | | | | |
|
|
153
152
|
| [cognitive-complexity](https://sonarsource.github.io/rspec/#/rspec/S3776/javascript) | Cognitive Complexity of functions should not be too high | ✅ | | | | |
|
|
154
153
|
| [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 | ✅ | | | | |
|
|
155
154
|
| [comment-regex](https://sonarsource.github.io/rspec/#/rspec/S124/javascript) | Track comments matching a regular expression | | | | | |
|
|
156
155
|
| [concise-regex](https://sonarsource.github.io/rspec/#/rspec/S6353/javascript) | Regular expression quantifiers and character classes should be used concisely | ✅ | | | 💭 | |
|
|
157
156
|
| [conditional-indentation](https://sonarsource.github.io/rspec/#/rspec/S3973/javascript) | A conditionally executed single line should be denoted by indentation | | | | | ❌ |
|
|
158
|
-
| [confidential-information-logging](https://sonarsource.github.io/rspec/#/rspec/S5757/javascript) |
|
|
157
|
+
| [confidential-information-logging](https://sonarsource.github.io/rspec/#/rspec/S5757/javascript) | Confidential information should not be logged | | | | | ❌ |
|
|
159
158
|
| [constructor-for-side-effects](https://sonarsource.github.io/rspec/#/rspec/S1848/javascript) | Objects should not be created to be dropped immediately without being used | ✅ | | | | |
|
|
160
|
-
| [content-length](https://sonarsource.github.io/rspec/#/rspec/S5693/javascript) |
|
|
161
|
-
| [content-security-policy](https://sonarsource.github.io/rspec/#/rspec/S5728/javascript) |
|
|
162
|
-
| [cookie-no-httponly](https://sonarsource.github.io/rspec/#/rspec/S3330/javascript) |
|
|
163
|
-
| [
|
|
164
|
-
| [
|
|
165
|
-
| [csrf](https://sonarsource.github.io/rspec/#/rspec/S4502/javascript) | Disabling CSRF protections is security-sensitive | ✅ | | | | |
|
|
159
|
+
| [content-length](https://sonarsource.github.io/rspec/#/rspec/S5693/javascript) | HTTP request content length should be limited | ✅ | | | | |
|
|
160
|
+
| [content-security-policy](https://sonarsource.github.io/rspec/#/rspec/S5728/javascript) | Content security policy fetch directives should not be disabled | ✅ | | | | |
|
|
161
|
+
| [cookie-no-httponly](https://sonarsource.github.io/rspec/#/rspec/S3330/javascript) | Cookies should have the "HttpOnly" flag | ✅ | | | | |
|
|
162
|
+
| [cors](https://sonarsource.github.io/rspec/#/rspec/S5122/javascript) | Cross-Origin Resource Sharing (CORS) policy should be restricted to trusted origins | ✅ | | | | |
|
|
163
|
+
| [csrf](https://sonarsource.github.io/rspec/#/rspec/S4502/javascript) | CSRF protections should not be disabled | ✅ | | | | |
|
|
166
164
|
| [cyclomatic-complexity](https://sonarsource.github.io/rspec/#/rspec/S1541/javascript) | Cyclomatic Complexity of functions should not be too high | | | | | |
|
|
167
165
|
| [declarations-in-global-scope](https://sonarsource.github.io/rspec/#/rspec/S3798/javascript) | Variables and functions should not be declared in the global scope | | | | | |
|
|
168
166
|
| [deprecation](https://sonarsource.github.io/rspec/#/rspec/S1874/javascript) | Deprecated APIs should not be used | ✅ | | | 💭 | |
|
|
169
167
|
| [destructuring-assignment-syntax](https://sonarsource.github.io/rspec/#/rspec/S3514/javascript) | Destructuring syntax should be used for assignments | | | | | |
|
|
170
168
|
| [different-types-comparison](https://sonarsource.github.io/rspec/#/rspec/S3403/javascript) | Strict equality operators should not be used with dissimilar types | ✅ | | 💡 | 💭 | |
|
|
171
|
-
| [disabled-auto-escaping](https://sonarsource.github.io/rspec/#/rspec/S5247/javascript) |
|
|
172
|
-
| [disabled-resource-integrity](https://sonarsource.github.io/rspec/#/rspec/S5725/javascript) |
|
|
169
|
+
| [disabled-auto-escaping](https://sonarsource.github.io/rspec/#/rspec/S5247/javascript) | Auto-escaping in HTML template engines should not be disabled | ✅ | | | 💭 | |
|
|
170
|
+
| [disabled-resource-integrity](https://sonarsource.github.io/rspec/#/rspec/S5725/javascript) | Remote artifacts should not be used without integrity checks | ✅ | | | 💭 | |
|
|
173
171
|
| [disabled-timeout](https://sonarsource.github.io/rspec/#/rspec/S6080/javascript) | Disabling Mocha timeouts should be explicit | ✅ | | | | |
|
|
174
|
-
| [
|
|
172
|
+
| [dompurify-unsafe-config](https://sonarsource.github.io/rspec/#/rspec/S8479/javascript) | DOMPurify configuration should not be bypassable | ✅ | | | 💭 | |
|
|
175
173
|
| [duplicates-in-character-class](https://sonarsource.github.io/rspec/#/rspec/S5869/javascript) | Character classes in regular expressions should not contain the same character twice | ✅ | | | 💭 | |
|
|
176
174
|
| [dynamically-constructed-templates](https://sonarsource.github.io/rspec/#/rspec/S7790/javascript) | Templates should not be constructed dynamically | ✅ | | | | |
|
|
177
175
|
| [elseif-without-else](https://sonarsource.github.io/rspec/#/rspec/S126/javascript) | "if ... else if" constructs should end with "else" clauses | | | | | |
|
|
178
176
|
| [empty-string-repetition](https://sonarsource.github.io/rspec/#/rspec/S5842/javascript) | Repeated patterns in regular expressions should not match the empty string | ✅ | | | 💭 | |
|
|
179
|
-
| [encryption](https://sonarsource.github.io/rspec/#/rspec/S4787/javascript) | Encrypting data is security-sensitive | | | | | ❌ |
|
|
180
177
|
| [encryption-secure-mode](https://sonarsource.github.io/rspec/#/rspec/S5542/javascript) | Encryption algorithms should be used with secure mode and padding scheme | ✅ | | | | |
|
|
181
178
|
| [existing-groups](https://sonarsource.github.io/rspec/#/rspec/S6328/javascript) | Replacement strings should reference existing regular expression groups | ✅ | | | 💭 | |
|
|
182
179
|
| [expression-complexity](https://sonarsource.github.io/rspec/#/rspec/S1067/javascript) | Expressions should not be too complex | | | | | |
|
|
@@ -187,24 +184,25 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
187
184
|
| [fixme-tag](https://sonarsource.github.io/rspec/#/rspec/S1134/javascript) | Track uses of "FIXME" tags | ✅ | | | | |
|
|
188
185
|
| [for-in](https://sonarsource.github.io/rspec/#/rspec/S1535/javascript) | "for...in" loops should filter properties before acting on them | | | | | |
|
|
189
186
|
| [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 | ✅ | | | | |
|
|
190
|
-
| [frame-ancestors](https://sonarsource.github.io/rspec/#/rspec/S5732/javascript) |
|
|
187
|
+
| [frame-ancestors](https://sonarsource.github.io/rspec/#/rspec/S5732/javascript) | Content Security Policy frame-ancestors directive should not be disabled | | | | | ❌ |
|
|
191
188
|
| [function-inside-loop](https://sonarsource.github.io/rspec/#/rspec/S1515/javascript) | Functions should not be defined inside loops | ✅ | | | | |
|
|
192
189
|
| [function-name](https://sonarsource.github.io/rspec/#/rspec/S100/javascript) | Function and method names should comply with a naming convention | | | | | |
|
|
193
190
|
| [function-return-type](https://sonarsource.github.io/rspec/#/rspec/S3800/javascript) | Functions should always return the same type | ✅ | | | 💭 | |
|
|
194
191
|
| [future-reserved-words](https://sonarsource.github.io/rspec/#/rspec/S1527/javascript) | Future reserved words should not be used as identifiers | ✅ | | | | |
|
|
195
192
|
| [generator-without-yield](https://sonarsource.github.io/rspec/#/rspec/S3531/javascript) | Generators should explicitly "yield" a value | ✅ | | | | |
|
|
196
193
|
| [hardcoded-secret-signatures](https://sonarsource.github.io/rspec/#/rspec/S6437/javascript) | Credentials should not be hard-coded | ✅ | | | | |
|
|
197
|
-
| [hashing](https://sonarsource.github.io/rspec/#/rspec/S4790/javascript) |
|
|
198
|
-
| [hidden-files](https://sonarsource.github.io/rspec/#/rspec/S5691/javascript) |
|
|
194
|
+
| [hashing](https://sonarsource.github.io/rspec/#/rspec/S4790/javascript) | Weak hashing algorithms should not be used | ✅ | | | | |
|
|
195
|
+
| [hidden-files](https://sonarsource.github.io/rspec/#/rspec/S5691/javascript) | Hidden files should not be served statically | | | | | ❌ |
|
|
196
|
+
| [hooks-before-test-cases](https://sonarsource.github.io/rspec/#/rspec/S8782/javascript) | Lifecycle hooks should not be interleaved with test cases or nested suites | ✅ | | | | |
|
|
199
197
|
| [in-operator-type-error](https://sonarsource.github.io/rspec/#/rspec/S3785/javascript) | "in" should not be used with primitive types | ✅ | | | 💭 | |
|
|
200
198
|
| [inconsistent-function-call](https://sonarsource.github.io/rspec/#/rspec/S3686/javascript) | Functions should be called consistently with or without "new" | ✅ | | | | |
|
|
201
199
|
| [index-of-compare-to-positive-number](https://sonarsource.github.io/rspec/#/rspec/S2692/javascript) | "indexOf" checks should not be for positive numbers | ✅ | | | 💭 | |
|
|
202
|
-
| [insecure-cookie](https://sonarsource.github.io/rspec/#/rspec/S2092/javascript) |
|
|
200
|
+
| [insecure-cookie](https://sonarsource.github.io/rspec/#/rspec/S2092/javascript) | Cookies should have the "secure" flag | ✅ | | | | |
|
|
203
201
|
| [insecure-jwt-token](https://sonarsource.github.io/rspec/#/rspec/S5659/javascript) | JWT should be signed and verified with strong cipher algorithms | ✅ | | | | |
|
|
204
202
|
| [inverted-assertion-arguments](https://sonarsource.github.io/rspec/#/rspec/S3415/javascript) | Assertion arguments should be passed in the correct order | ✅ | | 💡 | | |
|
|
205
203
|
| [jsx-no-leaked-render](https://sonarsource.github.io/rspec/#/rspec/S6439/javascript) | React components should not render non-boolean condition values | ✅ | | 💡 | 💭 | |
|
|
206
204
|
| [label-position](https://sonarsource.github.io/rspec/#/rspec/S1439/javascript) | Only "while", "do", "for" and "switch" statements should be labelled | ✅ | | | | |
|
|
207
|
-
| [link-with-target-blank](https://sonarsource.github.io/rspec/#/rspec/S5148/javascript) |
|
|
205
|
+
| [link-with-target-blank](https://sonarsource.github.io/rspec/#/rspec/S5148/javascript) | Opened windows should not have access to the originating page | ✅ | | | | |
|
|
208
206
|
| [max-lines](https://sonarsource.github.io/rspec/#/rspec/S104/javascript) | Files should not have too many lines of code | | | | | |
|
|
209
207
|
| [max-lines-per-function](https://sonarsource.github.io/rspec/#/rspec/S138/javascript) | Functions should not have too many lines of code | | | | | |
|
|
210
208
|
| [max-switch-cases](https://sonarsource.github.io/rspec/#/rspec/S1479/javascript) | "switch" statements should not have too many "case" clauses | ✅ | | | | |
|
|
@@ -214,22 +212,23 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
214
212
|
| [new-operator-misuse](https://sonarsource.github.io/rspec/#/rspec/S2999/javascript) | "new" should only be used with functions and classes | ✅ | | | 💭 | |
|
|
215
213
|
| [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 | ✅ | | | | |
|
|
216
214
|
| [no-alphabetical-sort](https://sonarsource.github.io/rspec/#/rspec/S2871/javascript) | "Array.prototype.sort()" and "Array.prototype.toSorted()" should use a compare function | ✅ | | 💡 | 💭 | |
|
|
217
|
-
| [no-angular-bypass-sanitization](https://sonarsource.github.io/rspec/#/rspec/S6268/javascript) |
|
|
215
|
+
| [no-angular-bypass-sanitization](https://sonarsource.github.io/rspec/#/rspec/S6268/javascript) | Angular built-in sanitization should not be disabled | ✅ | | | | |
|
|
218
216
|
| [no-array-delete](https://sonarsource.github.io/rspec/#/rspec/S2870/javascript) | "delete" should not be used on arrays | ✅ | | | 💭 | |
|
|
219
217
|
| [no-associative-arrays](https://sonarsource.github.io/rspec/#/rspec/S3579/javascript) | Array indexes should be numeric | ✅ | | | 💭 | |
|
|
220
218
|
| [no-async-constructor](https://sonarsource.github.io/rspec/#/rspec/S7059/javascript) | Constructors should not contain asynchronous operations | ✅ | | | 💭 | |
|
|
221
219
|
| [no-built-in-override](https://sonarsource.github.io/rspec/#/rspec/S2424/javascript) | Built-in objects should not be overridden | | | | | |
|
|
222
220
|
| [no-case-label-in-switch](https://sonarsource.github.io/rspec/#/rspec/S1219/javascript) | "switch" statements should not contain non-case labels | ✅ | | | | |
|
|
223
|
-
| [no-clear-text-protocols](https://sonarsource.github.io/rspec/#/rspec/S5332/javascript) |
|
|
221
|
+
| [no-clear-text-protocols](https://sonarsource.github.io/rspec/#/rspec/S5332/javascript) | Clear-text protocols should not be used | ✅ | | | | |
|
|
224
222
|
| [no-code-after-done](https://sonarsource.github.io/rspec/#/rspec/S6079/javascript) | Tests should not execute any code after "done()" is called | ✅ | | | | |
|
|
225
223
|
| [no-collapsible-if](https://sonarsource.github.io/rspec/#/rspec/S1066/javascript) | Mergeable "if" statements should be combined | | | | | |
|
|
226
224
|
| [no-collection-size-mischeck](https://sonarsource.github.io/rspec/#/rspec/S3981/javascript) | Collection size and array length comparisons should make sense | ✅ | | 💡 | 💭 | |
|
|
227
|
-
| [no-commented-code](https://sonarsource.github.io/rspec/#/rspec/S125/javascript) | Sections of code should not be commented out |
|
|
225
|
+
| [no-commented-code](https://sonarsource.github.io/rspec/#/rspec/S125/javascript) | Sections of code should not be commented out | | | 💡 | | |
|
|
228
226
|
| [no-control-regex](https://sonarsource.github.io/rspec/#/rspec/S6324/javascript) | Regular expressions should not contain control characters | ✅ | | | 💭 | |
|
|
229
227
|
| [no-dead-store](https://sonarsource.github.io/rspec/#/rspec/S1854/javascript) | Unused assignments should be removed | ✅ | | | | |
|
|
230
228
|
| [no-delete-var](https://sonarsource.github.io/rspec/#/rspec/S3001/javascript) | "delete" should be used only with object properties | ✅ | | | | |
|
|
231
229
|
| [no-duplicate-in-composite](https://sonarsource.github.io/rspec/#/rspec/S4621/javascript) | Union and intersection types should not include duplicated constituents | ✅ | | 💡 | | |
|
|
232
230
|
| [no-duplicate-string](https://sonarsource.github.io/rspec/#/rspec/S1192/javascript) | String literals should not be duplicated | | | | | |
|
|
231
|
+
| [no-duplicate-test-title](https://sonarsource.github.io/rspec/#/rspec/S8754/javascript) | Test titles should be unique within the same suite | ✅ | | | | |
|
|
233
232
|
| [no-duplicated-branches](https://sonarsource.github.io/rspec/#/rspec/S1871/javascript) | Two branches in a conditional structure should not have exactly the same implementation | ✅ | | | | |
|
|
234
233
|
| [no-element-overwrite](https://sonarsource.github.io/rspec/#/rspec/S4143/javascript) | Collection elements should not be replaced unconditionally | ✅ | | | | |
|
|
235
234
|
| [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 | ✅ | | | 💭 | |
|
|
@@ -242,12 +241,13 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
242
241
|
| [no-exclusive-tests](https://sonarsource.github.io/rspec/#/rspec/S6426/javascript) | Exclusive tests should not be committed to version control | ✅ | | 💡 | | |
|
|
243
242
|
| [no-extra-arguments](https://sonarsource.github.io/rspec/#/rspec/S930/javascript) | Function calls should not pass extra arguments | ✅ | | | | |
|
|
244
243
|
| [no-fallthrough](https://sonarsource.github.io/rspec/#/rspec/S128/javascript) | Switch cases should end with an unconditional "break" statement | ✅ | | | | |
|
|
244
|
+
| [no-floating-point-equality](https://sonarsource.github.io/rspec/#/rspec/S1244/javascript) | Floating point numbers should not be tested for equality | ✅ | | | | |
|
|
245
245
|
| [no-for-in-iterable](https://sonarsource.github.io/rspec/#/rspec/S4139/javascript) | "for in" should not be used with iterables | | | | 💭 | |
|
|
246
246
|
| [no-function-declaration-in-block](https://sonarsource.github.io/rspec/#/rspec/S1530/javascript) | Function declarations should not be made within blocks | | | | | |
|
|
247
247
|
| [no-global-this](https://sonarsource.github.io/rspec/#/rspec/S2990/javascript) | The global "this" object should not be used | ✅ | | 💡 | | |
|
|
248
248
|
| [no-globals-shadowing](https://sonarsource.github.io/rspec/#/rspec/S2137/javascript) | Special identifiers should not be bound or assigned | ✅ | | | | |
|
|
249
249
|
| [no-gratuitous-expressions](https://sonarsource.github.io/rspec/#/rspec/S2589/javascript) | Boolean expressions should not be gratuitous | ✅ | | | | |
|
|
250
|
-
| [no-hardcoded-ip](https://sonarsource.github.io/rspec/#/rspec/S1313/javascript) |
|
|
250
|
+
| [no-hardcoded-ip](https://sonarsource.github.io/rspec/#/rspec/S1313/javascript) | IP addresses should not be hardcoded | ✅ | | | | |
|
|
251
251
|
| [no-hardcoded-passwords](https://sonarsource.github.io/rspec/#/rspec/S2068/javascript) | Credentials should not be hard-coded | ✅ | | | | |
|
|
252
252
|
| [no-hardcoded-secrets](https://sonarsource.github.io/rspec/#/rspec/S6418/javascript) | Secrets should not be hard-coded | ✅ | | | | |
|
|
253
253
|
| [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 | ✅ | | | | |
|
|
@@ -259,28 +259,29 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
259
259
|
| [no-implicit-dependencies](https://sonarsource.github.io/rspec/#/rspec/S4328/javascript) | Dependencies should be explicit | | | | | |
|
|
260
260
|
| [no-implicit-global](https://sonarsource.github.io/rspec/#/rspec/S2703/javascript) | Variables should be declared explicitly | ✅ | | | | |
|
|
261
261
|
| [no-in-misuse](https://sonarsource.github.io/rspec/#/rspec/S4619/javascript) | "in" should not be used on arrays | ✅ | | 💡 | 💭 | |
|
|
262
|
+
| [no-incompatible-assertion-types](https://sonarsource.github.io/rspec/#/rspec/S5845/javascript) | Assertions comparing incompatible types should not be made | ✅ | | | 💭 | |
|
|
262
263
|
| [no-incomplete-assertions](https://sonarsource.github.io/rspec/#/rspec/S2970/javascript) | Assertions should be complete | ✅ | | | | |
|
|
263
264
|
| [no-inconsistent-returns](https://sonarsource.github.io/rspec/#/rspec/S3801/javascript) | Functions should use "return" consistently | | | | 💭 | |
|
|
264
265
|
| [no-incorrect-string-concat](https://sonarsource.github.io/rspec/#/rspec/S3402/javascript) | Strings and non-strings should not be added | | | | 💭 | |
|
|
265
266
|
| [no-internal-api-use](https://sonarsource.github.io/rspec/#/rspec/S6627/javascript) | Users should not use internal APIs | ✅ | | | | |
|
|
266
|
-
| [no-intrusive-permissions](https://sonarsource.github.io/rspec/#/rspec/S5604/javascript) |
|
|
267
|
+
| [no-intrusive-permissions](https://sonarsource.github.io/rspec/#/rspec/S5604/javascript) | Sensitive permissions should not be requested unnecessarily | | | | | ❌ |
|
|
267
268
|
| [no-invalid-regexp](https://sonarsource.github.io/rspec/#/rspec/S5856/javascript) | Regular expressions should be syntactically valid | ✅ | | | 💭 | |
|
|
268
269
|
| [no-invariant-returns](https://sonarsource.github.io/rspec/#/rspec/S3516/javascript) | Function returns should not be invariant | ✅ | | | | |
|
|
269
270
|
| [no-inverted-boolean-check](https://sonarsource.github.io/rspec/#/rspec/S1940/javascript) | Boolean checks should not be inverted | ✅ | | 💡 | | |
|
|
270
|
-
| [no-ip-forward](https://sonarsource.github.io/rspec/#/rspec/S5759/javascript) |
|
|
271
|
+
| [no-ip-forward](https://sonarsource.github.io/rspec/#/rspec/S5759/javascript) | Client IP address should not be forwarded to proxies | | | | | ❌ |
|
|
271
272
|
| [no-labels](https://sonarsource.github.io/rspec/#/rspec/S1119/javascript) | Labels should not be used | ✅ | | | | |
|
|
272
273
|
| [no-literal-call](https://sonarsource.github.io/rspec/#/rspec/S6958/javascript) | Literals should not be used as functions | ✅ | | | | |
|
|
273
|
-
| [no-mime-sniff](https://sonarsource.github.io/rspec/#/rspec/S5734/javascript) |
|
|
274
|
+
| [no-mime-sniff](https://sonarsource.github.io/rspec/#/rspec/S5734/javascript) | Browsers should not be allowed to perform MIME type sniffing | ✅ | | | | |
|
|
274
275
|
| [no-misleading-array-reverse](https://sonarsource.github.io/rspec/#/rspec/S4043/javascript) | Array-mutating methods should not be used misleadingly | ✅ | | 💡 | 💭 | |
|
|
275
276
|
| [no-misleading-character-class](https://sonarsource.github.io/rspec/#/rspec/S5868/javascript) | Unicode Grapheme Clusters should be avoided inside regex character classes | ✅ | | 💡 | 💭 | |
|
|
276
|
-
| [no-mixed-content](https://sonarsource.github.io/rspec/#/rspec/S5730/javascript) |
|
|
277
|
+
| [no-mixed-content](https://sonarsource.github.io/rspec/#/rspec/S5730/javascript) | Content Security Policy should block mixed-content | | | | | ❌ |
|
|
277
278
|
| [no-nested-assignment](https://sonarsource.github.io/rspec/#/rspec/S1121/javascript) | Assignments should not be made from within sub-expressions | ✅ | | | | |
|
|
278
279
|
| [no-nested-conditional](https://sonarsource.github.io/rspec/#/rspec/S3358/javascript) | Ternary operators should not be nested | ✅ | | | | |
|
|
279
280
|
| [no-nested-functions](https://sonarsource.github.io/rspec/#/rspec/S2004/javascript) | Functions should not be nested too deeply | ✅ | | | | |
|
|
280
281
|
| [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 | | | | | |
|
|
281
282
|
| [no-nested-switch](https://sonarsource.github.io/rspec/#/rspec/S1821/javascript) | "switch" statements should not be nested | | | | | |
|
|
282
283
|
| [no-nested-template-literals](https://sonarsource.github.io/rspec/#/rspec/S4624/javascript) | Template literals should not be nested | ✅ | | | | |
|
|
283
|
-
| [no-os-command-from-path](https://sonarsource.github.io/rspec/#/rspec/S4036/javascript) |
|
|
284
|
+
| [no-os-command-from-path](https://sonarsource.github.io/rspec/#/rspec/S4036/javascript) | OS commands should not rely on PATH resolution | ✅ | | | | |
|
|
284
285
|
| [no-parameter-reassignment](https://sonarsource.github.io/rspec/#/rspec/S1226/javascript) | Initial values of parameters, caught exceptions, and loop variables should not be ignored | ✅ | | | | |
|
|
285
286
|
| [no-primitive-wrappers](https://sonarsource.github.io/rspec/#/rspec/S1533/javascript) | Wrapper objects should not be used for primitive types | ✅ | | 💡 | | |
|
|
286
287
|
| [no-redundant-assignments](https://sonarsource.github.io/rspec/#/rspec/S4165/javascript) | Assignments should not be redundant | ✅ | | | | |
|
|
@@ -289,7 +290,7 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
289
290
|
| [no-redundant-optional](https://sonarsource.github.io/rspec/#/rspec/S4782/javascript) | Optional property declarations should not use both '?' and 'undefined' syntax | ✅ | | 💡 | 💭 | |
|
|
290
291
|
| [no-redundant-parentheses](https://sonarsource.github.io/rspec/#/rspec/S1110/javascript) | Redundant pairs of parentheses should be removed | | | 💡 | | ❌ |
|
|
291
292
|
| [no-reference-error](https://sonarsource.github.io/rspec/#/rspec/S3827/javascript) | Variables should be defined before being used | | | | | |
|
|
292
|
-
| [no-referrer-policy](https://sonarsource.github.io/rspec/#/rspec/S5736/javascript) |
|
|
293
|
+
| [no-referrer-policy](https://sonarsource.github.io/rspec/#/rspec/S5736/javascript) | HTTP Referrer-Policy should not be set to an unsafe value | ✅ | | | | |
|
|
293
294
|
| [no-regex-spaces](https://sonarsource.github.io/rspec/#/rspec/S6326/javascript) | Regular expressions should not contain multiple spaces | ✅ | | 💡 | 💭 | |
|
|
294
295
|
| [no-require-or-define](https://sonarsource.github.io/rspec/#/rspec/S3533/javascript) | "import" should be used to include external code | | | | 💭 | |
|
|
295
296
|
| [no-return-type-any](https://sonarsource.github.io/rspec/#/rspec/S4324/javascript) | Primitive return types should be used | | | | 💭 | |
|
|
@@ -298,16 +299,17 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
298
299
|
| [no-selector-parameter](https://sonarsource.github.io/rspec/#/rspec/S2301/javascript) | Methods should not contain selector parameters | ✅ | | | 💭 | |
|
|
299
300
|
| [no-session-cookies-on-static-assets](https://sonarsource.github.io/rspec/#/rspec/S8441/javascript) | Static Assets should not serve session cookies | ✅ | | | | |
|
|
300
301
|
| [no-skipped-tests](https://sonarsource.github.io/rspec/#/rspec/S1607/javascript) | Tests should not be skipped without providing a reason | ✅ | | | | |
|
|
301
|
-
| [no-small-switch](https://sonarsource.github.io/rspec/#/rspec/S1301/javascript) | "if" statements should be preferred over "switch" when simpler | ✅ | | |
|
|
302
|
+
| [no-small-switch](https://sonarsource.github.io/rspec/#/rspec/S1301/javascript) | "if" statements should be preferred over "switch" when simpler | ✅ | | | 💭 | |
|
|
302
303
|
| [no-sonar-comments](https://sonarsource.github.io/rspec/#/rspec/S1291/javascript) | Track uses of "NOSONAR" comments | | | | | |
|
|
303
304
|
| [no-tab](https://sonarsource.github.io/rspec/#/rspec/S105/javascript) | Tabulation characters should not be used | | | | | ❌ |
|
|
304
305
|
| [no-table-as-layout](https://sonarsource.github.io/rspec/#/rspec/S5257/javascript) | HTML "<table>" should not be used for layout purposes | ✅ | | | | |
|
|
306
|
+
| [no-trivial-assertions](https://sonarsource.github.io/rspec/#/rspec/S5914/javascript) | Assertions should not fail or succeed unconditionally | ✅ | | | | |
|
|
305
307
|
| [no-try-promise](https://sonarsource.github.io/rspec/#/rspec/S4822/javascript) | Promise rejections should not be caught by "try" blocks | ✅ | | | 💭 | |
|
|
306
308
|
| [no-undefined-argument](https://sonarsource.github.io/rspec/#/rspec/S4623/javascript) | "undefined" should not be passed as the value of optional parameters | ✅ | | 💡 | 💭 | |
|
|
307
309
|
| [no-undefined-assignment](https://sonarsource.github.io/rspec/#/rspec/S2138/javascript) | "undefined" should not be assigned | | | | | |
|
|
308
310
|
| [no-unenclosed-multiline-block](https://sonarsource.github.io/rspec/#/rspec/S2681/javascript) | Multiline blocks should be enclosed in curly braces | ✅ | | | | |
|
|
309
311
|
| [no-uniq-key](https://sonarsource.github.io/rspec/#/rspec/S6486/javascript) | JSX list components keys should match up between renders | ✅ | | | | |
|
|
310
|
-
| [no-unsafe-unzip](https://sonarsource.github.io/rspec/#/rspec/S5042/javascript) | Expanding archive files without controlling resource consumption
|
|
312
|
+
| [no-unsafe-unzip](https://sonarsource.github.io/rspec/#/rspec/S5042/javascript) | Expanding archive files should not be done without controlling resource consumption | | | | | ❌ |
|
|
311
313
|
| [no-unthrown-error](https://sonarsource.github.io/rspec/#/rspec/S3984/javascript) | Errors should not be created without being thrown | ✅ | | 💡 | | |
|
|
312
314
|
| [no-unused-collection](https://sonarsource.github.io/rspec/#/rspec/S4030/javascript) | Collection contents should be used | ✅ | | | | |
|
|
313
315
|
| [no-unused-function-argument](https://sonarsource.github.io/rspec/#/rspec/S1172/javascript) | Unused function parameters should be removed | | | 💡 | | |
|
|
@@ -318,7 +320,6 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
318
320
|
| [no-useless-intersection](https://sonarsource.github.io/rspec/#/rspec/S4335/javascript) | Type intersections should use meaningful types | ✅ | | | 💭 | |
|
|
319
321
|
| [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 | ✅ | | | | |
|
|
320
322
|
| [no-variable-usage-before-declaration](https://sonarsource.github.io/rspec/#/rspec/S1526/javascript) | Variables declared with "var" should be declared before they are used | | | | | |
|
|
321
|
-
| [no-vue-bypass-sanitization](https://sonarsource.github.io/rspec/#/rspec/S6299/javascript) | Disabling Vue.js built-in escaping is security-sensitive | | | | | ❌ |
|
|
322
323
|
| [no-weak-cipher](https://sonarsource.github.io/rspec/#/rspec/S5547/javascript) | Cipher algorithms should be robust | ✅ | | | | |
|
|
323
324
|
| [no-weak-keys](https://sonarsource.github.io/rspec/#/rspec/S4426/javascript) | Cryptographic keys should be robust | ✅ | | | | |
|
|
324
325
|
| [no-wildcard-import](https://sonarsource.github.io/rspec/#/rspec/S2208/javascript) | Wildcard imports should not be used | | | | | |
|
|
@@ -327,7 +328,7 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
327
328
|
| [null-dereference](https://sonarsource.github.io/rspec/#/rspec/S2259/javascript) | Properties of variables with "null" or "undefined" values should not be accessed | ✅ | | | 💭 | |
|
|
328
329
|
| [object-alt-content](https://sonarsource.github.io/rspec/#/rspec/S5264/javascript) | "<object>" tags should provide an alternative content | ✅ | | | | |
|
|
329
330
|
| [operation-returning-nan](https://sonarsource.github.io/rspec/#/rspec/S3757/javascript) | Arithmetic operations should not result in "NaN" | | | | 💭 | |
|
|
330
|
-
| [os-command](https://sonarsource.github.io/rspec/#/rspec/S4721/javascript) |
|
|
331
|
+
| [os-command](https://sonarsource.github.io/rspec/#/rspec/S4721/javascript) | OS commands should not be executed using a shell interpreter | | | | | ❌ |
|
|
331
332
|
| [post-message](https://sonarsource.github.io/rspec/#/rspec/S2819/javascript) | Origins should be verified during cross-origin communications | ✅ | | | 💭 | |
|
|
332
333
|
| [prefer-default-last](https://sonarsource.github.io/rspec/#/rspec/S4524/javascript) | "default" clauses should be last | ✅ | | | | |
|
|
333
334
|
| [prefer-immediate-return](https://sonarsource.github.io/rspec/#/rspec/S1488/javascript) | Local variables should not be declared and then immediately returned or thrown | | 🔧 | | 💭 | |
|
|
@@ -336,29 +337,26 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
336
337
|
| [prefer-read-only-props](https://sonarsource.github.io/rspec/#/rspec/S6759/javascript) | React props should be read-only | ✅ | | 💡 | 💭 | |
|
|
337
338
|
| [prefer-regexp-exec](https://sonarsource.github.io/rspec/#/rspec/S6594/javascript) | "RegExp.exec()" should be preferred over "String.match()" | ✅ | | 💡 | 💭 | |
|
|
338
339
|
| [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 | ✅ | | 💡 | | |
|
|
340
|
+
| [prefer-specific-assertions](https://sonarsource.github.io/rspec/#/rspec/S5906/javascript) | The most specific assertion should be used | ✅ | | 💡 | | |
|
|
339
341
|
| [prefer-type-guard](https://sonarsource.github.io/rspec/#/rspec/S4322/javascript) | Type predicates should be used | ✅ | | 💡 | | |
|
|
340
342
|
| [prefer-while](https://sonarsource.github.io/rspec/#/rspec/S1264/javascript) | A "while" loop should be used instead of a "for" loop | ✅ | 🔧 | | | |
|
|
341
|
-
| [
|
|
342
|
-
| [
|
|
343
|
-
| [pseudo-random](https://sonarsource.github.io/rspec/#/rspec/S2245/javascript) | Using pseudorandom number generators (PRNGs) is security-sensitive | ✅ | | | | |
|
|
343
|
+
| [production-debug](https://sonarsource.github.io/rspec/#/rspec/S4507/javascript) | Debugging features should not be enabled in production | ✅ | | | | |
|
|
344
|
+
| [pseudo-random](https://sonarsource.github.io/rspec/#/rspec/S2245/javascript) | Pseudorandom number generators (PRNGs) should not be used in security contexts | ✅ | | | | |
|
|
344
345
|
| [public-static-readonly](https://sonarsource.github.io/rspec/#/rspec/S1444/javascript) | Public "static" fields should be read-only | ✅ | | 💡 | | |
|
|
345
|
-
| [publicly-writable-directories](https://sonarsource.github.io/rspec/#/rspec/S5443/javascript) |
|
|
346
|
+
| [publicly-writable-directories](https://sonarsource.github.io/rspec/#/rspec/S5443/javascript) | Temporary files should not be created in publicly writable directories | ✅ | | | | |
|
|
346
347
|
| [reduce-initial-value](https://sonarsource.github.io/rspec/#/rspec/S6959/javascript) | "Array.reduce()" calls should include an initial value | ✅ | | | 💭 | |
|
|
347
348
|
| [redundant-type-aliases](https://sonarsource.github.io/rspec/#/rspec/S6564/javascript) | Redundant type aliases should not be used | ✅ | | | | |
|
|
348
349
|
| [regex-complexity](https://sonarsource.github.io/rspec/#/rspec/S5843/javascript) | Regular expressions should not be too complicated | ✅ | | | 💭 | |
|
|
349
|
-
| [regular-expr](https://sonarsource.github.io/rspec/#/rspec/S4784/javascript) | Using regular expressions is security-sensitive | | | | | ❌ |
|
|
350
350
|
| [review-blockchain-mnemonic](https://sonarsource.github.io/rspec/#/rspec/S7639/javascript) | Wallet phrases should not be hard-coded | ✅ | | | | |
|
|
351
351
|
| [session-regeneration](https://sonarsource.github.io/rspec/#/rspec/S5876/javascript) | A new session should be created during user authentication | ✅ | | | | |
|
|
352
352
|
| [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 | | | | | |
|
|
353
353
|
| [single-char-in-character-classes](https://sonarsource.github.io/rspec/#/rspec/S6397/javascript) | Character classes in regular expressions should not contain only one character | ✅ | | | 💭 | |
|
|
354
354
|
| [single-character-alternation](https://sonarsource.github.io/rspec/#/rspec/S6035/javascript) | Single-character alternations in regular expressions should be replaced with character classes | ✅ | | | 💭 | |
|
|
355
|
-
| [slow-regex](https://sonarsource.github.io/rspec/#/rspec/S5852/javascript) |
|
|
356
|
-
| [
|
|
357
|
-
| [sql-queries](https://sonarsource.github.io/rspec/#/rspec/S2077/javascript) | Formatting SQL queries is security-sensitive | ✅ | | | 💭 | |
|
|
355
|
+
| [slow-regex](https://sonarsource.github.io/rspec/#/rspec/S5852/javascript) | Regular expressions should not cause catastrophic backtracking | ✅ | | | 💭 | |
|
|
356
|
+
| [sql-queries](https://sonarsource.github.io/rspec/#/rspec/S2077/javascript) | SQL queries should not be dynamically formatted | ✅ | | | 💭 | |
|
|
358
357
|
| [stable-tests](https://sonarsource.github.io/rspec/#/rspec/S5973/javascript) | Tests should be stable | ✅ | | | | |
|
|
359
|
-
| [standard-input](https://sonarsource.github.io/rspec/#/rspec/S4829/javascript) | Reading the Standard Input is security-sensitive | | | | | ❌ |
|
|
360
358
|
| [stateful-regex](https://sonarsource.github.io/rspec/#/rspec/S6351/javascript) | Regular expressions with the global flag should be used with caution | ✅ | | | | |
|
|
361
|
-
| [strict-transport-security](https://sonarsource.github.io/rspec/#/rspec/S5739/javascript) |
|
|
359
|
+
| [strict-transport-security](https://sonarsource.github.io/rspec/#/rspec/S5739/javascript) | HTTP Strict-Transport-Security policy should not be disabled | ✅ | | | | |
|
|
362
360
|
| [strings-comparison](https://sonarsource.github.io/rspec/#/rspec/S3003/javascript) | Comparison operators should not be used with strings | | | | 💭 | |
|
|
363
361
|
| [table-header](https://sonarsource.github.io/rspec/#/rspec/S5256/javascript) | Tables should have headers | ✅ | | | | |
|
|
364
362
|
| [table-header-reference](https://sonarsource.github.io/rspec/#/rspec/S5260/javascript) | Table cells should reference their headers | ✅ | | | | |
|
|
@@ -379,9 +377,8 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
379
377
|
| [void-use](https://sonarsource.github.io/rspec/#/rspec/S3735/javascript) | "void" should not be used | ✅ | | | 💭 | |
|
|
380
378
|
| [weak-ssl](https://sonarsource.github.io/rspec/#/rspec/S4423/javascript) | Weak SSL/TLS protocols should not be used | ✅ | | | | |
|
|
381
379
|
| [web-sql-database](https://sonarsource.github.io/rspec/#/rspec/S2817/javascript) | Web SQL databases should not be used | | | | 💭 | ❌ |
|
|
382
|
-
| [x-powered-by](https://sonarsource.github.io/rspec/#/rspec/S5689/javascript) |
|
|
380
|
+
| [x-powered-by](https://sonarsource.github.io/rspec/#/rspec/S5689/javascript) | Web application technologies should not disclose version information | ✅ | | | | |
|
|
383
381
|
| [xml-parser-xxe](https://sonarsource.github.io/rspec/#/rspec/S2755/javascript) | XML parsers should not be vulnerable to XXE attacks | ✅ | | | | |
|
|
384
|
-
| [xpath](https://sonarsource.github.io/rspec/#/rspec/S4817/javascript) | Executing XPath expressions is security-sensitive | | | | | ❌ |
|
|
385
382
|
|
|
386
383
|
<!-- end auto-generated rules list -->
|
|
387
384
|
|
|
@@ -419,7 +416,6 @@ SonarJS uses some rules are not shipped in this ESLint plugin to avoid duplicati
|
|
|
419
416
|
| S1656 | [eslint/no-self-assign](https://eslint.org/docs/latest/rules/no-self-assign) |
|
|
420
417
|
| S1751 | [eslint/no-unreachable-loop](https://eslint.org/docs/latest/rules/no-unreachable-loop) |
|
|
421
418
|
| S1774 | [eslint/no-ternary](https://eslint.org/docs/latest/rules/no-ternary) |
|
|
422
|
-
| S2094 | [typescript-eslint/no-extraneous-class](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-extraneous-class.mdx) |
|
|
423
419
|
| S2427 | [eslint/radix](https://eslint.org/docs/latest/rules/radix) |
|
|
424
420
|
| S2432 | [eslint/no-setter-return](https://eslint.org/docs/latest/rules/no-setter-return) |
|
|
425
421
|
| S2685 | [eslint/no-caller](https://eslint.org/docs/latest/rules/no-caller) |
|
|
@@ -429,7 +425,6 @@ SonarJS uses some rules are not shipped in this ESLint plugin to avoid duplicati
|
|
|
429
425
|
| S3353 | [eslint/prefer-const](https://eslint.org/docs/latest/rules/prefer-const) |
|
|
430
426
|
| S3523 | [eslint/no-new-func](https://eslint.org/docs/latest/rules/no-new-func) |
|
|
431
427
|
| S3786 | [eslint/no-template-curly-in-string](https://eslint.org/docs/latest/rules/no-template-curly-in-string) |
|
|
432
|
-
| S3799 | [eslint/no-empty-pattern](https://eslint.org/docs/latest/rules/no-empty-pattern) |
|
|
433
428
|
| S3812 | [eslint/no-unsafe-negation](https://eslint.org/docs/latest/rules/no-unsafe-negation) |
|
|
434
429
|
| S3834 | [eslint/no-new-native-nonconstructor](https://eslint.org/docs/latest/rules/no-new-native-nonconstructor) |
|
|
435
430
|
| S3863 | [import/no-duplicates](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-duplicates.md) |
|
|
@@ -441,7 +436,6 @@ SonarJS uses some rules are not shipped in this ESLint plugin to avoid duplicati
|
|
|
441
436
|
| S4140 | [eslint/no-sparse-arrays](https://eslint.org/docs/latest/rules/no-sparse-arrays) |
|
|
442
437
|
| S4157 | [typescript-eslint/no-unnecessary-type-arguments](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-type-arguments.mdx) |
|
|
443
438
|
| S4204 | [typescript-eslint/no-explicit-any](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-explicit-any.mdx) |
|
|
444
|
-
| S4325 | [typescript-eslint/no-unnecessary-type-assertion](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-type-assertion.mdx) |
|
|
445
439
|
| S4326 | [eslint/no-return-await](https://eslint.org/docs/latest/rules/no-return-await) |
|
|
446
440
|
| S6325 | [eslint/prefer-regex-literals](https://eslint.org/docs/latest/rules/prefer-regex-literals) |
|
|
447
441
|
| S6435 | [react/require-render-return](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/require-render-return.md) |
|
|
@@ -472,11 +466,9 @@ SonarJS uses some rules are not shipped in this ESLint plugin to avoid duplicati
|
|
|
472
466
|
| S6748 | [react/no-children-prop](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-children-prop.md) |
|
|
473
467
|
| S6750 | [react/no-render-return-value](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-render-return-value.md) |
|
|
474
468
|
| S6756 | [react/no-access-state-in-setstate](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-access-state-in-setstate.md) |
|
|
475
|
-
| S6757 | [react/no-this-in-sfc](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-this-in-sfc.md) |
|
|
476
469
|
| S6761 | [react/no-danger-with-children](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-danger-with-children.md) |
|
|
477
470
|
| S6763 | [react/no-redundant-should-component-update](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-redundant-should-component-update.md) |
|
|
478
471
|
| S6766 | [react/no-unescaped-entities](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unescaped-entities.md) |
|
|
479
|
-
| S6767 | [react/no-unused-prop-types](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unused-prop-types.md) |
|
|
480
472
|
| S6770 | [react/jsx-pascal-case](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-pascal-case.md) |
|
|
481
473
|
| S6772 | [react/jsx-child-element-spacing](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-child-element-spacing.md) |
|
|
482
474
|
| S6775 | [react/default-props-match-prop-types](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/default-props-match-prop-types.md) |
|
|
@@ -502,7 +494,6 @@ SonarJS uses some rules are not shipped in this ESLint plugin to avoid duplicati
|
|
|
502
494
|
| S6850 | [jsx-a11y/heading-has-content](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/heading-has-content.md) |
|
|
503
495
|
| S6851 | [jsx-a11y/img-redundant-alt](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/img-redundant-alt.md) |
|
|
504
496
|
| S6852 | [jsx-a11y/interactive-supports-focus](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/interactive-supports-focus.md) |
|
|
505
|
-
| S6859 | [import/no-absolute-path](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-absolute-path.md) |
|
|
506
497
|
| S6861 | [import/no-mutable-exports](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-mutable-exports.md) |
|
|
507
498
|
| S7641 | [@angular-eslint/contextual-lifecycle](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/contextual-lifecycle.md) |
|
|
508
499
|
| S7647 | [@angular-eslint/no-empty-lifecycle-method](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/no-empty-lifecycle-method.md) |
|
|
@@ -519,7 +510,6 @@ SonarJS uses some rules are not shipped in this ESLint plugin to avoid duplicati
|
|
|
519
510
|
| S7719 | [unicorn/consistent-date-clone](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/consistent-date-clone.md) |
|
|
520
511
|
| S7720 | [unicorn/consistent-empty-array-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/consistent-empty-array-spread.md) |
|
|
521
512
|
| S7721 | [unicorn/consistent-function-scoping](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/consistent-function-scoping.md) |
|
|
522
|
-
| S7722 | [unicorn/error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/error-message.md) |
|
|
523
513
|
| S7724 | [unicorn/no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-abusive-eslint-disable.md) |
|
|
524
514
|
| S7725 | [unicorn/no-accessor-recursion](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-accessor-recursion.md) |
|
|
525
515
|
| S7726 | [unicorn/no-anonymous-default-export](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-anonymous-default-export.md) |
|
|
@@ -551,11 +541,10 @@ SonarJS uses some rules are not shipped in this ESLint plugin to avoid duplicati
|
|
|
551
541
|
| S7757 | [unicorn/prefer-class-fields](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-class-fields.md) |
|
|
552
542
|
| S7758 | [unicorn/prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-code-point.md) |
|
|
553
543
|
| S7760 | [unicorn/prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-default-parameters.md) |
|
|
554
|
-
| S7761 | [unicorn/
|
|
544
|
+
| S7761 | [unicorn/dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/dom-node-dataset.md) |
|
|
555
545
|
| S7762 | [unicorn/prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-dom-node-remove.md) |
|
|
556
546
|
| S7764 | [unicorn/prefer-global-this](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-global-this.md) |
|
|
557
547
|
| S7765 | [unicorn/prefer-includes](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-includes.md) |
|
|
558
|
-
| S7766 | [unicorn/prefer-math-min-max](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-math-min-max.md) |
|
|
559
548
|
| S7767 | [unicorn/prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-math-trunc.md) |
|
|
560
549
|
| S7768 | [unicorn/prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-modern-dom-apis.md) |
|
|
561
550
|
| S7769 | [unicorn/prefer-modern-math-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-modern-math-apis.md) |
|
|
@@ -566,11 +555,7 @@ SonarJS uses some rules are not shipped in this ESLint plugin to avoid duplicati
|
|
|
566
555
|
| S7775 | [unicorn/prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-regexp-test.md) |
|
|
567
556
|
| S7776 | [unicorn/prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-set-has.md) |
|
|
568
557
|
| S7777 | [unicorn/prefer-set-size](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-set-size.md) |
|
|
569
|
-
| S7778 | [unicorn/prefer-single-call](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-single-call.md) |
|
|
570
|
-
| S7780 | [unicorn/prefer-string-raw](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-string-raw.md) |
|
|
571
|
-
| S7781 | [unicorn/prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-string-replace-all.md) |
|
|
572
558
|
| S7783 | [unicorn/prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-string-trim-start-end.md) |
|
|
573
|
-
| S7784 | [unicorn/prefer-structured-clone](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-structured-clone.md) |
|
|
574
559
|
| S7786 | [unicorn/prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-type-error.md) |
|
|
575
560
|
| S7787 | [unicorn/require-module-specifiers](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/require-module-specifiers.md) |
|
|
576
561
|
|
|
@@ -599,6 +584,7 @@ The following rules are used in SonarJS but not available in this ESLint plugin.
|
|
|
599
584
|
| S1534 | [eslint/no-dupe-keys](https://eslint.org/docs/latest/rules/no-dupe-keys)<br>[typescript-eslint/no-dupe-class-members](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-dupe-class-members.mdx)<br>[react/jsx-no-duplicate-props](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-duplicate-props.md) |
|
|
600
585
|
| S1763 | [eslint/no-unreachable](https://eslint.org/docs/latest/rules/no-unreachable) |
|
|
601
586
|
| S1788 | [typescript-eslint/default-param-last](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/default-param-last.mdx) |
|
|
587
|
+
| S2094 | [typescript-eslint/no-extraneous-class](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-extraneous-class.mdx) |
|
|
602
588
|
| S2189 | [eslint/no-unmodified-loop-condition](https://eslint.org/docs/latest/rules/no-unmodified-loop-condition) |
|
|
603
589
|
| S2376 | [eslint/accessor-pairs](https://eslint.org/docs/latest/rules/accessor-pairs) |
|
|
604
590
|
| S2430 | [eslint/new-cap](https://eslint.org/docs/latest/rules/new-cap) |
|
|
@@ -609,12 +595,14 @@ The following rules are used in SonarJS but not available in this ESLint plugin.
|
|
|
609
595
|
| S3512 | [eslint/prefer-template](https://eslint.org/docs/latest/rules/prefer-template) |
|
|
610
596
|
| S3696 | [eslint/no-throw-literal](https://eslint.org/docs/latest/rules/no-throw-literal) |
|
|
611
597
|
| S3723 | [@stylistic/eslint-plugin/comma-dangle](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/packages/eslint-plugin/rules/comma-dangle/README.md) |
|
|
598
|
+
| S3799 | [eslint/no-empty-pattern](https://eslint.org/docs/latest/rules/no-empty-pattern) |
|
|
612
599
|
| S3854 | [eslint/constructor-super](https://eslint.org/docs/latest/rules/constructor-super)<br>[eslint/no-this-before-super](https://eslint.org/docs/latest/rules/no-this-before-super) |
|
|
613
600
|
| S4023 | [typescript-eslint/no-empty-interface](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-empty-interface.mdx) |
|
|
614
601
|
| S4084 | [jsx-a11y/media-has-caption](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/media-has-caption.md) |
|
|
615
602
|
| S4138 | [typescript-eslint/prefer-for-of](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-for-of.mdx) |
|
|
616
603
|
| S4156 | [typescript-eslint/prefer-namespace-keyword](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-namespace-keyword.mdx) |
|
|
617
604
|
| S4275 | [eslint/getter-return](https://eslint.org/docs/latest/rules/getter-return) |
|
|
605
|
+
| S4325 | [typescript-eslint/no-unnecessary-type-assertion](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-type-assertion.mdx) |
|
|
618
606
|
| S4327 | [typescript-eslint/no-this-alias](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-this-alias.mdx) |
|
|
619
607
|
| S5254 | [jsx-a11y/lang](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/lang.md)<br>[jsx-a11y/html-has-lang](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/html-has-lang.md) |
|
|
620
608
|
| S6440 | [react-hooks/rules-of-hooks](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/README.md) |
|
|
@@ -642,6 +630,8 @@ The following rules are used in SonarJS but not available in this ESLint plugin.
|
|
|
642
630
|
| S6747 | [react/no-unknown-property](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unknown-property.md)<br>[jsx-a11y/aria-props](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/aria-props.md) |
|
|
643
631
|
| S6749 | [react/jsx-no-useless-fragment](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-useless-fragment.md) |
|
|
644
632
|
| S6754 | [react/hook-use-state](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/hook-use-state.md) |
|
|
633
|
+
| S6757 | [react/no-this-in-sfc](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-this-in-sfc.md) |
|
|
634
|
+
| S6767 | [react/no-unused-prop-types](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unused-prop-types.md) |
|
|
645
635
|
| S6774 | [react/prop-types](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/prop-types.md) |
|
|
646
636
|
| S6788 | [react/no-find-dom-node](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-find-dom-node.md) |
|
|
647
637
|
| S6791 | [react/no-unsafe](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unsafe.md) |
|
|
@@ -649,8 +639,10 @@ The following rules are used in SonarJS but not available in this ESLint plugin.
|
|
|
649
639
|
| S6827 | [jsx-a11y/anchor-has-content](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-has-content.md) |
|
|
650
640
|
| S6844 | [jsx-a11y/anchor-is-valid](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md) |
|
|
651
641
|
| S6853 | [jsx-a11y/label-has-associated-control](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/label-has-associated-control.md) |
|
|
642
|
+
| S6859 | [import/no-absolute-path](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-absolute-path.md) |
|
|
652
643
|
| S6957 | [react/no-deprecated](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-deprecated.md) |
|
|
653
644
|
| S7060 | [import/no-self-import](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-self-import.md) |
|
|
645
|
+
| S7722 | [unicorn/error-message](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/error-message.md) |
|
|
654
646
|
| S7723 | [unicorn/new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/new-for-builtins.md) |
|
|
655
647
|
| S7727 | [unicorn/no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-array-callback-reference.md) |
|
|
656
648
|
| S7728 | [unicorn/no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-array-for-each.md) |
|
|
@@ -659,7 +651,12 @@ The following rules are used in SonarJS but not available in this ESLint plugin.
|
|
|
659
651
|
| S7755 | [unicorn/prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-at.md) |
|
|
660
652
|
| S7759 | [unicorn/prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-date-now.md) |
|
|
661
653
|
| S7763 | [unicorn/prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-export-from.md) |
|
|
654
|
+
| S7766 | [unicorn/prefer-math-min-max](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-math-min-max.md) |
|
|
662
655
|
| S7770 | [unicorn/prefer-native-coercion-functions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-native-coercion-functions.md) |
|
|
656
|
+
| S7778 | [unicorn/prefer-single-call](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-single-call.md) |
|
|
657
|
+
| S7780 | [unicorn/prefer-string-raw](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-string-raw.md) |
|
|
658
|
+
| S7781 | [unicorn/prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-string-replace-all.md) |
|
|
659
|
+
| S7784 | [unicorn/prefer-structured-clone](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-structured-clone.md) |
|
|
663
660
|
| S7785 | [unicorn/prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-top-level-await.md) |
|
|
664
661
|
|
|
665
662
|
<!--- end decorated rules -->
|