mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 22:15:18 -05:00
Update all depedencies, including ESLint 8, refresh lockfile (#49550)
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
import { ESLintUtils } from "@typescript-eslint/experimental-utils";
|
||||
import { ESLintUtils } from "@typescript-eslint/utils";
|
||||
export const createRule = ESLintUtils.RuleCreator(() => "");
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user