Skip to content

Commit b556598

Browse files
authored
Update linting.md
1 parent bc30c08 commit b556598

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/zh/guide/linting.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# 校验 (Linting)
1+
# 代码校验 (Linting)
22

3-
官方的 [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) 同时支持在 Vue 单文件组件的模板和脚本部分的校验
3+
官方的 [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) 同时支持在 Vue 单文件组件的模板和脚本部分的代码校验
44

55
请确认在你的 ESLint 配置文件中使用该插件要导入的配置:
66

@@ -19,7 +19,7 @@ module.exports = {
1919
eslint --ext js,vue MyComponent.vue
2020
```
2121

22-
另一个选项是使用 [eslint-loader](https://github.com/MoOx/eslint-loader) 那么你的 `*.vue` 文件在开发过程中每次保存的时候就会自动进行校验
22+
另一个选项是使用 [eslint-loader](https://github.com/MoOx/eslint-loader) 那么你的 `*.vue` 文件在开发过程中每次保存的时候就会自动进行代码校验
2323

2424
``` bash
2525
npm install -D eslint eslint-loader

0 commit comments

Comments
 (0)