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

posted @ 2021-02-12 18:50  codeFiler  阅读(143)  评论(0编辑  收藏  举报