Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new docs URL #4756

Merged
merged 2 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,5 @@ Desktop.ini
.scannerwork

# eslint-plugin-sonarjs
eslint-plugin-sonarjs-*.tgz
eslint-plugin-sonarjs-*.tgz
vdiez marked this conversation as resolved.
Show resolved Hide resolved
its/eslint-plugin-sonarjs/package-lock.json
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S100/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Function and method names should comply with a naming convention",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S100/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S100/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S101/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Class names should comply with a naming convention",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S101/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S101/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S104/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Files should not have too many lines of code",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S104/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S104/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S105/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "Tabulation characters should not be used",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S105/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S105/javascript"
},
"deprecated": true
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1066/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Mergeable \"if\" statements should be combined",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1066/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1066/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1067/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Expressions should not be too complex",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1067/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1067/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1068/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "Unused private class members should be removed",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1068/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1068/javascript"
},
"fixable": "code"
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S107/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Functions should not have too many parameters",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S107/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S107/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1077/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Image, area, button with image and object elements should have an alternative text",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1077/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1077/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1082/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Mouse events should have corresponding keyboard events",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1082/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1082/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S109/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Magic numbers should not be used",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S109/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S109/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1105/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "An open curly brace should be located at the end of a line",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1105/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1105/javascript"
},
"deprecated": true
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1110/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "Redundant pairs of parentheses should be removed",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1110/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1110/javascript"
},
"fixable": "code",
"deprecated": true
Expand Down
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1116/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "Extra semicolons should be removed",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1116/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1116/javascript"
},
"fixable": "code",
"deprecated": true
Expand Down
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1119/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Labels should not be used",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1119/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1119/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1121/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Assignments should not be made from within sub-expressions",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1121/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1121/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1125/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Boolean literals should not be used in comparisons",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1125/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1125/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1126/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "Return of boolean expressions should not be wrapped into an \"if-then-else\" statement",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1126/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1126/javascript"
},
"fixable": "code"
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1128/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "Unnecessary imports should be removed",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1128/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1128/javascript"
},
"fixable": "code"
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1134/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Track uses of \"FIXME\" tags",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1134/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1134/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1135/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Track uses of \"TODO\" tags",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1135/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1135/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1154/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "Results of operations on strings should not be ignored",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1154/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1154/javascript"
},
"deprecated": true
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S117/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Variable, property and parameter names should comply with a naming convention",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S117/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S117/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1172/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "Unused function parameters should be removed",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1172/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1172/javascript"
},
"fixable": "code"
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1186/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "Functions should not be empty",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1186/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1186/javascript"
},
"fixable": "code"
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1192/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "String literals should not be duplicated",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1192/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1192/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1219/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "\"switch\" statements should not contain non-case labels",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1219/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1219/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1226/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Initial values of parameters, caught exceptions, and loop variables should not be ignored",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1226/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1226/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S124/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Track comments matching a regular expression",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S124/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S124/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S125/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "Sections of code should not be commented out",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S125/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S125/javascript"
},
"fixable": "code"
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S126/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "\"if ... else if\" constructs should end with \"else\" clauses",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S126/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S126/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1264/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "A \"while\" loop should be used instead of a \"for\" loop",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1264/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1264/javascript"
},
"fixable": "code"
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S128/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Switch cases should end with an unconditional \"break\" statement",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S128/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S128/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1301/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "\"switch\" statements should have at least 3 \"case\" clauses",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1301/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1301/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S131/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "\"switch\" statements should have \"default\" clauses",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S131/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S131/javascript"
},
"fixable": "code"
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1313/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Using hardcoded IP addresses is security-sensitive",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1313/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1313/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S134/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Control flow statements \"if\", \"for\", \"while\", \"switch\" and \"try\" should not be nested too deeply",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S134/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S134/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S135/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Loops should not contain more than a single \"break\" or \"continue\" statement",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S135/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S135/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S138/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Functions should not have too many lines of code",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S138/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S138/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1438/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "Statements should end with semicolons",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1438/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1438/javascript"
},
"fixable": "code",
"deprecated": true
Expand Down
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1439/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Only \"while\", \"do\", \"for\" and \"switch\" statements should be labelled",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1439/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1439/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1444/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "Public \"static\" fields should be read-only",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1444/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1444/javascript"
},
"fixable": "code"
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1451/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Track lack of copyright and license headers",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1451/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1451/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1472/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Function call arguments should not start on new lines",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1472/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1472/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1479/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "\"switch\" statements should not have too many \"case\" clauses",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1479/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1479/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1481/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"docs": {
"description": "Unused local variables and functions should be removed",
"recommended": true,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1481/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1481/javascript"
}
}
2 changes: 1 addition & 1 deletion packages/jsts/src/rules/S1488/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"docs": {
"description": "Local variables should not be declared and then immediately returned or thrown",
"recommended": false,
"url": "https://github.com/SonarSource/rspec/blob/master/rules/S1488/javascript/rule.adoc"
"url": "https://sonarsource.github.io/rspec/#/rspec/S1488/javascript"
},
"fixable": "code"
}
Loading
Loading