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

Replace devDependency @typescript-eslint/experimental-utils with @typescript-eslint/utils #453

Merged
merged 1 commit into from
Mar 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 1 addition & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -44,8 +44,8 @@
"@types/lodash": "4.14.182",
"@types/minimist": "1.2.2",
"@types/node": "14.14.31",
"@typescript-eslint/experimental-utils": "5.30.7",
"@typescript-eslint/parser": "5.30.7",
"@typescript-eslint/utils": "5.30.7",
"eslint": "8.47.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import type { TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESLint } from '@typescript-eslint/utils';

const sonarjsRules: string[] = [
'cognitive-complexity',
2 changes: 1 addition & 1 deletion src/rules/cognitive-complexity.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S3776

import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
import { isIfStatement, isLogicalExpression } from '../utils/nodes';
import {
getFirstToken,
2 changes: 1 addition & 1 deletion src/rules/elseif-without-else.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S126

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import docsUrl from '../utils/docs-url';

const rule: TSESLint.RuleModule<string, string[]> = {
2 changes: 1 addition & 1 deletion src/rules/max-switch-cases.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S1479

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import docsUrl from '../utils/docs-url';

const DEFAULT_MAX_SWITCH_CASES = 30;
2 changes: 1 addition & 1 deletion src/rules/no-all-duplicated-branches.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S3923

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import { isIfStatement } from '../utils/nodes';
import { areEquivalent } from '../utils/equivalence';
import { collectIfBranches, collectSwitchBranches } from '../utils/conditions';
2 changes: 1 addition & 1 deletion src/rules/no-collapsible-if.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S1066

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import { isIfStatement, isBlockStatement } from '../utils/nodes';
import { report, issueLocation } from '../utils/locations';
import docsUrl from '../utils/docs-url';
2 changes: 1 addition & 1 deletion src/rules/no-collection-size-mischeck.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S3981

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import { isRequiredParserServices, RequiredParserServices } from '../utils/parser-services';
import docsUrl from '../utils/docs-url';

2 changes: 1 addition & 1 deletion src/rules/no-duplicate-string.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S1192

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import docsUrl from '../utils/docs-url';
import { issueLocation, report } from '../utils/locations';

2 changes: 1 addition & 1 deletion src/rules/no-duplicated-branches.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S1871

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import { isIfStatement, isBlockStatement } from '../utils/nodes';
import { areEquivalent } from '../utils/equivalence';
import { collectIfBranches, takeWithoutBreak, collectSwitchBranches } from '../utils/conditions';
2 changes: 1 addition & 1 deletion src/rules/no-element-overwrite.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S4143

import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
import { areEquivalent } from '../utils/equivalence';
import {
isExpressionStatement,
2 changes: 1 addition & 1 deletion src/rules/no-empty-collection.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S4158

import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
import {
isIdentifier,
findFirstMatchingAncestor,
2 changes: 1 addition & 1 deletion src/rules/no-extra-arguments.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S930

import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
import {
isArrowFunctionExpression,
isFunctionDeclaration,
2 changes: 1 addition & 1 deletion src/rules/no-gratuitous-expressions.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S2589

import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
import { report } from '../utils/locations';
import { isIdentifier, isIfStatement } from '../utils/nodes';
import docsUrl from '../utils/docs-url';
2 changes: 1 addition & 1 deletion src/rules/no-identical-conditions.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S1862

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import { areEquivalent } from '../utils/equivalence';
import { report, issueLocation } from '../utils/locations';
import docsUrl from '../utils/docs-url';
2 changes: 1 addition & 1 deletion src/rules/no-identical-expressions.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S1764

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import { isIdentifier, isLiteral } from '../utils/nodes';
import { areEquivalent } from '../utils/equivalence';
import { report, issueLocation, IssueLocation } from '../utils/locations';
2 changes: 1 addition & 1 deletion src/rules/no-identical-functions.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S4144

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import { areEquivalent } from '../utils/equivalence';
import { getMainFunctionTokenLocation, report, issueLocation } from '../utils/locations';
import docsUrl from '../utils/docs-url';
2 changes: 1 addition & 1 deletion src/rules/no-ignored-return.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S2201

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import { isRequiredParserServices, RequiredParserServices } from '../utils/parser-services';
import docsUrl from '../utils/docs-url';
import { getTypeFromTreeNode } from '../utils';
2 changes: 1 addition & 1 deletion src/rules/no-inverted-boolean-check.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S1940

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import { isBinaryExpression } from '../utils/nodes';
import docsUrl from '../utils/docs-url';

2 changes: 1 addition & 1 deletion src/rules/no-nested-switch.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S1821

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import docsUrl from '../utils/docs-url';

const rule: TSESLint.RuleModule<string, string[]> = {
2 changes: 1 addition & 1 deletion src/rules/no-nested-template-literals.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S4624

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import { ancestorsChain } from '../utils';
import docsUrl from '../utils/docs-url';

4 changes: 2 additions & 2 deletions src/rules/no-one-iteration-loop.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S1751

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import { Rule } from 'eslint';
import { isContinueStatement } from '../utils/nodes';
import docsUrl from '../utils/docs-url';
@@ -38,7 +38,7 @@ const rule: TSESLint.RuleModule<string, string[]> = {
url: docsUrl(__filename),
},
},
// @ts-ignore The typings of @typescript-eslint/experimental-utils does not contain the 'onX' methods.
// @ts-ignore The typings of @typescript-eslint/utils does not contain the 'onX' methods.
create(context) {
const loopingNodes: Set<TSESTree.Node> = new Set();
const loops: Set<TSESTree.Node> = new Set();
2 changes: 1 addition & 1 deletion src/rules/no-redundant-boolean.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S1125

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import { isBooleanLiteral, isIfStatement, isConditionalExpression } from '../utils/nodes';
import docsUrl from '../utils/docs-url';

2 changes: 1 addition & 1 deletion src/rules/no-redundant-jump.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S3626

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import docsUrl from '../utils/docs-url';

const loops = 'WhileStatement, ForStatement, DoWhileStatement, ForInStatement, ForOfStatement';
2 changes: 1 addition & 1 deletion src/rules/no-same-line-conditional.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S3972

import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
import docsUrl from '../utils/docs-url';
import { issueLocation, report } from '../utils/locations';

2 changes: 1 addition & 1 deletion src/rules/no-small-switch.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S1301

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import docsUrl from '../utils/docs-url';

const rule: TSESLint.RuleModule<string, string[]> = {
2 changes: 1 addition & 1 deletion src/rules/no-unused-collection.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S4030

import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
import { collectionConstructor, writingMethods } from '../utils/collections';
import docsUrl from '../utils/docs-url';

2 changes: 1 addition & 1 deletion src/rules/no-use-of-empty-return-value.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S3699

import { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import { TSESTree, TSESLint } from '@typescript-eslint/utils';
import { isFunctionExpression, isArrowFunctionExpression, isBlockStatement } from '../utils/nodes';
import docsUrl from '../utils/docs-url';

2 changes: 1 addition & 1 deletion src/rules/no-useless-catch.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S1940

import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
import { isThrowStatement } from '../utils/nodes';
import { areEquivalent } from '../utils/equivalence';
import docsUrl from '../utils/docs-url';
2 changes: 1 addition & 1 deletion src/rules/non-existent-operator.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S2757

import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
import docsUrl from '../utils/docs-url';

const rule: TSESLint.RuleModule<string, string[]> = {
2 changes: 1 addition & 1 deletion src/rules/prefer-immediate-return.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S1488

import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
import {
isReturnStatement,
isThrowStatement,
2 changes: 1 addition & 1 deletion src/rules/prefer-object-literal.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S2428

import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
import {
isModuleDeclaration,
isVariableDeclaration,
2 changes: 1 addition & 1 deletion src/rules/prefer-single-boolean-return.ts
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
// https://sonarsource.github.io/rspec/#/rspec/S1126
import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import {
isReturnStatement,
isBlockStatement,
2 changes: 1 addition & 1 deletion src/rules/prefer-while.ts
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
*/
// https://sonarsource.github.io/rspec/#/rspec/S1264

import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
import docsUrl from '../utils/docs-url';

const rule: TSESLint.RuleModule<string, string[]> = {
2 changes: 1 addition & 1 deletion src/utils/conditions.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import type { TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESTree } from '@typescript-eslint/utils';
import { isIfStatement } from './nodes';

/** Returns a list of statements corresponding to a `if - else if - else` chain */
2 changes: 1 addition & 1 deletion src/utils/equivalence.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';

/**
* Equivalence is implemented by comparing node types and their tokens.
2 changes: 1 addition & 1 deletion src/utils/jsx.ts
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

import type { TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESTree } from '@typescript-eslint/utils';

export function getJsxShortCircuitNodes(logicalExpression: TSESTree.LogicalExpression) {
if (logicalExpression.parent?.type !== 'JSXExpressionContainer') {
2 changes: 1 addition & 1 deletion src/utils/locations.ts
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';

type Writeable<T> = { -readonly [P in keyof T]: T[P] };
export type MutableReportDescriptor = Writeable<TSESLint.ReportDescriptor<string>>;
2 changes: 1 addition & 1 deletion src/utils/nodes.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import type { TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESTree } from '@typescript-eslint/utils';

const MODULE_DECLARATION_NODES = [
'ImportDeclaration',
2 changes: 1 addition & 1 deletion src/utils/parser-services.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import type { ParserServices } from '@typescript-eslint/experimental-utils';
import type { ParserServices } from '@typescript-eslint/utils';

export type RequiredParserServices = {
[k in keyof ParserServices]: Exclude<ParserServices[k], undefined>;
2 changes: 1 addition & 1 deletion src/utils/utils-ast.ts
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';

export function isIdentifier(
node: TSESTree.Node,
2 changes: 1 addition & 1 deletion src/utils/utils-parent.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import type { TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESTree } from '@typescript-eslint/utils';

export function findFirstMatchingAncestor(
node: TSESTree.Node,
2 changes: 1 addition & 1 deletion src/utils/utils-type.ts
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

import type { TSESTree } from '@typescript-eslint/experimental-utils';
import type { TSESTree } from '@typescript-eslint/utils';
import { RequiredParserServices } from './parser-services';

export function getTypeFromTreeNode(node: TSESTree.Node, services: RequiredParserServices) {
2 changes: 1 addition & 1 deletion tests/rule-tester.ts
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

import { ESLintUtils } from '@typescript-eslint/experimental-utils';
import { ESLintUtils } from '@typescript-eslint/utils';

const { RuleTester } = ESLintUtils;

2 changes: 1 addition & 1 deletion tests/rules/cognitive-complexity.test.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import { TSESLint } from '@typescript-eslint/experimental-utils';
import { TSESLint } from '@typescript-eslint/utils';
import { ruleTester } from '../rule-tester';
import { IssueLocation } from '../../src/utils/locations';
import rule = require('../../src/rules/cognitive-complexity');
2 changes: 1 addition & 1 deletion tests/rules/no-extra-arguments.test.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import { TSESLint } from '@typescript-eslint/experimental-utils';
import { TSESLint } from '@typescript-eslint/utils';
import { ruleTester, ruleTesterScript } from '../rule-tester';
import { IssueLocation } from '../../src/utils/locations';
import rule = require('../../src/rules/no-extra-arguments');
2 changes: 1 addition & 1 deletion tests/rules/no-identical-functions.test.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import { TSESLint } from '@typescript-eslint/experimental-utils';
import { TSESLint } from '@typescript-eslint/utils';
import { ruleTester } from '../rule-tester';
import { IssueLocation } from '../../src/utils/locations';
import rule = require('../../src/rules/no-identical-functions');
2 changes: 1 addition & 1 deletion tests/rules/no-inverted-boolean-check.test.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import { TSESLint } from '@typescript-eslint/experimental-utils';
import { TSESLint } from '@typescript-eslint/utils';
import { ruleTester } from '../rule-tester';
import rule = require('../../src/rules/no-inverted-boolean-check');

2 changes: 1 addition & 1 deletion tests/rules/no-use-of-empty-return-value.test.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import { TSESLint } from '@typescript-eslint/experimental-utils';
import { TSESLint } from '@typescript-eslint/utils';
import { ruleTester } from '../rule-tester';
import rule = require('../../src/rules/no-use-of-empty-return-value');

2 changes: 1 addition & 1 deletion tests/utils/parser-services.test.ts
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import * as path from 'path';
import type { TSESTree, TSESLint } from '@typescript-eslint/experimental-utils';
import type { TSESTree, TSESLint } from '@typescript-eslint/utils';
import { isRequiredParserServices } from '../../src/utils/parser-services';
import { RuleTester } from '../rule-tester';


Unchanged files with check annotations Beta

- ./scripts/test-ci.sh
- ./scripts/analyze_and_publish.sh
qa_task:

Check warning on line 49 in .cirrus.yml

Cirrus CI / Build Parsing Results

.cirrus.yml#L49

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 49 in .cirrus.yml

Cirrus CI / Build Parsing Results

.cirrus.yml#L49

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 49 in .cirrus.yml

Cirrus CI / Build Parsing Results

.cirrus.yml#L49

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 49 in .cirrus.yml

Cirrus CI / Build Parsing Results

.cirrus.yml#L49

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 49 in .cirrus.yml

Cirrus CI / Build Parsing Results

.cirrus.yml#L49

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 49 in .cirrus.yml

Cirrus CI / Build Parsing Results

.cirrus.yml#L49

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 49 in .cirrus.yml

Cirrus CI / Build Parsing Results

.cirrus.yml#L49

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 49 in .cirrus.yml

Cirrus CI / Build Parsing Results

.cirrus.yml#L49

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 49 in .cirrus.yml

Cirrus CI / Build Parsing Results

.cirrus.yml#L49

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 49 in .cirrus.yml

Cirrus CI / Build Parsing Results

.cirrus.yml#L49

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 49 in .cirrus.yml

Cirrus CI / Build Parsing Results

.cirrus.yml#L49

task "qa" depends on task "build", but their only_if conditions are different

Check warning on line 49 in .cirrus.yml

Cirrus CI / Build Parsing Results

.cirrus.yml#L49

task "qa" depends on task "build", but their only_if conditions are different
depends_on:
- build
eks_container: