Skip to content

eslint-plugin-vue

Vue.js 的官方 ESLint 插件

eslint-plugin-vue

简介

¥Introduction

Vue.js 的官方 ESLint 插件。

¥Official ESLint plugin for Vue.js.

这个插件允许我们使用 ESLint 检查 .vue 文件的 <template><script>,以及 .js 文件中的 Vue 代码。

¥This plugin allows us to check the <template> and <script> of .vue files with ESLint, as well as Vue code in .js files.

ESLint 编辑器集成对于实时检查代码非常有用。

¥ESLint editor integrations are useful to check your code in real-time.

🚥 版本控制策略

此插件遵循 语义版本控制。但是,请注意我们不遵循 ESLint 的语义版本控制策略。在小版本发布中,此插件可能会更改插件提供的可共享配置或插件规则的默认行为,以便向插件添加功能。因为我们想很快向插件添加许多功能,以便用户可以轻松利用 Vue 和 Nuxt 中的新功能。

¥This plugin follows Semantic Versioning. However, please note that we do not follow ESLint's Semantic Versioning Policy. In minor version releases, this plugin may change the sharable configs provided by the plugin or the default behavior of the plugin's rules in order to add features to the plugin. Because we want to add many features to the plugin soon, so that users can easily take advantage of new features in Vue and Nuxt.

根据我们的政策,任何小更新都可能报告比上一版本。因此,我们建议在 package.json 中使用 tilde(~ 来保证构建结果。

¥According to our policy, any minor update may report more linting errors than the previous release. As such, we recommend using the tilde (~) in package.json to guarantee the results of your builds.

📰更新日志

¥📰 Changelog

我们正在使用 GitHub 发布

¥We are using GitHub Releases.

🔒许可证

¥🔒 License

请参阅 LICENSE 文件以了解许可权利和限制 (MIT)。

¥See the LICENSE file for license rights and limitations (MIT).

eslint-plugin-vue v10.1 中文网 - 粤ICP备13048890号