Update all depedencies, including ESLint 8, refresh lockfile (#49550)

This commit is contained in:
Jake Bailey
2022-06-16 13:39:42 -07:00
committed by GitHub
parent f83ce9bd9c
commit 734b9828a6
17 changed files with 1771 additions and 2309 deletions

View File

@@ -1,4 +1,4 @@
import { AST_NODE_TYPES, TSESTree } from "@typescript-eslint/experimental-utils";
import { AST_NODE_TYPES, TSESTree } from "@typescript-eslint/utils";
import { createRule } from "./utils";
export = createRule({
@@ -6,7 +6,6 @@ export = createRule({
meta: {
docs: {
description: ``,
category: "Best Practices",
recommended: "error",
},
messages: {

View File

@@ -1,4 +1,4 @@
import { AST_NODE_TYPES, TSESTree } from "@typescript-eslint/experimental-utils";
import { AST_NODE_TYPES, TSESTree } from "@typescript-eslint/utils";
import { createRule } from "./utils";
export = createRule({
@@ -6,7 +6,6 @@ export = createRule({
meta: {
docs: {
description: ``,
category: "Possible Errors",
recommended: "error",
},
messages: {

View File

@@ -1,4 +1,4 @@
import { TSESTree, AST_NODE_TYPES } from "@typescript-eslint/experimental-utils";
import { TSESTree, AST_NODE_TYPES } from "@typescript-eslint/utils";
import { createRule } from "./utils";
export = createRule({
@@ -6,7 +6,6 @@ export = createRule({
meta: {
docs: {
description: ``,
category: "Stylistic Issues",
recommended: "error",
},
messages: {

View File

@@ -1,4 +1,4 @@
import { TSESTree } from "@typescript-eslint/experimental-utils";
import { TSESTree } from "@typescript-eslint/utils";
import { createRule } from "./utils";
export = createRule({
@@ -6,7 +6,6 @@ export = createRule({
meta: {
docs: {
description: ``,
category: "Best Practices",
recommended: "error",
},
messages: {

View File

@@ -1,4 +1,4 @@
import { TSESTree, AST_NODE_TYPES } from "@typescript-eslint/experimental-utils";
import { TSESTree, AST_NODE_TYPES } from "@typescript-eslint/utils";
import { createRule } from "./utils";
export = createRule({
@@ -6,7 +6,6 @@ export = createRule({
meta: {
docs: {
description: `disallows the use of certain TypeScript keywords as variable or parameter names`,
category: "Stylistic Issues",
recommended: "error",
},
messages: {

View File

@@ -1,4 +1,4 @@
import { TSESTree } from "@typescript-eslint/experimental-utils";
import { TSESTree } from "@typescript-eslint/utils";
import { createRule } from "./utils";
export = createRule({
@@ -6,7 +6,6 @@ export = createRule({
meta: {
docs: {
description: ``,
category: "Stylistic Issues",
recommended: "error",
},
messages: {

View File

@@ -1,4 +1,4 @@
import { TSESTree } from "@typescript-eslint/experimental-utils";
import { TSESTree } from "@typescript-eslint/utils";
import { createRule } from "./utils";
export = createRule({
@@ -6,7 +6,6 @@ export = createRule({
meta: {
docs: {
description: ``,
category: "Stylistic Issues",
recommended: "error",
},
messages: {

View File

@@ -1,4 +1,4 @@
import { AST_NODE_TYPES, TSESTree } from "@typescript-eslint/experimental-utils";
import { AST_NODE_TYPES, TSESTree } from "@typescript-eslint/utils";
import { createRule } from "./utils";
export = createRule({
@@ -6,7 +6,6 @@ export = createRule({
meta: {
docs: {
description: `Limits each file to having at most one top-level namespace declaration`,
category: "Possible Errors",
recommended: "error",
},
messages: {

View File

@@ -1,4 +1,4 @@
import { AST_NODE_TYPES, TSESTree } from "@typescript-eslint/experimental-utils";
import { AST_NODE_TYPES, TSESTree } from "@typescript-eslint/utils";
import { createRule } from "./utils";
type MessageId = "onlyArrowFunctionsError";
@@ -12,7 +12,6 @@ export = createRule<Options, MessageId>({
meta: {
docs: {
description: `Disallows traditional (non-arrow) function expressions.`,
category: "Best Practices",
recommended: "error",
},
messages: {

View File

@@ -1,4 +1,4 @@
import { TSESTree } from "@typescript-eslint/experimental-utils";
import { TSESTree } from "@typescript-eslint/utils";
import { createRule } from "./utils";
export = createRule({
@@ -6,7 +6,6 @@ export = createRule({
meta: {
docs: {
description: "Enforce consistent indentation",
category: "Stylistic Issues",
recommended: "error",
},
messages: {

View File

@@ -1,4 +1,4 @@
import { TSESTree, AST_TOKEN_TYPES } from "@typescript-eslint/experimental-utils";
import { TSESTree, AST_TOKEN_TYPES } from "@typescript-eslint/utils";
import { createRule } from "./utils";
export = createRule({
@@ -6,7 +6,6 @@ export = createRule({
meta: {
docs: {
description: ``,
category: "Stylistic Issues",
recommended: "error",
},
messages: {

View File

@@ -1,2 +1,2 @@
import { ESLintUtils } from "@typescript-eslint/experimental-utils";
import { ESLintUtils } from "@typescript-eslint/utils";
export const createRule = ESLintUtils.RuleCreator(() => "");

View File

@@ -1,5 +1,5 @@
import * as path from "path";
import { TSESLint } from "@typescript-eslint/experimental-utils";
import { TSESLint } from "@typescript-eslint/utils";
export const ROOT_DIR = path.join(process.cwd(), "scripts", "eslint", "tests", "fixtures");
export const FILENAME = path.join(ROOT_DIR, "file.ts");