Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bb2806 commit 29ec6baCopy full SHA for 29ec6ba
engineering/lint.md
@@ -57,8 +57,8 @@ console.log(`My name is ${myName}`)
57
58
| 存在的问题 | `tsc` 是否报错 | `eslint` 是否报错 | `tslint` 是否报错 |
59
| --------- | ------------- | ---------------- | ----------------- |
60
-| `myName` 被勿写成了 `myNane` | ✅ | ✅ | ❌ |
61
-| `toString` 被勿写成了 `toStrng` | ✅️ | ❌ | ❌ |
+| `myName` 被误写成了 `myNane` | ✅ | ✅ | ❌ |
+| `toString` 被误写成了 `toStrng` | ✅️ | ❌ | ❌ |
62
| 少了一个分号 | ❌ | ✅ | ✅ |
63
64
上例中,由于 `eslint` 和 `tslint` 均无法识别 `myName` 存在哪些方法,所以对于拼写错误的 `toString` 没有检查出来。
0 commit comments