@@ -51,7 +51,7 @@ npm install --save-dev eslint eslint-plugin-vue-scoped-css vue-eslint-parser
51
51
<!-- USAGE_SECTION_START-->
52
52
<!-- USAGE_GUIDE_START-->
53
53
54
- ### New (ESLint>=v9) Config (Flat Config )
54
+ ### New Config (` eslint.config.js ` )
55
55
56
56
Use ` eslint.config.js ` file to configure rules. See also: < https://eslint.org/docs/latest/use/configure/configuration-files-new > .
57
57
@@ -72,7 +72,7 @@ export default [
72
72
];
73
73
```
74
74
75
- ### Legacy Config (ESLint<v9 )
75
+ ### Legacy Config (` .eslintrc ` )
76
76
77
77
Use ` .eslintrc.* ` file to configure rules. See also: < https://eslint.org/docs/latest/use/configure/ > .
78
78
@@ -96,14 +96,14 @@ module.exports = {
96
96
97
97
This plugin provides some predefined configs:
98
98
99
- ### New (ESLint>=v9) Config (Flat Config )
99
+ ### New Config (` eslint.config.js ` )
100
100
101
101
- ` *.configs['flat/base'] ` - Settings and rules to enable this plugin
102
102
- ` *.configs['flat/recommended'] ` - ` /base ` , plus rules for better ways to help you avoid problems for Vue.js 3.x
103
103
- ` *.configs['flat/vue2-recommended'] ` - ` /base ` , plus rules for better ways to help you avoid problems for Vue.js 2.x
104
104
- ` *.configs['flat/all'] ` - All rules of this plugin are included
105
105
106
- ### Legacy Config (ESLint<v9 )
106
+ ### Legacy Config (` .eslintrc ` )
107
107
108
108
- ` plugin:vue-scoped-css/base ` - Settings and rules to enable this plugin
109
109
- ` plugin:vue-scoped-css/recommended ` - ` /base ` , plus rules for better ways to help you avoid problems for Vue.js 2.x
0 commit comments