Skip to content

Commit 7e71af1

Browse files
committed
Update docs
1 parent 037aeb1 commit 7e71af1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/rules/html-indent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ since: v3.14.0
1717
This rule enforces a consistent indentation style in `<template>`. The default style is 2 spaces.
1818

1919
- This rule checks all tags, also all expressions in directives and mustaches.
20-
- In the expressions, this rule supports ECMAScript 2020 syntaxes. It ignores unknown AST nodes, but it might be confused by non-standard syntaxes.
20+
- In the expressions, this rule supports ECMAScript 2022 syntaxes. It ignores unknown AST nodes, but it might be confused by non-standard syntaxes.
2121

2222
<eslint-code-block fix :rules="{'vue/html-indent': ['error']}">
2323

docs/rules/script-indent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ since: v4.2.0
1313

1414
## :book: Rule Details
1515

16-
This rule is similar to core [indent](https://eslint.org/docs/rules/indent) rule, but it has an option for inside of `<script>` tag.
16+
This rule enforces a consistent indentation style in `<script>`. The default style is 2 spaces.
1717

1818
<eslint-code-block fix :rules="{'vue/script-indent': ['error']}">
1919

@@ -117,7 +117,7 @@ This rule only checks `.vue` files and does not interfere with other `.js` files
117117

118118
- [indent](https://eslint.org/docs/rules/indent)
119119
- [vue/html-indent](./html-indent.md)
120-
- [@typescript-eslint/indent](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/indent.md). The `vue/script-indent` rule does not understand TypeScript AST. Please use `@typescript-eslint/indent` rule instead of this one inside of `<script lang="ts"`
120+
- [@typescript-eslint/indent](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/indent.md)
121121

122122
## :rocket: Version
123123

0 commit comments

Comments
 (0)