Appearance
eslint-plugin-vue
Vue.js 的官方 ESLint 插件
¥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.
发现语法错误。
¥Finds syntax errors.
发现 Vue.js 指令 的错误用法。
¥Finds the wrong use of Vue.js Directives.
发现 Vue.js 样式指南 的违规行为。
¥Finds the violation for Vue.js Style Guide.
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).