From 02e6bbfcc28fef81ffbaca89d79e05596e72ffcb Mon Sep 17 00:00:00 2001 From: krupp <44751363+zzfn@users.noreply.github.com> Date: Wed, 28 Feb 2024 22:19:52 +0800 Subject: [PATCH] Update links to GitHub repos with changed main branch name (#2412) Co-authored-by: Flo Edelmann --- docs/user-guide/index.md | 2 +- typings/eslint-plugin-vue/util-types/ast/jsx-ast.ts | 4 ++-- typings/eslint-plugin-vue/util-types/ast/ts-ast.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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 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'