diff --git a/docs/rules/no-unsupported-features.md b/docs/rules/no-unsupported-features.md index 799b456cb..cc9efab3a 100644 --- a/docs/rules/no-unsupported-features.md +++ b/docs/rules/no-unsupported-features.md @@ -36,11 +36,12 @@ The `"ignores"` option accepts an array of the following strings. - Vue.js 3.1.0+ - `"is-attribute-with-vue-prefix"` ... [`is` attribute with `vue:` prefix](https://v3.vuejs.org/api/special-attributes.html#is) - Vue.js 3.0.0+ - - `"style-css-vars-injection"` ... [SFC CSS variable injection][Vue RFCs - 0043-sfc-style-variables] - - `"script-setup"` ... [``, options: buildOptions() }, + { + code: ` + `, + options: buildOptions({ version: '^2.7.0' }) + }, { code: ` + + `, + options: buildOptions({ version: '^2.7.0' }) + }, + { + code: ` + + @@ -98,7 +127,7 @@ tester.run('no-unsupported-features/style-css-vars-injection', rule, { errors: [ { message: - 'SFC CSS variable injection is not supported until Vue.js "3.0.3".', + 'SFC CSS variable injection is not supported until Vue.js ">=3.0.3 || >=2.7.0 <3.0.0".', line: 21, column: 18, endLine: 21, @@ -106,7 +135,7 @@ tester.run('no-unsupported-features/style-css-vars-injection', rule, { }, { message: - 'SFC CSS variable injection is not supported until Vue.js "3.0.3".', + 'SFC CSS variable injection is not supported until Vue.js ">=3.0.3 || >=2.7.0 <3.0.0".', line: 24, column: 22, endLine: 24,