📜  jshint 忽略行 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:53.744000             🧑  作者: Mango

代码示例1
// Code here will be linted with JSHint.
/* jshint ignore:start */
// Code here will be ignored by JSHint.
/* jshint ignore:end */
// Code here will be linted with JSHint.

// You can also ignore a single line with a trailing comment like this:

ignoreThis(); // jshint ignore:line