From 3b8cb70d918f77b578dd31d1b54c7acb7e306348 Mon Sep 17 00:00:00 2001 From: krupp <44751363+zzfn@users.noreply.github.com> Date: Wed, 28 Feb 2024 21:54:15 +0800 Subject: [PATCH 1/2] update @typescript-eslint/parser url --- docs/user-guide/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-guide/index.md b/docs/user-guide/index.md index aef963919..8acad1f54 100644 --- a/docs/user-guide/index.md +++ b/docs/user-guide/index.md @@ -318,7 +318,7 @@ If you are using JSX, you need to enable JSX in your ESLint configuration. See also [ESLint - Specifying Parser Options](https://eslint.org/docs/user-guide/configuring#specifying-parser-options). The same configuration is required when using JSX with TypeScript (TSX) in the `.vue` file. -See also [here](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/README.md#parseroptionsecmafeaturesjsx). +See also [here](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/README.md#parseroptionsecmafeaturesjsx). Note that you cannot use angle-bracket type assertion style (`var x = bar;`) when using `jsx: true`. ### Trouble with Visual Studio Code From 8becacb0b150b817577ef06283fcef2a79d6b42c Mon Sep 17 00:00:00 2001 From: Flo Edelmann Date: Wed, 28 Feb 2024 15:17:43 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Replace=20more=20links=20master=E2=86=92mai?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typings/eslint-plugin-vue/util-types/ast/jsx-ast.ts | 4 ++-- typings/eslint-plugin-vue/util-types/ast/ts-ast.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/typings/eslint-plugin-vue/util-types/ast/jsx-ast.ts b/typings/eslint-plugin-vue/util-types/ast/jsx-ast.ts index 4f1b04af0..fc59d81f9 100644 --- a/typings/eslint-plugin-vue/util-types/ast/jsx-ast.ts +++ b/typings/eslint-plugin-vue/util-types/ast/jsx-ast.ts @@ -1,6 +1,6 @@ /** - * @see https://github.com/facebook/jsx/blob/master/AST.md - * @see https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/src/ts-estree/ts-estree.ts + * @see https://github.com/facebook/jsx/blob/main/AST.md + * @see https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-estree/src/ts-estree/ts-estree.ts */ import { HasParentNode } from '../node' import * as ES from './es-ast' diff --git a/typings/eslint-plugin-vue/util-types/ast/ts-ast.ts b/typings/eslint-plugin-vue/util-types/ast/ts-ast.ts index fec18e9e8..1e1844632 100644 --- a/typings/eslint-plugin-vue/util-types/ast/ts-ast.ts +++ b/typings/eslint-plugin-vue/util-types/ast/ts-ast.ts @@ -1,5 +1,5 @@ /** - * @see https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/src/ts-estree/ts-estree.ts + * @see https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-estree/src/ts-estree/ts-estree.ts */ import { HasParentNode } from '../node' import * as ES from './es-ast'