Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit d97d6e3

Browse files
Replace Jira-based RSPEC links with new github-based RSPEC links (#243)
1 parent 3830afc commit d97d6e3

32 files changed

+34
-29
lines changed

src/rules/cognitive-complexity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* along with this program; if not, write to the Free Software Foundation,
1818
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919
*/
20-
// https://jira.sonarsource.com/browse/RSPEC-3776
20+
// https://sonarsource.github.io/rspec/#/rspec/S3776
2121

2222
import { TSESTree } from '@typescript-eslint/experimental-utils';
2323
import { isArrowFunctionExpression, isIfStatement, isLogicalExpression } from '../utils/nodes';

src/rules/elseif-without-else.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* along with this program; if not, write to the Free Software Foundation,
1818
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919
*/
20+
// https://sonarsource.github.io/rspec/#/rspec/S126
2021

2122
import { TSESTree } from '@typescript-eslint/experimental-utils';
2223
import { Rule } from '../utils/types';

src/rules/generator-without-yield.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* along with this program; if not, write to the Free Software Foundation,
1818
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919
*/
20+
// https://sonarsource.github.io/rspec/#/rspec/S3531
2021

2122
import { TSESTree } from '@typescript-eslint/experimental-utils';
2223
import { getMainFunctionTokenLocation } from '../utils/locations';

src/rules/max-switch-cases.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* along with this program; if not, write to the Free Software Foundation,
1818
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919
*/
20-
// https://jira.sonarsource.com/browse/RSPEC-1479
20+
// https://sonarsource.github.io/rspec/#/rspec/S1479
2121

2222
import { TSESTree } from '@typescript-eslint/experimental-utils';
2323
import { Rule } from '../utils/types';

src/rules/no-all-duplicated-branches.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* along with this program; if not, write to the Free Software Foundation,
1818
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919
*/
20-
// https://jira.sonarsource.com/browse/RSPEC-3923
20+
// https://sonarsource.github.io/rspec/#/rspec/S3923
2121

2222
import { TSESTree } from '@typescript-eslint/experimental-utils';
2323
import { Rule } from '../utils/types';

src/rules/no-collapsible-if.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* along with this program; if not, write to the Free Software Foundation,
1818
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919
*/
20-
// https://jira.sonarsource.com/browse/RSPEC-1066
20+
// https://sonarsource.github.io/rspec/#/rspec/S1066
2121

2222
import { TSESTree } from '@typescript-eslint/experimental-utils';
2323
import { Rule } from '../utils/types';

src/rules/no-collection-size-mischeck.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* along with this program; if not, write to the Free Software Foundation,
1818
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919
*/
20-
// https://jira.sonarsource.com/browse/RSPEC-3981
20+
// https://sonarsource.github.io/rspec/#/rspec/S3981
2121

2222
import { TSESTree } from '@typescript-eslint/experimental-utils';
2323
import { Rule } from '../utils/types';

src/rules/no-duplicate-string.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* along with this program; if not, write to the Free Software Foundation,
1818
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919
*/
20-
// https://jira.sonarsource.com/browse/RSPEC-1192
20+
// https://sonarsource.github.io/rspec/#/rspec/S1192
2121

2222
import { TSESTree } from '@typescript-eslint/experimental-utils';
2323
import { Rule } from '../utils/types';

src/rules/no-duplicated-branches.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* along with this program; if not, write to the Free Software Foundation,
1818
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919
*/
20-
// https://jira.sonarsource.com/browse/RSPEC-1871
20+
// https://sonarsource.github.io/rspec/#/rspec/S1871
2121

2222
import { TSESTree } from '@typescript-eslint/experimental-utils';
2323
import { Rule } from '../utils/types';

src/rules/no-element-overwrite.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* along with this program; if not, write to the Free Software Foundation,
1818
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919
*/
20-
// https://jira.sonarsource.com/browse/RSPEC-4143
20+
// https://sonarsource.github.io/rspec/#/rspec/S4143
2121

2222
import { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
2323
import { areEquivalent } from '../utils/equivalence';

0 commit comments

Comments
 (0)