@@ -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
5656Use ` 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
7777Use ` .eslintrc.* ` file to configure rules. See also: < https://eslint.org/docs/latest/use/configure/ > .
7878
@@ -96,14 +96,14 @@ module.exports = {
9696
9797This 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
0 commit comments