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'