diff --git a/docs/rules/README.md b/docs/rules/README.md index 520e84fcb..b77661eb0 100644 --- a/docs/rules/README.md +++ b/docs/rules/README.md @@ -154,9 +154,11 @@ For example: | [vue/no-boolean-default](./no-boolean-default.md) | disallow boolean defaults | :wrench: | | [vue/no-deprecated-scope-attribute](./no-deprecated-scope-attribute.md) | disallow deprecated `scope` attribute (in Vue.js 2.5.0+) | :wrench: | | [vue/no-empty-pattern](./no-empty-pattern.md) | disallow empty destructuring patterns | | +| [vue/no-reserved-component-names](./no-reserved-component-names.md) | disallow the use of reserved names in component definitions | | | [vue/no-restricted-syntax](./no-restricted-syntax.md) | disallow specified syntax | | | [vue/object-curly-spacing](./object-curly-spacing.md) | enforce consistent spacing inside braces | :wrench: | | [vue/require-direct-export](./require-direct-export.md) | require the component to be directly exported | | +| [vue/require-name-property](./require-name-property.md) | require a name property in Vue components | | | [vue/script-indent](./script-indent.md) | enforce consistent indentation in ` +``` + + + + +```vue + +``` + + + + +```vue + `, - parser: 'vue-eslint-parser', + parser: require.resolve('vue-eslint-parser'), parserOptions }, { @@ -309,7 +309,7 @@ ruleTester.run('no-reserved-component-names', rule, { } `, - parser: 'vue-eslint-parser', + parser: require.resolve('vue-eslint-parser'), parserOptions } ],