You may use special comments to disable some warnings.

You may use special comments to disable some warnings.

  1. You may use special comments to disable some warnings.
  2. Use // eslint-disable-next-line to ignore the next line.
  3. Use /* eslint-disable */ to ignore all warnings in a file.

img

转自https://blog.csdn.net/qq_35366269/article/details/84298835

原文地址:https://www.cnblogs.com/coderD/p/14399123.html