eslint-plugin-sonarjs 4.0.0 → 4.0.2
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 +269 -268
- package/cjs/S100/rule.js +7 -5
- package/cjs/S101/rule.js +2 -2
- package/cjs/S104/rule.js +2 -2
- package/cjs/S105/rule.js +2 -2
- package/cjs/S1066/rule.js +5 -4
- package/cjs/S1067/rule.js +8 -6
- package/cjs/S1110/rule.js +7 -5
- package/cjs/S1119/rule.js +85 -7
- package/cjs/S1121/rule.js +4 -3
- package/cjs/S1125/rule.js +9 -8
- package/cjs/S1126/rule.js +2 -2
- package/cjs/S1128/rule.js +8 -5
- package/cjs/S1134/rule.js +2 -2
- package/cjs/S1135/rule.js +2 -2
- package/cjs/S1154/rule.js +6 -4
- package/cjs/S117/rule.js +6 -5
- package/cjs/S1172/rule.js +2 -2
- package/cjs/S1192/rule.js +5 -4
- package/cjs/S1219/rule.js +4 -3
- package/cjs/S1226/rule.js +6 -4
- package/cjs/S124/rule.js +2 -2
- package/cjs/S125/rule.js +9 -7
- package/cjs/S126/rule.js +2 -2
- package/cjs/S1264/rule.js +2 -2
- package/cjs/S128/rule.js +4 -3
- package/cjs/S1291/rule.js +2 -2
- package/cjs/S1301/rule.js +2 -2
- package/cjs/S1313/rule.js +2 -2
- package/cjs/S134/rule.js +7 -5
- package/cjs/S135/rule.js +5 -4
- package/cjs/S138/rule.js +9 -6
- package/cjs/S1439/rule.js +2 -2
- package/cjs/S1444/rule.js +2 -2
- package/cjs/S1451/rule.js +2 -2
- package/cjs/S1472/rule.js +2 -2
- package/cjs/S1479/rule.js +2 -2
- package/cjs/S1481/rule.js +2 -2
- package/cjs/S1488/generated-meta.js +1 -1
- package/cjs/S1488/rule.js +11 -7
- package/cjs/S1515/rule.js +10 -8
- package/cjs/{helpers/aws/index.js → S1523/generated-meta.js} +34 -18
- package/cjs/S1523/index.js +21 -0
- package/cjs/S1523/meta.js +21 -0
- package/cjs/S1523/rule.js +143 -0
- package/cjs/S1526/rule.js +5 -4
- package/cjs/S1527/rule.js +2 -2
- package/cjs/S1528/rule.js +2 -2
- package/cjs/S1529/generated-meta.js +1 -1
- package/cjs/S1529/rule.js +4 -3
- package/cjs/S1530/rule.js +5 -3
- package/cjs/S1533/rule.js +2 -2
- package/cjs/S1535/rule.js +2 -2
- package/cjs/S1541/rule.js +10 -7
- package/cjs/S1607/rule.js +22 -20
- package/cjs/S1764/rule.js +10 -7
- package/cjs/S1821/rule.js +2 -2
- package/cjs/S1848/rule.js +10 -7
- package/cjs/S1854/rule.js +18 -14
- package/cjs/S1862/rule.js +10 -8
- package/cjs/S1871/rule.js +21 -16
- package/cjs/S1874/rule.js +4 -3
- package/cjs/S1940/rule.js +2 -2
- package/cjs/S1994/rule.js +10 -7
- package/cjs/S2004/rule.js +9 -7
- package/cjs/S2068/rule.js +75 -12
- package/cjs/S2077/generated-meta.js +1 -1
- package/cjs/S2077/rule.js +10 -6
- package/cjs/S2092/rule.js +2 -2
- package/cjs/S2123/rule.js +2 -2
- package/cjs/S2137/rule.js +2 -2
- package/cjs/S2138/rule.js +4 -3
- package/cjs/S2187/rule.js +2 -2
- package/cjs/S2201/rule.js +47 -5
- package/cjs/S2208/rule.js +2 -2
- package/cjs/S2234/rule.js +58 -11
- package/cjs/S2245/rule.js +4 -3
- package/cjs/S2251/rule.js +5 -4
- package/cjs/S2255/rule.js +6 -5
- package/cjs/S2259/rule.js +14 -9
- package/cjs/S2301/rule.js +14 -9
- package/cjs/S2310/rule.js +80 -9
- package/cjs/S2392/rule.js +7 -5
- package/cjs/S2424/rule.js +2 -2
- package/cjs/S2428/rule.js +8 -6
- package/cjs/S2486/rule.js +4 -3
- package/cjs/S2589/rule.js +12 -10
- package/cjs/S2598/rule.js +17 -14
- package/cjs/S2612/generated-meta.js +1 -1
- package/cjs/S2612/rule.js +8 -6
- package/cjs/S2639/rule.js +2 -2
- package/cjs/S2681/rule.js +2 -2
- package/cjs/S2692/rule.js +6 -4
- package/cjs/S2699/generated-meta.js +1 -1
- package/cjs/S2699/rule.js +40 -31
- package/cjs/S2703/rule.js +2 -2
- package/cjs/S2737/rule.js +6 -4
- package/cjs/S2755/rule.js +9 -6
- package/cjs/S2757/rule.js +2 -2
- package/cjs/S2817/rule.js +10 -7
- package/cjs/S2819/rule.js +16 -12
- package/cjs/S2870/rule.js +8 -5
- package/cjs/S2871/rule.js +12 -9
- package/cjs/S2970/rule.js +9 -8
- package/cjs/S2990/rule.js +2 -2
- package/cjs/S2999/rule.js +10 -7
- package/cjs/S3001/rule.js +2 -2
- package/cjs/S3003/rule.js +10 -7
- package/cjs/S3317/rule.js +4 -3
- package/cjs/S3330/rule.js +2 -2
- package/cjs/S3358/rule.js +2 -2
- package/cjs/S3402/rule.js +14 -10
- package/cjs/S3403/rule.js +10 -7
- package/cjs/S3415/rule.js +16 -13
- package/cjs/S3499/rule.js +5 -4
- package/cjs/S3500/rule.js +5 -4
- package/cjs/S3513/rule.js +5 -4
- package/cjs/S3514/rule.js +10 -7
- package/cjs/S3516/rule.js +10 -7
- package/cjs/S3524/rule.js +2 -2
- package/cjs/S3525/rule.js +6 -4
- package/cjs/S3531/rule.js +5 -3
- package/cjs/S3533/rule.js +8 -7
- package/cjs/S3579/rule.js +6 -4
- package/cjs/S3616/rule.js +6 -4
- package/cjs/S3626/rule.js +4 -3
- package/cjs/S3686/rule.js +7 -5
- package/cjs/S3699/rule.js +4 -3
- package/cjs/S3735/rule.js +8 -5
- package/cjs/S3757/rule.js +8 -6
- package/cjs/S3758/rule.js +9 -7
- package/cjs/S3760/rule.js +24 -21
- package/cjs/S3776/rule.js +26 -22
- package/cjs/S3782/rule.js +6 -4
- package/cjs/S3785/rule.js +9 -6
- package/cjs/S3796/rule.js +12 -8
- package/cjs/S3798/rule.js +4 -3
- package/cjs/S3800/rule.js +22 -11
- package/cjs/S3801/generated-meta.js +1 -1
- package/cjs/S3801/rule.js +15 -11
- package/cjs/S3827/rule.js +9 -6
- package/cjs/S3923/rule.js +9 -6
- package/cjs/S3972/rule.js +5 -4
- package/cjs/S3973/rule.js +7 -5
- package/cjs/S3981/rule.js +4 -3
- package/cjs/S3984/rule.js +4 -3
- package/cjs/S4030/rule.js +10 -7
- package/cjs/S4036/rule.js +7 -5
- package/cjs/S4043/rule.js +12 -8
- package/cjs/S4139/rule.js +7 -5
- package/cjs/S4143/rule.js +12 -9
- package/cjs/S4144/rule.js +12 -9
- package/cjs/S4158/rule.js +11 -8
- package/cjs/S4165/rule.js +14 -12
- package/cjs/S4322/rule.js +8 -5
- package/cjs/S4323/rule.js +4 -3
- package/cjs/S4324/rule.js +7 -5
- package/cjs/S4328/rule.js +2 -2
- package/cjs/S4335/rule.js +6 -4
- package/cjs/S4423/rule.js +4 -3
- package/cjs/S4423/rule.lib.js +8 -7
- package/cjs/S4426/rule.js +11 -10
- package/cjs/S4502/rule.js +16 -13
- package/cjs/S4507/rule.js +8 -6
- package/cjs/S4524/rule.js +2 -2
- package/cjs/S4619/rule.js +6 -4
- package/cjs/S4621/rule.js +5 -4
- package/cjs/S4622/rule.js +5 -3
- package/cjs/S4623/rule.js +8 -5
- package/cjs/S4624/rule.js +6 -4
- package/cjs/S4634/rule.js +4 -3
- package/cjs/S4721/rule.js +7 -5
- package/cjs/S4782/rule.js +7 -5
- package/cjs/S4784/rule.js +5 -4
- package/cjs/S4787/rule.js +9 -7
- package/cjs/S4790/rule.js +7 -5
- package/cjs/S4798/rule.js +2 -2
- package/cjs/S4817/rule.js +10 -8
- package/cjs/S4818/rule.js +4 -3
- package/cjs/S4822/rule.js +13 -9
- package/cjs/S4823/rule.js +4 -3
- package/cjs/S4829/rule.js +4 -3
- package/cjs/S4830/rule.js +11 -8
- package/cjs/S5042/rule.js +9 -7
- package/cjs/S5122/rule.js +40 -36
- package/cjs/S5148/rule.js +9 -8
- package/cjs/S5247/rule.js +22 -18
- package/cjs/S5256/rule.js +5 -4
- package/cjs/S5257/rule.js +4 -3
- package/cjs/S5260/rule.js +4 -3
- package/cjs/S5264/rule.js +4 -3
- package/cjs/S5332/rule.js +4 -3
- package/cjs/S5332/rule.lib.js +19 -17
- package/cjs/S5443/rule.js +2 -2
- package/cjs/S5527/rule.js +18 -14
- package/cjs/S5542/rule.js +6 -4
- package/cjs/S5547/rule.js +6 -4
- package/cjs/S5604/rule.js +15 -14
- package/cjs/S5659/rule.js +15 -12
- package/cjs/S5689/rule.js +11 -8
- package/cjs/S5691/rule.js +7 -5
- package/cjs/S5693/rule.js +14 -12
- package/cjs/S5725/rule.js +9 -6
- package/cjs/S5728/rule.js +7 -4
- package/cjs/S5730/rule.js +9 -6
- package/cjs/S5732/rule.js +8 -5
- package/cjs/S5734/rule.js +7 -4
- package/cjs/S5736/rule.js +8 -5
- package/cjs/S5739/rule.js +11 -8
- package/cjs/S5742/rule.js +7 -4
- package/cjs/S5743/rule.js +8 -6
- package/cjs/S5757/rule.js +13 -10
- package/cjs/S5759/rule.js +10 -7
- package/cjs/S5842/rule.js +2 -2
- package/cjs/S5843/rule.js +22 -19
- package/cjs/S5850/rule.js +4 -3
- package/cjs/S5852/rule.js +2 -2
- package/cjs/S5856/rule.js +10 -7
- package/cjs/S5860/rule.js +30 -26
- package/cjs/S5863/rule.js +15 -11
- package/cjs/S5867/rule.js +8 -7
- package/cjs/S5868/rule.js +7 -5
- package/cjs/S5869/rule.js +6 -5
- package/cjs/S5876/rule.js +12 -8
- package/cjs/S5958/rule.js +12 -9
- package/cjs/S5973/rule.js +10 -7
- package/cjs/S6019/rule.js +4 -3
- package/cjs/S6035/rule.js +2 -2
- package/cjs/S6079/rule.js +9 -6
- package/cjs/S6080/rule.js +13 -10
- package/cjs/S6092/rule.js +9 -7
- package/cjs/S6245/rule.js +14 -9
- package/cjs/S6249/rule.js +7 -5
- package/cjs/S6252/rule.js +12 -8
- package/cjs/S6265/rule.js +27 -20
- package/cjs/S6268/rule.js +5 -4
- package/cjs/S6270/rule.js +12 -9
- package/cjs/S6275/rule.js +2 -2
- package/cjs/S6281/rule.js +22 -17
- package/cjs/S6299/rule.js +2 -2
- package/cjs/S6302/rule.js +6 -5
- package/cjs/S6303/rule.js +12 -10
- package/cjs/S6304/rule.js +6 -5
- package/cjs/S6308/rule.js +7 -5
- package/cjs/S6317/rule.js +5 -4
- package/cjs/S6319/rule.js +2 -2
- package/cjs/S6321/rule.js +25 -23
- package/cjs/S6323/rule.js +4 -3
- package/cjs/S6324/rule.js +2 -2
- package/cjs/S6326/rule.js +2 -2
- package/cjs/S6327/rule.js +2 -2
- package/cjs/S6328/rule.js +4 -3
- package/cjs/S6329/rule.js +7 -5
- package/cjs/S6330/rule.js +2 -2
- package/cjs/S6332/rule.js +2 -2
- package/cjs/S6333/rule.js +8 -6
- package/cjs/S6351/rule.js +22 -19
- package/cjs/S6353/rule.js +2 -2
- package/cjs/S6397/rule.js +2 -2
- package/cjs/S6418/config.js +1 -1
- package/cjs/S6418/rule.js +9 -24
- package/cjs/S6426/rule.js +5 -4
- package/cjs/S6437/rule.js +10 -7
- package/cjs/S6439/rule.js +9 -7
- package/cjs/S6442/rule.js +11 -8
- package/cjs/S6443/rule.js +9 -7
- package/cjs/S6486/rule.js +5 -4
- package/cjs/S6564/rule.js +4 -3
- package/cjs/S6594/rule.js +12 -8
- package/cjs/S6627/rule.js +6 -4
- package/cjs/S6759/rule.js +10 -6
- package/cjs/S6958/rule.js +2 -2
- package/cjs/S6959/rule.js +9 -6
- package/cjs/S7059/generated-meta.js +1 -1
- package/cjs/S7059/rule.js +8 -5
- package/cjs/S7639/generated-meta.js +1 -1
- package/cjs/S7639/rule.js +5 -4
- package/cjs/S7790/generated-meta.js +1 -1
- package/cjs/S7790/rule.js +7 -5
- package/cjs/S8441/generated-meta.js +1 -1
- package/cjs/S8441/rule.js +13 -9
- package/cjs/S881/rule.js +2 -2
- package/cjs/S888/rule.js +4 -3
- package/cjs/S930/rule.js +14 -12
- package/cjs/helpers/ast.js +11 -8
- package/cjs/helpers/aws/s3.js +9 -6
- package/cjs/helpers/chai.js +41 -43
- package/cjs/helpers/configs.js +92 -0
- package/cjs/helpers/cookie-flag-check.js +19 -17
- package/cjs/helpers/{decorators/index.js → entropy.js} +16 -17
- package/cjs/helpers/express.js +127 -128
- package/cjs/helpers/find-up/all-in-parent-dirs.js +0 -16
- package/cjs/helpers/mocha.js +50 -54
- package/cjs/helpers/regex/ast.js +7 -6
- package/cjs/helpers/regex/extract.js +11 -11
- package/cjs/helpers/regex/group.js +2 -2
- package/cjs/helpers/regex/location.js +2 -2
- package/cjs/helpers/regex/range.js +5 -4
- package/cjs/helpers/regex/rule-template.js +4 -3
- package/cjs/helpers/sinon.js +33 -36
- package/cjs/helpers/supertest.js +34 -37
- package/cjs/helpers/vitest.js +29 -32
- package/cjs/plugin-rules.js +452 -450
- package/docs/assertions-in-tests.md +2 -0
- package/docs/bitwise-operators.md +2 -0
- package/docs/code-eval.md +7 -0
- package/docs/file-permissions.md +1 -1
- package/docs/no-async-constructor.md +2 -0
- package/docs/no-inconsistent-returns.md +2 -0
- package/docs/prefer-immediate-return.md +2 -0
- package/docs/sql-queries.md +2 -0
- package/package.json +39 -1
- package/types/S1067/rule.d.ts +1 -1
- package/types/S1110/rule.d.ts +1 -1
- package/types/S1128/rule.d.ts +1 -1
- package/types/S1172/rule.d.ts +1 -1
- package/types/S1226/rule.d.ts +1 -1
- package/types/S134/rule.d.ts +1 -1
- package/types/S1472/rule.d.ts +1 -1
- package/types/S1481/rule.d.ts +1 -1
- package/types/S1488/generated-meta.d.ts +1 -1
- package/types/S1515/rule.d.ts +1 -1
- package/types/S1523/generated-meta.d.ts +17 -0
- package/types/S1523/index.d.ts +1 -0
- package/types/S1523/meta.d.ts +2 -0
- package/types/S1523/rule.d.ts +2 -0
- package/types/S1527/rule.d.ts +1 -1
- package/types/S1529/generated-meta.d.ts +1 -1
- package/types/S1541/rule.d.ts +1 -1
- package/types/S1862/rule.d.ts +1 -1
- package/types/S2077/generated-meta.d.ts +1 -1
- package/types/S2123/rule.d.ts +1 -1
- package/types/S2259/rule.d.ts +1 -1
- package/types/S2428/rule.d.ts +1 -1
- package/types/S2589/rule.d.ts +1 -1
- package/types/S2598/rule.d.ts +1 -1
- package/types/S2699/generated-meta.d.ts +1 -1
- package/types/S2699/rule.d.ts +1 -1
- package/types/S2737/rule.d.ts +1 -1
- package/types/S2757/rule.d.ts +1 -1
- package/types/S2819/rule.d.ts +1 -1
- package/types/S3001/rule.d.ts +1 -1
- package/types/S3317/rule.d.ts +1 -1
- package/types/S3500/rule.d.ts +1 -1
- package/types/S3513/rule.d.ts +1 -1
- package/types/S3686/rule.d.ts +1 -1
- package/types/S3801/generated-meta.d.ts +1 -1
- package/types/S3972/rule.d.ts +1 -1
- package/types/S3973/rule.d.ts +1 -1
- package/types/S4030/rule.d.ts +1 -1
- package/types/S4143/rule.d.ts +1 -1
- package/types/S4158/rule.d.ts +1 -1
- package/types/S4621/rule.d.ts +1 -1
- package/types/S4782/rule.d.ts +1 -1
- package/types/S5693/rule.d.ts +1 -1
- package/types/S5725/rule.d.ts +1 -1
- package/types/S5860/rule.d.ts +1 -1
- package/types/S5868/rule.d.ts +1 -1
- package/types/S5869/rule.d.ts +1 -1
- package/types/S6079/rule.d.ts +1 -1
- package/types/S6326/rule.d.ts +1 -1
- package/types/S6351/rule.d.ts +1 -1
- package/types/S6418/config.d.ts +1 -1
- package/types/S6443/rule.d.ts +1 -1
- package/types/S7059/generated-meta.d.ts +1 -1
- package/types/S7639/generated-meta.d.ts +1 -1
- package/types/S7790/generated-meta.d.ts +1 -1
- package/types/S8441/generated-meta.d.ts +1 -1
- package/types/S930/rule.d.ts +1 -1
- package/types/helpers/ancestor.d.ts +3 -3
- package/types/helpers/ast.d.ts +1 -1
- package/types/helpers/aws/iam.d.ts +2 -2
- package/types/helpers/aws/s3.d.ts +1 -1
- package/types/helpers/chai.d.ts +3 -5
- package/types/helpers/configs.d.ts +39 -1
- package/types/helpers/entropy.d.ts +1 -0
- package/types/helpers/equivalence.d.ts +1 -1
- package/types/helpers/express.d.ts +38 -43
- package/types/helpers/find-up/all-in-parent-dirs.d.ts +1 -1
- package/types/helpers/find-up/closest.d.ts +1 -1
- package/types/helpers/find-up/find-minimatch.d.ts +1 -1
- package/types/helpers/generate-meta.d.ts +1 -1
- package/types/helpers/mocha.d.ts +19 -21
- package/types/helpers/module.d.ts +1 -1
- package/types/helpers/package-jsons/all-in-parent-dirs.d.ts +1 -1
- package/types/helpers/package-jsons/dependencies.d.ts +1 -1
- package/types/helpers/recognizers/CodeRecognizer.d.ts +1 -1
- package/types/helpers/recognizers/JavaScriptFootPrint.d.ts +2 -2
- package/types/helpers/recognizers/LanguageFootprint.d.ts +1 -1
- package/types/helpers/regex/alternation.d.ts +1 -1
- package/types/helpers/regex/ast.d.ts +1 -1
- package/types/helpers/regex/location.d.ts +2 -2
- package/types/helpers/regex/range.d.ts +2 -2
- package/types/helpers/regex/rule-template.d.ts +1 -1
- package/types/helpers/result.d.ts +1 -1
- package/types/helpers/sinon.d.ts +4 -6
- package/types/helpers/sonar-runtime.d.ts +1 -1
- package/types/helpers/supertest.d.ts +4 -6
- package/types/helpers/type.d.ts +1 -1
- package/types/helpers/vitest.d.ts +4 -6
- package/types/plugin-rules.d.ts +1 -0
- package/cjs/helpers/decorators/interceptor.js +0 -88
- package/cjs/helpers/index.js +0 -60
- package/cjs/helpers/recognizers/index.js +0 -37
- package/cjs/helpers/rule-detect-react.js +0 -29
- package/cjs/helpers/validate-version.js +0 -94
- package/types/helpers/aws/index.d.ts +0 -3
- package/types/helpers/decorators/index.d.ts +0 -2
- package/types/helpers/decorators/interceptor.d.ts +0 -16
- package/types/helpers/index.d.ts +0 -28
- package/types/helpers/recognizers/index.d.ts +0 -2
- package/types/helpers/rule-detect-react.d.ts +0 -2
- package/types/helpers/validate-version.d.ts +0 -13
package/README.md
CHANGED
|
@@ -121,7 +121,7 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
121
121
|
| [array-callback-without-return](https://sonarsource.github.io/rspec/#/rspec/S3796/javascript) | Callbacks of array methods should have return statements | ✅ | | | 💭 | |
|
|
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
|
-
| [assertions-in-tests](https://sonarsource.github.io/rspec/#/rspec/S2699/javascript) | Tests should include assertions | ✅ | | |
|
|
124
|
+
| [assertions-in-tests](https://sonarsource.github.io/rspec/#/rspec/S2699/javascript) | Tests should include assertions | ✅ | | | 💭 | |
|
|
125
125
|
| [aws-apigateway-public-api](https://sonarsource.github.io/rspec/#/rspec/S6333/javascript) | Creating public APIs is security-sensitive | ✅ | | | | |
|
|
126
126
|
| [aws-ec2-rds-dms-public](https://sonarsource.github.io/rspec/#/rspec/S6329/javascript) | Allowing public network access to cloud resources is security-sensitive | ✅ | | | | |
|
|
127
127
|
| [aws-ec2-unencrypted-ebs-volume](https://sonarsource.github.io/rspec/#/rspec/S6275/javascript) | Using unencrypted EBS volumes is security-sensitive | ✅ | | | | |
|
|
@@ -141,7 +141,7 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
141
141
|
| [aws-sagemaker-unencrypted-notebook](https://sonarsource.github.io/rspec/#/rspec/S6319/javascript) | Using unencrypted SageMaker notebook instances is security-sensitive | ✅ | | | | |
|
|
142
142
|
| [aws-sns-unencrypted-topics](https://sonarsource.github.io/rspec/#/rspec/S6327/javascript) | Using unencrypted SNS topics is security-sensitive | ✅ | | | | |
|
|
143
143
|
| [aws-sqs-unencrypted-queue](https://sonarsource.github.io/rspec/#/rspec/S6330/javascript) | Using unencrypted SQS queues is security-sensitive | ✅ | | | | |
|
|
144
|
-
| [bitwise-operators](https://sonarsource.github.io/rspec/#/rspec/S1529/javascript) | Bitwise operators should not be used in boolean contexts | ✅ | | |
|
|
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 | ✅ | | | | |
|
|
@@ -178,12 +178,11 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
178
178
|
| [empty-string-repetition](https://sonarsource.github.io/rspec/#/rspec/S5842/javascript) | Repeated patterns in regular expressions should not match the empty string | ✅ | | | 💭 | |
|
|
179
179
|
| [encryption](https://sonarsource.github.io/rspec/#/rspec/S4787/javascript) | Encrypting data is security-sensitive | | | | | ❌ |
|
|
180
180
|
| [encryption-secure-mode](https://sonarsource.github.io/rspec/#/rspec/S5542/javascript) | Encryption algorithms should be used with secure mode and padding scheme | ✅ | | | | |
|
|
181
|
-
| [enforce-trailing-comma](https://sonarsource.github.io/rspec/#/rspec/S3723/javascript) | Trailing commas should be used | | 🔧 | | | ❌ |
|
|
182
181
|
| [existing-groups](https://sonarsource.github.io/rspec/#/rspec/S6328/javascript) | Replacement strings should reference existing regular expression groups | ✅ | | | 💭 | |
|
|
183
182
|
| [expression-complexity](https://sonarsource.github.io/rspec/#/rspec/S1067/javascript) | Expressions should not be too complex | | | | | |
|
|
184
183
|
| [file-header](https://sonarsource.github.io/rspec/#/rspec/S1451/javascript) | Track lack of copyright and license headers | | | | | |
|
|
185
184
|
| [file-name-differ-from-class](https://sonarsource.github.io/rspec/#/rspec/S3317/javascript) | Default export names and file names should match | | | | | |
|
|
186
|
-
| [file-permissions](https://sonarsource.github.io/rspec/#/rspec/S2612/javascript) |
|
|
185
|
+
| [file-permissions](https://sonarsource.github.io/rspec/#/rspec/S2612/javascript) | File permissions should not be set to world-accessible values | ✅ | | | | |
|
|
187
186
|
| [file-uploads](https://sonarsource.github.io/rspec/#/rspec/S2598/javascript) | File uploads should be restricted | ✅ | | | | |
|
|
188
187
|
| [fixme-tag](https://sonarsource.github.io/rspec/#/rspec/S1134/javascript) | Track uses of "FIXME" tags | ✅ | | | | |
|
|
189
188
|
| [for-in](https://sonarsource.github.io/rspec/#/rspec/S1535/javascript) | "for...in" loops should filter properties before acting on them | | | | | |
|
|
@@ -218,7 +217,7 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
218
217
|
| [no-angular-bypass-sanitization](https://sonarsource.github.io/rspec/#/rspec/S6268/javascript) | Disabling Angular built-in sanitization is security-sensitive | ✅ | | | | |
|
|
219
218
|
| [no-array-delete](https://sonarsource.github.io/rspec/#/rspec/S2870/javascript) | "delete" should not be used on arrays | ✅ | | | 💭 | |
|
|
220
219
|
| [no-associative-arrays](https://sonarsource.github.io/rspec/#/rspec/S3579/javascript) | Array indexes should be numeric | ✅ | | | 💭 | |
|
|
221
|
-
| [no-async-constructor](https://sonarsource.github.io/rspec/#/rspec/S7059/javascript) | Constructors should not contain asynchronous operations | ✅ | | |
|
|
220
|
+
| [no-async-constructor](https://sonarsource.github.io/rspec/#/rspec/S7059/javascript) | Constructors should not contain asynchronous operations | ✅ | | | 💭 | |
|
|
222
221
|
| [no-built-in-override](https://sonarsource.github.io/rspec/#/rspec/S2424/javascript) | Built-in objects should not be overridden | | | | | |
|
|
223
222
|
| [no-case-label-in-switch](https://sonarsource.github.io/rspec/#/rspec/S1219/javascript) | "switch" statements should not contain non-case labels | ✅ | | | | |
|
|
224
223
|
| [no-clear-text-protocols](https://sonarsource.github.io/rspec/#/rspec/S5332/javascript) | Using clear-text protocols is security-sensitive | ✅ | | | | |
|
|
@@ -261,7 +260,7 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
261
260
|
| [no-implicit-global](https://sonarsource.github.io/rspec/#/rspec/S2703/javascript) | Variables should be declared explicitly | ✅ | | | | |
|
|
262
261
|
| [no-in-misuse](https://sonarsource.github.io/rspec/#/rspec/S4619/javascript) | "in" should not be used on arrays | ✅ | | 💡 | 💭 | |
|
|
263
262
|
| [no-incomplete-assertions](https://sonarsource.github.io/rspec/#/rspec/S2970/javascript) | Assertions should be complete | ✅ | | | | |
|
|
264
|
-
| [no-inconsistent-returns](https://sonarsource.github.io/rspec/#/rspec/S3801/javascript) | Functions should use "return" consistently | | | |
|
|
263
|
+
| [no-inconsistent-returns](https://sonarsource.github.io/rspec/#/rspec/S3801/javascript) | Functions should use "return" consistently | | | | 💭 | |
|
|
265
264
|
| [no-incorrect-string-concat](https://sonarsource.github.io/rspec/#/rspec/S3402/javascript) | Strings and non-strings should not be added | | | | 💭 | |
|
|
266
265
|
| [no-internal-api-use](https://sonarsource.github.io/rspec/#/rspec/S6627/javascript) | Users should not use internal APIs | ✅ | | | | |
|
|
267
266
|
| [no-intrusive-permissions](https://sonarsource.github.io/rspec/#/rspec/S5604/javascript) | Using intrusive permissions is security-sensitive | ✅ | | | | |
|
|
@@ -297,6 +296,7 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
297
296
|
| [no-same-argument-assert](https://sonarsource.github.io/rspec/#/rspec/S5863/javascript) | Assertions should not be given twice the same argument | ✅ | | | | |
|
|
298
297
|
| [no-same-line-conditional](https://sonarsource.github.io/rspec/#/rspec/S3972/javascript) | Conditionals should start on new lines | ✅ | | 💡 | | |
|
|
299
298
|
| [no-selector-parameter](https://sonarsource.github.io/rspec/#/rspec/S2301/javascript) | Methods should not contain selector parameters | ✅ | | | 💭 | |
|
|
299
|
+
| [no-session-cookies-on-static-assets](https://sonarsource.github.io/rspec/#/rspec/S8441/javascript) | Static Assets should not serve session cookies | ✅ | | | | |
|
|
300
300
|
| [no-skipped-tests](https://sonarsource.github.io/rspec/#/rspec/S1607/javascript) | Tests should not be skipped without providing a reason | ✅ | | | | |
|
|
301
301
|
| [no-small-switch](https://sonarsource.github.io/rspec/#/rspec/S1301/javascript) | "if" statements should be preferred over "switch" when simpler | ✅ | | | | |
|
|
302
302
|
| [no-sonar-comments](https://sonarsource.github.io/rspec/#/rspec/S1291/javascript) | Track uses of "NOSONAR" comments | | | | | |
|
|
@@ -330,7 +330,7 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
330
330
|
| [os-command](https://sonarsource.github.io/rspec/#/rspec/S4721/javascript) | Using shell interpreter when executing OS commands is security-sensitive | ✅ | | | | |
|
|
331
331
|
| [post-message](https://sonarsource.github.io/rspec/#/rspec/S2819/javascript) | Origins should be verified during cross-origin communications | ✅ | | | 💭 | |
|
|
332
332
|
| [prefer-default-last](https://sonarsource.github.io/rspec/#/rspec/S4524/javascript) | "default" clauses should be last | ✅ | | | | |
|
|
333
|
-
| [prefer-immediate-return](https://sonarsource.github.io/rspec/#/rspec/S1488/javascript) | Local variables should not be declared and then immediately returned or thrown | | 🔧 | |
|
|
333
|
+
| [prefer-immediate-return](https://sonarsource.github.io/rspec/#/rspec/S1488/javascript) | Local variables should not be declared and then immediately returned or thrown | | 🔧 | | 💭 | |
|
|
334
334
|
| [prefer-object-literal](https://sonarsource.github.io/rspec/#/rspec/S2428/javascript) | Object literal syntax should be used | | | | | |
|
|
335
335
|
| [prefer-promise-shorthand](https://sonarsource.github.io/rspec/#/rspec/S4634/javascript) | Shorthand promises should be used | ✅ | | 💡 | | |
|
|
336
336
|
| [prefer-read-only-props](https://sonarsource.github.io/rspec/#/rspec/S6759/javascript) | React props should be read-only | ✅ | | 💡 | 💭 | |
|
|
@@ -354,13 +354,12 @@ If you have any questions, encounter any bugs, or have feature requests, please
|
|
|
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
355
|
| [slow-regex](https://sonarsource.github.io/rspec/#/rspec/S5852/javascript) | Using slow regular expressions is security-sensitive | ✅ | | | 💭 | |
|
|
356
356
|
| [sockets](https://sonarsource.github.io/rspec/#/rspec/S4818/javascript) | Using Sockets is security-sensitive | | | | | ❌ |
|
|
357
|
-
| [sql-queries](https://sonarsource.github.io/rspec/#/rspec/S2077/javascript) | Formatting SQL queries is security-sensitive | ✅ | | |
|
|
357
|
+
| [sql-queries](https://sonarsource.github.io/rspec/#/rspec/S2077/javascript) | Formatting SQL queries is security-sensitive | ✅ | | | 💭 | |
|
|
358
358
|
| [stable-tests](https://sonarsource.github.io/rspec/#/rspec/S5973/javascript) | Tests should be stable | ✅ | | | | |
|
|
359
359
|
| [standard-input](https://sonarsource.github.io/rspec/#/rspec/S4829/javascript) | Reading the Standard Input is security-sensitive | | | | | ❌ |
|
|
360
360
|
| [stateful-regex](https://sonarsource.github.io/rspec/#/rspec/S6351/javascript) | Regular expressions with the global flag should be used with caution | ✅ | | | | |
|
|
361
361
|
| [strict-transport-security](https://sonarsource.github.io/rspec/#/rspec/S5739/javascript) | Disabling Strict-Transport-Security policy is security-sensitive | ✅ | | | | |
|
|
362
362
|
| [strings-comparison](https://sonarsource.github.io/rspec/#/rspec/S3003/javascript) | Comparison operators should not be used with strings | | | | 💭 | |
|
|
363
|
-
| [super-invocation](https://sonarsource.github.io/rspec/#/rspec/S3854/javascript) | "super()" should be invoked appropriately | ✅ | | | | |
|
|
364
363
|
| [table-header](https://sonarsource.github.io/rspec/#/rspec/S5256/javascript) | Tables should have headers | ✅ | | | | |
|
|
365
364
|
| [table-header-reference](https://sonarsource.github.io/rspec/#/rspec/S5260/javascript) | Table cells should reference their headers | ✅ | | | | |
|
|
366
365
|
| [test-check-exception](https://sonarsource.github.io/rspec/#/rspec/S5958/javascript) | Tests should check which exception is thrown | ✅ | | | | |
|
|
@@ -392,195 +391,188 @@ SonarJS uses some rules are not shipped in this ESLint plugin to avoid duplicati
|
|
|
392
391
|
|
|
393
392
|
<!--- start external rules -->
|
|
394
393
|
|
|
395
|
-
| SonarJS rule ID
|
|
396
|
-
|
|
|
397
|
-
|
|
|
398
|
-
|
|
|
399
|
-
|
|
|
400
|
-
|
|
|
401
|
-
|
|
|
402
|
-
|
|
|
403
|
-
|
|
|
404
|
-
|
|
|
405
|
-
|
|
|
406
|
-
|
|
|
407
|
-
|
|
|
408
|
-
|
|
|
409
|
-
|
|
|
410
|
-
|
|
|
411
|
-
|
|
|
412
|
-
|
|
|
413
|
-
|
|
|
414
|
-
|
|
|
415
|
-
|
|
|
416
|
-
|
|
|
417
|
-
|
|
|
418
|
-
|
|
|
419
|
-
|
|
|
420
|
-
|
|
|
421
|
-
|
|
|
422
|
-
|
|
|
423
|
-
|
|
|
424
|
-
|
|
|
425
|
-
|
|
|
426
|
-
|
|
|
427
|
-
|
|
|
428
|
-
|
|
|
429
|
-
|
|
|
430
|
-
|
|
|
431
|
-
|
|
|
432
|
-
|
|
|
433
|
-
|
|
|
434
|
-
|
|
|
435
|
-
|
|
|
436
|
-
|
|
|
437
|
-
|
|
|
438
|
-
|
|
|
439
|
-
|
|
|
440
|
-
|
|
|
441
|
-
|
|
|
442
|
-
|
|
|
443
|
-
|
|
|
444
|
-
|
|
|
445
|
-
|
|
|
446
|
-
|
|
|
447
|
-
|
|
|
448
|
-
|
|
|
449
|
-
|
|
|
450
|
-
|
|
|
451
|
-
|
|
|
452
|
-
|
|
|
453
|
-
|
|
|
454
|
-
|
|
|
455
|
-
|
|
|
456
|
-
|
|
|
457
|
-
|
|
|
458
|
-
|
|
|
459
|
-
|
|
|
460
|
-
|
|
|
461
|
-
|
|
|
462
|
-
|
|
|
463
|
-
|
|
|
464
|
-
|
|
|
465
|
-
|
|
|
466
|
-
|
|
|
467
|
-
|
|
|
468
|
-
|
|
|
469
|
-
|
|
|
470
|
-
|
|
|
471
|
-
|
|
|
472
|
-
|
|
|
473
|
-
|
|
|
474
|
-
|
|
|
475
|
-
|
|
|
476
|
-
|
|
|
477
|
-
|
|
|
478
|
-
|
|
|
479
|
-
|
|
|
480
|
-
|
|
|
481
|
-
|
|
|
482
|
-
|
|
|
483
|
-
|
|
|
484
|
-
|
|
|
485
|
-
|
|
|
486
|
-
|
|
|
487
|
-
|
|
|
488
|
-
|
|
|
489
|
-
|
|
|
490
|
-
|
|
|
491
|
-
|
|
|
492
|
-
|
|
|
493
|
-
|
|
|
494
|
-
|
|
|
495
|
-
|
|
|
496
|
-
| [
|
|
497
|
-
|
|
|
498
|
-
|
|
|
499
|
-
|
|
|
500
|
-
|
|
|
501
|
-
|
|
|
502
|
-
|
|
|
503
|
-
|
|
|
504
|
-
|
|
|
505
|
-
|
|
|
506
|
-
|
|
|
507
|
-
|
|
|
508
|
-
|
|
|
509
|
-
|
|
|
510
|
-
|
|
|
511
|
-
|
|
|
512
|
-
|
|
|
513
|
-
|
|
|
514
|
-
|
|
|
515
|
-
|
|
|
516
|
-
|
|
|
517
|
-
|
|
|
518
|
-
|
|
|
519
|
-
|
|
|
520
|
-
|
|
|
521
|
-
|
|
|
522
|
-
|
|
|
523
|
-
|
|
|
524
|
-
|
|
|
525
|
-
|
|
|
526
|
-
|
|
|
527
|
-
|
|
|
528
|
-
|
|
|
529
|
-
|
|
|
530
|
-
|
|
|
531
|
-
|
|
|
532
|
-
|
|
|
533
|
-
|
|
|
534
|
-
|
|
|
535
|
-
|
|
|
536
|
-
|
|
|
537
|
-
|
|
|
538
|
-
|
|
|
539
|
-
|
|
|
540
|
-
|
|
|
541
|
-
|
|
|
542
|
-
|
|
|
543
|
-
|
|
|
544
|
-
|
|
|
545
|
-
|
|
|
546
|
-
|
|
|
547
|
-
|
|
|
548
|
-
|
|
|
549
|
-
|
|
|
550
|
-
|
|
|
551
|
-
|
|
|
552
|
-
|
|
|
553
|
-
|
|
|
554
|
-
|
|
|
555
|
-
|
|
|
556
|
-
|
|
|
557
|
-
|
|
|
558
|
-
|
|
|
559
|
-
|
|
|
560
|
-
|
|
|
561
|
-
|
|
|
562
|
-
|
|
|
563
|
-
|
|
|
564
|
-
|
|
|
565
|
-
|
|
|
566
|
-
|
|
|
567
|
-
|
|
|
568
|
-
|
|
|
569
|
-
|
|
|
570
|
-
|
|
|
571
|
-
|
|
|
572
|
-
|
|
|
573
|
-
|
|
|
574
|
-
|
|
|
575
|
-
|
|
|
576
|
-
|
|
|
577
|
-
| [S7780](https://sonarsource.github.io/rspec/#/rspec/S7780/javascript) | [unicorn/prefer-string-raw](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-string-raw.md) |
|
|
578
|
-
| [S7781](https://sonarsource.github.io/rspec/#/rspec/S7781/javascript) | [unicorn/prefer-string-replace-all](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-string-replace-all.md) |
|
|
579
|
-
| [S7783](https://sonarsource.github.io/rspec/#/rspec/S7783/javascript) | [unicorn/prefer-string-trim-start-end](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-string-trim-start-end.md) |
|
|
580
|
-
| [S7784](https://sonarsource.github.io/rspec/#/rspec/S7784/javascript) | [unicorn/prefer-structured-clone](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-structured-clone.md) |
|
|
581
|
-
| [S7785](https://sonarsource.github.io/rspec/#/rspec/S7785/javascript) | [unicorn/prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-top-level-await.md) |
|
|
582
|
-
| [S7786](https://sonarsource.github.io/rspec/#/rspec/S7786/javascript) | [unicorn/prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-type-error.md) |
|
|
583
|
-
| [S7787](https://sonarsource.github.io/rspec/#/rspec/S7787/javascript) | [unicorn/require-module-specifiers](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/require-module-specifiers.md) |
|
|
394
|
+
| SonarJS rule ID | Rule implemented by |
|
|
395
|
+
| :-------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
396
|
+
| S103 | [@stylistic/eslint-plugin/max-len](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/packages/eslint-plugin/rules/max-len/README.md) |
|
|
397
|
+
| S106 | [eslint/no-console](https://eslint.org/docs/latest/rules/no-console) |
|
|
398
|
+
| S108 | [eslint/no-empty](https://eslint.org/docs/latest/rules/no-empty) |
|
|
399
|
+
| S113 | [@stylistic/eslint-plugin/eol-last](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/packages/eslint-plugin/rules/eol-last/README.md) |
|
|
400
|
+
| S121 | [eslint/curly](https://eslint.org/docs/latest/rules/curly) |
|
|
401
|
+
| S122 | [@stylistic/eslint-plugin/max-statements-per-line](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/packages/eslint-plugin/rules/max-statements-per-line/README.md) |
|
|
402
|
+
| S139 | [eslint/line-comment-position](https://eslint.org/docs/latest/rules/line-comment-position) |
|
|
403
|
+
| S878 | [eslint/no-sequences](https://eslint.org/docs/latest/rules/no-sequences) |
|
|
404
|
+
| S909 | [eslint/no-continue](https://eslint.org/docs/latest/rules/no-continue) |
|
|
405
|
+
| S1090 | [jsx-a11y/iframe-has-title](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/iframe-has-title.md) |
|
|
406
|
+
| S1117 | [typescript-eslint/no-shadow](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-shadow.mdx) |
|
|
407
|
+
| S1131 | [@stylistic/eslint-plugin/no-trailing-spaces](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/packages/eslint-plugin/rules/no-trailing-spaces/README.md) |
|
|
408
|
+
| S1199 | [eslint/no-lone-blocks](https://eslint.org/docs/latest/rules/no-lone-blocks) |
|
|
409
|
+
| S1314 | [eslint/no-octal](https://eslint.org/docs/latest/rules/no-octal) |
|
|
410
|
+
| S1321 | [eslint/no-with](https://eslint.org/docs/latest/rules/no-with) |
|
|
411
|
+
| S1440 | [eslint/eqeqeq](https://eslint.org/docs/latest/rules/eqeqeq) |
|
|
412
|
+
| S1441 | [@stylistic/eslint-plugin/quotes](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/packages/eslint-plugin/rules/quotes/README.md) |
|
|
413
|
+
| S1442 | [eslint/no-alert](https://eslint.org/docs/latest/rules/no-alert) |
|
|
414
|
+
| S1516 | [eslint/no-multi-str](https://eslint.org/docs/latest/rules/no-multi-str) |
|
|
415
|
+
| S1525 | [eslint/no-debugger](https://eslint.org/docs/latest/rules/no-debugger) |
|
|
416
|
+
| S1536 | [eslint/no-dupe-args](https://eslint.org/docs/latest/rules/no-dupe-args) |
|
|
417
|
+
| S1537 | [@stylistic/eslint-plugin/comma-dangle](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/packages/eslint-plugin/rules/comma-dangle/README.md) |
|
|
418
|
+
| S1539 | [eslint/strict](https://eslint.org/docs/latest/rules/strict) |
|
|
419
|
+
| S1656 | [eslint/no-self-assign](https://eslint.org/docs/latest/rules/no-self-assign) |
|
|
420
|
+
| S1751 | [eslint/no-unreachable-loop](https://eslint.org/docs/latest/rules/no-unreachable-loop) |
|
|
421
|
+
| 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
|
+
| S2427 | [eslint/radix](https://eslint.org/docs/latest/rules/radix) |
|
|
424
|
+
| S2432 | [eslint/no-setter-return](https://eslint.org/docs/latest/rules/no-setter-return) |
|
|
425
|
+
| S2685 | [eslint/no-caller](https://eslint.org/docs/latest/rules/no-caller) |
|
|
426
|
+
| S2933 | [typescript-eslint/prefer-readonly](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-readonly.mdx) |
|
|
427
|
+
| S2966 | [typescript-eslint/no-non-null-assertion](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-non-null-assertion.mdx) |
|
|
428
|
+
| S3257 | [typescript-eslint/no-inferrable-types](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-inferrable-types.mdx) |
|
|
429
|
+
| S3353 | [eslint/prefer-const](https://eslint.org/docs/latest/rules/prefer-const) |
|
|
430
|
+
| S3523 | [eslint/no-new-func](https://eslint.org/docs/latest/rules/no-new-func) |
|
|
431
|
+
| 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
|
+
| S3812 | [eslint/no-unsafe-negation](https://eslint.org/docs/latest/rules/no-unsafe-negation) |
|
|
434
|
+
| S3834 | [eslint/no-new-native-nonconstructor](https://eslint.org/docs/latest/rules/no-new-native-nonconstructor) |
|
|
435
|
+
| S3863 | [import/no-duplicates](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-duplicates.md) |
|
|
436
|
+
| S4123 | [typescript-eslint/await-thenable](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/await-thenable.mdx) |
|
|
437
|
+
| S4124 | [typescript-eslint/no-misused-new](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-misused-new.mdx) |
|
|
438
|
+
| S4125 | [eslint/valid-typeof](https://eslint.org/docs/latest/rules/valid-typeof) |
|
|
439
|
+
| S4136 | [typescript-eslint/adjacent-overload-signatures](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/adjacent-overload-signatures.mdx) |
|
|
440
|
+
| S4137 | [typescript-eslint/consistent-type-assertions](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-type-assertions.mdx) |
|
|
441
|
+
| S4140 | [eslint/no-sparse-arrays](https://eslint.org/docs/latest/rules/no-sparse-arrays) |
|
|
442
|
+
| 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
|
+
| 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
|
+
| S4326 | [eslint/no-return-await](https://eslint.org/docs/latest/rules/no-return-await) |
|
|
446
|
+
| S6325 | [eslint/prefer-regex-literals](https://eslint.org/docs/latest/rules/prefer-regex-literals) |
|
|
447
|
+
| S6435 | [react/require-render-return](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/require-render-return.md) |
|
|
448
|
+
| S6438 | [react/jsx-no-comment-textnodes](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-comment-textnodes.md) |
|
|
449
|
+
| S6480 | [react/jsx-no-bind](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-bind.md) |
|
|
450
|
+
| S6509 | [eslint/no-extra-boolean-cast](https://eslint.org/docs/latest/rules/no-extra-boolean-cast) |
|
|
451
|
+
| S6522 | [eslint/no-import-assign](https://eslint.org/docs/latest/rules/no-import-assign) |
|
|
452
|
+
| S6523 | [eslint/no-unsafe-optional-chaining](https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining) |
|
|
453
|
+
| S6534 | [eslint/no-loss-of-precision](https://eslint.org/docs/latest/rules/no-loss-of-precision) |
|
|
454
|
+
| S6550 | [typescript-eslint/prefer-literal-enum-member](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-literal-enum-member.mdx) |
|
|
455
|
+
| S6565 | [typescript-eslint/prefer-return-this-type](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-return-this-type.mdx) |
|
|
456
|
+
| S6568 | [typescript-eslint/no-confusing-non-null-assertion](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-confusing-non-null-assertion.mdx) |
|
|
457
|
+
| S6569 | [typescript-eslint/no-unnecessary-type-constraint](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-type-constraint.mdx) |
|
|
458
|
+
| S6578 | [typescript-eslint/no-duplicate-enum-values](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-duplicate-enum-values.mdx) |
|
|
459
|
+
| S6583 | [typescript-eslint/no-mixed-enums](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-mixed-enums.mdx) |
|
|
460
|
+
| S6590 | [typescript-eslint/prefer-as-const](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-as-const.mdx) |
|
|
461
|
+
| S6635 | [eslint/no-constructor-return](https://eslint.org/docs/latest/rules/no-constructor-return) |
|
|
462
|
+
| S6637 | [eslint/no-extra-bind](https://eslint.org/docs/latest/rules/no-extra-bind) |
|
|
463
|
+
| S6638 | [eslint/no-constant-binary-expression](https://eslint.org/docs/latest/rules/no-constant-binary-expression) |
|
|
464
|
+
| S6644 | [eslint/no-unneeded-ternary](https://eslint.org/docs/latest/rules/no-unneeded-ternary) |
|
|
465
|
+
| S6645 | [eslint/no-undef-init](https://eslint.org/docs/latest/rules/no-undef-init) |
|
|
466
|
+
| S6650 | [eslint/no-useless-rename](https://eslint.org/docs/latest/rules/no-useless-rename) |
|
|
467
|
+
| S6653 | [eslint/prefer-object-has-own](https://eslint.org/docs/latest/rules/prefer-object-has-own) |
|
|
468
|
+
| S6654 | [eslint/no-proto](https://eslint.org/docs/latest/rules/no-proto) |
|
|
469
|
+
| S6657 | [eslint/no-octal-escape](https://eslint.org/docs/latest/rules/no-octal-escape) |
|
|
470
|
+
| S6671 | [typescript-eslint/prefer-promise-reject-errors](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-promise-reject-errors.mdx) |
|
|
471
|
+
| S6746 | [react/no-direct-mutation-state](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-direct-mutation-state.md) |
|
|
472
|
+
| S6748 | [react/no-children-prop](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-children-prop.md) |
|
|
473
|
+
| S6750 | [react/no-render-return-value](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-render-return-value.md) |
|
|
474
|
+
| 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
|
+
| S6761 | [react/no-danger-with-children](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-danger-with-children.md) |
|
|
477
|
+
| 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
|
+
| 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
|
+
| S6770 | [react/jsx-pascal-case](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-pascal-case.md) |
|
|
481
|
+
| S6772 | [react/jsx-child-element-spacing](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-child-element-spacing.md) |
|
|
482
|
+
| 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) |
|
|
483
|
+
| S6789 | [react/no-is-mounted](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-is-mounted.md) |
|
|
484
|
+
| S6790 | [react/no-string-refs](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-string-refs.md) |
|
|
485
|
+
| S6793 | [jsx-a11y/aria-proptypes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/aria-proptypes.md) |
|
|
486
|
+
| S6807 | [jsx-a11y/role-has-required-aria-props](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/role-has-required-aria-props.md) |
|
|
487
|
+
| S6811 | [jsx-a11y/role-supports-aria-props](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/role-supports-aria-props.md) |
|
|
488
|
+
| S6821 | [jsx-a11y/aria-role](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/aria-role.md) |
|
|
489
|
+
| S6822 | [jsx-a11y/no-redundant-roles](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-redundant-roles.md) |
|
|
490
|
+
| S6823 | [jsx-a11y/aria-activedescendant-has-tabindex](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/aria-activedescendant-has-tabindex.md) |
|
|
491
|
+
| S6824 | [jsx-a11y/aria-unsupported-elements](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/aria-unsupported-elements.md) |
|
|
492
|
+
| S6825 | [jsx-a11y/no-aria-hidden-on-focusable](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-aria-hidden-on-focusable.md) |
|
|
493
|
+
| S6836 | [eslint/no-case-declarations](https://eslint.org/docs/latest/rules/no-case-declarations) |
|
|
494
|
+
| S6840 | [jsx-a11y/autocomplete-valid](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/autocomplete-valid.md) |
|
|
495
|
+
| S6841 | [jsx-a11y/tabindex-no-positive](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/tabindex-no-positive.md) |
|
|
496
|
+
| S6842 | [jsx-a11y/no-noninteractive-element-to-interactive-role](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-noninteractive-element-to-interactive-role.md) |
|
|
497
|
+
| S6843 | [jsx-a11y/no-interactive-element-to-noninteractive-role](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-interactive-element-to-noninteractive-role.md) |
|
|
498
|
+
| S6845 | [jsx-a11y/no-noninteractive-tabindex](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-noninteractive-tabindex.md) |
|
|
499
|
+
| S6846 | [jsx-a11y/no-access-key](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-access-key.md) |
|
|
500
|
+
| S6847 | [jsx-a11y/no-noninteractive-element-interactions](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-noninteractive-element-interactions.md) |
|
|
501
|
+
| S6848 | [jsx-a11y/no-static-element-interactions](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/no-static-element-interactions.md) |
|
|
502
|
+
| S6850 | [jsx-a11y/heading-has-content](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/heading-has-content.md) |
|
|
503
|
+
| S6851 | [jsx-a11y/img-redundant-alt](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/img-redundant-alt.md) |
|
|
504
|
+
| 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
|
+
| S6861 | [import/no-mutable-exports](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-mutable-exports.md) |
|
|
507
|
+
| S7641 | [@angular-eslint/contextual-lifecycle](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/contextual-lifecycle.md) |
|
|
508
|
+
| 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) |
|
|
509
|
+
| S7648 | [@angular-eslint/prefer-standalone](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-standalone.md) |
|
|
510
|
+
| S7649 | [@angular-eslint/no-input-rename](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/no-input-rename.md) |
|
|
511
|
+
| S7650 | [@angular-eslint/no-inputs-metadata-property](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/no-inputs-metadata-property.md) |
|
|
512
|
+
| S7651 | [@angular-eslint/no-output-native](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/no-output-native.md) |
|
|
513
|
+
| S7652 | [@angular-eslint/no-output-on-prefix](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/no-output-on-prefix.md) |
|
|
514
|
+
| S7653 | [@angular-eslint/no-output-rename](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/no-output-rename.md) |
|
|
515
|
+
| S7654 | [@angular-eslint/no-outputs-metadata-property](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/no-outputs-metadata-property.md) |
|
|
516
|
+
| S7655 | [@angular-eslint/use-lifecycle-interface](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/use-lifecycle-interface.md) |
|
|
517
|
+
| S7656 | [@angular-eslint/use-pipe-transform-interface](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/docs/rules/use-pipe-transform-interface.md) |
|
|
518
|
+
| S7718 | [unicorn/catch-error-name](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/catch-error-name.md) |
|
|
519
|
+
| S7719 | [unicorn/consistent-date-clone](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/consistent-date-clone.md) |
|
|
520
|
+
| S7720 | [unicorn/consistent-empty-array-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/consistent-empty-array-spread.md) |
|
|
521
|
+
| 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
|
+
| S7724 | [unicorn/no-abusive-eslint-disable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-abusive-eslint-disable.md) |
|
|
524
|
+
| S7725 | [unicorn/no-accessor-recursion](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-accessor-recursion.md) |
|
|
525
|
+
| S7726 | [unicorn/no-anonymous-default-export](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-anonymous-default-export.md) |
|
|
526
|
+
| S7730 | [unicorn/no-await-expression-member](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-await-expression-member.md) |
|
|
527
|
+
| S7731 | [unicorn/no-for-loop](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-for-loop.md) |
|
|
528
|
+
| S7732 | [unicorn/no-instanceof-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-instanceof-builtins.md) |
|
|
529
|
+
| S7733 | [unicorn/no-invalid-fetch-options](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-invalid-fetch-options.md) |
|
|
530
|
+
| S7734 | [unicorn/no-named-default](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-named-default.md) |
|
|
531
|
+
| S7735 | [unicorn/no-negated-condition](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-negated-condition.md) |
|
|
532
|
+
| S7736 | [unicorn/no-negation-in-equality-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-negation-in-equality-check.md) |
|
|
533
|
+
| S7737 | [unicorn/no-object-as-default-parameter](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-object-as-default-parameter.md) |
|
|
534
|
+
| S7738 | [unicorn/no-single-promise-in-promise-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-single-promise-in-promise-methods.md) |
|
|
535
|
+
| S7740 | [unicorn/no-this-assignment](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-this-assignment.md) |
|
|
536
|
+
| S7741 | [unicorn/no-typeof-undefined](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-typeof-undefined.md) |
|
|
537
|
+
| S7742 | [unicorn/no-unnecessary-polyfills](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-unnecessary-polyfills.md) |
|
|
538
|
+
| S7743 | [unicorn/no-unreadable-iife](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-unreadable-iife.md) |
|
|
539
|
+
| S7744 | [unicorn/no-useless-fallback-in-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-useless-fallback-in-spread.md) |
|
|
540
|
+
| S7745 | [unicorn/no-useless-length-check](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-useless-length-check.md) |
|
|
541
|
+
| S7746 | [unicorn/no-useless-promise-resolve-reject](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-useless-promise-resolve-reject.md) |
|
|
542
|
+
| S7747 | [unicorn/no-useless-spread](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-useless-spread.md) |
|
|
543
|
+
| S7748 | [unicorn/no-zero-fractions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-zero-fractions.md) |
|
|
544
|
+
| S7749 | [unicorn/numeric-separators-style](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/numeric-separators-style.md) |
|
|
545
|
+
| S7750 | [unicorn/prefer-array-find](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-array-find.md) |
|
|
546
|
+
| S7751 | [unicorn/prefer-array-flat](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-array-flat.md) |
|
|
547
|
+
| S7752 | [unicorn/prefer-array-flat-map](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-array-flat-map.md) |
|
|
548
|
+
| S7753 | [unicorn/prefer-array-index-of](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-array-index-of.md) |
|
|
549
|
+
| S7754 | [unicorn/prefer-array-some](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-array-some.md) |
|
|
550
|
+
| S7756 | [unicorn/prefer-blob-reading-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-blob-reading-methods.md) |
|
|
551
|
+
| S7757 | [unicorn/prefer-class-fields](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-class-fields.md) |
|
|
552
|
+
| S7758 | [unicorn/prefer-code-point](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-code-point.md) |
|
|
553
|
+
| S7760 | [unicorn/prefer-default-parameters](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-default-parameters.md) |
|
|
554
|
+
| S7761 | [unicorn/prefer-dom-node-dataset](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-dom-node-dataset.md) |
|
|
555
|
+
| S7762 | [unicorn/prefer-dom-node-remove](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-dom-node-remove.md) |
|
|
556
|
+
| S7764 | [unicorn/prefer-global-this](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-global-this.md) |
|
|
557
|
+
| 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
|
+
| S7767 | [unicorn/prefer-math-trunc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-math-trunc.md) |
|
|
560
|
+
| S7768 | [unicorn/prefer-modern-dom-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-modern-dom-apis.md) |
|
|
561
|
+
| S7769 | [unicorn/prefer-modern-math-apis](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-modern-math-apis.md) |
|
|
562
|
+
| S7771 | [unicorn/prefer-negative-index](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-negative-index.md) |
|
|
563
|
+
| S7772 | [unicorn/prefer-node-protocol](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-node-protocol.md) |
|
|
564
|
+
| S7773 | [unicorn/prefer-number-properties](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-number-properties.md) |
|
|
565
|
+
| S7774 | [unicorn/prefer-prototype-methods](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-prototype-methods.md) |
|
|
566
|
+
| S7775 | [unicorn/prefer-regexp-test](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-regexp-test.md) |
|
|
567
|
+
| S7776 | [unicorn/prefer-set-has](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-set-has.md) |
|
|
568
|
+
| 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
|
+
| 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
|
+
| S7786 | [unicorn/prefer-type-error](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-type-error.md) |
|
|
575
|
+
| S7787 | [unicorn/require-module-specifiers](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/require-module-specifiers.md) |
|
|
584
576
|
|
|
585
577
|
<!--- end external rules -->
|
|
586
578
|
|
|
@@ -590,75 +582,84 @@ The following rules are used in SonarJS but not available in this ESLint plugin.
|
|
|
590
582
|
|
|
591
583
|
<!--- start decorated rules -->
|
|
592
584
|
|
|
593
|
-
| SonarJS rule ID
|
|
594
|
-
|
|
|
595
|
-
|
|
|
596
|
-
|
|
|
597
|
-
|
|
|
598
|
-
|
|
|
599
|
-
|
|
|
600
|
-
|
|
|
601
|
-
|
|
|
602
|
-
|
|
|
603
|
-
|
|
|
604
|
-
|
|
|
605
|
-
|
|
|
606
|
-
|
|
|
607
|
-
|
|
|
608
|
-
|
|
|
609
|
-
|
|
|
610
|
-
|
|
|
611
|
-
|
|
|
612
|
-
|
|
|
613
|
-
|
|
|
614
|
-
|
|
|
615
|
-
|
|
|
616
|
-
|
|
|
617
|
-
|
|
|
618
|
-
|
|
|
619
|
-
|
|
|
620
|
-
| [
|
|
621
|
-
|
|
|
622
|
-
|
|
|
623
|
-
| [
|
|
624
|
-
|
|
|
625
|
-
|
|
|
626
|
-
|
|
|
627
|
-
| [
|
|
628
|
-
|
|
|
629
|
-
|
|
|
630
|
-
|
|
|
631
|
-
|
|
|
632
|
-
|
|
|
633
|
-
|
|
|
634
|
-
| [
|
|
635
|
-
|
|
|
636
|
-
|
|
|
637
|
-
|
|
|
638
|
-
|
|
|
639
|
-
|
|
|
640
|
-
|
|
|
641
|
-
|
|
|
642
|
-
|
|
|
643
|
-
|
|
|
644
|
-
|
|
|
645
|
-
|
|
|
646
|
-
|
|
|
647
|
-
|
|
|
648
|
-
|
|
|
649
|
-
|
|
|
650
|
-
| [
|
|
651
|
-
|
|
|
652
|
-
|
|
|
653
|
-
|
|
|
654
|
-
|
|
|
655
|
-
|
|
|
656
|
-
|
|
|
657
|
-
|
|
|
658
|
-
|
|
|
659
|
-
|
|
|
660
|
-
|
|
|
661
|
-
|
|
|
662
|
-
|
|
|
585
|
+
| SonarJS rule ID | Rules used in the SonarJS implementation |
|
|
586
|
+
| :-------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
587
|
+
| S107 | [eslint/max-params](https://eslint.org/docs/latest/rules/max-params) |
|
|
588
|
+
| S109 | [typescript-eslint/no-magic-numbers](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-magic-numbers.mdx) |
|
|
589
|
+
| S131 | [typescript-eslint/switch-exhaustiveness-check](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.mdx) |
|
|
590
|
+
| S905 | [typescript-eslint/no-unused-expressions](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unused-expressions.mdx) |
|
|
591
|
+
| S1068 | [eslint/no-unused-private-class-members](https://eslint.org/docs/latest/rules/no-unused-private-class-members) |
|
|
592
|
+
| S1077 | [jsx-a11y/alt-text](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/alt-text.md) |
|
|
593
|
+
| S1082 | [jsx-a11y/mouse-events-have-key-events](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/mouse-events-have-key-events.md)<br>[jsx-a11y/click-events-have-key-events](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/click-events-have-key-events.md) |
|
|
594
|
+
| S1105 | [@stylistic/eslint-plugin/brace-style](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/packages/eslint-plugin/rules/brace-style/README.md) |
|
|
595
|
+
| S1116 | [@stylistic/eslint-plugin/no-extra-semi](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/packages/eslint-plugin/rules/no-extra-semi/README.md) |
|
|
596
|
+
| S1143 | [eslint/no-unsafe-finally](https://eslint.org/docs/latest/rules/no-unsafe-finally) |
|
|
597
|
+
| S1186 | [typescript-eslint/no-empty-function](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-empty-function.mdx) |
|
|
598
|
+
| S1438 | [@stylistic/eslint-plugin/semi](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/packages/eslint-plugin/rules/semi/README.md) |
|
|
599
|
+
| 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
|
+
| S1763 | [eslint/no-unreachable](https://eslint.org/docs/latest/rules/no-unreachable) |
|
|
601
|
+
| S1788 | [typescript-eslint/default-param-last](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/default-param-last.mdx) |
|
|
602
|
+
| S2189 | [eslint/no-unmodified-loop-condition](https://eslint.org/docs/latest/rules/no-unmodified-loop-condition) |
|
|
603
|
+
| S2376 | [eslint/accessor-pairs](https://eslint.org/docs/latest/rules/accessor-pairs) |
|
|
604
|
+
| S2430 | [eslint/new-cap](https://eslint.org/docs/latest/rules/new-cap) |
|
|
605
|
+
| S2688 | [eslint/use-isnan](https://eslint.org/docs/latest/rules/use-isnan) |
|
|
606
|
+
| S2814 | [typescript-eslint/no-redeclare](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-redeclare.mdx) |
|
|
607
|
+
| S3498 | [eslint/object-shorthand](https://eslint.org/docs/latest/rules/object-shorthand) |
|
|
608
|
+
| S3504 | [eslint/no-var](https://eslint.org/docs/latest/rules/no-var) |
|
|
609
|
+
| S3512 | [eslint/prefer-template](https://eslint.org/docs/latest/rules/prefer-template) |
|
|
610
|
+
| S3696 | [eslint/no-throw-literal](https://eslint.org/docs/latest/rules/no-throw-literal) |
|
|
611
|
+
| S3723 | [@stylistic/eslint-plugin/comma-dangle](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/packages/eslint-plugin/rules/comma-dangle/README.md) |
|
|
612
|
+
| 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
|
+
| 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
|
+
| S4084 | [jsx-a11y/media-has-caption](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/media-has-caption.md) |
|
|
615
|
+
| 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
|
+
| 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
|
+
| S4275 | [eslint/getter-return](https://eslint.org/docs/latest/rules/getter-return) |
|
|
618
|
+
| 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
|
+
| 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
|
+
| S6440 | [react-hooks/rules-of-hooks](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/README.md) |
|
|
621
|
+
| S6441 | [react/no-unused-class-component-methods](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unused-class-component-methods.md) |
|
|
622
|
+
| S6477 | [react/jsx-key](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-key.md) |
|
|
623
|
+
| S6478 | [react/no-unstable-nested-components](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unstable-nested-components.md) |
|
|
624
|
+
| S6479 | [react/no-array-index-key](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-array-index-key.md) |
|
|
625
|
+
| S6481 | [react/jsx-no-constructed-context-values](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-constructed-context-values.md) |
|
|
626
|
+
| S6535 | [eslint/no-useless-escape](https://eslint.org/docs/latest/rules/no-useless-escape)<br>[eslint/no-nonoctal-decimal-escape](https://eslint.org/docs/latest/rules/no-nonoctal-decimal-escape) |
|
|
627
|
+
| S6544 | [typescript-eslint/no-misused-promises](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-misused-promises.mdx)<br>[eslint/no-async-promise-executor](https://eslint.org/docs/latest/rules/no-async-promise-executor) |
|
|
628
|
+
| S6551 | [typescript-eslint/no-base-to-string](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-base-to-string.mdx) |
|
|
629
|
+
| S6557 | [typescript-eslint/prefer-string-starts-ends-with](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-string-starts-ends-with.mdx) |
|
|
630
|
+
| S6571 | [typescript-eslint/no-redundant-type-constituents](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-redundant-type-constituents.mdx) |
|
|
631
|
+
| S6572 | [typescript-eslint/prefer-enum-initializers](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-enum-initializers.mdx) |
|
|
632
|
+
| S6582 | [typescript-eslint/prefer-optional-chain](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-optional-chain.mdx) |
|
|
633
|
+
| S6598 | [typescript-eslint/prefer-function-type](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-function-type.mdx) |
|
|
634
|
+
| S6606 | [typescript-eslint/prefer-nullish-coalescing](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx) |
|
|
635
|
+
| S6643 | [eslint/no-extend-native](https://eslint.org/docs/latest/rules/no-extend-native) |
|
|
636
|
+
| S6647 | [eslint/no-useless-constructor](https://eslint.org/docs/latest/rules/no-useless-constructor) |
|
|
637
|
+
| S6660 | [eslint/no-lonely-if](https://eslint.org/docs/latest/rules/no-lonely-if) |
|
|
638
|
+
| S6661 | [eslint/prefer-object-spread](https://eslint.org/docs/latest/rules/prefer-object-spread) |
|
|
639
|
+
| S6666 | [eslint/prefer-spread](https://eslint.org/docs/latest/rules/prefer-spread) |
|
|
640
|
+
| S6676 | [eslint/no-useless-call](https://eslint.org/docs/latest/rules/no-useless-call) |
|
|
641
|
+
| S6679 | [eslint/no-self-compare](https://eslint.org/docs/latest/rules/no-self-compare) |
|
|
642
|
+
| 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
|
+
| S6749 | [react/jsx-no-useless-fragment](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-useless-fragment.md) |
|
|
644
|
+
| S6754 | [react/hook-use-state](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/hook-use-state.md) |
|
|
645
|
+
| S6774 | [react/prop-types](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/prop-types.md) |
|
|
646
|
+
| S6788 | [react/no-find-dom-node](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-find-dom-node.md) |
|
|
647
|
+
| S6791 | [react/no-unsafe](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-unsafe.md) |
|
|
648
|
+
| S6819 | [jsx-a11y/prefer-tag-over-role](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/prefer-tag-over-role.md) |
|
|
649
|
+
| S6827 | [jsx-a11y/anchor-has-content](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-has-content.md) |
|
|
650
|
+
| S6844 | [jsx-a11y/anchor-is-valid](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md) |
|
|
651
|
+
| 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) |
|
|
652
|
+
| S6957 | [react/no-deprecated](https://github.com/jsx-eslint/eslint-plugin-react/blob/HEAD/docs/rules/no-deprecated.md) |
|
|
653
|
+
| S7060 | [import/no-self-import](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-self-import.md) |
|
|
654
|
+
| S7723 | [unicorn/new-for-builtins](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/new-for-builtins.md) |
|
|
655
|
+
| S7727 | [unicorn/no-array-callback-reference](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-array-callback-reference.md) |
|
|
656
|
+
| S7728 | [unicorn/no-array-for-each](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-array-for-each.md) |
|
|
657
|
+
| S7729 | [unicorn/no-array-method-this-argument](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-array-method-this-argument.md) |
|
|
658
|
+
| S7739 | [unicorn/no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/no-thenable.md) |
|
|
659
|
+
| S7755 | [unicorn/prefer-at](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-at.md) |
|
|
660
|
+
| S7759 | [unicorn/prefer-date-now](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-date-now.md) |
|
|
661
|
+
| S7763 | [unicorn/prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-export-from.md) |
|
|
662
|
+
| S7770 | [unicorn/prefer-native-coercion-functions](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-native-coercion-functions.md) |
|
|
663
|
+
| S7785 | [unicorn/prefer-top-level-await](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/HEAD/docs/rules/prefer-top-level-await.md) |
|
|
663
664
|
|
|
664
665
|
<!--- end decorated rules -->
|