Skip to content

Commit fe94587

Browse files
committed
update docs
1 parent 32984e2 commit fe94587

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ npm install --save-dev eslint eslint-plugin-vue-scoped-css vue-eslint-parser
5151
<!--USAGE_SECTION_START-->
5252
<!--USAGE_GUIDE_START-->
5353

54-
### New (ESLint>=v9) Config (Flat Config)
54+
### New Config (`eslint.config.js`)
5555

5656
Use `eslint.config.js` file to configure rules. See also: <https://eslint.org/docs/latest/use/configure/configuration-files-new>.
5757

@@ -72,7 +72,7 @@ export default [
7272
];
7373
```
7474

75-
### Legacy Config (ESLint<v9)
75+
### Legacy Config (`.eslintrc`)
7676

7777
Use `.eslintrc.*` file to configure rules. See also: <https://eslint.org/docs/latest/use/configure/>.
7878

@@ -96,14 +96,14 @@ module.exports = {
9696

9797
This plugin provides some predefined configs:
9898

99-
### New (ESLint>=v9) Config (Flat Config)
99+
### New Config (`eslint.config.js`)
100100

101101
- `*.configs['flat/base']` - Settings and rules to enable this plugin
102102
- `*.configs['flat/recommended']` - `/base`, plus rules for better ways to help you avoid problems for Vue.js 3.x
103103
- `*.configs['flat/vue2-recommended']` - `/base`, plus rules for better ways to help you avoid problems for Vue.js 2.x
104104
- `*.configs['flat/all']` - All rules of this plugin are included
105105

106-
### Legacy Config (ESLint<v9)
106+
### Legacy Config (`.eslintrc`)
107107

108108
- `plugin:vue-scoped-css/base` - Settings and rules to enable this plugin
109109
- `plugin:vue-scoped-css/recommended` - `/base`, plus rules for better ways to help you avoid problems for Vue.js 2.x

docs/user-guide/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm install --save-dev eslint eslint-plugin-vue-scoped-css vue-eslint-parser
1515

1616
<!--USAGE_GUIDE_START-->
1717

18-
### New (ESLint>=v9) Config (Flat Config)
18+
### New Config (`eslint.config.js`)
1919

2020
Use `eslint.config.js` file to configure rules. See also: <https://eslint.org/docs/latest/use/configure/configuration-files-new>.
2121

@@ -36,7 +36,7 @@ export default [
3636
];
3737
```
3838

39-
### Legacy Config (ESLint<v9)
39+
### Legacy Config (`.eslintrc`)
4040

4141
Use `.eslintrc.*` file to configure rules. See also: <https://eslint.org/docs/latest/use/configure/>.
4242

@@ -60,14 +60,14 @@ module.exports = {
6060

6161
This plugin provides some predefined configs:
6262

63-
### New (ESLint>=v9) Config (Flat Config)
63+
### New Config (`eslint.config.js`)
6464

6565
- `*.configs['flat/base']` - Settings and rules to enable this plugin
6666
- `*.configs['flat/recommended']` - `/base`, plus rules for better ways to help you avoid problems for Vue.js 3.x
6767
- `*.configs['flat/vue2-recommended']` - `/base`, plus rules for better ways to help you avoid problems for Vue.js 2.x
6868
- `*.configs['flat/all']` - All rules of this plugin are included
6969

70-
### Legacy Config (ESLint<v9)
70+
### Legacy Config (`.eslintrc`)
7171

7272
- `plugin:vue-scoped-css/base` - Settings and rules to enable this plugin
7373
- `plugin:vue-scoped-css/recommended` - `/base`, plus rules for better ways to help you avoid problems for Vue.js 2.x

0 commit comments

Comments
 (0)