1 / 10
Eslint Nightmare?  `Eslint Disable Next Line` To The Rescue! - 1tu4max
2 / 10
Eslint Nightmare?  `Eslint Disable Next Line` To The Rescue! - 4qgas8c
3 / 10
Eslint Nightmare?  `Eslint Disable Next Line` To The Rescue! - tfnvu4t
4 / 10
Eslint Nightmare?  `Eslint Disable Next Line` To The Rescue! - 6e8nmqd
5 / 10
Eslint Nightmare?  `Eslint Disable Next Line` To The Rescue! - o1rt04q
6 / 10
Eslint Nightmare?  `Eslint Disable Next Line` To The Rescue! - 8vjx8kl
7 / 10
Eslint Nightmare?  `Eslint Disable Next Line` To The Rescue! - ewsqo3w
8 / 10
Eslint Nightmare?  `Eslint Disable Next Line` To The Rescue! - f5a8zc4
9 / 10
Eslint Nightmare?  `Eslint Disable Next Line` To The Rescue! - 6j2p3yd
10 / 10
Eslint Nightmare?  `Eslint Disable Next Line` To The Rescue! - mmzagb9


· 。 # 就是在某个文件顶部写上 /* eslint-disable */ # name整个文件将不受 eslint 的影响,eslint 就不会来检查这个文件了。 原因: 就是因为代码中有不必要的空格,或者是空行,什么的 解 …