1. 程式人生 > >You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the

You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignore the

錯誤提示: 

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

 

解決辦法:

取消Eslint的檢測機制,將userEslint的值改為false即可